/* ============================================================
   AI-Native Real Estate Fund — "Four agents, public data to deals"
   Aesthetic: dark, moneyed, analytical — a private-equity terminal.
   ============================================================ */

:root {
  --base:      #0C0A09;
  --base-2:    #12100E;
  --surface:   #1A1714;
  --surface-2: #221E19;
  --text:      #EFE9DF;
  --muted:     #9A9186;
  --faint:     #6B6459;
  --hair:      rgba(255,255,255,.09);
  --hair-2:    rgba(255,255,255,.05);

  --gold:      #EAB308;
  --gold-hi:   #F5C842;
  --gold-lo:   #CA8A04;
  --red:       #DC2626;
  --green:     #22C55E;

  --font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --shell: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --r: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.85);
  --shadow-gold: 0 0 0 1px rgba(234,179,8,.28), 0 24px 60px -24px rgba(234,179,8,.22);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01" 1;
}

/* Ambient background: fine blueprint grid + warm gold vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 600px at 82% -8%, rgba(234,179,8,.10), transparent 60%),
    radial-gradient(900px 700px at -5% 12%, rgba(234,179,8,.05), transparent 55%),
    linear-gradient(180deg, #0C0A09, #0A0908 60%, #0C0A09);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--hair-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
  opacity: .5;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #1A1200; font-weight: 700;
  padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--gold);
  opacity: .7;
}
.kicker.center::after {
  content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .7;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,9,8,.62);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--hair);
  background: rgba(10,9,8,.86);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em;
  font-size: 16px; color: var(--text);
}
.brand .glyph {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.brand .glyph svg { width: 20px; height: 20px; }
.brand small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
}

.nav-links {
  display: none;
  align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px; color: var(--muted); font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.built-by {
  display: none;
  align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--faint); font-weight: 500;
}
.built-by a { color: var(--muted); border-bottom: 1px solid transparent; }
.built-by a:hover { color: var(--gold); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .built-by { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 11px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease),
              box-shadow .25s var(--ease), border-color .2s var(--ease), color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: #1A1200;
  box-shadow: 0 10px 30px -12px rgba(234,179,8,.6);
}
.btn-primary:hover {
  background: var(--gold-hi);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(234,179,8,.7);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--hair);
}
.btn-ghost:hover {
  border-color: rgba(234,179,8,.5); color: var(--gold-hi);
  background: rgba(234,179,8,.05);
}
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 9px; }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--hair);
  font-size: 13px; color: var(--muted); margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
.hero-badge b { color: var(--text); font-weight: 600; }

.hero h1 {
  font-size: clamp(38px, 6.4vw, 70px);
  letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero h1 .gold {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: clamp(16.5px, 2vw, 19px);
  color: var(--muted); max-width: 46ch; margin-bottom: 32px;
}
.hero-sub b { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px;
  color: var(--faint); font-size: 13.5px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--gold); }

/* ---- Reveal utility ---- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO VISUAL — 4-agent pipeline + distress gauge + map pins
   ============================================================ */
.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(234,179,8,.08), transparent 55%),
    linear-gradient(165deg, var(--surface-2), var(--base-2));
  border: 1px solid var(--hair);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  padding: 22px;
  overflow: hidden;
}
.hv-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.hv-title {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: .02em; color: var(--muted);
  display: flex; align-items: center; gap: 9px;
}
.hv-title .live {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); display: inline-flex; align-items: center; gap: 6px;
}
.hv-title .live::before {
  content:""; width:6px;height:6px;border-radius:50%;background:var(--green);
  box-shadow: 0 0 8px var(--green);
}
.hv-tabs { display: flex; gap: 5px; }
.hv-tabs span {
  width: 26px; height: 4px; border-radius: 2px; background: var(--hair);
}
.hv-tabs span:first-child { background: var(--gold); }

/* Pipeline row of 4 nodes with connectors */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  position: relative;
  margin-bottom: 20px;
}
.p-node {
  position: relative;
  text-align: center;
  padding: 14px 6px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--hair-2);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.p-node.active {
  border-color: rgba(234,179,8,.45);
  background: rgba(234,179,8,.06);
}
.p-node .ring {
  width: 42px; height: 42px; margin: 0 auto 9px;
  border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--hair);
  color: var(--muted);
  transition: color .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.p-node.active .ring {
  color: var(--gold-hi);
  border-color: rgba(234,179,8,.55);
  box-shadow: 0 0 0 4px rgba(234,179,8,.1), 0 8px 22px -8px rgba(234,179,8,.5);
}
.p-node .ring svg { width: 20px; height: 20px; }
.p-node .lbl {
  font-family: var(--font-head); font-weight: 600;
  font-size: 12px; color: var(--text); letter-spacing: -.01em;
}
.p-node .sub {
  font-size: 10px; color: var(--faint); margin-top: 2px;
  letter-spacing: .01em;
}
/* connector track behind the nodes */
.pipeline .track {
  position: absolute; top: 35px; left: 12%; right: 12%; height: 2px;
  background: var(--hair); border-radius: 2px; z-index: 0;
}
.pipeline .track .signal {
  position: absolute; top: -2px; left: 0; width: 40px; height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  filter: drop-shadow(0 0 6px var(--gold));
  animation: signalTravel 5.6s var(--ease) infinite;
}
@keyframes signalTravel {
  0%   { left: -8%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.pipeline > .p-node { z-index: 1; }

/* gauge + map split */
.hv-lower {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 420px){ .hv-lower { grid-template-columns: 1fr; } }

.gauge-card, .map-card {
  border-radius: 13px; padding: 15px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--hair-2);
}
.gauge-card .cap, .map-card .cap {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 12px;
}
.gauge-wrap { position: relative; display: grid; place-items: center; }
.gauge-wrap svg { width: 118px; height: 118px; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--hair); stroke-width: 9; }
.gauge-arc {
  fill: none; stroke: url(#gaugeGrad); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326; stroke-dashoffset: 326;
}
.gauge-arc.go {
  animation: gaugeSweep 2.6s var(--ease) forwards;
}
@keyframes gaugeSweep { to { stroke-dashoffset: 62; } } /* ~81% */
.gauge-read {
  position: absolute; text-align: center;
}
.gauge-read .val {
  font-family: var(--font-head); font-weight: 700; font-size: 30px;
  color: var(--text); line-height: 1;
}
.gauge-read .val small { font-size: 15px; color: var(--muted); }
.gauge-read .tag {
  margin-top: 4px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}

/* map with dropping pins */
.map-card { position: relative; overflow: hidden; }
.mini-map { position: relative; height: 130px; border-radius: 9px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.mini-map .roads {
  position: absolute; inset: 0; opacity: .5;
}
.pin {
  position: absolute; width: 12px; height: 12px;
  transform: translate(-50%, -100%);
  opacity: 0;
}
.pin::before {
  content:""; position:absolute; inset:0;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--gold);
  box-shadow: 0 3px 8px rgba(0,0,0,.5);
}
.pin.buy::before { background: var(--green); }
.pin.buy::after {
  content:""; position:absolute; left:50%; top:0; width:12px; height:12px;
  transform: translate(-50%,-3px);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: pinPulse 2.2s var(--ease) infinite;
  animation-delay: 3s;
}
@keyframes pinPulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,.5);} 100%{box-shadow:0 0 0 16px rgba(34,197,94,0);} }
.pin.drop { animation: pinDrop .7s var(--ease) forwards; }
@keyframes pinDrop {
  0% { opacity: 0; transform: translate(-50%, -160%); }
  70% { opacity: 1; transform: translate(-50%, -92%); }
  100% { opacity: 1; transform: translate(-50%, -100%); }
}
.map-verdict {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  padding: 3px 8px; border-radius: 999px; font-weight: 700;
  opacity: 0; transition: opacity .5s var(--ease);
}
.map-verdict.show { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pipeline .track .signal,
  .hero-badge .dot,
  .pin.buy::after { animation: none; }
  .gauge-arc { stroke-dashoffset: 62; animation: none; }
  .pin { opacity: 1; }
  .map-verdict { opacity: 1; }
}

/* ============================================================
   STAT BAND
   ============================================================ */
.band {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent);
}
.band-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--hair-2);
}
@media (min-width: 760px){ .band-grid { grid-template-columns: repeat(4, 1fr); } }
.band-cell {
  background: var(--base);
  padding: clamp(28px, 4vw, 44px) 22px;
  text-align: center;
}
.band-cell .n {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em;
  color: var(--text); line-height: 1;
}
.band-cell .n span { color: var(--gold); }
.band-cell .k {
  margin-top: 10px; color: var(--muted); font-size: 14px;
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  margin: 16px 0 16px; letter-spacing: -.03em;
}
.section-head p { color: var(--muted); font-size: clamp(16px,1.7vw,18px); }

/* ============================================================
   PIPELINE agent cards
   ============================================================ */
.agents {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  counter-reset: agent;
}
@media (min-width: 640px){ .agents { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px){ .agents { grid-template-columns: repeat(4, 1fr); } }

.agent-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface), var(--base-2));
  border: 1px solid var(--hair);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.agent-card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .0; transition: opacity .3s var(--ease);
}
.agent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234,179,8,.35);
  box-shadow: var(--shadow);
}
.agent-card:hover::before { opacity: 1; }
.agent-step {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  color: var(--gold); letter-spacing: .14em;
}
.agent-ico {
  width: 46px; height: 46px; margin: 16px 0 18px;
  border-radius: 12px; display: grid; place-items: center;
  background: rgba(234,179,8,.08);
  border: 1px solid rgba(234,179,8,.22);
  color: var(--gold-hi);
}
.agent-ico svg { width: 24px; height: 24px; }
.agent-card h3 { font-size: 20px; margin-bottom: 9px; }
.agent-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.agent-card ul {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; gap: 8px;
}
.agent-card li {
  font-size: 13px; color: var(--muted);
  display: flex; gap: 9px; align-items: flex-start;
}
.agent-card li svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 2px; }

/* ============================================================
   HOW DISTRESS IS SCORED — split
   ============================================================ */
.scoring { display: grid; grid-template-columns: 1fr; gap: clamp(24px,4vw,44px); }
@media (min-width: 940px){ .scoring { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.panel {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--base-2));
  border: 1px solid var(--hair);
  padding: clamp(24px, 3vw, 34px);
}
.panel h3 {
  font-size: 22px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 11px;
}
.panel h3 .badge {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; letter-spacing: .06em;
}
.badge.rules { background: rgba(220,38,38,.14); color: #FCA5A5; border:1px solid rgba(220,38,38,.3); }
.badge.ml { background: rgba(234,179,8,.14); color: var(--gold-hi); border:1px solid rgba(234,179,8,.3); }
.panel > p.lede { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }

/* rule chips (13) */
.rule-tiers { display: grid; gap: 18px; }
.tier-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.tier-label b { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 12.5px;}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; color: var(--text);
  padding: 7px 12px; border-radius: 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--hair);
  display: inline-flex; align-items: center; gap: 7px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.chip:hover { border-color: rgba(234,179,8,.4); background: rgba(234,179,8,.05); }
.chip .n {
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.chip.crit { border-color: rgba(220,38,38,.28); }
.chip.crit .n { color: #FCA5A5; }

/* ML feature meters */
.features { display: grid; gap: 13px; }
.feat { }
.feat-top {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 6px;
}
.feat-top .fn { font-size: 13.5px; color: var(--text); }
.feat-top .fv {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.feat-bar {
  height: 7px; border-radius: 999px; background: rgba(255,255,255,.05);
  overflow: hidden;
}
.feat-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  width: 0; transition: width 1.1s var(--ease);
}
.feat.in .feat-bar i { width: var(--w); }
@media (prefers-reduced-motion: reduce){ .feat .feat-bar i { transition: none; width: var(--w); } }
.feat-foot {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hair);
  display: flex; align-items: center; gap: 12px;
}
.verdict-pill {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  padding: 8px 15px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.verdict-pill.buy { background: rgba(34,197,94,.12); color: var(--green); border: 1px solid rgba(34,197,94,.35); }
.verdict-pill svg { width: 16px; height: 16px; }
.feat-foot span { font-size: 13px; color: var(--muted); }

/* ============================================================
   PRODUCT TOUR (screenshots)
   ============================================================ */
.tour { display: grid; gap: clamp(48px, 7vw, 84px); }
.shot {
  display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 40px);
  align-items: center;
}
@media (min-width: 900px){
  .shot { grid-template-columns: .82fr 1.18fr; }
  .shot.flip .shot-copy { order: 2; }
  .shot.flip .frame { order: 1; }
}
.shot-copy .step-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; color: var(--gold); margin-bottom: 14px;
}
.shot-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; letter-spacing: -.025em; }
.shot-copy p { color: var(--muted); font-size: 16px; }
.shot-copy ul {
  list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px;
}
.shot-copy li { display: flex; gap: 11px; font-size: 14.5px; color: var(--muted); }
.shot-copy li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 1px; }

.frame {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--surface-2), var(--base-2));
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.frame:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--shadow-gold); }
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid var(--hair);
  background: rgba(255,255,255,.02);
}
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hair); }
.frame-bar .dots i:nth-child(1){ background:#3a352e; }
.frame-bar .url {
  margin-left: 8px; font-size: 12px; color: var(--faint);
  font-family: var(--font-body);
  background: rgba(0,0,0,.3); border: 1px solid var(--hair-2);
  padding: 5px 12px; border-radius: 7px;
  display: inline-flex; align-items: center; gap: 7px;
  max-width: 100%; overflow: hidden; white-space: nowrap;
}
.frame-bar .url svg { width: 12px; height: 12px; color: var(--gold); flex: none; }
.frame img { display: block; width: 100%; }
.shot .cap {
  margin-top: 14px; font-size: 13px; color: var(--faint);
  display: flex; align-items: center; gap: 8px;
}
.shot .cap svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feat-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px){ .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px){ .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.fcard {
  padding: 26px 24px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface), var(--base-2));
  border: 1px solid var(--hair);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.fcard:hover { transform: translateY(-3px); border-color: rgba(234,179,8,.3); }
.fcard .fico {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.03); border: 1px solid var(--hair);
  color: var(--gold-hi);
}
.fcard .fico svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 18px; margin-bottom: 9px; }
.fcard p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.fcard .tag {
  display: inline-block; margin-top: 14px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--hair); padding: 4px 9px; border-radius: 7px;
}

/* ============================================================
   TECH STRIP
   ============================================================ */
.tech { text-align: center; }
.tech .kicker { margin-bottom: 22px; }
.tech-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.tech-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 11px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--hair);
  font-size: 14px; color: var(--text); font-weight: 500;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.tech-chip:hover { border-color: rgba(234,179,8,.4); transform: translateY(-2px); }
.tech-chip svg { width: 17px; height: 17px; color: var(--gold); }

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap { position: relative; }
.cta-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(234,179,8,.28);
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(234,179,8,.12), transparent 55%),
    linear-gradient(165deg, var(--surface-2), var(--base-2));
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; opacity: .4;
  background-image:
    linear-gradient(var(--hair-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-2) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 70%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(28px, 4.6vw, 48px); margin: 16px auto 18px; max-width: 18ch; letter-spacing: -.03em; }
.cta-card p { color: var(--muted); font-size: 17px; max-width: 52ch; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hair);
  margin-top: clamp(64px, 9vw, 110px);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.foot-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 800px){ .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 38ch; }
.foot-col h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a, .foot-col span { color: var(--muted); font-size: 14.5px; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--gold); }

.foot-credit {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  justify-content: space-between;
}
.credit-left { display: flex; align-items: center; gap: 13px; }
.bs-lockup {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--text);
}
.bs-lockup .bs {
  font-size: 13px; padding: 4px 8px; border-radius: 7px;
  background: rgba(234,179,8,.12); color: var(--gold-hi);
  border: 1px solid rgba(234,179,8,.28);
}
.foot-credit .tag { color: var(--faint); font-size: 13px; }
.foot-credit .tag a { color: var(--muted); }
.foot-credit .tag a:hover { color: var(--gold); }
.foot-legal { color: var(--faint); font-size: 12.5px; }

/* ============================================================
   CONTACT / THANK-YOU
   ============================================================ */
.subpage { padding: clamp(48px, 7vw, 88px) 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 900px){ .contact-grid { grid-template-columns: .9fr 1.1fr; } }

.contact-intro h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; margin-bottom: 18px; }
.contact-intro .kicker { margin-bottom: 22px; }
.contact-intro p { color: var(--muted); font-size: 17px; margin-bottom: 28px; max-width: 44ch; }
.contact-alts { display: grid; gap: 14px; margin-top: 30px; }
.alt {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px; border-radius: var(--r);
  background: rgba(255,255,255,.02); border: 1px solid var(--hair);
  transition: border-color .2s var(--ease);
}
.alt:hover { border-color: rgba(234,179,8,.35); }
.alt .aico {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(234,179,8,.08); border: 1px solid rgba(234,179,8,.22);
  color: var(--gold-hi);
}
.alt .aico svg { width: 20px; height: 20px; }
.alt .at { font-size: 12px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.alt .av { font-size: 15px; color: var(--text); font-weight: 500; }
.alt .av:hover { color: var(--gold); }

.form-card {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--base-2));
  border: 1px solid var(--hair);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--text);
  margin-bottom: 8px;
}
.field label .req { color: var(--gold); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px;
  color: var(--text); background: var(--base);
  border: 1px solid var(--hair); border-radius: 11px;
  padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: rgba(234,179,8,.6);
  box-shadow: 0 0 0 3px rgba(234,179,8,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 560px){ .form-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.form-card button[type="submit"] { width: 100%; margin-top: 4px; }
.reassure {
  margin-top: 16px; text-align: center; font-size: 13px; color: var(--faint);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.reassure svg { width: 15px; height: 15px; color: var(--green); }

/* thank-you */
.ty {
  min-height: 60vh; display: grid; place-items: center; text-align: center;
  padding: clamp(48px,8vw,96px) 0;
}
.ty-inner { max-width: 52ch; }
.ty-badge {
  width: 84px; height: 84px; margin: 0 auto 30px;
  border-radius: 24px; display: grid; place-items: center;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.4);
  color: var(--green);
  box-shadow: 0 0 0 8px rgba(34,197,94,.05), 0 20px 50px -20px rgba(34,197,94,.4);
  animation: pop .6s var(--ease) both;
}
@keyframes pop { 0%{ transform: scale(.7); opacity: 0; } 60%{ transform: scale(1.06);} 100%{ transform: scale(1); opacity: 1;} }
@media (prefers-reduced-motion: reduce){ .ty-badge { animation: none; } }
.ty-badge svg { width: 42px; height: 42px; }
.ty h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.03em; margin-bottom: 16px; }
.ty p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 26px; }
.ty-mail { font-size: 14px; color: var(--faint); }
.ty-mail a { color: var(--muted); border-bottom: 1px solid var(--hair); }
.ty-mail a:hover { color: var(--gold); }

/* generic subpage header offset title area */
.subpage-hero { margin-bottom: clamp(28px, 4vw, 40px); }


/* Mobile overflow guard: let tour columns and the browser-frame URL shrink below their content width (flex/grid min-width:auto fix). */
.shot > *, .shot figure, .shot .frame, .frame, .frame-bar, .frame-bar .url { min-width: 0; }
