/* AI Automation Society · premium landing
   Base: near-black + white. Blue (#37bdf8) is an accent only. */

:root {
  --bg: #050506;
  --bg-2: #0b0c0e;
  --bg-3: #121316;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --fg: #f4f5f7;
  --fg-2: rgba(244,245,247,.64);
  --fg-3: rgba(244,245,247,.40);
  --fg-4: rgba(244,245,247,.24);
  --accent: #37bdf8;
  --accent-deep: #1f6f9f;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;
  --container: 1080px;
  --wide: 1265px;
  --nav-h: 60px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- reveal (Framer-style appear) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* the parallax writes an inline transform on the laptop every frame; a transform transition here would lag it a full second behind the scroll */
.hero__device.reveal { transform: none; transition: opacity 1s var(--ease); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero__title.is-in .line > span { transform: none; }
.hero__title.is-in .line:nth-child(2) > span { transition-delay: .08s; }

/* ---------- type ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: var(--fg-2); letter-spacing: .01em;
}
.chip--solid { background: rgba(255,255,255,.1); color: var(--fg); border-color: transparent; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(55,189,248,.7); flex: none; }
.h2 { font-size: 40px; line-height: 54px; letter-spacing: -.04em; font-weight: 500; color: var(--fg); margin-top: 18px; }
.h2__a, .h2__b { display: block; }
.h2__b { color: var(--fg-3); }
.h2--single { color: var(--fg); }
.section-head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; margin-bottom: 40px; }
.section-head__p { font-size: 16px; line-height: 24px; color: var(--fg-2); padding-bottom: 4px; }
.section-head__link { justify-self: end; font-size: 15px; color: var(--fg-2); padding-bottom: 8px; }
.section-head__link:hover { color: var(--fg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; transition: transform .3s var(--ease), background .3s, box-shadow .3s; white-space: nowrap; }
.btn--light { background: rgba(255,255,255,.88); color: #0a0a0b; }
.btn--light:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -10px rgba(55,189,248,.55); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--fg); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 6vw, 180px);
  background: linear-gradient(180deg, rgba(5,5,6,.75), rgba(5,5,6,0));
  transition: background .4s;
}
.nav.is-scrolled { background: rgba(5,5,6,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: .06em; }
.nav__brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(55,189,248,.55)); }
.nav__links { display: flex; gap: 8px; justify-self: center; }
.nav__links a { font-size: 14px; color: var(--fg-2); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.nav__right { display: flex; align-items: center; gap: 16px; justify-self: end; }
.nav__login { font-size: 14px; color: var(--fg-2); }
.nav__login:hover { color: var(--fg); }
.nav__cta { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 500; transition: background .25s; }
.nav__cta:hover { background: rgba(255,255,255,.2); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.08); align-items: center; justify-content: center; justify-self: end; }
.nav__sheet { display: none; position: fixed; top: var(--nav-h); left: 12px; right: 12px; z-index: 49; padding: 12px; border-radius: 20px; background: rgba(12,13,15,.96); border: 1px solid var(--line-2); flex-direction: column; }
.nav__sheet.is-open { display: flex; }
.nav__sheet a { padding: 12px 14px; font-size: 16px; color: var(--fg-2); border-radius: 12px; }
.nav__sheet a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.nav__sheet-cta { margin-top: 6px; text-align: center; background: rgba(255,255,255,.9); color: #0a0a0b !important; font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; height: 1270px; overflow: clip; background: var(--bg); }
.hero__sky {
  position: absolute; inset: 0;
  background: radial-gradient(200% 83% at 50% 0px, #0c0e11 0%, #171b1f 42%, #2f78a8 100%);
}
.hero__sky::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(55,189,248,.22), rgba(55,189,248,0) 70%); }
.layer { position: absolute; left: 50%; bottom: 0; width: max(1440px, 100%); transform: translateX(-50%); will-change: transform; pointer-events: none; max-width: none; }
.layer--far { z-index: 1; opacity: 1; bottom: 150px; width: max(1680px, 117%); }
.layer--mid { z-index: 2; bottom: 40px; }
.layer--front { z-index: 4; bottom: -110px; }
/* the layers drift past the section edge as they parallax; fade them into the page ground so the clip line never shows */
.hero::after { content: ''; position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 280px; background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.6) 45%, var(--bg) 88%); pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding-top: 160px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: 56px; line-height: 1.3; letter-spacing: -.04em; font-weight: 400; color: #fff3f0; color: #f7f8fa; margin-top: 22px; max-width: 900px; }
.hero__sub { margin-top: 16px; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.8); max-width: 460px; }
.hero__cta { margin-top: 46px; }
.hero__device { position: absolute; z-index: 3; left: 50%; top: 594px; width: 960px; margin-left: -480px; will-change: transform; }
.device { padding: 6px 6px 0; border-radius: 24px 24px 0 0; background: rgba(23,23,23,.85); box-shadow: 0 -1px 0 rgba(255,255,255,.08) inset, 0 40px 120px -20px rgba(0,0,0,.8); }
.hero__floor { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(5,5,6,0), var(--bg) 70%); }

/* ---------- product screen (shared) ---------- */
.screen { display: grid; grid-template-columns: 230px 1fr; height: 670px; border-radius: 18px 18px 0 0; overflow: clip; background: #121214; color: #e9e9ec; font-size: 14px; }
.screen__side { background: #161618; border-right: 1px solid rgba(255,255,255,.06); padding: 22px 18px; }
.screen__search { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.35); }
.screen__search span { display: block; width: 60px; height: 14px; border-radius: 999px; background: rgba(255,255,255,.12); }
.screen__nav { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.screen__nav li { display: flex; align-items: center; gap: 10px; height: 33px; padding: 0 10px; border-radius: 8px; color: rgba(255,255,255,.72); }
.screen__nav li.is-active { background: rgba(255,255,255,.07); color: #fff; }
.screen__nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.screen__main { position: relative; overflow: clip; }
.screen__cover { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(26px) saturate(1.05); transform: scale(1.12); }
.screen__hero { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 200px 60px 40px; background: linear-gradient(180deg, rgba(10,10,12,0) 40%, rgba(10,10,12,.35) 100%); }
.screen--cta .screen__hero { padding-top: 150px; }
.screen__avatar { width: 48px; height: 48px; border-radius: 50%; background: #070809; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 0 26px rgba(55,189,248,.55), 0 8px 24px rgba(0,0,0,.45); }
.screen__avatar img { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(55,189,248,.9)); }
.screen__name { margin-top: 12px; font-size: 16px; font-weight: 600; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.screen__members { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.faces { display: inline-flex; }
.faces img { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); margin-left: -8px; object-fit: cover; }
.faces img:first-child { margin-left: 0; }
.screen__join { margin-top: 16px; width: min(420px, 100%); height: 52px; border-radius: 12px; background: #fff; color: #0a0a0b; font-weight: 600; font-size: 15px; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.screen__desc { margin-top: 18px; font-size: 12.5px; line-height: 18px; color: rgba(255,255,255,.88); text-align: left; max-width: 420px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---------- intro ---------- */
.intro { padding: 230px 0 210px; background: var(--bg); }
.intro__inner { max-width: 640px; margin: 0 auto; transform: translateX(-120px); }
.intro__p { font-size: 32px; line-height: 38px; letter-spacing: -.03em; font-weight: 400; color: var(--fg); opacity: .22; margin-top: 36px; transition: opacity .4s; }
.intro__p:first-of-type { margin-top: 40px; }

/* ---------- sections ---------- */
.features, .get, .plans, .faq, .videos { padding: 110px 0; background: var(--bg); }

/* tabs */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 999px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.tab { height: 46px; border-radius: 999px; font-size: 17px; color: var(--fg-2); transition: background .3s, color .3s; }
.tab.is-active { background: #1a1b1e; color: var(--fg); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.tab:hover { color: var(--fg); }

/* stage */
.stage { position: relative; margin-top: 12px; height: 600px; border-radius: 28px; overflow: clip; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 60px 120px -60px rgba(0,0,0,.9); }
.stage__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: 1; filter: brightness(1.25); will-change: transform; }
.stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.15), rgba(5,5,6,0) 30%, rgba(5,5,6,.45) 100%); pointer-events: none; }
.stage__slide { padding: 64px 120px; }
.stage__slides { position: absolute; inset: 0; }
.stage__slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 56px 100px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stage__slide.is-active { opacity: 1; transform: none; }
.stage__slide img { max-height: 100%; max-width: 100%; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.stage__slide--grid { padding: 40px 100px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 660px; }
.qgrid img { width: 100%; height: auto; }
.stage-bar { margin-top: 14px; height: 60px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 0 6px; border-radius: 999px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.stage-bar__btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg-2); transition: background .2s, color .2s; }
.stage-bar__btn:hover { background: rgba(255,255,255,.1); color: var(--fg); }
.stage-bar__caption { text-align: center; font-size: 17px; color: var(--fg); }

/* stacked decks */
.stack { position: relative; margin-top: 8px; }
.deck { position: sticky; top: 120px; display: grid; grid-template-columns: 1fr 1fr; height: 628px; margin-bottom: 48px; border-radius: 28px; overflow: clip; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 50px 100px -50px rgba(0,0,0,.9); transform-origin: 50% 0; }
.stack.is-near .deck { will-change: transform, filter; }
.deck--flip .deck__copy { order: 2; }
.deck__copy { padding: 56px 48px; display: flex; flex-direction: column; }
.deck__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-3); }
.deck__title { margin-top: 64px; font-size: 32px; line-height: 40px; letter-spacing: -.03em; font-weight: 500; max-width: 12ch; }
.deck__p { margin-top: 30px; font-size: 15px; line-height: 22px; color: var(--fg-2); max-width: 40ch; }
.deck__foot { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg-2); }
.cross { position: relative; width: 14px; height: 14px; flex: none; opacity: .7; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--fg-2); }
.cross::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.cross::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.deck__media { position: relative; margin: 8px; border-radius: 22px; overflow: clip; background: #0f1012; }
.deck__bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; opacity: .95; }
.deck__media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.1), rgba(5,5,6,.45)); }
.deck__shot { position: absolute; left: 50%; top: 50%; width: 82%; transform: translate(-50%, -50%); border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); object-fit: cover; }
.deck__shot--tall { width: 58%; aspect-ratio: 4 / 5; object-position: 50% 15%; }

/* plans */
.plans__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 28px; background: #0a0b0d; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); padding: 0; }
.plan { padding: 44px 36px 20px; display: flex; flex-direction: column; }
.plan--raised { margin: -16px -1px; padding-top: 60px; background: #121316; border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(55,189,248,.35); position: relative; z-index: 1; }
.plan__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 32px; }
.plan__price b { font-size: 40px; font-weight: 400; letter-spacing: -.04em; color: var(--fg); line-height: 1; }
.plan__price span { font-size: 18px; color: var(--fg-2); }
.plan__blurb { margin-top: 22px; font-size: 15px; line-height: 21px; color: var(--fg-2); max-width: 22ch; min-height: 42px; }
.plan .btn { align-self: flex-start; margin-top: 26px; height: 40px; padding: 0 22px; font-size: 14px; }
.plan__rows { list-style: none; margin: 46px 0 0; padding: 0; }
.plan__rows li { display: flex; align-items: center; gap: 12px; height: 61px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg); }
.plan__rows li:last-child { border-bottom: 0; }
.plan__rows i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.1); flex: none; position: relative; }
.plan__rows i::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--fg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .85; }
.plan--raised .plan__rows i { background: rgba(55,189,248,.18); }
.plan--raised .plan__rows i::after { border-color: var(--accent); }

/* faq */
.faq__grid { display: grid; grid-template-columns: 345px 1fr; gap: 48px; align-items: start; }
.faq__side { position: sticky; top: 100px; }
.faq__tabs { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 28px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.faq__tabs button { height: 44px; border-radius: 999px; font-size: 16px; color: var(--fg-2); transition: background .25s, color .25s; }
.faq__tabs button.is-active { background: #1a1b1e; color: var(--fg); }
.faq__card { margin-top: 24px; padding: 36px; border-radius: 22px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.faq__card h4 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.faq__card p { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--fg-2); }
.faq__card a { display: inline-block; margin-top: 30px; font-size: 14px; color: var(--fg-2); }
.faq__card a:hover { color: var(--fg); }
.faq__set { display: none; flex-direction: column; gap: 10px; }
.faq__set.is-active { display: flex; }
.qa { border-radius: 22px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 34px 36px; font-size: 17px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__chev { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); position: relative; flex: none; transition: transform .3s var(--ease); }
.qa__chev::after { content: ''; position: absolute; left: 12px; top: 10px; width: 8px; height: 8px; border: solid var(--fg-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.qa[open] .qa__chev { transform: rotate(180deg); }
.qa__a { padding: 0 36px 34px; font-size: 15px; line-height: 23px; color: var(--fg-2); max-width: 60ch; }

/* videos */
.videos__intro { margin-top: 16px; max-width: 50ch; font-size: 16px; line-height: 24px; color: var(--fg-2); }
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; border-radius: 28px; background: #0a0b0d; border: 1px solid var(--line); box-shadow: 0 0 0 6px rgba(255,255,255,.02); }
.vcard { border-radius: 20px; background: #0f1012; overflow: clip; transition: transform .35s var(--ease), background .3s; }
.vcard:hover { transform: translateY(-3px); background: #131417; }
.vcard img { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; }
.vcard h3 { padding: 26px 30px 0; font-size: 22px; line-height: 30px; letter-spacing: -.02em; font-weight: 500; }
.vcard__meta { padding: 20px 30px 34px; font-size: 14px; color: var(--fg-2); }

/* typed headlines */
[data-type] .w { display: inline-block; white-space: nowrap; }
[data-type] .ch { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(4px); transition: opacity .32s var(--ease), filter .5s var(--ease), transform .5s var(--ease); }
[data-type].is-typed .ch { opacity: 1; filter: blur(0); transform: none; }

/* cta */
.cta { position: relative; padding: 200px 0 260px; background: linear-gradient(180deg, var(--bg) 0%, #14181c 100%); overflow: clip; }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.cta__copy .h2 { margin-top: 0; }
.cta__copy p { margin-top: 26px; font-size: 16px; line-height: 24px; color: var(--fg-2); max-width: 36ch; }
.cta__copy .btn { margin-top: 42px; }
.cta__device { position: relative; }
.screen--cta { height: 560px; border-radius: 18px; grid-template-columns: 230px 1fr; width: 1180px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.cta__dunes { position: absolute; z-index: 1; left: 0; right: 0; bottom: -20px; width: 100%; height: 560px; object-fit: cover; object-position: 50% 30%; opacity: .95; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); will-change: transform; }
.cta__layer { position: absolute; left: 50%; width: max(1440px, 100%); transform: translateX(-50%); pointer-events: none; will-change: transform; max-width: none; }
.cta__layer--mid { z-index: 1; bottom: -30px; opacity: .9; }
.cta__layer--front { z-index: 3; bottom: -140px; }
.cta::after { content: ''; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.6) 45%, var(--bg) 88%); pointer-events: none; }

/* scroll progress: a 2px lit line along the top edge with a small bright head */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; pointer-events: none; }
.progress__bar { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(55,189,248,.8), #37bdf8 60%, #d8f3ff); box-shadow: 0 0 12px rgba(55,189,248,.7); will-change: transform; }
.progress__head { position: absolute; top: -3px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(55,189,248,.85); transform: translateX(0); opacity: 0; transition: opacity .3s var(--ease); will-change: transform; }
.progress.is-on .progress__head { opacity: 1; }

/* footer */
.footer { position: relative; z-index: 2; background: var(--bg); padding: 70px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { filter: drop-shadow(0 0 10px rgba(55,189,248,.5)); }
.footer__brand p { margin-top: 20px; font-size: 14px; color: var(--fg-2); max-width: 30ch; }
.footer__fine { margin-top: 14px; font-size: 12px; color: var(--fg-4); max-width: 34ch; line-height: 1.5; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h5 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.footer__col a { font-size: 15px; color: var(--fg-2); }
.footer__col a:hover { color: var(--fg); }
.footer__terms { margin-top: 30px; font-size: 11px; line-height: 1.65; color: rgba(244,245,247,.42); }
.footer__terms p { max-width: 980px; }
.footer__terms p + p { margin-top: 8px; }
.footer__bottom { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--fg-2); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__title .line > span { transition: none; opacity: 1; transform: none; }
  .layer, .hero__device, .stage__bg, .cta__dunes { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { padding: 0 20px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head__p { padding-bottom: 0; max-width: 46ch; }
  .section-head__link { justify-self: start; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links, .nav__login { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  /* hero keeps its layered stage on phones: fixed height, laptop parked behind the treeline, narrower ridge art */
  .hero { height: 960px; padding-bottom: 0; }
  .hero__content { padding: 108px 20px 0; }
  .hero__title { font-size: 38px; line-height: 1.12; }
  .hero__sub { font-size: 14px; line-height: 20px; padding: 0 8px; }
  .hero__cta { margin-top: 32px; }
  .hero__title .line { display: inline; }
  .hero__title .line > span { display: inline; transform: none; }
  .hero__title .line:nth-child(2) > span::before { content: ' '; }
  .hero__device { position: absolute; top: 520px; left: 16px; right: 16px; width: auto; margin: 0; }
  .screen { grid-template-columns: 1fr; height: 460px; }
  .screen__side { display: none; }
  .screen__hero { padding: 64px 24px 24px; }
  .screen__cover { filter: none; transform: scale(1.06); }
  /* phone GPU budget: no backdrop blur behind the nav, no filter on the drifting stage image, no blur on typed characters */
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5,5,6,.94); }
  .stage__bg { filter: none; }
  [data-type] .ch { filter: none; transition: opacity .32s var(--ease), transform .5s var(--ease); }
  [data-type].is-typed .ch { filter: none; }
  .progress { height: 2px; }
  .layer { width: 1100px; }
  .layer--far { width: 1320px; bottom: 200px; }
  .layer--mid { bottom: 80px; }
  .layer--front { bottom: -80px; }
  .hero::after { height: 220px; }
  .hero__floor { display: none; }
  .intro { padding: 120px 0; }
  .intro__inner { transform: none; padding: 0 24px; }
  .intro__p { font-size: 24px; line-height: 30px; }
  .features, .get, .plans, .faq, .videos { padding: 80px 0; }
  .tabs { grid-template-columns: repeat(2, 1fr); border-radius: 24px; }
  .tab { font-size: 15px; height: 42px; }
  .stage { height: 420px; }
  .stage__slide { padding: 28px; }
  .stage-bar__caption { font-size: 14px; }
  .deck { position: relative; top: auto; grid-template-columns: 1fr; height: auto; margin-bottom: 20px; transform: none !important; filter: none !important; }
  .deck--flip .deck__copy { order: 0; }
  .deck__copy { padding: 32px 28px; }
  .deck__title { margin-top: 28px; font-size: 26px; line-height: 32px; }
  .deck__p { margin-top: 18px; }
  .deck__foot { margin-top: 28px; }
  .deck__media { height: 340px; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan--raised { margin: 0; border-radius: 22px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__card { margin-top: 20px; }
  .faq__side { position: static; top: auto; }
  .faq__tabs { flex-direction: row; }
  .faq__tabs button { flex: 1; font-size: 14px; }
  .qa summary { padding: 22px 22px; font-size: 15px; }
  .qa__a { padding: 0 22px 22px; }
  .videos__grid { grid-template-columns: 1fr; }
  .cta { padding: 120px 0 110px; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__device { margin-top: 8px; }
  .screen--cta { width: 100%; height: 420px; border-radius: 18px 18px 0 0; }
  .screen--cta .screen__hero { padding-top: 56px; }
  .cta__dunes { height: 300px; bottom: -10px; }
  .cta__layer { width: 1100px; }
  .cta__layer--mid { bottom: 40px; }
  .cta__layer--front { bottom: -40px; }
  .cta::after { height: 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
