/* ============================================================================
   Evdenk pre-landing — Warm-Luxury (matches the app's brand tokens)
   Deep charcoal-green canvas, cream ink, brass accent.
   Bodoni Moda display + Hanken Grotesk body. Fully static, no framework.
   ========================================================================== */

:root {
  --bg: #0e1210;
  --bg2: #141a16;
  --bg3: #1a211c;
  --ink: #f1e9da;
  --ink2: rgba(241, 233, 218, 0.74);
  --ink3: rgba(241, 233, 218, 0.5);
  --gold: #c6a15b;
  --gold-hi: #e6cf95;
  --gold-soft: rgba(198, 161, 91, 0.12);
  --glass: rgba(241, 233, 218, 0.035);
  --line: rgba(241, 233, 218, 0.13);
  --line-gold: rgba(198, 161, 91, 0.28);
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --shadow-gold: 0 10px 34px -10px rgba(198, 161, 91, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(198, 161, 91, 0.08), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(111, 168, 136, 0.05), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

::selection { background: var(--gold); color: #14100a; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(198, 161, 91, 0.22); border-radius: 6px; }

/* Film grain over everything, very faint */
.grain {
  position: fixed; inset: -50%; z-index: 40; pointer-events: none;
  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)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -7%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(5%, 6%); }
}

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(rgba(14, 18, 16, 0.85), rgba(14, 18, 16, 0));
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-name {
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); letter-spacing: 0.02em;
}
.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  backdrop-filter: blur(10px); background: var(--glass);
}
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--ink3);
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.12em; padding: 0.5rem 0.8rem; cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang button.active { color: #14100a; background: var(--gold); }
.lang button:not(.active):hover { color: var(--ink); }

.nav-cta {
  font: 600 0.8rem/1 var(--sans); letter-spacing: 0.06em; color: var(--gold-hi);
  text-decoration: none; border: 1px solid var(--line-gold); border-radius: 999px;
  padding: 0.55rem 1.1rem; backdrop-filter: blur(10px); background: var(--glass);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { background: var(--gold); color: #14100a; box-shadow: var(--shadow-gold); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; /* the oversized nebula layers must never widen the page */
}
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Drifting warm mist behind the constellation — cinematic depth. */
.nebula { position: absolute; inset: -22%; pointer-events: none; filter: blur(70px); }
.n1 {
  background:
    radial-gradient(38% 30% at 30% 58%, rgba(198, 161, 91, 0.2), transparent 70%),
    radial-gradient(30% 26% at 74% 36%, rgba(111, 168, 136, 0.14), transparent 70%);
  animation: neb1 53s ease-in-out infinite alternate;
}
.n2 {
  background:
    radial-gradient(30% 24% at 62% 68%, rgba(230, 207, 149, 0.14), transparent 70%),
    radial-gradient(26% 22% at 20% 28%, rgba(198, 161, 91, 0.12), transparent 70%);
  animation: neb2 71s ease-in-out infinite alternate;
}
@keyframes neb1 {
  to { transform: translate(4%, -3%) scale(1.14) rotate(2deg); }
}
@keyframes neb2 {
  from { transform: translate(-3%, 2%) scale(1.04); }
  to { transform: translate(3%, -3%) scale(1.16); }
}
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 52% at 50% 46%, rgba(14, 18, 16, 0.48), transparent 74%),
    linear-gradient(rgba(14, 18, 16, 0.35), transparent 30%, transparent 70%, var(--bg));
}
.hero-inner {
  position: relative; z-index: 2; text-align: center;
  padding: 6rem 1.4rem 4rem; max-width: 60rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.6rem;
  font: 600 0.72rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-hi); border: 1px solid var(--line-gold); border-radius: 999px;
  padding: 0.55rem 1.05rem; background: var(--gold-soft); backdrop-filter: blur(8px);
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi);
  box-shadow: 0 0 12px 2px rgba(230, 207, 149, 0.7);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  margin: 0 0 1.4rem;
  text-shadow: 0 0 70px rgba(198, 161, 91, 0.28);
}
/* Movie-title entrance: blur-to-sharp. */
.hero h1.reveal { animation-name: titleIn; animation-duration: 1.6s; }
@keyframes titleIn {
  from { opacity: 0; filter: blur(18px); transform: translateY(30px) scale(1.06); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* Letterbox bars that part as the city ignites. */
.bar { position: absolute; left: 0; right: 0; height: 13%; background: #090c0a; z-index: 4; }
.bar-t { top: 0; animation: barT 2s cubic-bezier(0.6, 0, 0.2, 1) 0.9s forwards; }
.bar-b { bottom: 0; animation: barB 2s cubic-bezier(0.6, 0, 0.2, 1) 0.9s forwards; }
@keyframes barT { to { transform: translateY(-101%); } }
@keyframes barB { to { transform: translateY(101%); } }
.hero h1 em {
  font-style: italic; color: transparent;
  background: linear-gradient(135deg, #e6cf95 0%, #c6a15b 55%, #9b7b3f 100%);
  -webkit-background-clip: text; background-clip: text;
}
.lede {
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 300; color: var(--ink2);
  max-width: 40rem; margin: 0 auto 2.4rem;
}
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.btn-gold {
  display: inline-block; font: 600 0.92rem/1 var(--sans); letter-spacing: 0.03em;
  color: #14100a; background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  border: 0; border-radius: 999px; padding: 1rem 1.9rem; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-gold); transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 44px -10px rgba(198, 161, 91, 0.5); }
.btn-ghost {
  display: inline-block; font: 500 0.92rem/1 var(--sans); color: var(--ink2);
  border: 1px solid var(--line); border-radius: 999px; padding: 1rem 1.7rem;
  text-decoration: none; background: var(--glass); backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-gold); }

.sky-caption {
  position: absolute; bottom: 1.4rem; left: 0; right: 0; z-index: 2;
  text-align: center; font-size: 0.74rem; letter-spacing: 0.05em; color: var(--ink3);
  padding: 0 1.4rem; margin: 0;
}

/* ---------------- Stats ---------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  max-width: 72rem; margin: 0 auto; padding: 4.5rem 1.4rem 1rem;
}
.stat {
  text-align: center; padding: 1.6rem 1rem; position: relative;
}
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--line);
}
.stat-num {
  display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--gold-hi); line-height: 1;
}
.stat-unit { font-size: 0.55em; color: var(--gold); margin-left: 0.1em; }
.stat-label {
  display: block; margin-top: 0.55rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink3);
}
.stats-note {
  grid-column: 1 / -1; text-align: center; margin: 1.4rem 0 0;
  font-size: 0.76rem; font-style: italic; color: var(--ink3);
}

/* ---------------- Features ---------------- */
.features { max-width: 72rem; margin: 0 auto; padding: 6rem 1.4rem 2rem; }
.eyebrow {
  font: 600 0.7rem/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.features h2, .waitlist h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 3rem; max-width: 34rem;
}
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feat {
  border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem 1.5rem 1.5rem;
  background: var(--glass); backdrop-filter: blur(14px);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.feat:hover { border-color: var(--line-gold); transform: translateY(-4px); background: rgba(198, 161, 91, 0.05); }
.feat svg {
  width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem;
}
.feat h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feat p { margin: 0; font-size: 0.88rem; font-weight: 300; color: var(--ink2); }

/* ---------------- Live feature cards (mini simulations) ---------------- */
.feat-link {
  display: inline-block; margin-top: 0.9rem; font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.04em; color: var(--gold-hi); text-decoration: none;
  border-bottom: 1px solid var(--line-gold); padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.feat-link:hover { color: var(--ink); border-color: var(--ink2); }

.mini { margin-top: 1.2rem; border-top: 1px dashed var(--line); padding-top: 1.1rem; }
.mini-cap { margin: 0.7rem 0 0; font-size: 0.76rem; color: var(--ink3); min-height: 1.2em; }
.mini-cap strong { color: var(--gold-hi); font-weight: 600; }

/* Negotiation ladder */
.rung { display: grid; grid-template-columns: 3.6rem 1fr auto; align-items: center; gap: 0.6rem; padding: 0.32rem 0; }
.rung-label { font: 600 0.68rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); }
.rung-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(241, 233, 218, 0.07); overflow: hidden; }
.rung-bar::after {
  content: ''; position: absolute; inset: 0; width: var(--w);
  border-radius: 3px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.55), var(--gold-hi));
  transition: transform 1s cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: calc(0.35s + var(--i) * 0.28s);
}
.io.in .rung-bar::after { transform: scaleX(1); }
.rung-val { font: 600 0.8rem/1 var(--sans); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.rung-list-note { margin-top: 0.35rem; font-size: 0.72rem; color: var(--ink3); }
.levers { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }
.lever {
  font: 500 0.7rem/1 var(--sans); color: var(--ink2); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.38rem 0.7rem; background: rgba(14, 18, 16, 0.5);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.io.in .lever { opacity: 1; transform: none; }
.io.in .lever:nth-child(1) { transition-delay: 1.5s; }
.io.in .lever:nth-child(2) { transition-delay: 1.75s; }
.lever::before { content: '◆ '; color: var(--gold); font-size: 0.6em; vertical-align: 0.2em; }

/* Rent-vs-buy break-even chart */
.mini-rvb svg { display: block; width: 100%; height: auto; }
.rvb-line { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.rvb-line-rent { stroke: rgba(241, 233, 218, 0.55); stroke-dasharray: 600; stroke-dashoffset: 600; }
.rvb-line-buy { stroke: var(--gold); stroke-dasharray: 600; stroke-dashoffset: 600; }
.io.in .rvb-line { transition: stroke-dashoffset 2.2s cubic-bezier(0.3, 0, 0.3, 1) 0.35s; stroke-dashoffset: 0; }
.rvb-marker { stroke: rgba(230, 207, 149, 0.5); stroke-width: 1; stroke-dasharray: 3 3; transition: x1 0.2s, x2 0.2s; }
.rvb-cross { fill: var(--gold-hi); opacity: 0; }
.io.in .rvb-cross { opacity: 1; transition: opacity 0.6s ease 2.4s; animation: crossPulse 2.4s ease-in-out 2.6s infinite; }
@keyframes crossPulse { 0%, 100% { r: 3.4; } 50% { r: 5; } }
.rvb-cross-label { fill: var(--gold-hi); font: 600 9.5px var(--sans); letter-spacing: 0.04em; opacity: 0; }
.io.in .rvb-cross-label { opacity: 1; transition: opacity 0.6s ease 2.5s; }
.rvb-legend { display: flex; gap: 1rem; margin: 0.3rem 0 0.55rem; }
.lg { font-size: 0.68rem; color: var(--ink3); }
.lg::before { content: ''; display: inline-block; width: 14px; height: 2px; vertical-align: 0.22em; margin-right: 0.4rem; border-radius: 1px; }
.lg-rent::before { background: rgba(241, 233, 218, 0.55); }
.lg-buy::before { background: var(--gold); }

/* Valuation comp lights */
.val-chips { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.val-chip {
  appearance: none; cursor: pointer; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.03em;
  color: var(--ink3); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.42rem 0.75rem; transition: all 0.2s;
}
.val-chip:hover { color: var(--ink); }
.val-chip.active { color: var(--gold-hi); border-color: var(--gold); background: var(--gold-soft); }
.val-axis { position: relative; height: 58px; }
.val-axis::before {
  content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 1px;
  background: var(--line);
}
.val-band {
  position: absolute; top: 24px; height: 21px; border-radius: 4px;
  background: linear-gradient(rgba(198, 161, 91, 0.22), rgba(198, 161, 91, 0.05));
  border: 1px solid var(--line-gold); border-bottom: 0;
  transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.25, 1) 1.3s, left 0.5s, width 0.5s;
}
.val-run .val-band { transform: scaleX(1); }
.val-dot {
  position: absolute; top: 30px; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(241, 233, 218, 0.75); box-shadow: 0 0 10px 1px rgba(230, 207, 149, 0.45);
  transform: translateX(-50%) scale(0); transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4);
  transition-delay: calc(0.25s + var(--i) * 0.22s);
}
.val-run .val-dot { transform: translateX(-50%) scale(1); }
.val-dot span {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font: 500 0.62rem/1 var(--sans); color: var(--ink3); white-space: nowrap;
}
.val-fair {
  position: absolute; top: 46px; font: 600 0.72rem/1 var(--sans); color: var(--gold-hi);
  transform: translateX(-50%); white-space: nowrap; opacity: 0; transition: opacity 0.7s ease 2s;
}
.val-run .val-fair { opacity: 1; }

/* Commute rows */
.cmt-rows { display: grid; gap: 0.45rem; }
.cmt-row {
  display: grid; grid-template-columns: 5.4rem 1fr auto; align-items: center; gap: 0.6rem;
  padding: 0.18rem 0; transition: opacity 0.4s;
}
.cmt-name { font-size: 0.76rem; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmt-row.best .cmt-name { color: var(--gold-hi); }
.cmt-track { height: 5px; border-radius: 3px; background: rgba(241, 233, 218, 0.07); overflow: hidden; }
.cmt-fill {
  display: block; height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.4), rgba(198, 161, 91, 0.75));
  transition: width 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.cmt-row.best .cmt-fill { background: linear-gradient(90deg, rgba(198, 161, 91, 0.6), var(--gold-hi)); }
.cmt-end { display: flex; align-items: center; gap: 0.4rem; justify-content: flex-end; }
.cmt-min { font: 600 0.76rem/1 var(--sans); color: var(--ink2); font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.cmt-row.best .cmt-min { color: var(--gold-hi); }
.cmt-bridge {
  font: 600 0.56rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(230, 207, 149, 0.75); border: 1px solid var(--line-gold); border-radius: 999px;
  padding: 0.18rem 0.4rem;
}
.cmt-bridge:empty { display: none; }

/* Studio pitchbook assembly */
.studio-stage { position: relative; height: 118px; margin-bottom: 0.7rem; }
.slide {
  position: absolute; top: 8px; width: 44%; aspect-ratio: 16 / 11;
  border: 1px solid var(--line-gold); border-radius: 8px;
  background: linear-gradient(170deg, rgba(198, 161, 91, 0.1), rgba(14, 18, 16, 0.6)), var(--bg3);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.85);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.3rem;
  padding: 0.5rem; text-align: center;
  opacity: 0; transform: translateY(18px) scale(0.86) rotate(0deg);
}
.s1 { left: 2%; --rot: -7deg; }
.s2 { left: 28%; --rot: 0deg; top: 2px; z-index: 2; }
.s3 { left: 54%; --rot: 7deg; }
.studio-run .slide { animation: slideIn 0.7s cubic-bezier(0.2, 0.7, 0.25, 1.15) forwards; }
.studio-run .s1 { animation-delay: 0.1s; }
.studio-run .s2 { animation-delay: 0.42s; }
.studio-run .s3 { animation-delay: 0.74s; }
@keyframes slideIn {
  to { opacity: 1; transform: translateY(0) scale(1) rotate(var(--rot)); }
}
.slide-t { font: 600 0.6rem/1.2 var(--sans); letter-spacing: 0.04em; color: var(--ink2); }
.slide-line { display: block; height: 3px; border-radius: 2px; background: rgba(241, 233, 218, 0.18); }
.slide-ring {
  position: relative; width: 34px; height: 34px; display: grid; place-content: center;
  font: 600 0.78rem/1 var(--sans); color: var(--gold-hi);
}
.slide-ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--gold) 0 84%, rgba(241, 233, 218, 0.12) 0);
  -webkit-mask: radial-gradient(circle at center, transparent 11px, #000 12px);
  mask: radial-gradient(circle at center, transparent 11px, #000 12px);
}
.slide-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.slide-bars i {
  width: 7px; height: var(--h); border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--gold-hi), rgba(198, 161, 91, 0.4));
}
.studio-btn {
  appearance: none; cursor: pointer; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.04em;
  color: var(--gold-hi); background: var(--gold-soft); border: 1px solid var(--line-gold);
  border-radius: 999px; padding: 0.55rem 1rem; transition: background 0.2s, color 0.2s;
}
.studio-btn:hover { background: var(--gold); color: #14100a; }

/* ---------------- Score simulator (flagship) ---------------- */
.demo { max-width: 72rem; margin: 0 auto; padding: 5rem 1.4rem 2rem; }
.demo h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; max-width: 36rem; }
.demo-sub { font-weight: 300; color: var(--ink2); max-width: 38rem; margin: 0 0 2.6rem; }
.demo-stage {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.4rem, 4vw, 3.4rem);
  border: 1px solid var(--line-gold); border-radius: 26px;
  padding: clamp(1.4rem, 3.5vw, 2.8rem);
  background:
    radial-gradient(90% 130% at 18% -25%, rgba(198, 161, 91, 0.12), transparent 55%),
    var(--bg2);
  box-shadow: 0 28px 60px -16px rgba(0, 0, 0, 0.8);
}
.demo-photo {
  position: relative; border: 1px solid var(--line); border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(198, 161, 91, 0.07), rgba(14, 18, 16, 0.4)),
    var(--bg3);
  padding: 1.6rem 1.2rem 0; overflow: hidden;
}
.demo-photo svg { display: block; width: 100%; height: auto; }
.demo-tag {
  position: absolute; top: 0.8rem; right: 0.8rem;
  font: 600 0.62rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink3); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.32rem 0.6rem; background: rgba(14, 18, 16, 0.65); backdrop-filter: blur(6px);
}
.demo-title { font-size: 1.45rem; margin: 1.2rem 0 0.2rem; }
.demo-meta { margin: 0 0 1.1rem; font-size: 0.85rem; color: var(--ink3); letter-spacing: 0.04em; }
.demo-price {
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1;
  color: var(--gold-hi); font-variant-numeric: tabular-nums; margin-bottom: 0.3rem;
}
.demo-ppm { margin: 0 0 1.3rem; font-size: 0.8rem; color: var(--ink3); font-variant-numeric: tabular-nums; }

#dm-slider, #rvb-year {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px;
  background: transparent; cursor: pointer; margin: 0;
}
#dm-slider::-webkit-slider-runnable-track, #rvb-year::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.5), rgba(241, 233, 218, 0.12));
}
#dm-slider::-moz-range-track, #rvb-year::-moz-range-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.5), rgba(241, 233, 218, 0.12));
}
#dm-slider::-webkit-slider-thumb, #rvb-year::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  border: 2px solid #14100a; box-shadow: 0 0 0 1px var(--line-gold), var(--shadow-gold);
  transition: transform 0.15s;
}
#dm-slider::-moz-range-thumb, #rvb-year::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  border: 2px solid #14100a; box-shadow: 0 0 0 1px var(--line-gold), var(--shadow-gold);
}
#dm-slider:active::-webkit-slider-thumb { transform: scale(1.15); }
#rvb-year { height: 20px; }
#rvb-year::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6px; }

.demo-scale { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.7rem; color: var(--ink3); margin-top: 0.15rem; }
.demo-scale-mid { color: rgba(230, 207, 149, 0.65); }

.demo-score { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.4rem; align-items: center; }
.ring-wrap { position: relative; width: 150px; height: 150px; }
.ring { width: 150px; height: 150px; }
.ring-track { fill: none; stroke: rgba(241, 233, 218, 0.08); stroke-width: 7; }
.ring-fill {
  fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 402.1; stroke-dashoffset: 402.1;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), stroke 0.5s;
}
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring-cap { font: 600 0.58rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); margin-top: 0.3rem; }
.ring-side { min-width: 0; }
.verdict { margin: 0 0 0.4rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--gold-hi); transition: color 0.4s; }
.verdict.low { color: #cf7f56; }
.verdict.mid { color: var(--ink2); }
.delta { margin: 0; font-size: 0.85rem; color: var(--ink3); font-variant-numeric: tabular-nums; }
.crit { grid-column: 1 / -1; list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.6rem; }
.crit li { display: grid; grid-template-columns: 6.4rem 1fr 2ch; align-items: center; gap: 0.6rem; }
.crit-label { font-size: 0.74rem; color: var(--ink2); letter-spacing: 0.02em; white-space: nowrap; }
.crit-track { height: 4px; border-radius: 2px; background: rgba(241, 233, 218, 0.08); overflow: hidden; }
.crit-fill {
  display: block; height: 100%; border-radius: 2px; width: 0%;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.5), var(--gold-hi));
  transition: width 0.55s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.crit-val { font: 600 0.72rem/1 var(--sans); color: var(--ink3); text-align: right; font-variant-numeric: tabular-nums; }
.demo-note { grid-column: 1 / -1; margin: 1.3rem 0 0; font-size: 0.74rem; font-style: italic; color: var(--ink3); }

/* ---------------- Split ---------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  max-width: 72rem; margin: 0 auto; padding: 4rem 1.4rem;
}
.split-col {
  border: 1px solid var(--line); border-radius: 22px; padding: 2.4rem 2.2rem;
  background: var(--glass); backdrop-filter: blur(14px);
}
.split-agent { border-color: var(--line-gold); background: linear-gradient(160deg, rgba(198, 161, 91, 0.08), rgba(198, 161, 91, 0.02)); }
.split-col h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.2rem; }
.split-col ul { margin: 0; padding: 0; list-style: none; }
.split-col li {
  position: relative; padding: 0.5rem 0 0.5rem 1.6rem;
  font-size: 0.92rem; font-weight: 300; color: var(--ink2);
}
.split-col li::before {
  content: ''; position: absolute; left: 0; top: 1.05rem;
  width: 0.75rem; height: 1px; background: var(--gold);
}

/* ---------------- Waitlist ---------------- */
.waitlist { padding: 4rem 1.4rem 6rem; }
.waitlist-card {
  max-width: 44rem; margin: 0 auto; text-align: center;
  border: 1px solid var(--line-gold); border-radius: 26px;
  padding: 3.2rem clamp(1.4rem, 5vw, 3.4rem);
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(198, 161, 91, 0.13), transparent 60%),
    var(--bg2);
  box-shadow: 0 28px 60px -16px rgba(0, 0, 0, 0.8);
}
.waitlist h2 { margin-bottom: 0.7rem; }
.waitlist p { font-weight: 300; color: var(--ink2); margin: 0 0 1.8rem; }

.role { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1.2rem; }
.role label { cursor: pointer; }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role span {
  display: inline-block; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.04em;
  color: var(--ink3); border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.2rem;
  transition: all 0.2s;
}
.role input:checked + span { color: var(--gold-hi); border-color: var(--gold); background: var(--gold-soft); }
.role input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.row { display: flex; gap: 0.6rem; }
.row input {
  flex: 1; min-width: 0; font: 400 0.95rem/1.2 var(--sans); color: var(--ink);
  background: rgba(14, 18, 16, 0.7); border: 1px solid var(--line); border-radius: 999px;
  padding: 1rem 1.4rem; outline: none; transition: border-color 0.2s;
}
.row input::placeholder { color: var(--ink3); }
.row input:focus { border-color: var(--gold); }

.consent {
  display: flex; gap: 0.55rem; align-items: flex-start; text-align: left;
  margin: 1.1rem auto 0; max-width: 34rem; cursor: pointer;
  font-size: 0.74rem; color: var(--ink3); line-height: 1.5;
}
.consent input { margin-top: 0.2rem; accent-color: var(--gold); }
.hp { display: none; }
.form-msg { min-height: 1.4em; margin: 0.9rem 0 0; font-size: 0.85rem; }
.form-msg.ok { color: #6fa888; }
.form-msg.err { color: #e0654a; }

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid var(--line); text-align: center;
  padding: 2.6rem 1.4rem 3rem; color: var(--ink3); font-size: 0.82rem;
}
.footer p { margin: 0.7rem 0 0; }
.fineprint { font-size: 0.7rem; opacity: 0.75; }

/* ---------------- Motion ---------------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  animation: rise 0.9s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.io { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.25, 1); transition-delay: var(--d, 0s); }
.io.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .io { opacity: 1; transform: none; animation: none; transition: none; }
  .grain, .nebula { animation: none; }
  .bar { display: none; }
  html { scroll-behavior: auto; }
  /* Mini simulations render their final states, no choreography. */
  .rung-bar::after { transform: scaleX(1); transition: none; }
  .lever { opacity: 1; transform: none; transition: none; }
  .rvb-line { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .rvb-cross, .rvb-cross-label { opacity: 1; transition: none; animation: none; }
  .val-band { transform: scaleX(1); transition: none; }
  .val-dot { transform: translateX(-50%) scale(1); transition: none; }
  .val-fair { opacity: 1; transition: none; }
  .ring-fill, .crit-fill, .verdict { transition: none; }
  .cmt-fill { transition: none; }
  .slide { opacity: 1; transform: rotate(var(--rot)); animation: none !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .demo-stage { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .nav-cta { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0; padding-top: 3rem; }
  .stat { padding: 1.2rem 0.5rem; }
  .crit { grid-template-columns: 1fr; }
  .demo-score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .crit li { text-align: left; }
  .ring-side { text-align: center; }
}
