/* ═══════════════════════════════════════════════════════════════════════
   Project Ares — landing layer.
   Sits on top of ares.css tokens. Marketing pages only (index, developers).
   Motion is progressive: everything reads perfectly with JS off or
   prefers-reduced-motion on.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── page chrome ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.site-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(8, 7, 8, .62); border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-nav { transition: background .3s, border-color .3s, transform .38s cubic-bezier(.2, .8, .2, 1); }
.site-nav.scrolled { background: rgba(8, 7, 8, .82); border-bottom-color: var(--line); }
.site-nav.hide { transform: translateY(-101%); }
.site-nav .inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 26px; }
.site-nav a.nav-link { color: var(--tx2); font: 500 13px/1 var(--sans); transition: color .12s; }
.site-nav a.nav-link:hover { color: var(--tx); }
.site-nav .spacer { flex: 1; }
/* scroll progress hairline */
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--ac), #ff6a3d); opacity: .9; }

/* film grain over everything — sells the black */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── hero ── */
.hero { position: relative; padding: 118px 0 96px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-veil { /* keeps text readable over the canvas */
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(65% 60% at 50% 100%, rgba(8,7,8,.72), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(rgba(255,245,245,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,245,245,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(62% 58% at 50% 18%, #000 30%, transparent 76%);
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.042em;
  max-width: 860px; margin: 22px 0 20px; font-weight: 680; text-wrap: balance;
}
.hero h1 .glow,
.hero h1 .glow .wi {
  background: linear-gradient(100deg, var(--ac) 10%, #ff6a3d 45%, var(--ac) 80%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
.hero h1 .glow {
  filter: drop-shadow(0 0 28px rgba(232, 0, 62, .35));
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero .lede { font-size: 17px; line-height: 1.66; color: var(--tx2); max-width: 620px; margin-bottom: 32px; }
.hero .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero .cta-note { font-size: 12px; color: var(--tx3); margin-top: 16px; }

/* primary button sheen sweep */
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: none;
}
.btn.primary:hover::after { transform: translateX(120%); transition: transform .6s ease; }

/* ── model ticker ── */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 13px 0; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .lane { display: flex; gap: 0; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .lane { animation-play-state: paused; }
.ticker .lane.js { animation: none; will-change: transform; }
.ticker span { font: 500 11.5px var(--mono); color: var(--tx3); padding: 0 26px; white-space: nowrap; letter-spacing: .02em; }
.ticker span b { color: var(--tx2); font-weight: 500; }
.ticker i { color: var(--ac); font-style: normal; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── terminal ── */
.term {
  margin-top: 64px; background: rgba(14, 13, 15, .88); border: 1px solid var(--line2); border-radius: var(--r4);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 80px rgba(232,0,62,.06), inset 0 1px 0 rgba(255,245,245,.04);
  overflow: hidden; max-width: 880px; backdrop-filter: blur(6px);
}
.term-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg3); }
.term-bar i:first-child { background: rgba(255, 99, 105, .5); }
.term-bar .t { margin-left: 10px; font: 500 11px var(--mono); color: var(--tx3); }
.term pre { margin: 0; padding: 20px 22px; font: 400 12.5px/1.75 var(--mono); color: var(--tx2); overflow-x: auto; min-height: 216px; }
.term .cur { display: inline-block; width: 7px; height: 14px; background: var(--ac); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.term .c-s { color: var(--ok); } .term .c-c { color: var(--info); } .term .c-d { color: var(--tx4); } .term .c-a { color: var(--ac); }
@keyframes blink { 50% { opacity: 0; } }

/* ── sections ── */
section.block { padding: 96px 0; border-top: 1px solid var(--line); position: relative; }
section.block.flush { border-top: 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.035em; margin: 14px 0 12px; text-wrap: balance; }
.sec-head p { color: var(--tx2); font-size: 15px; line-height: 1.65; }

/* ── spotlight feature cards ── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.feat {
  position: relative; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r4); padding: 26px;
  transition: border-color .25s, transform .25s, box-shadow .25s; overflow: hidden;
  --mx: 50%; --my: 50%;
}
.feat::before { /* cursor-tracked interior glow */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(232, 0, 62, .07), transparent 60%);
}
.feat::after { /* cursor-tracked border light */
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none;
  border: 1px solid transparent;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(232, 0, 62, .5), transparent 65%) border-box;
  mask: linear-gradient(#000, #000) padding-box, linear-gradient(#000, #000);
  mask-composite: exclude; -webkit-mask-composite: xor;
}
.feat:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.feat:hover::before, .feat:hover::after { opacity: 1; }
.feat .ic {
  width: 36px; height: 36px; border-radius: var(--r2); display: grid; place-items: center;
  background: var(--bg2); border: 1px solid var(--line2); margin-bottom: 18px; font-size: 15px; color: var(--tx2);
  transition: color .25s, border-color .25s, background .25s;
}
.feat:hover .ic { color: var(--ac); border-color: var(--ac-line); background: var(--ac-dim); }
.feat h3 { font-size: 14.5px; margin-bottom: 8px; }
.feat p { color: var(--tx2); font-size: 13px; line-height: 1.6; margin: 0; }

/* ── the autonomy dial (scroll-driven, consumer page) ── */
.dial-track { height: 280vh; position: relative; }
.dial-stick { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.dial-inner { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 56px; align-items: center; width: 100%; }
.dial-meter { display: flex; gap: 10px; margin-top: 26px; align-items: center; }
.dial-meter .bar { height: 3px; flex: 1; border-radius: 2px; background: var(--bg3); overflow: hidden; }
.dial-meter .bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--ac), #ff6a3d); border-radius: 2px; }
.dial-stages { display: flex; flex-direction: column; gap: 12px; }
.dial-stage {
  border: 1px solid var(--line); border-radius: var(--r4); padding: 22px 24px; background: var(--bg1);
  opacity: .38; transform: scale(.985); transition: opacity .45s, transform .45s, border-color .45s, box-shadow .45s;
}
.dial-stage.on { opacity: 1; transform: none; border-color: var(--ac-line); box-shadow: 0 0 44px rgba(232, 0, 62, .08); }
.dial-stage .tag { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); }
.dial-stage.on .tag { color: var(--ac); }
.dial-stage h3 { font-size: 16px; margin: 8px 0 6px; }
.dial-stage p { color: var(--tx2); font-size: 13px; margin: 0 0 12px; }
.dial-stage .line { font: 400 11.5px/1.7 var(--mono); color: var(--tx3); background: var(--bg0); border: 1px solid var(--line); border-radius: var(--r2); padding: 9px 12px; }
.dial-stage .line b { color: var(--tx2); font-weight: 500; }

/* ── API routing scene (developers page) ── */
.router { position: relative; margin-top: 60px; max-width: 880px; }
.router-panel {
  position: relative; border: 1px solid var(--line2); border-radius: var(--r4); overflow: hidden;
  background: rgba(14, 13, 15, .8); backdrop-filter: blur(6px);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 80px rgba(232,0,62,.06);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0; padding: 26px 28px; min-height: 320px;
}
.router-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.providers { display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 2; }
.prov {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: var(--bg2);
  border-radius: 20px; padding: 6px 13px; font: 500 11.5px var(--mono); color: var(--tx2);
  cursor: default; transition: border-color .2s, color .2s, box-shadow .2s, transform .2s; white-space: nowrap;
}
.prov i { width: 6px; height: 6px; border-radius: 50%; background: var(--tx4); transition: background .2s, box-shadow .2s; }
.prov:hover, .prov.hot { border-color: var(--ac-line); color: var(--tx); transform: translateX(2px); }
.prov:hover i, .prov.hot i { background: var(--ac); box-shadow: 0 0 8px var(--ac); }
.router-hub { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hub-chip {
  border: 1px solid var(--ac-line); background: var(--ac-dim); color: var(--tx); border-radius: var(--r3);
  padding: 12px 18px; font: 600 12.5px var(--mono); box-shadow: 0 0 34px rgba(232, 0, 62, .18);
  animation: hub-breathe 3.2s ease-in-out infinite;
}
.hub-chip b { color: var(--ac); font-weight: 700; }
@keyframes hub-breathe { 50% { box-shadow: 0 0 54px rgba(232, 0, 62, .3); } }
.hub-sub { font: 500 11px var(--mono); color: var(--tx3); }

/* ── big stat band ── */
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.bigstat { border: 1px solid var(--line); border-radius: var(--r4); background: var(--bg1); padding: 26px; }
.bigstat .v { font: 680 40px/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.bigstat .v .unit { font-size: 18px; color: var(--tx3); font-weight: 550; margin-left: 2px; }
.bigstat .k { color: var(--tx3); font-size: 12.5px; margin-top: 10px; line-height: 1.5; }

/* ── pricing (consumer) ── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r4); padding: 26px; display: flex; flex-direction: column; position: relative; transition: transform .25s, border-color .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-3px); border-color: var(--line2); }
.plan.hot { border-color: var(--ac-line); box-shadow: 0 0 44px rgba(232, 0, 62, .09); }
.plan.hot::before { content: "Most popular"; position: absolute; top: -10px; left: 22px; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ac); background: var(--bg0); border: 1px solid var(--ac-line); border-radius: 20px; padding: 3px 10px; }
.plan h3 { font-size: 15px; }
.plan .price { margin: 14px 0 4px; font: 660 30px/1 var(--sans); letter-spacing: -0.03em; }
.plan .price .per { font: 500 12.5px var(--sans); color: var(--tx3); letter-spacing: 0; }
.plan .blurb { color: var(--tx3); font-size: 12.5px; min-height: 36px; }
.plan ul { list-style: none; margin: 16px 0 22px; padding: 0; flex: 1; }
.plan li { font-size: 12.5px; color: var(--tx2); padding: 5px 0 5px 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700; font-size: 11px; }

/* ── org roles ── */
.org-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.role-card { display: flex; align-items: center; gap: 14px; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r3); padding: 14px 16px; margin-bottom: 10px; transition: border-color .2s, transform .2s; }
.role-card:hover { border-color: var(--line2); transform: translateX(3px); }
.role-card .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 640 13px var(--sans); background: var(--bg3); border: 1px solid var(--line2); flex: none; }
.role-card b { display: block; font-size: 13px; font-weight: 600; }
.role-card span.what { font-size: 11.5px; color: var(--tx3); }
.role-card .badge { margin-left: auto; }

/* ── getting-started steps (developers) ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r4); padding: 24px; transition: border-color .25s, transform .25s; }
.step:hover { border-color: var(--line2); transform: translateY(-2px); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ac-dim); border: 1px solid var(--ac-line); color: var(--ac); font: 700 13px var(--mono); margin-bottom: 14px; }
.step h3 { font-size: 14px; margin-bottom: 6px; }
.step p { color: var(--tx2); font-size: 12.5px; margin: 0 0 10px; }
.step pre { margin: 0; background: var(--bg0); border: 1px solid var(--line); border-radius: var(--r2); padding: 12px 14px; font: 400 11.5px/1.7 var(--mono); color: var(--tx2); overflow-x: auto; }
.step code { color: var(--tx); }

/* ── cross-product callout ── */
.xcall {
  background: linear-gradient(135deg, var(--bg1), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r4);
  padding: 26px 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.xcall::before { content: ""; position: absolute; inset: -60% -20% auto auto; width: 55%; height: 200%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 0, 62, .08), transparent); }

/* ── footer ── */
footer { border-top: 1px solid var(--line); padding: 52px 0 64px; margin-top: 48px; position: relative; overflow: hidden; }
footer .cols { display: flex; gap: 64px; flex-wrap: wrap; }
footer h4 { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); margin-bottom: 14px; }
footer a { display: block; color: var(--tx2); font-size: 13px; padding: 4px 0; transition: color .12s; }
footer a:hover { color: var(--tx); }
footer .fine { margin-top: 44px; color: var(--tx4); font-size: 11.5px; }
footer .wm-giant { height: clamp(22px, 4.5vw, 46px); opacity: .12; margin-top: 48px; display: block; max-width: 100%; }

/* ── word-split headline reveals: [data-words] → .words with masked .w/.wi ── */
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.words .wi { display: inline-block; transform: translateY(112%); transition: transform .75s cubic-bezier(.16,.84,.3,1); will-change: transform; }
.words.in .wi { transform: none; }

/* ── hero scroll cue ── */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.scroll-cue .stem { width: 1px; height: 34px; background: linear-gradient(var(--tx4), transparent); overflow: hidden; position: relative; }
.scroll-cue .stem::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ac); animation: cue-drop 2.2s cubic-bezier(.6,.05,.3,1) infinite; }
.scroll-cue .txt { font: 600 9.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--tx4); }
@keyframes cue-drop { 60%, 100% { top: 110%; } }

/* ── router counter + model line ── */
.hub-sub b { color: var(--tx2); font-weight: 500; }
.hub-count { display: flex; align-items: baseline; gap: 7px; font: 500 11px var(--mono); color: var(--tx3); }
.hub-count b { font: 640 15px var(--mono); color: var(--tx); font-variant-numeric: tabular-nums; }
.hub-count i { font-style: normal; color: var(--ac); animation: blink 1.4s steps(1) infinite; }

/* ── lifecycle stage line variants (dev page reuses .dial-stage) ── */
.dial-stage .line.ok { border-color: rgba(62, 207, 142, .3); }
.dial-stage .line.ok b { color: var(--ok); }
.dial-stage .line.warn { border-color: rgba(230, 169, 60, .34); }
.dial-stage .line.warn b { color: var(--warn); }
.dial-stage .line.err { border-color: rgba(255, 99, 105, .34); }
.dial-stage .line.err b { color: var(--danger); }

/* ── reveal choreography ──
   data-reveal on any element; data-stagger on a parent staggers its children. */
[data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(5px);
  transition: opacity .7s cubic-bezier(.16,.84,.3,1), transform .7s cubic-bezier(.16,.84,.3,1), filter .7s ease;
  transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
/* legacy class used by site.js-rendered plan cards */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.16,.84,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── mobile ── */
@media (max-width: 900px) {
  .dial-track { height: auto; }
  .dial-stick { position: static; min-height: 0; display: block; padding: 0; }
  .dial-inner { grid-template-columns: 1fr; gap: 32px; }
  .dial-stage { opacity: 1; transform: none; }
  .org-demo { grid-template-columns: 1fr; gap: 32px; }
  .router-panel { grid-template-columns: 1fr; gap: 22px; min-height: 0; }
  .providers { flex-direction: row; flex-wrap: wrap; }
  .router-hub { align-items: flex-start; }
  .router-canvas { display: none; }
}
@media (max-width: 760px) {
  .site-nav .inner { gap: 14px; padding: 0 16px; }
  .site-nav .brandline, .site-nav .btn { flex-shrink: 0; }
  .site-nav a.nav-link { display: none; }
  .site-nav a#nav-signin { display: inline; }
  .site-nav .brandline .eyebrow { display: none; }
  .wrap { padding: 0 18px; }
  .hero { padding: 72px 0 60px; }
  .hero .lede { font-size: 15px; }
  section.block { padding: 60px 0; }
  .term { margin-top: 40px; }
  .term pre { font-size: 10.5px; padding: 14px 16px; min-height: 0; }
  .bigstat .v { font-size: 32px; }
  footer .cols { gap: 28px 40px; }
}
@media (max-width: 420px) {
  .site-nav a#nav-signin { display: none; }
}
@media (max-width: 360px) {
  .site-nav .brandline { gap: 8px; }
  .site-nav .brandline .mark { width: 24px; height: 24px; }
  .site-nav .brandline .wm { height: 7px; }
  .site-nav .btn.sm { padding-inline: 9px; }
}

/* ═══ v3: editorial numbering, task cinema, model picker, finale ═══ */

/* numbered eyebrows with hairline — editorial rhythm */
.eyebrow .n { color: var(--tx4); margin-right: 9px; font-weight: 600; }
.sec-head .eyebrow::after, .dial-inner .eyebrow::after {
  content: ""; display: inline-block; width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--ac-line), transparent); margin-left: 12px; vertical-align: middle;
}

/* ── task cinema: a scroll-scrubbed app window ── */
.cine .dial-inner { grid-template-columns: minmax(280px, 4fr) 7fr; }
.cine-win { max-width: none; margin-top: 0; }
.cine-body { position: relative; min-height: 380px; }
.cine .dial-stages { display: block; }
.cine .dial-stage {
  position: absolute; inset: 0; border: 0; background: transparent; border-radius: 0;
  padding: 22px 26px; opacity: 0; transform: translateY(14px) scale(.995);
  transition: opacity .45s ease, transform .45s cubic-bezier(.16,.84,.3,1);
  pointer-events: none;
}
.cine .dial-stage.on { opacity: 1; transform: none; pointer-events: auto; }
.cine .dial-stage .tag { display: block; margin-bottom: 14px; }
/* chat bubble */
.bub { max-width: 480px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px 12px 12px 4px; padding: 13px 16px; font-size: 13px; line-height: 1.6; color: var(--tx); }
.bub.you { border-radius: 12px 12px 4px 12px; margin-left: auto; background: var(--ac-dim); border-color: var(--ac-line); }
.bub + .bub { margin-top: 10px; }
.cine-status { margin-top: 16px; font: 500 11.5px var(--mono); color: var(--tx3); display: flex; align-items: center; gap: 8px; }
.cine-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); animation: blink 1.2s steps(1) infinite; }
/* plan checklist */
.check { list-style: none; margin: 0; padding: 0; font: 400 12.5px/2.1 var(--mono); color: var(--tx2); }
.check li { padding-left: 26px; position: relative; }
.check li::before { content: "○"; position: absolute; left: 2px; color: var(--tx4); }
.check li.done::before { content: "✓"; color: var(--ok); }
.check li.doing::before { content: "▸"; color: var(--ac); }
.check li.doing { color: var(--tx); }
/* diff */
.diff { font: 400 12px/1.9 var(--mono); background: var(--bg0); border: 1px solid var(--line); border-radius: var(--r2); padding: 12px 16px; overflow-x: auto; }
.diff span { display: block; white-space: pre; }
.cine.dial-track { height: 340vh; }
.diff .add { color: var(--ok); } .diff .del { color: var(--danger); opacity: .75; } .diff .ctx { color: var(--tx3); }
.diff .file { color: var(--tx4); display: block; margin-bottom: 4px; }
.cine-tests { margin-top: 12px; font: 500 12px var(--mono); color: var(--ok); }
/* report card */
.report { background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r3); padding: 18px 20px; max-width: 520px; }
.report h4 { font-size: 13.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.report h4::before { content: "✓"; color: var(--ok); font-weight: 700; }
.report p { color: var(--tx2); font-size: 12.5px; margin: 0 0 14px; line-height: 1.65; }
.report .row { gap: 8px; }

/* ── model picker (dev getting-started) ── */
.mpick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.mpick-pill {
  border: 1px solid var(--line2); background: var(--bg2); color: var(--tx2); cursor: pointer;
  font: 550 10.5px var(--mono); padding: 5px 9px; border-radius: 20px; transition: all .16s;
}
.mpick-pill:hover { color: var(--tx); border-color: rgba(255,245,245,.24); }
.mpick-pill.on { color: var(--ac); border-color: var(--ac-line); background: var(--ac-dim); }
.mpick-price { margin-top: 10px; font: 500 11px var(--mono); color: var(--tx3); }
.mpick-price b { color: var(--tx2); font-weight: 600; }

/* ── "most popular" plan: slow-turning gradient border ── */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.hot {
  border-color: transparent;
  background:
    linear-gradient(var(--bg1), var(--bg1)) padding-box,
    conic-gradient(from var(--ang) at 50% 50%, var(--ac-line), rgba(255,106,61,.5), rgba(255,245,245,.1), var(--ac-line)) border-box;
  animation: plan-spin 7s linear infinite;
}
@keyframes plan-spin { to { --ang: 360deg; } }

/* ── cursor ring: a trailing presence that recognizes what's interactive ── */
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 500; width: 30px; height: 30px;
  border: 1.5px solid rgba(232, 0, 62, .5); border-radius: 50%;
  pointer-events: none; opacity: 0; mix-blend-mode: screen;
  transition: width .25s cubic-bezier(.2,.8,.2,1), height .25s cubic-bezier(.2,.8,.2,1), border-color .25s, opacity .35s, background .25s;
  will-change: transform;
}
.cursor-ring.live { opacity: 1; }
.cursor-ring.hot { width: 48px; height: 48px; border-color: rgba(255, 106, 61, .85); background: rgba(232, 0, 62, .06); }

/* ── finale: the closing ask ── */
.finale { position: relative; overflow: hidden; text-align: center; padding: 150px 0 160px; border-top: 1px solid var(--line); }
.finale .orb {
  position: absolute; left: 50%; top: -180px; width: 640px; height: 640px; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 0, 62, .17), rgba(255, 106, 61, .05) 45%, transparent 65%);
  animation: orb-drift 9s ease-in-out infinite alternate;
}
@keyframes orb-drift { to { transform: translateX(-50%) translateY(34px) scale(1.06); } }
.finale .mark { width: 46px; height: 46px; margin: 0 auto 26px; }
.finale h2 { font-size: clamp(32px, 5.6vw, 62px); letter-spacing: -0.042em; line-height: 1.04; max-width: 760px; margin: 0 auto 18px; text-wrap: balance; }
.finale p { color: var(--tx2); font-size: 15.5px; max-width: 480px; margin: 0 auto 34px; }
.finale .cta-row { justify-content: center; display: flex; gap: 12px; flex-wrap: wrap; }
.finale .cta-note { font-size: 12px; color: var(--tx3); margin-top: 16px; }

@media (max-width: 900px) {
  .cine .dial-inner { grid-template-columns: 1fr; }
  .cine .dial-stage { position: static; opacity: 1; transform: none; padding: 18px; border-top: 1px solid var(--line); }
  .cine-body { min-height: 0; }
  .finale { padding: 90px 0 100px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .ticker .lane { animation: none; }
  .hero h1 .glow { animation: none; }
  .hub-chip { animation: none; }
  .grain { display: none; }
  .plan.hot { animation: none; }
  .finale .orb { animation: none; }
  .scroll-cue .stem::after { animation: none; }
  .cine .dial-stage { position: static; opacity: 1; transform: none; }
  .cine-body { min-height: 0; }
}
