.ew-hero { position: relative; overflow: hidden; background: #f7f9fc; color: #13243b; padding: 70px 0 0; }
.ew-hero *, .ew-hero *::before, .ew-hero *::after { box-sizing: border-box; }
.ew-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: 70px; }
.ew-hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 2px; margin: 0 0 24px; color: #4b607b; }
.ew-hero-eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: #0879ed; box-shadow: 0 0 0 5px #e2edfb; }
.ew-hero h1 { font-size: clamp(52px, 5.5vw, 78px); font-weight: 600; letter-spacing: -4px; line-height: 1.07; margin: 0 0 26px; color: #13243b; }
.ew-hero h1 em { font-style: normal; color: #0875e1; }
.ew-hero-description { max-width: 445px; color: #58687c; font-size: 17px; line-height: 1.85; margin: 0 0 30px; }
.ew-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.ew-hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 600; text-decoration: none; min-height: 54px; transition: transform .2s, background .2s; }
.ew-hero-primary { padding: 0 22px; border-radius: 8px; background: #0875e1; color: #fff; box-shadow: 0 8px 20px #0875e122; }
.ew-hero-primary:hover { background: #075cb2; color: #fff; transform: translateY(-2px); }
.ew-hero-actions a span { font-size: 22px; }
.ew-hero-secondary { color: #13243b; }
.ew-hero-secondary:hover { color: #0875e1; }
.ew-hero-actions a:focus-visible { outline: 3px solid #13243b; outline-offset: 5px; }
.ew-hero-note { margin: 25px 0 0; font-size: 12px; line-height: 1.8; color: #65758a; }
.ew-hero-art { line-height: 1.5; position: relative; min-width: 0; height: 485px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.ew-hero-art::before { content: ''; position: absolute; inset: 20px -30px; z-index: -2; background: radial-gradient(ellipse, #deebff 0%, #eaf1fc 40%, transparent 70%); }
.ew-hero-orbit { position: absolute; border: 1px solid #dce5f2; border-radius: 50%; z-index: -1; width: 470px; height: 470px; }
.ew-hero-orbit-two { width: 580px; height: 580px; border-style: dashed; opacity: .65; }
.ew-hero-spark { position: absolute; right: 8px; top: -4px; font-size: 70px; line-height: 1; color: #0875e1; transform: rotate(15deg); }
.ew-hero-label { position: absolute; top: 0; left: 15px; display: flex; gap: 9px; align-items: center; font-size: 9px; letter-spacing: 1.3px; font-weight: 600; color: #526783; }
.ew-hero-label > span { width: 6px; height: 6px; background: #0875e1; border-radius: 50%; }
.ew-hero-board { width: 100%; max-width: 465px; border: 1px solid #dce5f0; border-radius: 14px; background: #fff; box-shadow: 0 28px 70px #264d7e16; transform: rotate(-4deg); }
.ew-hero-board-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e8edf3; padding: 14px 20px; font-size: 10px; color: #738196; }
.ew-hero-window-dots { letter-spacing: 3px; color: #c1cddd; font-size: 9px; }
.ew-hero-board-body { padding: 25px; }
.ew-hero-project-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 8px; letter-spacing: 1.1px; color: #6a7b92; }
.ew-hero-live { background: #edf8f1; color: #28794d; padding: 5px 8px; border-radius: 20px; letter-spacing: 0; }
.ew-hero-project-title { font-size: 35px; line-height: 1.2; letter-spacing: -1.4px; font-weight: 600; margin: 18px 0 22px; }
.ew-hero-project-title > span { color: #0875e1; }
.ew-hero-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ew-hero-module { background: #eff4fb; border-radius: 9px; padding: 16px; display: flex; flex-direction: column; }
.ew-hero-module-icon { color: #0875e1; font-size: 25px; line-height: 1; margin-bottom: 15px; }
.ew-hero-module strong { font-size: 10px; font-weight: 600; }
.ew-hero-module > span:not(.ew-hero-module-icon) { font-size: 8px; color: #66768b; margin-top: 5px; }
.ew-hero-module-dark { background: #172b45; color: #fff; }
.ew-hero-module-dark .ew-hero-module-icon { color: #92bfff; font-size: 21px; }
.ew-hero-module-dark > span:not(.ew-hero-module-icon) { color: #b8c9df; }
.ew-hero-swatch { display: flex; margin-top: 19px; }
.ew-hero-swatch i { width: 25px; height: 25px; border: 2px solid #fff; border-radius: 50%; margin-right: -5px; background: #0875e1; }
.ew-hero-swatch i:nth-child(2) { background: #94bdf7; }.ew-hero-swatch i:nth-child(3) { background: #c9dcf7; }.ew-hero-swatch i:nth-child(4) { background: #172b45; }
.ew-hero-code { display: grid; gap: 5px; margin-top: 20px; }.ew-hero-code i { height: 4px; width: 75%; border-radius: 4px; background: #639ad6; }.ew-hero-code i:nth-child(2) { width: 52%; background: #a2c1e4; }.ew-hero-code i:nth-child(3) { width: 65%; }
.ew-hero-board-footer { display: flex; justify-content: space-between; margin-top: 22px; font-size: 8px; color: #6a7b92; }.ew-hero-board-footer b { color: #238251; margin-right: 4px; }
.ew-hero-float { position: absolute; bottom: 14px; right: -8px; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e0e8f3; padding: 17px 22px; border-radius: 12px; box-shadow: 0 15px 40px #264d7e14; transform: rotate(4deg); }
.ew-hero-launch-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; font-size: 29px; background: #eaf3ff; color: #0875e1; }.ew-hero-float small { font-size: 8px; letter-spacing: 1px; color: #6a7b92; display: block; }.ew-hero-float strong { display: block; font-size: 20px; font-weight: 600; }.ew-hero-float-star { margin-left: 16px; color: #0875e1; font-size: 30px; }
.ew-hero-art-caption { position: absolute; bottom: -22px; left: 18px; font-size: 10px; color: #78879b; }
.ew-hero-bottom { line-height: 1.6; border-top: 1px solid #dfe6ef; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 25px 0; }.ew-hero-bottom > span { font-size: 9px; font-weight: 600; letter-spacing: 1.4px; color: #6a7b92; }.ew-hero-bottom ul { display: flex; flex-wrap: wrap; gap: 27px; list-style: none; padding: 0; margin: 0; }.ew-hero-bottom li { font-size: 12px; color: #44556c; }.ew-hero-bottom li::before { content: '+'; margin-right: 10px; color: #0875e1; }
@media (min-width: 1400px) { .ew-hero { padding-top: 75px; }.ew-hero-grid { gap: 75px; } }
@media (max-width: 1199px) { .ew-hero-grid { gap: 30px; }.ew-hero-actions { gap: 16px; }.ew-hero h1 { font-size: 62px; }.ew-hero-art { height: 460px; }.ew-hero-board-body { padding: 20px; }.ew-hero-project-title { font-size: 31px; }.ew-hero-module { padding: 12px; }.ew-hero-bottom ul { gap: 16px; } }
@media (max-width: 991px) { .ew-hero { padding-top: 60px; }.ew-hero-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 55px; }.ew-hero-copy { max-width: 620px; }.ew-hero h1 { font-size: 70px; }.ew-hero-description { max-width: 530px; }.ew-hero-art { width: 100%; max-width: 530px; justify-self: center; height: 500px; }.ew-hero-bottom { align-items: flex-start; flex-direction: column; gap: 15px; } }
@media (max-width: 575px) { .ew-hero { padding-top: 45px; }.ew-hero .container { padding-left: 24px; padding-right: 24px; }.ew-hero h1 { font-size: clamp(44px, 12vw, 64px); letter-spacing: -2.7px; }.ew-hero-eyebrow { font-size: 9px; letter-spacing: 1.4px; }.ew-hero-description { font-size: 15px; line-height: 1.8; }.ew-hero-actions { gap: 10px 20px; }.ew-hero-actions a { font-size: 12px; }.ew-hero-art { height: 405px; }.ew-hero-board { transform: rotate(-3deg); }.ew-hero-board-body { padding: 17px; }.ew-hero-label { left: 0; top: 5px; font-size: 7px; }.ew-hero-spark { top: -8px; right: 0; font-size: 45px; }.ew-hero-project-title { font-size: 28px; }.ew-hero-project-heading { font-size: 6px; }.ew-hero-module { padding: 12px 9px; }.ew-hero-module strong { font-size: 8px; }.ew-hero-module > span:not(.ew-hero-module-icon) { font-size: 7px; }.ew-hero-board-footer { font-size: 6px; }.ew-hero-float { right: 0; bottom: 0; padding: 12px 15px; }.ew-hero-float strong { font-size: 17px; }.ew-hero-art-caption { left: 0; font-size: 8px; bottom: -25px; }.ew-hero-bottom ul { gap: 12px 20px; }.ew-hero-bottom li { font-size: 10px; } }
/* Keep the complete desktop hero in view beneath the 85px site header. */
@media (min-width: 992px) {
  .ew-hero { padding-top: clamp(20px, 4vh, 48px); min-height: calc(100vh - 85px); min-height: calc(100svh - 85px); display: flex; }
  .ew-hero > .container { display: flex; flex-direction: column; }
  .ew-hero-grid { padding-bottom: 32px; flex: 1; }
  .ew-hero .ew-hero-eyebrow { line-height: 1.5; margin-bottom: 18px; }
  .ew-hero h1 { font-size: clamp(48px, 8vh, 70px); line-height: 1.04; letter-spacing: -3px; margin-bottom: 20px; }
  .ew-hero .ew-hero-description { font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
  .ew-hero .ew-hero-note { margin-top: 16px; line-height: 1.6; }
  .ew-hero-art { height: clamp(370px, 57vh, 465px); }
  .ew-hero-board { max-width: 420px; }
  .ew-hero-board-body { padding: 20px; }
  .ew-hero-project-title { font-size: 30px; margin: 14px 0 18px; }
  .ew-hero-module { padding: 12px; }
  .ew-hero-float { bottom: 4px; right: 0; padding: 12px 18px; }
  .ew-hero-art-caption { bottom: -15px; }
  .ew-hero-bottom { padding: 17px 0; }
}
@media (min-width: 992px) and (max-height: 650px) {
  .ew-hero { padding-top: 16px; }
  .ew-hero-grid { padding-bottom: 24px; }
  .ew-hero h1 { font-size: 44px; margin-bottom: 14px; }
  .ew-hero .ew-hero-eyebrow { margin-bottom: 12px; }
  .ew-hero .ew-hero-description { margin-bottom: 16px; }
  .ew-hero .ew-hero-note { margin-top: 10px; }
  .ew-hero-art { height: 350px; }
  .ew-hero-board { max-width: 380px; }
  .ew-hero-board-body { padding: 16px; }
  .ew-hero-project-title { font-size: 26px; margin: 10px 0 14px; }
  .ew-hero-module-icon { margin-bottom: 10px; }
  .ew-hero-board-footer { margin-top: 14px; }
  .ew-hero-bottom { padding: 12px 0; }
}
/* Motion uses transforms and opacity so the full-screen layout stays stable. */
.ew-hero-primary { position: relative; overflow: hidden; isolation: isolate; }
.ew-hero-primary::after {
  content: ''; position: absolute; inset: -60% -40%; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, #ffffff30 50%, transparent 60%);
  transform: translateX(-100%);
}
.ew-hero-actions a span { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.ew-hero-secondary { position: relative; }
.ew-hero-secondary::after {
  content: ''; position: absolute; height: 1px; left: 0; right: 0; bottom: 9px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .ew-hero-copy > *, .ew-hero-bottom, .ew-hero-art {
    animation: ew-hero-reveal .9s cubic-bezier(.22, 1, .36, 1) both;
  }
  .ew-hero-copy > :nth-child(1) { animation-delay: .35s; }
  .ew-hero-copy > :nth-child(2) { animation-delay: .48s; }
  .ew-hero-copy > :nth-child(3) { animation-delay: .61s; }
  .ew-hero-copy > :nth-child(4) { animation-delay: .74s; }
  .ew-hero-copy > :nth-child(5) { animation-delay: .87s; }
  .ew-hero-art { animation-delay: .55s; }
  .ew-hero-bottom { animation-delay: 1s; }
  .ew-hero-board { animation: ew-hero-drift 8s ease-in-out 1.5s infinite; }
  .ew-hero-float { animation: ew-hero-drift 6s ease-in-out 1.8s infinite reverse; }
  .ew-hero-spark { animation: ew-hero-turn 30s linear infinite; }
  .ew-hero-orbit-one::after {
    content: ''; position: absolute; top: 15%; left: 14%; width: 7px; height: 7px;
    border-radius: 50%; background: #88b7ef; box-shadow: 0 0 0 6px #88b7ef12;
  }
  .ew-hero-orbit-one { animation: ew-hero-orbit 40s linear infinite; }
  .ew-hero-code i { transform-origin: left; animation: ew-hero-code-build 1.2s cubic-bezier(.22, 1, .36, 1) 1.1s both; }
  .ew-hero-code i:nth-child(2) { animation-delay: 1.3s; }
  .ew-hero-code i:nth-child(3) { animation-delay: 1.5s; }
  .ew-hero-primary:is(:hover, :focus-visible)::after { animation: ew-hero-sheen .8s ease both; }
  .ew-hero-primary:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
  .ew-hero-secondary:is(:hover, :focus-visible) span { transform: translateX(4px); }
  .ew-hero-secondary:is(:hover, :focus-visible)::after { transform: scaleX(1); }
  .ew-hero-copy:focus-within > * { animation: none; }
}
@keyframes ew-hero-reveal {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes ew-hero-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}
@keyframes ew-hero-turn {
  from { transform: rotate(15deg); }
  to { transform: rotate(375deg); }
}
@keyframes ew-hero-orbit { to { transform: rotate(360deg); } }
@keyframes ew-hero-code-build {
  from { opacity: 0; transform: scaleX(.1); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes ew-hero-sheen { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .ew-hero-actions a, .ew-hero-actions a span, .ew-hero-secondary::after { transition: none; }
  .ew-hero-primary:hover { transform: none; }
}
