/* ─────────────────────────────────────────────────────────────
   Capraseo — marketing landing (capraseo.com root)
   Standalone page (no app main.css). Tokens mirror the house values
   + the login page's brand language. Dark only, by design.

   Materials:
   · horizon  — the glowing arc anchoring hero + closing
   · veil     — gradient-border glass for every card/panel
   · rule     — labeled gradient hairlines between sections
   ───────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;
  --bg: #08080d;
  --card-top: #12141f;
  --card-bot: #0a0c15;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.10);
  --edge-hi: rgba(255, 255, 255, 0.05);
  --text: #eeeef5;
  --muted: #a3a4b6;
  --muted-2: #6f7188;
  /* Landing accent = Corona-style green on neutral charcoal (2026-07-12
     de-purple pass); blue is the secondary for data-viz shards only. */
  --accent: #00d25b;
  --accent-strong: #00a24e;
  --accent-bright: #2ee27c;
  --accent-glow: rgba(0, 210, 91, 0.35);
  --green: #00d25b;
  --green-rgb: 0, 210, 91;
  --blue: #0090e7;
  --blue-bright: #3aaef2;
  --blue-strong: #0072b8;
  --gold: #e6c47a;
  --positive: #46c8f5;
  --danger: #ff7a7a;
  --display: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; }
::selection { background: rgba(0, 210, 91, 0.30); }

/* ── Cross-document view transition into the demo ───────────── */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-leave 0.35s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-enter 0.35s var(--ease) both; }
}
@keyframes vt-leave { to { opacity: 0; transform: scale(0.985); filter: brightness(0.75); } }
@keyframes vt-enter { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation-duration: 0s !important; }
}

/* ── Grain — kills banding across all gradients ─────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

nav.nav, header.hero, main, footer.footer { position: relative; z-index: 2; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(20px, 4.5vw, 56px);
  height: 68px;
  background: rgba(8, 8, 13, 0.65);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09) 20% 80%, transparent) 1;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.nav-brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 14px -2px rgba(0, 210, 91, 0.35);
}
.nav-links { display: flex; gap: 26px; margin-left: 16px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-ctas { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #ebeaf4 100%);
  color: #0b0b14;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 0;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(4, 4, 10, 0.5),
    0 10px 30px -14px rgba(255, 255, 255, 0.25);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 5px rgba(4, 4, 10, 0.45),
    0 14px 38px -14px rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 15.5px; border-radius: 15px; }
.btn-ghost .arrow { transition: transform 0.15s ease; }
.btn-ghost:hover .arrow { transform: translateX(3px); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Hero — cinematic photographic composition ──────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 92vh, 900px);
  padding: clamp(90px, 12vh, 150px) 0 clamp(120px, 16vh, 190px);
  overflow: hidden;
  overflow: clip;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 22%;
  pointer-events: none;
  user-select: none;
}
/* Scrim melts the photograph into the page: left panel for copy
   legibility, bottom fade into --bg, top fade under the nav.
   The first layer uses PX stops, not %, so the copy column (fixed
   ~660px) stays protected at narrow/landscape viewports where a
   percentage gradient fades out before the text ends. */
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 13, 0.94) 0px, rgba(8, 8, 13, 0.8) 560px, rgba(8, 8, 13, 0.25) 900px, rgba(8, 8, 13, 0) 1100px),
    linear-gradient(90deg, rgba(8, 8, 13, 0.92) 0%, rgba(8, 8, 13, 0.72) 34%, rgba(8, 8, 13, 0.12) 62%, rgba(8, 8, 13, 0) 78%),
    linear-gradient(180deg, rgba(8, 8, 13, 0.72) 0%, rgba(8, 8, 13, 0) 22%),
    linear-gradient(0deg, #08080d 0%, rgba(8, 8, 13, 0.6) 12%, rgba(8, 8, 13, 0) 34%);
}
.hero-copy {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-copy > * { max-width: 620px; }
.hero-copy .hero-ctas { justify-content: flex-start; }
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -12%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 26%, rgba(255, 255, 255, 0) 56%),
    radial-gradient(90% 60% at 50% 0%, rgba(var(--green-rgb), 0.05) 0%, rgba(var(--green-rgb), 0) 50%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(130% 120% at 50% 42%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 100%);
}
/* The horizon — a luminous arc anchoring the composition. */
.hero .hero-horizon { opacity: 0.55; }
.hero-horizon {
  position: absolute;
  bottom: -6vw;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  min-width: 900px;
  aspect-ratio: 3.4 / 1;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1px solid rgba(190, 235, 210, 0.45);
  background:
    radial-gradient(58% 100% at 50% 0%, rgba(var(--green-rgb), 0.12) 0%, rgba(var(--green-rgb), 0.02) 42%, transparent 68%);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.12),
    0 -18px 60px -8px rgba(var(--green-rgb), 0.28),
    inset 0 26px 60px -30px rgba(var(--green-rgb), 0.25);
  pointer-events: none;
}
.eyebrow {
  position: relative;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--green);
}
/* Soft, wide dark shadow = photo-overlay legibility insurance;
   invisible as an effect on the dark left, earns its keep wherever
   the crop puts bright suit/helmet behind the text. */
.hero h1, .hero-sub, .hero-note, .hero .eyebrow {
  text-shadow: 0 1px 2px rgba(8, 8, 13, 0.4), 0 2px 26px rgba(8, 8, 13, 0.6);
}
.hero h1 {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #f5f6fb;
  text-wrap: balance;
}
.hero h1 .grad {
  /* one solid green word, Corona-style — gradient-to-dark reads crypto */
  color: var(--accent-bright);
}
.hero-sub {
  position: relative;
  margin: 0 0 40px;
  max-width: 560px;
  font-size: clamp(15px, 1.7vw, 17.5px);
  font-weight: 450;
  line-height: 1.7;
  color: #c3c5d4;
  text-wrap: pretty;
}
.hero-ctas { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note {
  position: relative;
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Stat strip ──────────────────────────────────────────────── */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px clamp(20px, 4.5vw, 56px);
}
.stats::before, .stats::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10) 25% 75%, transparent);
}
.stats::before { top: 0; }
.stats::after { bottom: 0; }
.stat { padding: 34px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  font-family: var(--mono);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #f5f6fb;
  margin-bottom: 8px;
}
.stat span {
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(96px, 13vh, 170px) clamp(20px, 4.5vw, 56px) 0;
}
/* alternating ambient glow, barely there — painted as a background so
   it can never contribute to horizontal overflow (real iOS pans if any
   box leaks past the viewport, overflow-x guards notwithstanding) */
.section:nth-of-type(odd) {
  background: radial-gradient(42% 44% at -12% 40%, rgba(var(--green-rgb), 0.04), transparent 70%) no-repeat;
}
.section:nth-of-type(even) {
  background: radial-gradient(42% 44% at 112% 40%, rgba(var(--green-rgb), 0.04), transparent 70%) no-repeat;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}
.section h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #f5f6fb;
  max-width: 780px;
  text-wrap: balance;
}
.section-sub {
  margin: 0 0 52px;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── The veil — gradient-border glass, the page's card material ─ */
.veil {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 24px 60px -34px rgba(0, 0, 0, 0.9);
}
.veil::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 26%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0.18) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}

/* ── Demo door affordance ────────────────────────────────────── */
.door {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent-bright);
  text-decoration: none;
}
.door::after {
  content: "→";
  font-family: var(--mono);
  transition: transform 0.18s var(--ease);
}
.door-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: door-pulse 2.4s ease-in-out infinite;
}
@keyframes door-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 226, 124, 0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(46, 226, 124, 0); }
}
@media (prefers-reduced-motion: reduce) { .door-dot { animation: none; } }
a:hover .door::after, a.door:hover::after { transform: translateX(4px); }
.demo-link { cursor: pointer; }
.demo-link.pressing { transform: scale(0.98) !important; transition: transform 0.12s ease; }

/* ── Cards (data grid) ───────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 24px 60px -34px rgba(0, 0, 0, 0.9);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 26%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0.18) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 var(--edge-hi),
    0 30px 70px -34px rgba(0, 0, 0, 0.95),
    0 0 50px -22px var(--accent-glow);
}
.card h3, .panel h3, .panel-text h3, .price-panel h3 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.card p, .panel p, .panel-text p, .price-panel p {
  margin: 7px 0 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.card .door, .panel .door { margin-top: auto; }

/* ── Shards — instrument-styled product fragments ────────────── */
.shard {
  border-radius: 13px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 26px),
    rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.shard-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.shard-row em {
  font-style: normal;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d8d8de;
}
.shard-row b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--muted);
  flex-shrink: 0;
}
.shard-row b.up { color: var(--positive); }
.shard-row b.down { color: var(--danger); }
.shard-row b.fix {
  color: var(--accent-bright);
  border: 1px solid rgba(46, 226, 124, 0.35);
  border-radius: 999px;
  padding: 2.5px 10px;
  background: rgba(0, 210, 91, 0.08);
}
.shard-row.done em { color: var(--muted-2); text-decoration: line-through; }
.shard-row .pill { border-radius: 999px; padding: 2.5px 10px; font-size: 10.5px; }
.pill.ready { color: var(--positive); border: 1px solid rgba(70, 200, 245, 0.35); background: rgba(70, 200, 245, 0.07); }
.pill.busy  { color: var(--gold); border: 1px solid rgba(230, 196, 122, 0.35); background: rgba(230, 196, 122, 0.06); }
.pill.pub   { color: #8fe8c2; border: 1px solid rgba(143, 232, 194, 0.3); background: rgba(143, 232, 194, 0.06); }

/* gauge shard */
.shard-gauge {
  width: 82px;
  height: 82px;
  margin: 6px auto 2px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #10121c 76%, transparent 77% 100%),
    conic-gradient(from 220deg, var(--blue-strong) 0deg, var(--blue-bright) 150deg, rgba(255,255,255,0.08) 150deg 360deg);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  filter: drop-shadow(0 0 14px rgba(0, 144, 231, 0.25));
}
.shard-gauge-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--muted-2);
}

/* bars shard */
.shard-bars { flex-direction: row; align-items: flex-end; gap: 8px; height: 112px; }
.shard-bars i {
  flex: 1;
  height: var(--v);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-strong));
  opacity: 0.9;
  box-shadow: 0 0 12px -4px rgba(0, 144, 231, 0.5);
}
.shard-bars i:nth-child(odd) { opacity: 0.5; box-shadow: none; }

/* overlap shard */
.shard-overlap { gap: 13px; }
.ol-row { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted-2); }
.ol-row em { font-style: normal; width: 84px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-row i {
  height: 8px;
  width: var(--v);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-strong), var(--blue-bright));
  box-shadow: 0 0 10px -3px rgba(0, 144, 231, 0.6);
}
.ol-row i.them { background: rgba(255, 255, 255, 0.12); box-shadow: none; }

/* area shard */
.shard-area { padding: 9px; }
.shard-area svg { width: 100%; height: 112px; display: block; }

/* ── Pricing ─────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.price-panel { border-radius: 20px; padding: 34px 32px; display: flex; flex-direction: column; }
.price-old {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  filter: saturate(0.5);
}
.price-new {
  position: relative;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow:
    inset 0 1px 0 var(--edge-hi),
    0 24px 60px -34px rgba(0, 0, 0, 0.9),
    0 0 80px -30px var(--accent-glow);
  overflow: clip;
}
.price-new::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.2), rgba(46,226,124,0.12) 40%, rgba(0,210,91,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
.price-new::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--green-rgb), 0.8), transparent);
}
.price-figure {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 16px 0 8px;
}
.price-figure span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-left: 10px;
}
.price-figure.gold {
  background: linear-gradient(100deg, #f0d9a0, var(--gold) 55%, #b8934e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-panel .door { margin-top: auto; }

/* ── Actions / agents panels ─────────────────────────────────── */
.panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 24px 60px -34px rgba(0, 0, 0, 0.9);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
a.panel:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 30px 70px -34px rgba(0, 0, 0, 0.95), 0 0 50px -22px var(--accent-glow);
}
.panel-static { justify-content: center; }
/* media panel — placeholder screenshot slot (swap the img, keep the frame) */
.panel-media { padding: 10px; justify-content: center; }
.panel-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.panel-text { padding: 28px 12px; display: flex; flex-direction: column; justify-content: center; }
.panel-text .door { margin-top: 18px; }
.agent-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); flex-shrink: 0; }
.agent-dot.on { background: var(--accent); animation: door-pulse 2.4s ease-in-out infinite; }

/* ── Market board ────────────────────────────────────────────── */
.market-board {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 24px 60px -34px rgba(0, 0, 0, 0.9);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.market-board::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03) 30%, rgba(230,196,122,0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
.market-board:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 30px 70px -34px rgba(0, 0, 0, 0.95), 0 0 50px -24px rgba(230, 196, 122, 0.35);
}
.market-board .shard-row { padding: 6px 0; font-size: 13px; }
.market-board .shard-row + .shard-row { border-top: 1px solid var(--line); padding-top: 14px; }
.mk-meta { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); flex-shrink: 0; }
.market-board b { color: var(--gold); font-size: 12.5px; }

/* ── Ask section ─────────────────────────────────────────────── */
.section-ask { text-align: center; }
.section-ask .kicker { justify-content: center; }
.section-ask .kicker::before { display: none; }
.section-ask h2, .section-ask .section-sub { margin-left: auto; margin-right: auto; }
.ask-composer {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 0 9px 0 24px;
  height: 62px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b1e2b 0%, #13151f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 60px -26px rgba(0, 0, 0, 0.85);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}
.ask-composer:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 226, 124, 0.40);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 60px -18px var(--accent-glow);
}
.ask-placeholder {
  flex: 1;
  text-align: left;
  font-size: 15px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ask-placeholder::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent-bright);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ask-placeholder::after { animation: none; } }
.ask-send {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #052613;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 14px -4px var(--accent-glow);
}
.ask-door { justify-content: center; }

/* ── Closing ─────────────────────────────────────────────────── */
.closing {
  position: relative;
  text-align: center;
  padding: clamp(120px, 16vh, 190px) 22px clamp(110px, 15vh, 170px);
  overflow: hidden;
  overflow: clip;
}
.closing .hero-horizon { bottom: auto; top: -8vw; transform: translateX(-50%) rotate(180deg); }
.horizon-low { opacity: 0.8; }
.closing h2 {
  position: relative;
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #f5f6fb;
  text-wrap: balance;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer { padding: 38px clamp(20px, 4.5vw, 56px) calc(34px + env(safe-area-inset-bottom)); position: relative; }
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10) 25% 75%, transparent);
}
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--text); }
.footer-copy { margin: 0 0 0 auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2); }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { height: 60px; }
  .nav-links, .nav-demo { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 10px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 86vh; padding-bottom: 96px; }
  .hero { min-height: 92vh; }
  .hero-img { object-position: 84% 8%; opacity: 0.85; }
  /* Mobile: goat owns the top half, copy sits in the darkened lower half */
  .hero-scrim {
    background:
      linear-gradient(0deg, #08080d 0%, rgba(8, 8, 13, 0.95) 30%, rgba(8, 8, 13, 0.72) 48%, rgba(8, 8, 13, 0.18) 72%, rgba(8, 8, 13, 0.12) 100%);
  }
  .hero-copy { align-self: flex-end; margin-bottom: 0; }
  .hero-horizon { min-width: 680px; }
  .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; }
  .panel-text { padding: 8px 6px 0; }
  .ask-composer { height: 56px; }
}
