/* Elia Technologies — design system */
:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --hair: rgba(0, 0, 0, .1);
  --link: #0066cc;
  --nav-bg: rgba(251, 251, 253, .78);
  /* illustration tokens */
  --dev: #1d1d1f;
  --scr: #ffffff;
  --ln: #e8e8ed;
  --ln2: #d2d2d7;
  --accent: #0071e3;
  --accent2: #42a1ff;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000; --bg-2: #0d0d0f; --surface: #161618; --text: #f5f5f7; --text-2: #a1a1a6;
    --hair: rgba(255, 255, 255, .14); --link: #2997ff; --nav-bg: rgba(22, 22, 23, .78);
    --dev: #3a3a3c; --scr: #1c1c1e; --ln: #2c2c2e; --ln2: #48484a;
  }
}
:root[data-theme="dark"] {
  --bg: #000; --bg-2: #0d0d0f; --surface: #161618; --text: #f5f5f7; --text-2: #a1a1a6;
  --hair: rgba(255, 255, 255, .14); --link: #2997ff; --nav-bg: rgba(22, 22, 23, .78);
  --dev: #3a3a3c; --scr: #1c1c1e; --ln: #2c2c2e; --ln2: #48484a;
}
/* Always-dark surfaces */
.dark {
  --bg: #000; --bg-2: #0d0d0f; --surface: #161618; --text: #f5f5f7; --text-2: #a1a1a6;
  --hair: rgba(255, 255, 255, .14); --link: #2997ff;
  --dev: #3a3a3c; --scr: #1c1c1e; --ln: #2c2c2e; --ln2: #48484a;
  background: var(--bg); color: var(--text);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.47; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 734px) { .wrap { padding: 0 22px; } }
.ic { width: 1em; height: 1em; }

/* ---------- Global nav ---------- */
.gnav { position: sticky; top: 0; z-index: 100; height: 48px; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav-in { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: conic-gradient(from 200deg, #ff5a2c, #ffb03a, #00a870, #00c2ff, #2f6bff, #7c4dff, #ff4fd8, #ff2d55, #ff5a2c); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; background: var(--bg); opacity: .9; }
.glinks { display: none; gap: 30px; font-size: 13px; color: var(--text); opacity: .85; }
.glinks a { padding: 14px 0; transition: opacity .2s; }
.glinks a:hover, .glinks a.on { opacity: 1; }
.glinks:hover a { opacity: .6; }
.glinks:hover a:hover { opacity: 1; }
.gactions { display: flex; align-items: center; gap: 6px; }
.gbtn { width: 36px; height: 36px; border: none; background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; border-radius: 50%; font-size: 17px; }
.gbtn:hover { background: var(--hair); }
.gcta { font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 980px; background: var(--text); color: var(--bg); display: none; }
.burger { display: grid; }
@media (min-width: 900px) { .glinks { display: flex; } .burger { display: none; } .gcta { display: inline-block; } }

/* Flyout */
.flyout { position: absolute; left: 0; right: 0; top: 48px; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.flyout.open { max-height: 340px; }
.flyout-in { padding: 36px 0 52px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; opacity: 0; transform: translateY(-8px); transition: opacity .3s .1s, transform .3s .1s; }
.flyout.open .flyout-in { opacity: 1; transform: none; }
.flyout h6 { font-size: 12px; font-weight: 400; color: var(--text-2); margin-bottom: 14px; }
.flyout .big a { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.flyout .big a:hover { color: var(--accent); }
.flyout .small a { display: block; font-size: 13px; padding: 4px 0; font-weight: 500; }
.flyout .small a:hover { color: var(--link); }
.scrim { position: fixed; inset: 48px 0 0; background: rgba(0, 0, 0, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90; }
.scrim.on { opacity: 1; }

/* Mobile menu */
.mmenu { position: fixed; inset: 48px 0 0; z-index: 99; background: var(--bg); padding: 24px 32px 48px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mmenu.open { opacity: 1; visibility: visible; }
.mmenu a { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.02em; padding: 6px 0; transform: translateY(-10px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.mmenu.open a { transform: none; opacity: 1; }
.mmenu .msub { font-size: 17px; font-weight: 500; color: var(--text-2); }

/* On product pages the global nav scrolls away; the local nav pins */
body[data-page="product"] .gnav { position: relative; }
body[data-page="product"] section[id] { scroll-margin-top: 52px; }
section[id] { scroll-margin-top: 48px; }

/* Local (product) nav */
.lnav { position: sticky; top: 0; z-index: 80; height: 52px; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.lnav-in { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.lnav-title { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.lnav-r { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.lnav-r a.l { display: none; opacity: .8; }
.lnav-r a.l:hover { opacity: 1; }
@media (min-width: 734px) { .lnav-r a.l { display: inline; } }

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 28px; padding: 11px 22px; border-radius: 980px; font-size: 17px; font-weight: 400; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, transform .2s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { box-shadow: 0 8px 24px -6px var(--accent); }
.btn-line { border-color: var(--accent); color: var(--accent); }
.btn-line:hover { background: var(--accent); color: #fff; }
.btn-sm { font-size: 12px; padding: 5px 13px; }
.more { color: var(--link); font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.more:hover { text-decoration: underline; }
.more .ic { width: .8em; height: .8em; }

/* ---------- Home hero ---------- */
.hhero { position: relative; text-align: center; padding: 88px 0 72px; overflow: hidden; }
.hhero .glow { position: absolute; inset: auto -20% -40% -20%; height: 90%; z-index: -1; filter: blur(80px); opacity: .5;
  background: radial-gradient(40% 50% at 20% 50%, #ff5a2c55, transparent), radial-gradient(40% 50% at 40% 60%, #00a87055, transparent),
    radial-gradient(40% 50% at 60% 50%, #2f6bff55, transparent), radial-gradient(40% 50% at 80% 60%, #7c4dff55, transparent), radial-gradient(40% 50% at 95% 40%, #ff2d5555, transparent); }
.eyebrow { font-size: 21px; font-weight: 600; color: var(--text-2); letter-spacing: -.01em; }
.mega { font-size: clamp(48px, 10vw, 112px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; margin: 10px auto 18px; max-width: 980px; }
.spectrum { background: linear-gradient(90deg, #ff5a2c, #ffb03a, #00a870, #00c2ff, #2f6bff, #7c4dff, #ff4fd8, #ff2d55, #ff5a2c); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 12s linear infinite; }
@keyframes shift { to { background-position: -200% 0; } }
.sub { font-size: clamp(19px, 2.4vw, 24px); color: var(--text-2); max-width: 720px; margin: 0 auto 32px; line-height: 1.35; letter-spacing: -.015em; }
.orbit { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); margin-top: 64px; flex-wrap: wrap; }
.app { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--text); }
.app-ic { width: clamp(56px, 9vw, 84px); height: clamp(56px, 9vw, 84px); border-radius: 24%; display: grid; place-items: center; color: #fff; font-size: clamp(26px, 4vw, 38px);
  background: linear-gradient(145deg, var(--accent), var(--accent2)); box-shadow: 0 18px 40px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .5s var(--ease); animation: bob 6s ease-in-out infinite; }
.app:nth-child(2) .app-ic { animation-delay: -1.2s; } .app:nth-child(3) .app-ic { animation-delay: -2.4s; }
.app:nth-child(4) .app-ic { animation-delay: -3.6s; } .app:nth-child(5) .app-ic { animation-delay: -4.8s; }
.app:hover .app-ic { transform: translateY(-6px) scale(1.06); }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- Product tiles (home) ---------- */
.tiles { display: grid; gap: 12px; padding: 12px; }
@media (min-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } .tile.full { grid-column: 1 / -1; } }
.tile { position: relative; overflow: hidden; text-align: center; background: var(--bg-2); color: var(--text); border-radius: 0; padding: 56px 20px 0; min-height: 620px; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 900px) { .tile { border-radius: 4px; } .tile.full { min-height: 680px; } }
.tile.dark { background: #000; }
.tile .kick { font-size: 15px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.tile h2 { font-size: clamp(38px, 5.6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.035em; margin: 6px 0 6px; }
.tile .tag { font-size: clamp(19px, 2.4vw, 28px); line-height: 1.14; font-weight: 400; letter-spacing: -.02em; margin-bottom: 20px; }
.tile .btns .btn { font-size: 15px; padding: 9px 20px; }
.tile .art { margin-top: auto; width: 100%; max-width: 620px; padding-top: 28px; transition: transform 1s var(--ease); }
.tile:hover .art { transform: translateY(-8px) scale(1.02); }
.tile.full .art { max-width: 760px; }

/* ---------- Illustrations ---------- */
.illo { width: 100%; height: auto; overflow: visible; }
.illo .dvf { fill: var(--dev); }
.illo .scf { fill: var(--scr); }
.illo .ln2 { fill: var(--ln2); }
.illo .wh { fill: #fff; opacity: .9; }
.illo .t1 { fill: var(--text); }
.illo .t2 { fill: var(--text-2); }
.illo .shadow { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18)); }
.illo .floaty { animation: floaty 7s ease-in-out infinite; }
.illo .floaty2 { animation: floaty 7s ease-in-out -3.5s infinite; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
.illo .dash { stroke-dasharray: 14 12; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.illo .ping { animation: ping 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ping { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.4); opacity: 0; } }
.illo .beat { animation: beat 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes beat { 15% { scale: 1.12; } 30% { scale: 1; } 45% { scale: 1.08; } 60% { scale: 1; } }
.illo .ecg { stroke-dasharray: 320; stroke-dashoffset: 320; animation: ecg 2.6s linear infinite; }
@keyframes ecg { 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -320; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 12vw, 140px) 0; }
.sec-alt { background: var(--bg-2); }
.h-sec { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; }
.center { text-align: center; }
.lede { font-size: clamp(19px, 2.2vw, 24px); color: var(--text-2); line-height: 1.35; max-width: 760px; margin: 18px auto 0; letter-spacing: -.015em; }

/* Scroll-highlighted statement */
.statement { font-size: clamp(30px, 5vw, 56px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; max-width: 980px; }
.statement span { color: var(--text-2); opacity: .35; transition: opacity .35s, color .35s; }
.statement span.on { color: var(--text); opacity: 1; }
.statement span.hl.on { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; margin-top: 72px; }
@media (min-width: 734px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.stat span { color: var(--text-2); font-size: 17px; display: block; margin-top: 10px; }

/* Bento */
.bento { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 734px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .lg { grid-column: span 2; } .bento .lg:last-child { grid-column: 1 / -1; } }
.cell { background: var(--surface); border-radius: 28px; padding: 36px 32px; position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cell:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25); }
.cell .ci { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 26px; background: linear-gradient(145deg, var(--accent), var(--accent2)); margin-bottom: auto; }
.cell h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.025em; line-height: 1.14; margin: 36px 0 8px; }
.cell p { color: var(--text-2); font-size: 17px; }
.cell.lg::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent), transparent); opacity: .18; }

/* Sticky scrollytelling */
.story { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 64px; } }
.story-steps .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; padding: 32px 0; }
.story-steps .step.on { opacity: 1; }
.step .k { color: var(--accent); font-weight: 600; font-size: 17px; }
.step h3 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; margin: 8px 0 14px; }
.step p { font-size: 19px; color: var(--text-2); max-width: 460px; }
.step .mob-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 30px; background: linear-gradient(145deg, var(--accent), var(--accent2)); margin-bottom: 20px; }
.story-vis { display: none; }
@media (min-width: 900px) {
  .story-steps .step .mob-ic { display: none; }
  .story-vis { display: block; position: sticky; top: calc(52px + 12vh); height: 64vh; }
}
.panel { position: absolute; inset: 0; border-radius: 36px; overflow: hidden; display: grid; place-items: center; background: #000; color: #fff;
  opacity: 0; transform: scale(.94); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.panel.on { opacity: 1; transform: none; }
.panel .bg { position: absolute; inset: -20%; background: radial-gradient(50% 50% at 30% 30%, var(--accent), transparent 70%), radial-gradient(50% 50% at 75% 70%, var(--accent2), transparent 70%); opacity: .75; filter: blur(30px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, -4%) rotate(12deg); } }
.panel .inner { position: relative; text-align: center; padding: 32px; }
.panel .big-ic { font-size: 120px; margin: 0 auto 28px; width: 180px; height: 180px; border-radius: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.panel .big-ic .ic { width: 88px; height: 88px; stroke-width: 1.4; }
.panel .cap { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }

/* Product hero */
.phero { text-align: center; padding: 72px 0 0; overflow: hidden; }
.phero .pname { font-size: 21px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.phero .pname .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 16px; background: linear-gradient(145deg, var(--accent), var(--accent2)); }
.grad-text { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero .art { max-width: 880px; margin: 56px auto 0; will-change: transform; }

/* Plans */
.plans { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border-radius: 28px; padding: 40px 32px; display: flex; flex-direction: column; position: relative; border: 1px solid transparent; }
.plan.hot { border-color: var(--accent); box-shadow: 0 30px 60px -30px var(--accent); }
.plan .badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; color: #fff; padding: 4px 12px; border-radius: 980px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.plan h3 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.plan .pd { color: var(--text-2); margin: 6px 0 24px; font-size: 17px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li .ic { color: var(--accent); flex: none; margin-top: 3px; stroke-width: 2.4; }

/* Ecosystem scroller */
.scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 24px; margin-top: 48px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
@media (min-width: 1124px) { .scroller { padding-left: calc((100vw - 1080px) / 2 + 22px); } }
.eco { flex: none; width: min(78vw, 340px); scroll-snap-align: start; border-radius: 28px; padding: 32px 28px 0; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; transition: transform .5s var(--ease); }
.eco:hover { transform: scale(1.02); }
.eco .kick { font-size: 13px; font-weight: 600; color: var(--accent); }
.eco h3 { font-size: 26px; letter-spacing: -.03em; line-height: 1.12; margin: 6px 0 12px; font-weight: 700; }
.eco .art { margin-top: auto; margin-right: -28px; margin-left: -8px; }

/* Values (why) */
.why { display: grid; gap: 40px 32px; margin-top: 64px; }
@media (min-width: 734px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why .wi { font-size: 34px; color: var(--text); margin-bottom: 16px; }
.why h4 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.why p { color: var(--text-2); font-size: 16px; }

/* Contact */
.contact { max-width: 640px; margin: 48px auto 0; display: grid; gap: 14px; }
.contact .row { display: grid; gap: 14px; }
@media (min-width: 734px) { .contact .row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 13px; color: var(--text-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--text); background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.formmsg { min-height: 24px; text-align: center; font-weight: 500; color: var(--accent); }

/* CTA band */
.band { text-align: center; padding: clamp(80px, 12vw, 140px) 16px; position: relative; overflow: hidden; }
.band .bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, var(--accent), transparent 70%); opacity: .35; }
.band > * { position: relative; }

/* Footer */
.foot { background: var(--bg-2); color: var(--text-2); font-size: 12px; padding: 20px 0 24px; }
.foot .fine { border-bottom: 1px solid var(--hair); padding: 12px 0 16px; line-height: 1.5; }
.foot .fine p + p { margin-top: 8px; }
.fcols { display: grid; grid-template-columns: 1fr; padding: 20px 0; gap: 0; }
@media (min-width: 734px) { .fcols { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.fcols h5 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 8px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 734px) { .fcols h5 { border: none; padding: 0; } }
.fcols a { display: block; padding: 4px 0; }
.fcols a:hover { color: var(--text); text-decoration: underline; }
.fbot { border-top: 1px solid var(--hair); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.fbot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.fbot nav a:hover { color: var(--text); }

/* Reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 480px) {
  .orbit { display: grid; grid-template-columns: repeat(5, auto); justify-content: center; gap: 10px; }
  .app { font-size: 11px; }
}
@media (max-width: 899px) { .story-steps .step { min-height: 0; padding: 48px 0; } }

/* ================= Content pages ================= */
.dhero { text-align: center; padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.dhero .glow { position: absolute; inset: auto -10% -60% -10%; height: 100%; z-index: -1; filter: blur(90px); opacity: .35;
  background: radial-gradient(40% 50% at 30% 50%, var(--accent), transparent), radial-gradient(40% 50% at 70% 50%, var(--accent2), transparent); }
.dhero .mega { font-size: clamp(42px, 8vw, 88px); }
.kick-sm { font-size: 17px; font-weight: 600; color: var(--accent); }

.cards { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 734px) { .cards.c2 { grid-template-columns: repeat(2, 1fr); } .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.card2 { background: var(--surface); border-radius: 28px; padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
a.card2:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.sec-alt .card2, .sec-alt .cell, .sec-alt .plan { background: var(--surface); }
.sec:not(.sec-alt) .card2 { background: var(--bg-2); }
.card2 .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 24px; background: linear-gradient(145deg, var(--accent), var(--accent2)); margin-bottom: 12px; }
.card2 h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card2 p { color: var(--text-2); font-size: 16px; }
.card2 .more { margin-top: auto; padding-top: 12px; font-size: 15px; }
.card2 .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }

.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.split h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.split .lede { margin: 16px 0 0; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 17px; line-height: 1.45; }
.ticks li .ic { flex: none; color: var(--accent); margin-top: 4px; stroke-width: 2.4; }
.ticks li b { font-weight: 600; }

.numbered { counter-reset: n; display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 734px) { .numbered { grid-template-columns: repeat(4, 1fr); } }
.numbered > div { counter-increment: n; }
.numbered > div::before { content: counter(n); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; margin-bottom: 16px;
  background: linear-gradient(145deg, var(--accent), var(--accent2)); }
.numbered h4 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.numbered p { color: var(--text-2); font-size: 16px; }

/* Long-form / legal */
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
.prose h2 { font-size: 28px; letter-spacing: -.025em; line-height: 1.2; margin: 48px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--link); }
.prose a:hover { text-decoration: underline; }
.meta { color: var(--text-2); font-size: 15px; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, #ff9f0a 14%, transparent); border: 1px solid color-mix(in srgb, #ff9f0a 40%, transparent);
  border-radius: 16px; padding: 16px 18px; font-size: 15px; margin: 24px 0 8px; }
.notice .ic { flex: none; font-size: 20px; color: #c77700; margin-top: 2px; }
.toc { background: var(--bg-2); border-radius: 20px; padding: 20px 24px; margin: 24px 0; }
.toc ol { padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc a { color: var(--link); }

/* Help center */
.search { max-width: 620px; margin: 32px auto 0; position: relative; }
.search input { width: 100%; font: inherit; font-size: 19px; padding: 18px 22px 18px 56px; border-radius: 980px; border: 1px solid var(--hair); background: var(--surface); color: var(--text); outline: none;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.search .ic { position: absolute; left: 22px; top: 50%; translate: 0 -50%; font-size: 20px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 980px; background: var(--surface); border: 1px solid var(--hair); font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--accent); }
.chip .ic { color: var(--accent); }
.faqgroup { scroll-margin-top: 60px; margin-top: 56px; }
.faqgroup h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; letter-spacing: -.025em; margin-bottom: 8px; }
.faqgroup h2 .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 20px; background: linear-gradient(145deg, var(--accent), var(--accent2)); }
.faqgroup details { border-bottom: 1px solid var(--hair); padding: 18px 0; }
.faqgroup summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faqgroup summary::-webkit-details-marker { display: none; }
.faqgroup summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--text-2); line-height: 1; transition: transform .25s; }
.faqgroup details[open] summary::after { transform: rotate(45deg); }
.faqgroup details p { color: var(--text-2); margin-top: 10px; font-size: 16px; max-width: 760px; }

/* Site map */
.smap { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 734px) { .smap { grid-template-columns: repeat(3, 1fr); } }
.smap h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--hair); }
.smap a { display: block; padding: 4px 0; color: var(--link); font-size: 15px; }
.smap a:hover { text-decoration: underline; }

/* ================= Conversion components ================= */
.assure { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--text-2); }
.assure em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.assure .ic { color: #1fa463; stroke-width: 2.6; flex: none; }
.btn-big { font-size: 19px; padding: 15px 34px; }

/* Pains */
.card2.pain .ci { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.turn { text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.035em; margin-top: 72px; }

/* Finder */
.finder { max-width: 860px; margin: 48px auto 0; background: var(--surface); border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 32px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.3); }
.fstep h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent2)); flex: none; }
.opts { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .opts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { [data-step="1"] .opts { grid-template-columns: repeat(3, 1fr); } }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--hair); background: var(--bg); color: var(--text); font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.opt:hover { border-color: var(--accent); }
.opt:active { transform: scale(.98); }
.opt .ic { font-size: 22px; color: var(--accent); flex: none; }
.opt.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.fresult { border-radius: 24px; padding: 28px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--bg)), color-mix(in srgb, var(--accent2) 10%, var(--bg))); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.fr-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.fr-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 28px; background: linear-gradient(145deg, var(--accent), var(--accent2)); flex: none; }
.fr-head h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.fr-why { font-size: 17px; color: var(--text-2); margin-bottom: 18px; }
.fr-why b { color: var(--text); }
.fresult .ticks { margin-bottom: 24px; }

/* Calculator */
.calc { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-in, .calc-out { background: var(--bg-2); border-radius: 32px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; align-content: start; }
.calc-out { background: #000; color: #f5f5f7; --text-2: #a1a1a6; --hair: rgba(255,255,255,.14); }
.rng { display: grid; gap: 10px; font-size: 16px; }
.rng span { display: flex; justify-content: space-between; gap: 12px; }
.rng b { font-size: 18px; color: var(--accent); white-space: nowrap; }
.rng input { width: 100%; accent-color: var(--accent); height: 28px; }
.rate { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.lbl { color: var(--text-2); font-size: 15px; }
.loss { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #ff453a; margin-top: -12px; }
.sub2 { color: var(--text-2); font-size: 15px; margin-top: -8px; }
.gain { border-top: 1px solid var(--hair); padding-top: 24px; display: grid; gap: 12px; }
.win { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1; background: linear-gradient(90deg, #30d158, #64d2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-out .btn { justify-self: start; }
.fine2 { font-size: 12px; color: var(--text-2); }

/* Founding partners */
.founding .ticks li { font-size: 17px; }
.founding .ticks .ic { color: var(--accent); }
.founding .ticks b { color: var(--text); }
.founding .split .lede { color: var(--text-2); }

/* FAQ */
.faq2 { max-width: 820px; margin: 40px auto 0; }
.faq2 details { border-bottom: 1px solid var(--hair); padding: 22px 0; }
.faq2 summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -.015em; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--text-2); line-height: 1; transition: transform .25s; }
.faq2 details[open] summary::after { transform: rotate(45deg); }
.faq2 details p { color: var(--text-2); margin-top: 12px; font-size: 17px; }

/* Trial form extras */
.note summary { cursor: pointer; font-size: 14px; color: var(--link); text-align: left; padding: 4px 0; }
.note .field { margin-top: 8px; }

/* Before / after */
.ba { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 800px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba-col { border-radius: 32px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.ba-col ul { list-style: none; display: grid; gap: 16px; flex: 1; }
.ba-col li { display: flex; gap: 12px; font-size: 18px; line-height: 1.4; }
.ba-h { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.before { background: var(--surface); color: var(--text-2); }
.before li { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text-2) 50%, transparent); }
.before .x { color: #ff453a; font-weight: 700; flex: none; text-decoration: none; display: inline-block; }
.after { background: linear-gradient(145deg, var(--accent), var(--accent2)); color: #fff; box-shadow: 0 30px 60px -30px var(--accent); }
.after .ic { flex: none; margin-top: 3px; stroke-width: 2.6; }
.after li { font-weight: 500; }
.after .btn { background: #fff; color: #1d1d1f; align-self: flex-start; }
.plan-note { text-align: center; font-size: 13px; color: var(--text-2); margin-top: 10px; }

/* Sticky CTA */
.stick { position: fixed; z-index: 70; left: 50%; bottom: 16px; translate: -50% 140%; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 980px;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border: 1px solid var(--hair); box-shadow: 0 20px 40px -12px rgba(0,0,0,.3);
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: translate .5s var(--ease); max-width: calc(100vw - 32px); }
.stick.on { translate: -50% 0; }
.stick .btn { font-size: 14px; padding: 8px 16px; }
@media (max-width: 420px) { .stick span { display: none; } .stick { padding: 6px; } }
@media (max-width: 700px) {
  .finder { padding: 20px 14px; border-radius: 24px; gap: 24px; }
  .fresult { padding: 20px 16px; }
  .fr-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .fr-head h3 { font-size: 26px; }
  .calc-in, .calc-out { padding: 24px 18px; border-radius: 24px; }
  .rate { grid-template-columns: 1fr; }
  .rng span { flex-direction: column; gap: 2px; }
}
.calc > div, .rate > .field, .finder > * { min-width: 0; }
.calc input, .calc select, .contact input, .contact select { min-width: 0; width: 100%; }
