/* Spotter — pre-launch site
   Layout modes:
   - .is-pinned (desktop, motion allowed): story + demo are pinned GSAP scenes.
   - default (mobile, reduced motion, no JS): a complete static, stacked flow. */

@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/Manrope-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --blue: #3657FF;
  --blue-700: #2440D9;
  --blue-300: #8DA2FF;
  --ink: #101727;
  --ink-800: #1A2236;
  --ink-700: #262F45;
  --white: #FFFFFF;
  --surface: #F0F1F3;
  --line: #D5D9E0;
  --muted: #5B6474;
  --muted-on-ink: #A9B1C3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 96px);
  --header-h: 72px;
  --radius: 14px;
  --pw: clamp(250px, 19.5vw, 330px);          /* phone width */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html:not(.reduced-motion) { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--text); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 20px; }
.eyebrow--dark { color: var(--muted); }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; font-size: clamp(54px, 7.4vw, 132px); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; }
.phrase { display: block; overflow: hidden; padding-bottom: .04em; }
.phrase > span { display: block; }

/* ---------- buttons ---------- */
.btn { --bg: var(--blue); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--blue-700); box-shadow: 0 10px 30px -10px rgba(54, 87, 255, .7); }
.btn--ghost { --bg: transparent; border-color: rgba(255, 255, 255, .32); }
.btn--ghost:hover { border-color: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { --bg: var(--ink); --fg: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.btn--block { width: 100%; }

/* ---------- 1 header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color .35s var(--ease), backdrop-filter .35s, box-shadow .35s; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; padding: 0 max(var(--gutter), env(safe-area-inset-left)); transition: height .35s var(--ease); }
.site-header.is-compact { background: rgba(16, 23, 39, .94); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.site-header.is-compact .site-header__inner { height: 60px; }
.header-cta { transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease), background-color .25s, box-shadow .25s; }
.site-header.cta-handoff .header-cta { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.brand { display: inline-flex; color: var(--white); }
.brand__mark { width: 118px; height: 33px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { font-size: 15px; font-weight: 600; text-decoration: none; color: rgba(255, 255, 255, .82); padding: 6px 2px; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: color .2s, background-size .3s var(--ease); }
.site-nav a:hover { color: var(--white); background-size: 100% 2px; }

/* ---------- 2/3 story (hero + features + shared stage) ---------- */
.story { position: relative; background: var(--ink); display: grid; grid-template-columns: 1fr; }
.hero { position: relative; padding: calc(var(--header-h) + 48px) var(--gutter) 24px; overflow: hidden; }
.hero__glow { position: absolute; inset: auto -20% -55% -20%; height: 90%; background: radial-gradient(50% 55% at 60% 60%, rgba(54, 87, 255, .55), rgba(54, 87, 255, .12) 55%, transparent 75%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; max-width: 680px; }
.hero__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .86; font-size: clamp(76px, 9.6vw, 176px); letter-spacing: -.01em; }
.hero__copy { margin-top: 28px; font-size: clamp(18px, 1.35vw, 22px); color: rgba(255, 255, 255, .78); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* entrance: short, never hides content for long */
@media (prefers-reduced-motion: no-preference) {
  html:not(.reduced-motion) .hero__title .line > span { animation: rise .8s var(--ease) both; }
  html:not(.reduced-motion) .hero__title .line:nth-child(2) > span { animation-delay: .08s; }
  html:not(.reduced-motion) .hero__copy { animation: fade .7s .18s var(--ease) both; }
  html:not(.reduced-motion) .stage { animation: stageIn 1.1s .1s var(--ease) both; }
}
html.motion-full .hero__title .line > span { animation: rise .8s var(--ease) both; }
html.motion-full .hero__title .line:nth-child(2) > span { animation-delay: .08s; }
html.motion-full .hero__copy { animation: fade .7s .18s var(--ease) both; }
html.motion-full .stage { animation: stageIn 1.1s .1s var(--ease) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes stageIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

.stage { position: relative; display: grid; place-items: center; padding: 8px var(--gutter) 64px; perspective: 1400px; }
.phone { position: relative; z-index: 2; width: var(--pw); transform-style: preserve-3d; }
.phone__frame { position: relative; aspect-ratio: 9 / 18.6; border-radius: calc(var(--pw) * .16); padding: calc(var(--pw) * .035); background: linear-gradient(145deg, #3A4258, #0B0F1A 40%, #232B3F); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 30px 120px -40px rgba(54, 87, 255, .55); }
.phone__island { position: absolute; z-index: 3; top: calc(var(--pw) * .055); left: 50%; width: 30%; height: calc(var(--pw) * .075); translate: -50% 0; border-radius: 99px; background: #05070C; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .13); background: #F6F7F9; color: var(--ink); font-size: calc(var(--pw) * .047); }
.concept-note { margin-top: 18px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.concept-note--dark { color: var(--muted); text-align: left; }

/* concept UI */
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 1.15em 1.6em .4em; font-size: .82em; font-weight: 700; }
.statusbar__icons { display: inline-flex; gap: 3px; } .statusbar__icons i { width: 4px; height: 8px; border-radius: 1px; background: var(--ink); }
.screen { position: absolute; inset: 2.6em 0 0; padding: .9em 1.15em; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; }
.app-top { display: flex; align-items: center; gap: .5em; font-size: .78em; font-weight: 600; color: var(--muted); }
.app-top__plate { width: 1.5em; height: 1.5em; fill: var(--blue); }
.u-back { font-size: 1.4em; line-height: 1; color: var(--ink); }
.app-h { font-family: var(--display); font-size: 2.1em; text-transform: uppercase; line-height: 1; margin: .35em 0 .6em; }
.u-card { background: var(--white); border-radius: 1em; padding: .9em 1em; box-shadow: 0 1px 0 rgba(16, 23, 39, .06); margin-bottom: .7em; }
.u-card--ink { background: var(--ink); color: var(--white); }
.u-kicker { font-size: .66em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.u-kicker--dark { color: var(--muted); }
.u-title { font-size: 1.25em; font-weight: 700; margin: .15em 0 .55em; }
.u-plan li { display: flex; justify-content: space-between; gap: .6em; font-size: .78em; padding: .5em 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.u-plan b { font-weight: 600; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.u-btn { display: block; margin-top: .8em; text-align: center; background: var(--blue); border-radius: 99px; padding: .7em; font-size: .85em; font-weight: 700; }
.u-row { display: flex; justify-content: space-between; align-items: center; font-size: .8em; }
.u-muted { color: var(--muted); font-size: .92em; }
.u-sets { background: var(--white); border-radius: 1em; padding: .4em .9em; margin-bottom: .6em; }
.u-sets__head, .u-set { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1fr; align-items: center; padding: .62em 0; }
.u-sets__head { font-size: .66em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.u-set { font-size: 1.05em; font-weight: 700; border-top: 1px solid #ECEEF2; }
.u-set .u-check { justify-self: end; width: 1.5em; height: 1.5em; border-radius: 50%; border: 2px solid #C9CED8; }
.u-set.is-done .u-check { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; border-color: var(--blue); }
.u-set.is-current { background: rgba(54, 87, 255, .07); margin: 0 -.9em; padding-left: .9em; padding-right: .9em; box-shadow: inset 3px 0 0 var(--blue); }
.u-add { display: block; text-align: center; font-size: .82em; font-weight: 700; color: var(--blue); padding: .5em; margin-bottom: .5em; }
.u-history li { display: flex; gap: .8em; align-items: center; background: var(--white); border-radius: .9em; padding: .65em .8em; margin-bottom: .5em; }
.u-history li.is-today { box-shadow: inset 3px 0 0 var(--blue); }
.u-date { font-family: var(--display); font-size: 1.55em; line-height: .9; text-align: center; min-width: 1.8em; }
.u-date small { display: block; font-family: var(--text); font-size: .42em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.u-history b { display: block; font-size: .86em; } .u-history span { font-size: .72em; color: var(--muted); }
.u-chart { width: 100%; height: auto; margin-top: .4em; }
.u-chart__grid { stroke: #E3E6EC; stroke-width: 1; }
.u-chart__line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.u-chart__pts circle { fill: var(--white); stroke: var(--blue); stroke-width: 2; } .u-chart__pts .is-now { fill: var(--blue); }
.u-chart__axis { display: flex; justify-content: space-between; font-size: .64em; font-weight: 600; color: var(--muted); }
.u-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.u-stats div { background: var(--white); border-radius: .9em; padding: .7em .8em; }
.u-stats b { display: block; font-size: 1.05em; }

/* plate */
.plate3d { position: absolute; z-index: 1; width: calc(var(--pw) * 1.5); aspect-ratio: 1; left: 50%; top: 50%; translate: -88% -58%; transform-style: preserve-3d; pointer-events: none; }
.plate3d__glow { position: absolute; inset: -30%; background: radial-gradient(closest-side, rgba(54, 87, 255, .45), transparent 70%); filter: blur(10px); }
.plate3d__body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-32deg) rotateX(12deg) rotateZ(-8deg); }
.plate3d__layer { position: absolute; inset: 0; width: 100%; height: 100%; fill: #1B2C86; }
.plate3d__layer:last-child { fill: var(--blue); filter: drop-shadow(0 0 30px rgba(54, 87, 255, .35)); }

/* features */
.features { position: relative; padding: 24px var(--gutter) 96px; background: var(--ink); }
.features__head .display { font-size: clamp(56px, 6.4vw, 116px); }
.features__list { margin-top: 40px; display: grid; gap: 28px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); transition: opacity .4s var(--ease), border-color .4s; }
.feature__num { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--blue-300); }
.feature__title { font-size: 21px; font-weight: 700; line-height: 1.3; }
.feature__text { margin-top: 6px; color: var(--muted-on-ink); font-size: 16.5px; }
.feature-shot { grid-column: 1 / -1; margin-top: 18px; width: min(100%, 340px); --pw: min(100%, 340px); }
.feature-shot .phone__screen { height: auto; border-radius: 22px; font-size: 15px; padding-bottom: 6px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8); }
.feature-shot .screen { position: static; opacity: 1; transform: none; }
.stage-indicator { display: none; }

/* pinned desktop mode */
.is-pinned .story { display: block; height: 100vh; height: 100svh; overflow: hidden; }
.is-pinned .hero, .is-pinned .features { position: absolute; inset: 0; padding: 0 var(--gutter); background: transparent; display: flex; align-items: center; }
.is-pinned .hero { z-index: 2; }
.is-pinned .hero__glow { inset: auto -10% -45% 10%; }
/* no z-index here: the heading must be able to rise above the stage (plate), the big number must stay below it */
.is-pinned .features { pointer-events: none; }
.is-pinned .features__head { position: relative; z-index: 4; }
.is-pinned .features__inner { width: 100%; display: grid; grid-template-columns: 1fr calc(var(--pw) * 1.5) 1fr; gap: 48px; align-items: center; pointer-events: auto; }
.is-pinned .features__list { margin: 0; grid-column: 3; }
.is-pinned .feature { opacity: .34; transition: opacity .45s var(--ease), border-color .45s, transform .55s var(--ease); }
.is-pinned .feature.is-active { opacity: 1; border-top-color: var(--blue); transform: translateX(12px); }
.is-pinned .feature .feature__text { transition: opacity .45s var(--ease); opacity: .7; }
.is-pinned .feature.is-active .feature__text { opacity: 1; }
.features__bignum { display: none; }
.is-pinned .features__bignum { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.is-pinned .features__bignum span { position: absolute; left: 50%; top: 52%; translate: -50% -50%; font-family: var(--display); font-size: min(62vh, 40vw); line-height: .8; color: rgba(141, 162, 255, .055); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.is-pinned .features__bignum span.is-on { opacity: 1; transform: none; }
.is-pinned .stage { position: absolute; z-index: 3; inset: 0; padding: 0; pointer-events: none; }
.is-pinned .stage-indicator { display: flex; position: absolute; left: 50%; bottom: 40px; translate: -50% 0; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted-on-ink); }
.stage-indicator__bar { display: flex; gap: 6px; } .stage-indicator__bar i { width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background-color .3s; }
.stage-indicator__bar i.is-on { background: var(--blue); }
.is-pinned .feature-shot { display: none; }

/* ---------- 4 moment one ---------- */
.moment--one { position: relative; background: var(--ink); overflow: hidden; }
.moment__media { position: relative; height: 72vh; min-height: 420px; overflow: hidden; }
.moment__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.moment__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--ink)); }
.moment__copy { position: relative; padding: 0 var(--gutter) 96px; margin-top: -60px; }
.moment__copy .display { font-size: clamp(50px, 6vw, 112px); }
.moment__text { margin-top: 26px; max-width: 34ch; font-size: clamp(18px, 1.3vw, 22px); color: rgba(255, 255, 255, .78); }
@media (min-width: 1024px) {
  .moment--one { min-height: 112vh; display: flex; align-items: center; }
  .moment__media { position: absolute; inset: 0 0 0 auto; width: 58vw; height: 100%; }
  .moment__media::after { background: linear-gradient(90deg, var(--ink), rgba(16, 23, 39, .2) 35%, transparent 60%); }
  .moment__copy { margin: 0; padding: 0 var(--gutter); max-width: 50vw; }
}

/* ---------- 5 demo ---------- */
.demo { background: var(--ink); color: var(--ink); }
.demo__inner { position: relative; padding: 96px var(--gutter); background: var(--surface); transform-origin: 50% 0; }
.demo__caption { position: relative; margin-top: 22px; min-height: 3.2em; max-width: 34ch; font-size: 17px; font-weight: 500; color: #2A3242; }
.demo__caption span { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.demo__caption span.is-on { opacity: 1; transform: none; }
.reduced-motion .demo__caption, html:not(.is-pinned):not(.motion-mobile) .demo__caption { display: none; }
.log.is-recording .log__row.is-focus span:nth-child(2), .log.is-recording .log__row.is-focus span:nth-child(3) { color: var(--blue); text-decoration: underline 3px rgba(54, 87, 255, .35); text-underline-offset: 6px; }
.log__row { transition: background-color .35s var(--ease), box-shadow .35s var(--ease); border-radius: 10px; }
.log__row.is-focus { background: rgba(54, 87, 255, .08); }
.chart__latest { position: absolute; translate: -50% -100%; margin-top: -22px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--ink); padding: 5px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.demo .eyebrow { color: var(--muted); }
.demo__head .display { font-size: clamp(50px, 5.6vw, 104px); }
.demo__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; counter-reset: s; }
.demo__steps li { counter-increment: s; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 99px; background: var(--white); color: var(--muted); transition: background-color .3s, color .3s; }
.demo__steps li::before { content: counter(s) " "; color: var(--blue); }
.demo__steps li.is-active { background: var(--ink); color: var(--white); }
.demo__steps li.is-done { color: var(--ink); }
.demo__steps li.is-done::before { content: "✓ "; }
.demo__stage { position: relative; display: grid; gap: 16px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 0 rgba(16, 23, 39, .05), 0 24px 60px -40px rgba(16, 23, 39, .35); }
.card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-family: var(--display); font-size: 40px; line-height: 1; text-transform: uppercase; margin-top: 4px; }
.card__head { margin-bottom: 10px; }
.log__row { display: grid; grid-template-columns: .6fr 1.2fr .8fr 1fr; align-items: center; padding: 14px 0; border-top: 1px solid #ECEEF2; font-size: 20px; font-weight: 700; }
.log__row--head { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 0; padding-top: 4px; }
.tick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.tick::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #C9CED8; transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.log__row.is-done .tick { color: var(--ink); }
.log__row.is-done .tick::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; border-color: var(--blue); }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 10px; }
.summary b { display: block; font-family: var(--display); font-size: clamp(40px, 3.6vw, 64px); line-height: 1; }
.summary span { font-size: 14px; color: var(--muted); font-weight: 600; }
.card__note { font-size: 14px; color: var(--muted); }
.card__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.readout { font-size: 15px; font-weight: 600; background: var(--surface); padding: 8px 12px; border-radius: 10px; }
.readout b { color: var(--blue); }
.chart { position: relative; margin-top: 18px; height: 220px; }
.chart__svg { width: 100%; height: 100%; overflow: visible; }
.chart__grid { stroke: #E3E6EC; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__area { fill: rgba(54, 87, 255, .08); }
.chart__points { position: absolute; inset: 0; }
.chart__pt { position: absolute; width: 44px; height: 44px; translate: -50% -50%; border: 0; background: transparent; cursor: pointer; padding: 0; border-radius: 50%; }
.chart__pt::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); transition: transform .25s var(--ease), background-color .25s; }
.chart__pt:hover::before { transform: scale(1.2); }
.chart__pt[aria-pressed="true"]::before { background: var(--blue); transform: scale(1.3); box-shadow: 0 0 0 6px rgba(54, 87, 255, .18); }
.chart__labels { position: absolute; left: 0; right: 0; bottom: -28px; height: 20px; }
.chart__labels span { position: absolute; translate: -50% 0; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.card--chart { padding-bottom: 46px; }
.demo .concept-note { margin-top: 18px; }
@media (min-width: 1024px) {
  .demo__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "log sum" "log chart"; align-items: stretch; }
  .card--log { grid-area: log; } .card--summary { grid-area: sum; } .card--chart { grid-area: chart; }
}
.is-pinned .demo__inner { height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 2fr); gap: 56px; align-items: center; padding-top: calc(var(--header-h) + 10px); padding-bottom: 28px; }
.is-pinned .demo__stage { margin: 0; }
.is-pinned .demo__head .display { font-size: clamp(48px, 4.4vw, 84px); }
.is-pinned .demo .concept-note { position: absolute; left: var(--gutter); bottom: 28px; margin: 0; }
.is-pinned .chart { height: clamp(150px, 22vh, 230px); }

/* ---------- 6 moment two ---------- */
.moment--two { background: var(--surface); color: var(--ink); }
.moment2__inner { position: relative; padding: 120px var(--gutter); display: grid; gap: 28px; }
.moment2__rule { height: 2px; background: var(--ink); transform-origin: left; }
.moment2__title { font-size: clamp(50px, 6.6vw, 124px); }
.word--blue { color: var(--blue); }
.moment2__text { max-width: 40ch; font-size: clamp(18px, 1.3vw, 22px); color: #2A3242; }
.moment2__photo { max-width: 520px; }
.moment2__frame { overflow: hidden; border-radius: 6px; }
.moment2__frame img { width: 100%; scale: 1.08; }
.moment2__photo figcaption { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1024px) {
  .moment2__inner { grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; padding: 160px var(--gutter) 180px; }
  .moment2__rule, .eyebrow--dark, .moment2__title { grid-column: 1 / -1; }
  .moment2__title { margin-bottom: 40px; }
  .moment2__text { grid-column: 1 / 5; align-self: end; padding-top: 24px; border-top: 2px solid var(--blue); margin-bottom: 34px; }
  .moment2__photo { grid-column: 6 / 13; max-width: none; margin: 0; }
  .moment2__frame { border-radius: var(--radius); }
  .moment2__frame img { aspect-ratio: 16 / 9 !important; object-fit: cover; object-position: 50% 35%; }
}

/* ---------- 7 CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--blue); color: var(--white); text-align: center; }
.cta__inner { position: relative; z-index: 1; padding: 140px var(--gutter); display: grid; justify-items: center; gap: 28px; }
.cta__title { font-size: clamp(64px, 10vw, 190px); }
.cta__copy { font-size: clamp(19px, 1.5vw, 24px); font-weight: 600; }
.cta__plate { position: absolute; width: min(90vw, 980px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; fill: rgba(255, 255, 255, .07); pointer-events: none; }

/* ---------- 8 waitlist ---------- */
.waitlist { background: var(--white); color: var(--ink); }
.waitlist__inner { padding: 110px var(--gutter) calc(110px + env(safe-area-inset-bottom)); display: grid; gap: 40px; max-width: 1400px; margin: 0 auto; }
.waitlist__intro .display { font-size: clamp(46px, 5.2vw, 96px); outline: none; }
.waitlist__intro p { margin-top: 20px; font-size: 19px; color: #2A3242; max-width: 36ch; }
.waitlist__panel { background: var(--surface); border-radius: 18px; padding: clamp(24px, 3vw, 40px); align-self: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field__opt { font-weight: 500; color: var(--muted); margin-left: 6px; }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.field input:hover { border-color: #AEB5C2; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(54, 87, 255, .18); }
.field input[aria-invalid="true"] { border-color: #C4253B; }
.field__error { min-height: 22px; margin-top: 6px; font-size: 14px; font-weight: 600; color: #B11F35; }
.form__error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FDECEE; color: #8E1528; font-size: 15px; font-weight: 600; }
.form__privacy { margin-top: 16px; font-size: 14px; color: var(--muted); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { text-align: left; outline: none; }
.form-done__mark { width: 56px; height: 56px; fill: var(--blue); margin-bottom: 18px; }
.form-done h3 { font-family: var(--display); font-size: 48px; text-transform: uppercase; line-height: 1; }
.form-done p { margin-top: 12px; font-size: 17px; color: #2A3242; }
.proto-tag { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: #FFE9A8; padding: 7px 10px; border-radius: 6px; }
@media (min-width: 900px) { .waitlist__inner { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; } }

/* ---------- 9 footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer { overflow: hidden; }
.site-footer__inner { display: grid; gap: 36px; padding: 72px var(--gutter) 0; }
.site-footer__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue); box-shadow: 0 12px 30px -12px rgba(54, 87, 255, .8); transition: transform .25s var(--ease); }
.site-footer__badge:hover { transform: translateY(-2px); }
.site-footer__badge svg { width: 30px; height: 30px; fill: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.site-footer h3 { font-family: var(--text); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__col a { padding: 7px 0; font-size: 15px; color: var(--muted-on-ink); text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__join { grid-column: 1 / -1; }
.site-footer__join h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; margin-bottom: 16px; }
.site-footer__pill { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 440px; min-height: 56px; padding: 6px 6px 6px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); color: var(--muted-on-ink); font-size: 14px; text-decoration: none; transition: border-color .25s var(--ease); }
.site-footer__pill:hover { border-color: var(--white); }
.site-footer__pill b { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; transition: background-color .25s var(--ease), color .25s var(--ease); }
.site-footer__pill:hover b { background: var(--blue); color: var(--white); }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 8px; }
.site-footer p { color: var(--muted-on-ink); font-size: 14px; }
.to-top { font-size: 14px; font-weight: 700; color: var(--muted-on-ink); text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.to-top:hover { color: var(--white); }
.site-footer__giant { margin-top: 56px; padding: 0 var(--gutter); height: calc((100vw - 2 * var(--gutter)) * .2); pointer-events: none; }
.site-footer__giant svg { display: block; width: 100%; aspect-ratio: 1129 / 310; color: var(--white); -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .25) 55%, transparent 80%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .25) 55%, transparent 80%); }
@media (min-width: 900px) {
  .site-footer__inner { padding-top: 96px; }
  .site-footer__grid { grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 2fr minmax(320px, 440px); }
  .site-footer__join { grid-column: 4; }
}

/* ---------- floating CTA ---------- */
.float-cta { position: fixed; z-index: 40; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; padding: 7px 20px 7px 8px; border-radius: 999px; background: rgba(16, 23, 39, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); translate: -50% 140%; opacity: 0; transition: translate .5s var(--ease), opacity .4s var(--ease), background-color .25s; }
.float-cta svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--blue); fill: var(--white); }
.float-cta.is-visible { translate: -50% 0; opacity: 1; }
.float-cta:hover { background: var(--ink-800); }

/* ---------- desktop / tablet extras ---------- */
@media (min-width: 1024px) {
  body { font-size: 19px; }
  html:not(.is-pinned) .story { grid-template-columns: 1.1fr 1fr; }
  html:not(.is-pinned) .story > .hero { grid-column: 1; min-height: 92vh; display: flex; align-items: center; }
  html:not(.is-pinned) .story > .stage { grid-column: 2; grid-row: 1; padding-top: calc(var(--header-h) + 40px); }
  html:not(.is-pinned) .story > .features { grid-column: 1 / -1; }
  html:not(.is-pinned) .story > .features .features__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; --pw: min(68vw, 280px); }
  .site-nav { display: none; }
  .brand__mark { width: 100px; height: 28px; }
  .site-header .btn--sm { margin-left: auto; min-height: 40px; padding: 0 16px; }
  .hero { padding-top: calc(var(--header-h) + 36px + env(safe-area-inset-top)); }
  .hero__title { font-size: clamp(64px, 20vw, 104px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .plate3d { translate: -80% -55%; }
  .stage { padding-bottom: 40px; }
  .card { padding: 18px; } .card h3 { font-size: 32px; }
  .log__row { font-size: 17px; }
  .summary b { font-size: 40px; }
  .chart { height: 180px; }
  .moment2__inner { padding: 88px var(--gutter); }
  .cta__inner { padding: 110px var(--gutter); }
  .waitlist__inner { padding-top: 80px; padding-bottom: 80px; }
  .float-cta { display: none; } /* the header keeps "Join the waitlist" in view on phones */
  .site-footer__inner { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}

/* reduced motion: static, complete flow */
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { transition-duration: .01ms !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { html:not(.motion-full) *, html:not(.motion-full) *::before, html:not(.motion-full) *::after { transition-duration: .01ms !important; animation: none !important; } }

/* Scroll experience controls and composition refinements */
.reading-progress {position:fixed;inset:0 0 auto;height:3px;background:var(--blue);z-index:60;transform:scaleX(0);transform-origin:left;pointer-events:none}
.scroll-cue {display:flex;align-items:center;gap:18px;margin-top:32px;font-size:10px;font-weight:700;letter-spacing:.2em;color:var(--muted-on-ink)}
.scroll-cue span {font-size:20px;letter-spacing:0}
.is-pinned .hero {pointer-events:none}
.is-pinned .hero__inner {pointer-events:auto;max-width:49vw}
.is-pinned .hero__title {font-size:clamp(76px,8.5vw,156px)}
.is-pinned .features__inner {gap:32px;grid-template-columns:minmax(0,1fr) calc(var(--pw) * 1.3) minmax(0,1fr)}
.is-pinned .features__head .display {font-size:clamp(54px,5.2vw,100px)}
.is-pinned .feature__title {font-size:clamp(17px,1.45vw,23px)}
.is-pinned .feature__text {font-size:clamp(14px,1.12vw,18px)}
@media(min-width:1024px) and (max-height:780px) {
 .is-pinned .demo__inner {gap:28px;padding-bottom:44px}
 .is-pinned .card {padding:16px}
 .is-pinned .card--chart {padding-bottom:38px}
 .is-pinned .card h3 {font-size:30px}
 .is-pinned .log__row {font-size:16px;padding:10px 0}
 .is-pinned .demo__head .display {font-size:48px}
 .is-pinned .demo__caption {font-size:14px}
 .is-pinned .summary b {font-size:40px}
}

body { overflow-x: clip; }

