/* ============================================================
   Evedra — The Ascent (v3) · cinematic + editorial
   System/Inter type · liquid-glass nav · photoreal iPhone shots ·
   scroll-scrubbed film hero · distinct, IO-animated sections.
   ============================================================ */

:root {
  --paper: #06070f;
  --paper-2: #0a0c16;
  --ink-0: #ffffff;
  --ink-1: rgba(255,255,255,0.74);
  --ink-2: rgba(255,255,255,0.5);
  --ink-3: rgba(255,255,255,0.38);
  --indigo: #4b59f8;
  --indigo-bright: #98a2ff;
  --amber: #f4b740;
  --line: rgba(255,255,255,0.1);
  --rail: min(1120px, calc(100vw - 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
/* paint the root dark too: unpainted regions during heavy scroll (and any browser-drawn
   surface — scrollbars, overscroll) otherwise flash WHITE at the viewport edges */
html { background: var(--paper); color-scheme: dark; }
body { margin: 0; background: var(--paper); color: var(--ink-0); font-family: var(--font-sans);
  font-weight: 400; letter-spacing: 0.01em; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(118,129,255,0.32); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }

/* ───────────── liquid-glass nav ───────────── */
.nav { position: fixed; z-index: 60; top: 16px; left: 50%; transform: translateX(-50%) translateZ(0);
  width: var(--rail); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px; border-radius: 999px; isolation: isolate; overflow: hidden;
  background-color: rgb(16 18 28 / 0.4);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.05); backdrop-filter: blur(26px) saturate(190%) brightness(1.05);
  border: 0.5px solid rgb(255 255 255 / 0.12);
  box-shadow: inset 1.2px 1.2px 0 -0.5px rgb(255 255 255 / 0.34), inset -1px -1.5px 1px -1px rgb(0 0 0 / 0.45), inset 0 0 20px 2px rgb(255 255 255 / 0.05), 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -12px rgb(0 0 0 / 0.6);
  transition: background-color 0.4s var(--ease), backdrop-filter 0.25s var(--ease); will-change: backdrop-filter; }
.nav::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(130deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.4) 18%, rgb(255 255 255 / 0) 38%, rgb(255 255 255 / 0) 100%);
  background-size: 250% 100%; background-position: 120% 0; mix-blend-mode: screen; opacity: 0; animation: sheen 8s ease-in-out infinite; }
.nav::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0.03) 24%, rgb(255 255 255 / 0) 55%); }
/* fade the sheen in and out so no hard edge/line is left when it parks during the pause */
@keyframes sheen { 0%{background-position:120% 0; opacity:0} 9%{opacity:0.5} 44%{opacity:0.5} 55%{background-position:-40% 0; opacity:0} 100%{background-position:-40% 0; opacity:0} }
.nav.is-scrolled { background-color: rgb(12 14 22 / 0.66); }
.nav > * { position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-name { font-weight: 600; letter-spacing: -0.01em; font-size: 1rem; }
.brand-icon { --s: 30px; flex: 0 0 var(--s); width: var(--s); height: var(--s); display: block; overflow: hidden; border-radius: 23%;
  box-shadow: inset 0 0.75px 0 0 rgb(255 255 255 / 0.4), inset 0 -0.75px 0 0 rgb(0 0 0 / 0.25), 0 1px 3px rgb(0 0 0 / 0.4); }
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-icon.sm { --s: 40px; border-radius: 24%; }
.nav-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: #fff; color: #0b0b12;
  font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: transform 360ms var(--ease), box-shadow 360ms var(--ease); will-change: transform; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -6px rgba(255,255,255,0.32), 0 0 22px rgba(120,130,255,0.4); }
.nav-cta:active { transform: translateY(0); }

/* ───────────── hero ───────────── */
#hero { position: relative; z-index: 0; }
#hero-pin { position: relative; height: 100svh; width: 100%; overflow: hidden; background: #06070f url("assets/film/frame-0001.jpg") center / cover no-repeat; contain: layout paint; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(880px, calc(100vw - 48px)); text-align: center; will-change: opacity, transform; }
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-shadow: 0 4px 50px rgba(4,6,24,0.6); }
.hero-copy .lede { margin: 20px auto 0; max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; font-weight: 400; color: var(--ink-1); text-shadow: 0 2px 24px rgba(4,6,24,0.7); }
.scrollcue { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 999px; display: flex; justify-content: center; padding-top: 7px; }
.scrollcue span { width: 3px; height: 8px; border-radius: 999px; background: #fff; animation: cue 1.7s var(--ease) infinite; }
@keyframes cue { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 80%{opacity:0;transform:translateY(11px)} 100%{opacity:0} }

/* ───────────── cinematic FX ───────────── */
.fx { position: fixed; inset: 0; pointer-events: none; }
.fx-tint { z-index: 2; background: linear-gradient(180deg, rgba(40,30,70,0) 0%, rgba(28,24,70,0.14) 60%, rgba(12,10,40,0.24) 100%), rgba(43,36,130,0.1); mix-blend-mode: soft-light; }
.fx-vignette { z-index: 3; background: radial-gradient(ellipse 120% 100% at 50% 45%, transparent 0%, transparent 58%, rgba(5,6,20,0.3) 88%, rgba(3,4,14,0.55) 100%); mix-blend-mode: multiply; }
.fx-particles { z-index: 4; opacity: 0.65; transition: opacity 700ms var(--ease); }
.fx-grain { z-index: 5; opacity: 0.05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 180px 180px; transform: scale(1.4); animation: grain 0.6s steps(1) infinite; }
@keyframes grain { 0%{transform:scale(1.4) translate(0,0)} 25%{transform:scale(1.4) translate(-5%,4%)} 50%{transform:scale(1.4) translate(6%,-5%)} 75%{transform:scale(1.4) translate(-4%,-6%)} }

/* ───────────── content base ───────────── */
#content { position: relative; z-index: 10; background: var(--paper); }
.section { position: relative; width: var(--rail); margin: 0 auto; padding: clamp(80px, 11vw, 150px) 0; }
.eyebrow { margin: 0 0 18px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo-bright); }
.eyebrow.center { text-align: center; }
.kicker { margin: 0 0 16px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo-bright); }
.kicker.gold { color: var(--amber); } .kicker.center { text-align: center; }
.section-head { max-width: 780px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.section-head.left { text-align: left; max-width: 620px; margin: 0 0 clamp(36px, 5vw, 54px); }
.section-head.left .eyebrow, .section-head.left .section-sub { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.section-sub { margin: 18px auto 0; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.5; color: var(--ink-2); font-weight: 400; }
.section-sub.center { text-align: center; max-width: 62ch; }

/* big centered statements */
.statement { position: relative; min-height: 84svh; display: grid; place-items: center; align-content: center; gap: 0; text-align: center; padding: clamp(80px,12vw,150px) 24px; overflow: hidden; }
.statement-in { width: min(900px, 100%); margin: 0 auto; position: relative; z-index: 1; }
.statement::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 50% 44%, rgba(75,89,248,0.1), transparent 72%); }
.statement.accent::before { background: radial-gradient(60% 50% at 50% 44%, rgba(75,89,248,0.22), transparent 70%); }
#problem.statement::before { background: radial-gradient(55% 45% at 50% 44%, rgba(120,170,255,0.1), transparent 72%); }
#privacy.statement::before { background: radial-gradient(42% 50% at 30% 30%, rgba(123,150,255,0.16), transparent 64%), radial-gradient(48% 56% at 74% 70%, rgba(122,222,210,0.1), transparent 66%); }
.display { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.0; letter-spacing: -0.04em; }
.display.xl { font-size: clamp(3rem, 9vw, 6.6rem); }
.statement .lead { margin: 28px auto 0; max-width: 52ch; font-size: clamp(1.12rem,1.8vw,1.5rem); line-height: 1.45; color: var(--ink-1); }
.lead.center { margin-left: auto; margin-right: auto; }

/* product feature rows */
.product .feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.product .feature + .feature { margin-top: clamp(70px, 11vw, 150px); }
.feature.reverse .feature-media { order: -1; }
.feature-text { max-width: 30rem; }
.feature.reverse .feature-text { margin-left: auto; }
.feature-num { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo-bright); margin-bottom: 18px; }
.feature-text h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.06; }
.feature-text p { margin: 16px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.55; color: var(--ink-2); }
.feature-media { display: flex; justify-content: center; }
.device-shot { width: min(340px, 82vw); height: auto; filter: drop-shadow(0 44px 70px rgba(0,0,0,0.55)); animation: float 6.5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* opportunity — distinctive aurora band */
.thesis { position: relative; }
.thesis::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100vw; height: 100%; pointer-events: none; z-index: -1;
  background: radial-gradient(44% 58% at 28% 24%, rgba(75,89,248,0.17), transparent 62%), radial-gradient(50% 64% at 76% 80%, rgba(130,150,255,0.11), transparent 64%); }

/* founder — glass quote */
.founder { margin: 0; padding: clamp(36px,5vw,64px); border-radius: 26px;
  background: linear-gradient(150deg, rgba(75,89,248,0.14), rgba(255,255,255,0.02)); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 24px 60px -28px rgba(0,0,0,0.6); }
.founder blockquote { margin: 0 0 26px; max-width: 48ch; font-size: clamp(1.4rem,2.6vw,2.2rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.founder figcaption { display: flex; align-items: center; gap: 14px; }
.founder figcaption strong { display: block; font-size: 0.98rem; font-weight: 600; }
.founder figcaption small { color: var(--ink-2); font-size: 0.86rem; }

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: clamp(1.05rem,1.6vw,1.3rem); font-weight: 500; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.faq-list summary i::before, .faq-list summary i::after { content:""; position:absolute; background: var(--indigo-bright); border-radius: 2px; transition: transform 300ms var(--ease); }
.faq-list summary i::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-list summary i::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-list details[open] summary i::after { transform: scaleY(0); }
.faq-list summary i::before, .faq-list summary i::after { transition: transform 320ms var(--ease); }
/* smooth open/close — JS animates .faq-a height; content fades+rises in */
.faq-list .faq-a { overflow: hidden; transition: height 380ms var(--ease); will-change: height; }
.faq-list .faq-a p { margin: 0; padding: 2px 4px 24px; max-width: 60ch; color: var(--ink-2); font-size: 1.05rem; line-height: 1.6;
  opacity: 0; transform: translateY(-6px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
.faq-list details[open] .faq-a p { opacity: 1; transform: none; }

/* cta */
.get { text-align: center; overflow: hidden; }
.get::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100vw; height: 100%; pointer-events: none; z-index: -1; background: radial-gradient(50% 60% at 50% 38%, rgba(244,183,64,0.08), transparent 64%); }
.get h2 { font-size: clamp(2.6rem,6vw,4.8rem); }
.get-inner { margin-bottom: clamp(70px,10vw,116px); }
.appstore { position: relative; display: inline-flex; align-items: center; gap: 13px; margin-top: 34px; height: 62px; padding: 0 30px 0 24px; border-radius: 16px;
  overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #e3e6f2 0%, #d2d7ea 100%); color:#0b0b12; text-decoration:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -2px 4px rgba(75,89,248,0.1), 0 16px 40px -16px rgba(0,0,0,0.5);
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease); will-change: transform; }
.appstore > svg, .appstore > span { position: relative; z-index: 2; }
/* a soft light sheen sweeps across the whole button (below the text, so it never obscures it) */
.appstore::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.95) 50%, transparent 70%);
  background-size: 230% 100%; background-position: 135% 0; background-repeat: no-repeat;
  animation: btnSheen 4.6s linear infinite; }
@keyframes btnSheen { 0% { background-position: 135% 0; } 55% { background-position: -55% 0; } 100% { background-position: -55% 0; } }
.appstore:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(75,89,248,0.1), 0 24px 46px -16px rgba(0,0,0,0.58); }
.appstore:active { transform: translateY(-1px); }
.appstore svg { width: 28px; height: 28px; }
.appstore span { display: flex; flex-direction: column; text-align: left; line-height: 1.05; }
.appstore small { font-size: 0.64rem; font-weight: 500; opacity: 0.7; }
.appstore strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 42px; border-top: 1px solid var(--line); color: var(--ink-2); }
.foot .brand-name { font-size: 0.92rem; color: var(--ink-2); }
.foot-links { display: flex; gap: 6px; }
.foot-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); transition: color 240ms var(--ease), background 240ms var(--ease); }
.foot-links a:hover { color:#fff; background: rgba(255,255,255,0.08); }

/* ───────────── data-viz & alive elements ───────────── */
/* problem — motivation vs habit/identity research chart (indigo, cited) */
.viz-chart { position: relative; z-index: 1; width: min(700px, 100%); margin: clamp(36px,5vw,60px) auto 0; }
.vc-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px,3vw,34px); margin-bottom: clamp(18px,2.4vw,26px); }
.vc-key { display: inline-flex; align-items: center; gap: 9px; font-size: 0.84rem; letter-spacing: 0.02em; color: var(--ink-2); }
.vc-key i { width: 15px; height: 3px; border-radius: 2px; flex: none; }
.vc-will i { background: rgba(255,255,255,0.42); }
.vc-evd i { background: linear-gradient(90deg, var(--indigo), var(--indigo-bright)); box-shadow: 0 0 6px rgba(75,89,248,0.45); }
.viz-chart svg { width: 100%; height: auto; aspect-ratio: 720 / 250; display: block; overflow: visible; }
.vc-grid line { stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.vc-base { stroke: rgba(255,255,255,0.1); stroke-width: 1; stroke-dasharray: 3 8; }
.vc-yaxis text { fill: var(--ink-3); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.vc-line { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.vc-line-evd { filter: drop-shadow(0 4px 14px rgba(75,89,248,0.30)); }
.viz-chart.in .vc-line-will { transition: stroke-dashoffset 1.6s var(--ease) 0.15s; stroke-dashoffset: 0; }
.viz-chart.in .vc-line-evd { transition: stroke-dashoffset 1.8s var(--ease) 0.45s; stroke-dashoffset: 0; }
.vc-area { opacity: 0; }
.viz-chart.in .vc-area { transition: opacity 1.3s var(--ease) 0.9s; opacity: 1; }
.vc-dot { opacity: 0; }
.vc-dot-will { fill: rgba(255,255,255,0.5); }
.vc-dot-evd { fill: var(--indigo-bright); }
.viz-chart.in .vc-dot { transition: opacity 0.5s var(--ease) 1.8s; opacity: 1; }
.viz-chart.in .vc-dot-evd { filter: drop-shadow(0 0 8px rgba(152,162,255,0.7)); }
/* cooler motion: a light pulse keeps flowing up the compounding line + an expanding ping at its peak */
/* button-style sheen: a soft light band (transparent→bright→transparent, soft faded sides) sweeps ALONG the line, masked to its shape — no glow, no blur */
.vc-sweep { transform: translateX(0); transform-box: view-box; will-change: transform; }
.viz-chart.in .vc-sweep { animation: vcSweep 4.6s linear 2.2s infinite; }
@keyframes vcSweep { 0% { transform: translateX(0); } 60% { transform: translateX(960px); } 100% { transform: translateX(960px); } }
.vc-ping { fill: none; stroke: var(--indigo-bright); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.viz-chart.in .vc-ping { animation: vcPing 2.8s var(--ease) 2.4s infinite; }
@keyframes vcPing { 0% { opacity: 0.7; transform: scale(0.5); } 70%,100% { opacity: 0; transform: scale(2.7); } }
.vc-x { display: flex; justify-content: space-between; margin-top: 8px; }
.vc-x em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
/* sources moved into a hover tooltip behind a small (i) — keeps the chart uncluttered */
.vc-note { position: relative; display: inline-flex; align-items: center; }
.vc-info { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-3); cursor: help; transition: color 0.25s var(--ease); }
.vc-info svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.vc-info .vc-info-dot { fill: currentColor; stroke: none; }
.vc-note:hover .vc-info, .vc-note:focus-within .vc-info { color: var(--indigo-bright); }
.vc-tip { position: absolute; top: calc(100% + 12px); right: -6px; left: auto; width: min(340px, 80vw); padding: 16px 18px; border-radius: 14px;
  background: rgba(15,17,28,0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line);
  box-shadow: 0 26px 64px -22px rgba(0,0,0,0.78); text-align: left; font-size: 0.78rem; line-height: 1.5; color: var(--ink-2);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 6; }
.vc-tip b { color: var(--ink-0); font-weight: 600; }
.vc-tip em { display: block; margin-top: 9px; font-style: normal; color: var(--indigo-bright); font-weight: 600; font-size: 0.74rem; }
.vc-tip::after { content: ""; position: absolute; bottom: 100%; right: 12px; border: 7px solid transparent; border-bottom-color: rgba(15,17,28,0.97); }
.vc-note:hover .vc-tip, .vc-note:focus-within .vc-tip { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

/* idea — proof wall (mirrors the in-app proof grid) */
.viz-proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(14, 1fr); gap: clamp(6px,0.9vw,10px); width: min(760px, 94vw); margin: clamp(40px,5vw,64px) auto 0; }
.viz-proof .tile { aspect-ratio: 1; border-radius: 24%; background: rgba(255,255,255,0.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  transform: scale(0.4); opacity: 0; transition: transform 300ms var(--ease), opacity 320ms var(--ease), box-shadow 240ms var(--ease), filter 240ms var(--ease); will-change: transform; }
.viz-proof.in .tile { transform: scale(1); opacity: 1; }
.viz-proof .tile.on { background: linear-gradient(180deg, #5b69f7, #4b59f8); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 1px 2px rgba(0,0,0,0.3); }
/* hover: filled tiles lift + brighten — snappy (delay cleared in JS after the reveal), no glow; empty tiles never react */
.viz-proof.in .tile.on:hover { transform: scale(1.13) translateY(-2px); filter: brightness(1.22); z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 8px 16px -5px rgba(0,0,0,0.55);
  transition: transform 130ms var(--ease), filter 130ms var(--ease), box-shadow 130ms var(--ease); }

/* research — serif wordmark strip */
.logostrip { width: var(--rail); margin: 0 auto; padding: clamp(54px,8vw,96px) 0; text-align: center; }
.ls-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 clamp(26px,3.4vw,42px); }
.ls-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px,3.4vw,46px); }
.ls-name { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(1.55rem,3vw,2.4rem); letter-spacing: 0.01em; color: var(--ink-1); opacity: 0.8; white-space: nowrap; transition: opacity 0.3s var(--ease); }
.ls-name:hover { opacity: 1; }
.ls-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--indigo-bright); opacity: 0.5; flex: none; }

/* opportunity — editorial serif manifesto */
.thesis-in { width: min(940px, 100%); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.thesis-line { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: 0; margin: 8px auto 0;
  font-size: clamp(2.4rem, 5.8vw, 4.8rem); line-height: 1.06; color: var(--ink-0); }
.thesis-line em { font-style: italic; position: relative; }
.t-grind { color: var(--ink-3); }
.t-proof { background: linear-gradient(100deg, var(--indigo-bright) 10%, #c3b3ff 55%, var(--indigo-bright) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-proof::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -0.04em; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo-bright), transparent); transform: scaleX(0); transform-origin: center;
  transition: transform 1s var(--ease) 0.55s; }
.thesis-in.in .t-proof::after { transform: scaleX(1); }
.thesis .section-sub { margin-top: clamp(20px,2.6vw,30px); }

.thesis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,2vw,22px); width: min(1000px,100%); margin: clamp(50px,6vw,80px) auto 0; }
.tpill { position: relative; padding: clamp(28px,2.8vw,38px) clamp(22px,2.4vw,30px); border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.006)); transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease); }
.tpill:hover { transform: translateY(-5px); border-color: rgba(152,162,255,0.32); background: linear-gradient(180deg, rgba(75,89,248,0.09), rgba(255,255,255,0.008)); }
.tpill-n { display: block; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(1.9rem,2.6vw,2.5rem); line-height: 1; color: var(--indigo-bright); opacity: 0.9; }
.tpill h3 { margin: 14px 0 10px; font-size: clamp(1.22rem,1.7vw,1.5rem); }
.tpill p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }

/* cta — cursor-tilt 3D "fat button" app icon (no glow; real thickness + bevel) */
.get-icon { display: inline-block; margin: 0 auto 36px; }
.tilt3d { --t3d-size: clamp(100px, 16vw, 128px); --t3d-radius: 25%; --t3d-depth: 21px; perspective: 560px; display: inline-block; width: var(--t3d-size); height: var(--t3d-size); }
.tilt3d__body { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 13deg)) rotateY(var(--ry, -16deg)); transition: transform 600ms var(--ease); will-change: transform; }
.tilt3d[data-active] .tilt3d__body { transition: transform 90ms linear; }
.tilt3d__edge { position: absolute; inset: 0; display: block; border-radius: var(--t3d-radius); transform: translateZ(calc(var(--t3d-depth) * -1));
  background: linear-gradient(180deg, #5a61ad 0%, #474d92 55%, #383d78 100%);
  box-shadow: 0 30px 56px -20px rgba(0,0,0,0.7), inset 0 2px 0 0 rgba(255,255,255,0.1); }
.tilt3d__face { position: absolute; inset: 0; display: block; border-radius: var(--t3d-radius); overflow: hidden; transform: translateZ(0.5px); background: var(--indigo); }
.tilt3d__face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.3), inset 0 -3px 8px rgba(0,0,0,0.42), inset 0 0 0 1px rgba(255,255,255,0.08); }
.tilt3d__art { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }


/* ───────────── privacy — calm & simple (Bevel-style): faint lock watermark + dot texture + text ───────────── */
#privacy.statement { overflow: hidden; }
#privacy .display em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  background: linear-gradient(120deg, var(--indigo-bright), #b9a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.privacy-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: transform 0.55s var(--ease); will-change: transform; }
.privacy-bg::before { content: ""; position: absolute; inset: -4%;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(58% 60% at 50% 50%, transparent 34%, #000 80%); mask-image: radial-gradient(58% 60% at 50% 50%, transparent 34%, #000 80%); }
.privacy-lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); width: clamp(230px, 32vw, 400px); height: auto;
  transition: transform 0.55s var(--ease); will-change: transform; }

/* ───────────── founder — background drifts with the mouse (parallax) + serif mark ───────────── */
.founder { position: relative; overflow: hidden; padding-top: clamp(62px,7.5vw,92px); }
/* aurora + a faint dot grid so the parallax reads clearly as the *background* moving (not a glow) */
.founder-bg { position: absolute; inset: -12%; z-index: 0; pointer-events: none; transform: scale(1.12); transition: transform 0.5s var(--ease); will-change: transform;
  background-image: radial-gradient(38% 54% at 26% 20%, rgba(122,138,255,0.22), transparent 60%), radial-gradient(46% 60% at 82% 86%, rgba(75,89,248,0.16), transparent 64%), radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1.7px);
  background-size: auto, auto, 24px 24px; background-repeat: no-repeat, no-repeat, repeat; }
.founder-mark { position: absolute; top: clamp(6px,2vw,28px); left: clamp(20px,2.8vw,44px); z-index: 0; pointer-events: none;
  font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(104px,14vw,182px); line-height: 1; color: rgba(152,162,255,0.16);
  transition: transform 0.5s var(--ease); will-change: transform; }
.founder blockquote, .founder figcaption { position: relative; z-index: 1; }

/* ───────────── scroll reveals (IntersectionObserver-driven, per type) ───────────── */
[data-anim] { opacity: 0; transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
[data-anim].in { opacity: 1; transform: none; }
[data-anim="viz"] { opacity: 1; transform: none; }
[data-anim="up"] { transform: translateY(32px); }
[data-anim="device"] { transform: translateY(48px) scale(0.9); transition-duration: 1s; }
[data-anim="stagger"] { opacity: 1; }
[data-anim="stagger"] > * { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
[data-anim="stagger"].in > * { opacity: 1; transform: none; }
[data-anim="stagger"].in > :nth-child(2) { transition-delay: 0.09s; }
[data-anim="stagger"].in > :nth-child(3) { transition-delay: 0.18s; }
[data-anim="stagger"].in > :nth-child(4) { transition-delay: 0.27s; }
[data-anim="stagger"] > .display { transform: translateY(32px) scale(0.965); }

a:focus-visible, .nav-cta:focus-visible, .appstore:focus-visible, summary:focus-visible { outline: 2px solid var(--indigo-bright); outline-offset: 3px; border-radius: 12px; }

/* ───────────── mobile ───────────── */
@media (max-width: 860px) {
  .thesis-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 760px) {
  .hero-br { display: none; }
  .product .feature { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .product .feature .feature-media { order: -1; }
  .feature-text, .feature.reverse .feature-text { max-width: 100%; margin: 0 auto; }
  .section-head.left { text-align: center; } .section-head.left .eyebrow, .section-head.left .section-sub { text-align: center; }
  .viz-proof { grid-template-columns: repeat(9, 1fr); }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .scrollcue span, .fx-grain, .nav::before, .device-shot, .vc-sweep, .vc-ping { animation: none; }
  [data-anim], [data-anim] > * { opacity: 1 !important; transform: none !important; transition: none; }
  .viz-proof .tile { opacity: 1; transform: none; }
  .vc-line { stroke-dashoffset: 0; } .vc-area, .vc-dot { opacity: 1; } .vc-sweep, .vc-ping { opacity: 0; }
  .t-proof::after { transform: scaleX(1); }
  /* keep resting pose, no cursor effects */
  .tilt3d__body { transition: none; }
  .appstore::after { display: none; }
  .faq-list .faq-a p { opacity: 1; transform: none; }
}

/* ───────────── performance: lighten heavy compositing on phones + low-end ─────────────
   main.js adds html.lite for coarse-pointer / small-screen / low-memory devices, where the
   361-frame film-scrub hero, particle canvas, and smooth scroll are skipped (static poster).
   Drop the fixed blend-mode FX overlays, the nav backdrop blur, and the nav sheen there too —
   those are the compositing costs that tank scroll framerate on mobile. */
.lite #hero-canvas { display: none; }
.lite .fx { display: none; }
.lite .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgb(12 14 22 / 0.92); }
.lite .nav::before { animation: none; }

@media (max-width: 760px) {
  /* applies with no JS too, so phones never flash the heavy version on first paint */
  #hero-canvas { display: none; }
  .fx { display: none; }
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgb(12 14 22 / 0.92); }
  .nav::before { animation: none; }
}

/* ───────────── scrub suspend: drop the costliest per-frame compositor work WHILE the
   film is moving, restore it ~200ms after scroll stops (main.js toggles .scrubbing / .scrub-fx).
   The full liquid-glass blur + grain + tint + vignette are present on every frame the eye reads. */
.nav.scrubbing { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgb(12 14 22 / 0.82); }
.fx-grain, .fx-tint, .fx-vignette { transition: opacity 0.22s var(--ease); }
html.scrub-fx .fx-grain { animation-play-state: paused; }
html.scrub-fx .fx-grain,
html.scrub-fx .fx-tint,
html.scrub-fx .fx-vignette { opacity: 0; }

/* ───────────── cinematic preloader (desktop only) ─────────────
   Covers first paint; main.js decodes all 121 frames, drives the bar, then fades it out.
   lite/mobile never see it (they get the static hero poster immediately). */
html.loading, html.loading body { overflow: hidden; height: 100%; }
#loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--paper); color: var(--ink-0); transition: opacity 0.6s var(--ease); }
#loader.done { opacity: 0; pointer-events: none; }
.loader-in { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.loader-mark { width: 56px; height: 56px; border-radius: 24%; overflow: hidden;
  box-shadow: inset 0 0.75px 0 0 rgb(255 255 255 / 0.4), 0 8px 24px -8px rgb(0 0 0 / 0.6); }
.loader-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loader-word { font-weight: 600; letter-spacing: -0.01em; font-size: 1.05rem; }
.loader-copy { margin: 2px 0 8px; font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  font-size: 0.98rem; color: var(--ink-2); letter-spacing: 0.01em; }
.loader-track { width: 240px; height: 3px; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 0.12); }
.loader-track > i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-bright)); transition: transform 0.18s var(--ease); }
.loader-pct { font-variant-numeric: tabular-nums; font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.08em; }
.lite #loader { display: none; }
@media (max-width: 760px) { #loader { display: none; } }
@media (prefers-reduced-motion: reduce) { #loader { transition: none; } .loader-track > i { transition: none; } }
