/* LeaseCrack Agentic Referee — dealer landing (competitor-1, Round 3 FINAL POLISH)
   Evolved from the 9.3/10 Round-3 leader per the judges' six finish-line orders
   (round-3/JUDGING_RESULTS.md): deeper agentic texture in proof/form, hover life
   on cards, stamp-card CTA, A2A micro-thread, footnoted disclaimer, tighter
   vertical rhythm. Dark canvas throughout — zero light sections.
   Motion stays data-respecting. */

:root {
  color-scheme: dark;
  --bg0: #060b16;            /* page base — agentic black-navy */
  --bg1: #0a1222;            /* tinted alternate sections */
  --card: #101c36;           /* card surface */
  --card2: #142242;          /* raised card surface */
  --navy: #0b1b34;           /* kept for text ON gold elements */
  --gold: #e0ac3a;
  --gold-soft: #f3d488;
  --green: #2ecf96;
  --red: #ff8a76;
  --ink: #e9eef9;            /* headings / strong text */
  --body: #c7d2e8;           /* body copy */
  --muted: #93a2c4;          /* secondary copy */
  --line: rgba(148, 170, 215, .16);
  --radius: 14px;
  --shadow: 0 12px 32px rgba(2, 6, 16, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.18; color: var(--ink); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em;
  background: rgba(255, 255, 255, .08);
  color: var(--gold-soft);
  padding: 1px 6px;
  border-radius: 4px;
  word-break: break-all;
}
.gold-ink { color: var(--gold); }
.kicker {
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--gold); margin: 0 0 10px;
}
.kicker-gold { color: var(--gold-soft); }

/* ====== Hero ====== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(224, 172, 58, .14), transparent 60%),
    linear-gradient(170deg, #0e2042, #0a1730 55%, var(--bg0));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* subtle data grid — modern, not gimmicky */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1040px; margin: 0 auto; padding: 18px 20px; position: relative;
}
.brand { font-weight: 800; letter-spacing: .3px; font-size: 1.05rem; color: #fff; }
.brand span { color: var(--gold); font-weight: 600; }
.nav-cta {
  color: var(--navy); background: var(--gold); text-decoration: none;
  padding: 9px 16px; border-radius: 9px; font-size: .88rem; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224, 172, 58, .35); }

.hero-inner { padding: 30px 20px 64px; position: relative; }
.trust-bar {
  color: #9fb1d4; font-size: .78rem; letter-spacing: .3px; margin-bottom: 26px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.trust-bar .dot { color: var(--gold); }
.trust-bar-note {
  color: #7f93b8; font-size: .72rem; line-height: 1.45; max-width: 720px;
  margin: -14px 0 22px; padding-left: 2px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.7rem; margin: 0 0 14px; font-weight: 800; color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.subhead { color: #cfdaef; font-size: 1.22rem; max-width: 560px; margin: 0 0 6px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.cta-micro { color: #9fb1d4; font-size: .85rem; margin: 0; font-weight: 600; }

/* Hero cards: ghost vs stamped */
.hero-cards { display: flex; flex-direction: column; gap: 10px; position: relative; }
.ghost-card, .stamp-card { border-radius: var(--radius); padding: 18px 20px; }
.ghost-card {
  background: rgba(255, 255, 255, .045);
  border: 1.5px dashed rgba(255, 255, 255, .28);
  filter: saturate(.7);
}
.ghost-line { height: 10px; background: rgba(255, 255, 255, .16); border-radius: 6px; margin: 10px 0; }
.ghost-line.short { width: 52%; }
.ghost-line.mid { width: 74%; }
.flag { color: #f1a8a8; font-size: .82rem; margin-top: 12px; font-weight: 600; }
.flag-dim { opacity: .75; font-weight: 500; }
.ghost-verdict { color: #8ea0c4; font-size: .8rem; margin-top: 12px; font-style: italic; }

.vs-divider { display: flex; align-items: center; gap: 12px; color: #6f81a6; font-size: .75rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.vs-divider::before, .vs-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }

/* R3: the stamped card pops on the dark canvas — luminous dark + gold glow,
   the single brightest object in the first viewport. */
.stamp-card {
  background: linear-gradient(180deg, #182a54, #101d3c);
  color: var(--ink); border: 1px solid rgba(224, 172, 58, .55);
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(224, 172, 58, .12), 0 14px 38px rgba(2, 6, 16, .6),
              0 0 42px rgba(224, 172, 58, .12);
}
.vin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); font-size: .82rem; margin: 12px 0 4px; letter-spacing: .5px; }
.score-row { display: flex; align-items: center; gap: 14px; }
.score-badge { font-size: 2.9rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.score-badge .denom, .proof-score .denom { font-size: 1rem; color: var(--muted); font-weight: 600; }
.score-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-soft); }
.score-label span { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.stamp { color: var(--green); font-size: .86rem; font-weight: 700; margin-top: 8px; }

.tag { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; padding: 4px 10px; border-radius: 999px; }
.tag-bad { background: rgba(192, 57, 43, .25); color: #f1a8a8; }
.tag-good { background: rgba(46, 207, 150, .16); color: var(--green); }

/* Final polish order #2: "see your gaps" CTA directly on the stamped card —
   the shortest possible loop for the 30-second mobile scanner. */
.stamp-cta {
  display: inline-block; margin-top: 10px;
  color: var(--navy); background: var(--gold); text-decoration: none;
  font-size: .8rem; font-weight: 800; padding: 7px 12px; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(224, 172, 58, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.stamp-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224, 172, 58, .45); }

/* Stamp imprint ring — animates in once when card enters viewport
   (R3 fix: this block was dropped from the round-2 3-file split; restored). */
.stamp-ring {
  position: absolute; top: 14px; right: 14px;
  width: 84px; height: 84px; border-radius: 50%;
  border: 2.5px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: .58rem; font-weight: 800; letter-spacing: 1.2px; text-align: center;
  transform: rotate(-12deg) scale(2.4);
  opacity: 0;
}
.imprinted .stamp-ring { animation: imprint .55s cubic-bezier(.2, 1.4, .4, 1) forwards .35s; }
@keyframes imprint {
  0% { transform: rotate(-12deg) scale(2.4); opacity: 0; }
  70% { transform: rotate(-12deg) scale(.94); opacity: 1; }
  100% { transform: rotate(-12deg) scale(1); opacity: .92; }
}

/* Agent connection pulse lines flowing out of the stamped card */
.agent-lines { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; display: flex; gap: 6px; }
.pulse-line { flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55; background-size: 200% 100%; animation: flow 2.8s linear infinite; }
.pulse-line.l2 { animation-delay: .9s; }
.pulse-line.l3 { animation-delay: 1.8s; }
@keyframes flow { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* R3: hero → #proof bridge leaned-in further — glow + stronger presence. */
.hero-bridge {
  display: flex; align-items: center; gap: 10px; margin-top: 4px;
  color: var(--gold-soft); text-decoration: none; font-size: .9rem; font-weight: 700;
  padding: 13px 16px; border: 1px dashed rgba(224, 172, 58, .55); border-radius: 12px;
  background: rgba(224, 172, 58, .08);
  box-shadow: 0 0 24px rgba(224, 172, 58, .08);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.hero-bridge:hover {
  background: rgba(224, 172, 58, .16); border-color: rgba(224, 172, 58, .9);
  box-shadow: 0 0 30px rgba(224, 172, 58, .2);
}
.bridge-arrow {
  display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800;
  animation: bridge-bob 2.4s ease-in-out infinite;
}
@keyframes bridge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ====== Buttons ====== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 13px 22px; border-radius: 11px; border: 0; cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-lg { padding: 16px 28px; font-size: 1.06rem; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 20px rgba(224, 172, 58, .28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(224, 172, 58, .42); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .8); }
.btn-block { width: 100%; margin-top: 18px; text-align: center; }

/* ====== Sections — one dark world, subtle tint separation ======
   Final polish density: 64 → 56px vertical rhythm; tighter stat/closer gaps
   shave ~9% of the scroll distance between hero and form. */
.section { padding: 56px 0; }
.section h2 { font-size: 1.85rem; margin: 0 0 14px; max-width: 800px; color: #fff; }
.lede { font-size: 1.08rem; color: var(--body); max-width: 740px; }
.lede.light { color: var(--body); }
.section-dark {
  background: linear-gradient(165deg, #0e2042, #0a1730 70%, var(--bg1));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-tint { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-proof {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(224, 172, 58, .07), transparent 60%),
    var(--bg1);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-form { background: linear-gradient(180deg, var(--bg1), var(--bg0)); border-top: 1px solid var(--line); }

/* Final polish order #1: the hero's agentic data-grid texture carries into the
   proof + form sections so they read "agentic referee", not "clean corporate".
   Same one-rule pattern as .hero::before — zero perf cost. */
.section-proof, .section-form { position: relative; }
.section-proof::before, .section-form::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.section-proof .wrap, .section-form .wrap { position: relative; }

.stats, .grid { display: grid; gap: 16px; margin-top: 22px; }
.stats { grid-template-columns: repeat(2, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; color: var(--body); }
.stat-card .big { font-size: 1.9rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

.closer-band {
  margin-top: 34px; background: linear-gradient(135deg, #122142, #0e1c3a); color: #dfe8f8;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold); border-radius: 12px; padding: 22px 26px;
  font-size: 1.12rem;
}
.closer-band p { margin: 0; }
.closer-band strong { color: var(--gold-soft); }
.closer-loud {
  margin-top: 26px; font-size: 1.22rem; padding: 26px 30px;
  box-shadow: var(--shadow), 0 0 36px rgba(224, 172, 58, .06);
}

.feature, .benefit {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; color: var(--body);
}
.section-dark .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); }
.feature h3, .benefit h3 { margin: 0 0 6px; font-size: 1.03rem; color: var(--ink); }
.feature p, .benefit p { margin: 0 0 4px; color: var(--muted); font-size: .92rem; }
.section-dark .feature p { color: #b9c6e0; }
.f-icon { font-size: 1.3rem; margin-bottom: 8px; }
.feature-a2a { border: 1.5px solid var(--gold) !important; background: rgba(224, 172, 58, .10) !important; position: relative; }
.feature-a2a h3 { color: var(--gold-soft); }
/* Final polish order #4: micro-thread from the loud A2A card to the node diagram. */
.a2a-thread {
  display: inline-block; margin-top: 10px;
  color: var(--gold-soft); text-decoration: none;
  font-size: .8rem; font-weight: 700;
  border-bottom: 1px dashed rgba(224, 172, 58, .5);
}
.a2a-thread:hover { color: var(--gold); border-bottom-color: var(--gold); }

.flow {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 16px 18px; font-size: .88rem; font-weight: 600;
}
.flow-step { color: #cfdaef; }
.flow-step em { display: block; font-style: normal; font-size: .72rem; color: #8ea0c4; font-weight: 500; }
.flow-step.now { color: var(--gold-soft); }
.flow-step.now em { color: var(--gold); }
.flow-arrow { color: var(--gold); font-weight: 800; }
.teaser-callout { margin-top: 26px; font-size: 1.18rem; font-weight: 700; color: #fff; }
.teaser-callout a { color: var(--gold-soft); }

.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.steps .n { flex: 0 0 36px; height: 36px; background: var(--gold); color: var(--navy); border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin: 0 0 4px; font-size: 1.04rem; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.step-now { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--green); background: rgba(46, 207, 150, .15); padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.reassure { margin-top: 22px; font-weight: 600; color: var(--green); font-size: 1.02rem; }
.reassure strong { color: var(--green); }
.punch { margin-top: 28px; font-size: 1.25rem; font-weight: 800; color: #fff; }

/* ====== A2A visual ====== */
.a2a-visual { display: flex; align-items: center; gap: 0; margin: 34px 0 10px; }
.a2a-node {
  background: var(--card2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; font-weight: 800; font-size: .92rem; text-align: center;
  color: var(--ink); box-shadow: var(--shadow); flex: 0 0 auto;
}
.a2a-node span { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.gold-node { border: 2px solid var(--gold); position: relative; box-shadow: var(--shadow), 0 0 28px rgba(224, 172, 58, .14); }
.a2a-wire { flex: 1; height: 2px; background: rgba(148, 170, 215, .25); position: relative; overflow: visible; min-width: 40px; }
.wire-pulse {
  position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px rgba(224, 172, 58, .8);
  animation: wire-travel 3s ease-in-out infinite;
}
.wire-pulse.p2 { animation-delay: 1.5s; background: var(--green); box-shadow: 0 0 10px rgba(46, 207, 150, .8); }
@keyframes wire-travel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

.tech-details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-top: 26px; }
.tech-details summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.tech-details .grid { margin-top: 18px; }
.tech-link a { color: var(--gold-soft); font-weight: 600; font-size: .85rem; }
.built-on { margin-top: 20px; color: var(--muted); font-size: .85rem; }
.micro-cta { margin-top: 24px; font-weight: 700; color: var(--ink); }
.micro-cta a { color: var(--gold); }

/* ====== Proof engine ====== */
.report-meta { display: flex; align-items: center; gap: 8px; margin: 22px 0 6px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.report-meta #report-ago { color: var(--green); font-variant-numeric: tabular-nums; }
/* Final polish order #5: provisional disclaimer demoted to a quiet footnote. */
.proof-footnote { margin: 4px 0 0; color: var(--muted); font-size: .76rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: live-blink 2.2s ease-in-out infinite; }
@keyframes live-blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 207, 150, .5); } 50% { box-shadow: 0 0 0 6px rgba(46, 207, 150, 0); } }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.proof-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* Final polish order #1: hover life on the proof cards — alive, not corporate. */
.proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 172, 58, .45);
  box-shadow: var(--shadow), 0 0 24px rgba(224, 172, 58, .08);
}
.proof-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.band { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; padding: 4px 10px; border-radius: 999px; }
.band-mid { background: rgba(224, 172, 58, .16); color: #f0cd7c; }
.band-low { background: rgba(255, 118, 96, .14); color: #ff9d8c; }
.prov-tag { font-size: .66rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.ad-excerpt { margin: 0; font-size: .88rem; color: var(--body); font-style: italic; border-left: 3px solid var(--line); padding-left: 10px; }
.proof-score { font-size: 2.1rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.gaps { margin: 0; padding-left: 18px; font-size: .84rem; color: #e8c473; }
.gaps li { margin-bottom: 6px; }
.gaps li::marker { content: "⚑ "; color: var(--gold); }
.why-matters { margin: auto 0 0; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

.proof-card-yours { border: 1.5px solid var(--gold); position: relative; overflow: visible; box-shadow: var(--shadow), 0 0 28px rgba(224, 172, 58, .12); }
.yours-badge {
  position: absolute; top: -12px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(224, 172, 58, .4);
}

.proof-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.signal { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.signal-gold {
  background: linear-gradient(135deg, rgba(224, 172, 58, .15), rgba(224, 172, 58, .04));
  color: var(--ink); border-color: rgba(224, 172, 58, .5);
}
.signal-gold strong { color: var(--gold-soft); }

/* ====== Form ====== */
.tabs { display: flex; gap: 8px; margin: 22px 0 18px; }
.tab { background: rgba(255, 255, 255, .07); color: var(--muted); border: 0; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .92rem; }
.tab.active { background: var(--gold); color: var(--navy); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.span-2 { grid-column: 1 / -1; }
form label { display: flex; flex-direction: column; font-size: .86rem; font-weight: 600; color: var(--body); gap: 6px; }
form input, form select {
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: .96rem; font-family: inherit; background: #0b1730; color: var(--ink);
}
form input::placeholder { color: rgba(147, 162, 196, .65); }
form input:focus, form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.req { color: var(--red); }
.optional-fields { margin-top: 16px; border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .025); }
.optional-fields summary { font-weight: 700; cursor: pointer; color: var(--muted); font-size: .9rem; }
.optional-fields .field-grid { margin-top: 14px; }
.check { flex-direction: row; align-items: baseline; gap: 10px; margin-top: 16px; font-weight: 500; display: flex; }
.check input { width: auto; accent-color: var(--gold); }
.check-dim { color: var(--muted); font-size: .84rem; }
.terms-hint { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.field-hint { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); font-size: .78rem; line-height: 1.3; }

/* Disclosure ladder (soft check → full stamp) */
.ladder-rungs { list-style: none; counter-reset: rung; margin: 28px 0 18px; padding: 0; display: grid; gap: 10px; }
.ladder-rungs li { counter-increment: rung; position: relative; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 14px 18px 14px 58px; }
.ladder-rungs li::before { content: counter(rung); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: rgba(216, 165, 49, .15); color: var(--gold); border: 1px solid rgba(216, 165, 49, .4); }
.ladder-rungs .rung-tier { display: block; font-weight: 700; color: #fff; margin-bottom: 2px; }
.ladder-rungs p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.ladder-rungs .rung-full { background: rgba(216, 165, 49, .08); border-color: rgba(216, 165, 49, .45); }
.ladder-rungs .rung-full::before { content: "★"; background: var(--gold); color: #0b1b34; border-color: var(--gold); }
.ladder-rungs .rung-full .rung-tier { color: var(--gold); }
.form-note { margin-top: 12px; font-weight: 600; min-height: 1.2em; }
.form-note.ok { color: var(--green); }
.form-note.err { color: var(--red); }

/* Post-submit success panel */
.success-panel { margin-top: 8px; background: rgba(46, 207, 150, .07); border: 1.5px solid var(--green); border-radius: var(--radius); padding: 26px; }
.success-head { display: flex; align-items: center; gap: 12px; }
.success-head h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.success-check { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: 0 0 38px; }
.success-panel p { color: var(--body); }
.success-stamp { max-width: 420px; margin: 14px 0; }
.success-next { font-weight: 600; color: var(--ink); margin-bottom: 0; }

/* ====== FAQ ====== */
#faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 13px 17px; margin: 10px 0; transition: border-color .2s ease; }
#faq details:hover, #faq details[open] { border-color: rgba(224, 172, 58, .35); }
#faq summary { font-weight: 700; cursor: pointer; color: var(--ink); }
#faq details p { color: var(--muted); margin: 8px 0 0; }
#faq details p + p { margin-top: 10px; }

/* ====== Footer ====== */
.footer { background: #04070f; border-top: 1px solid var(--line); color: #fff; padding: 44px 0; }
.footer-cta { text-align: center; margin-bottom: 22px; }
.legal { color: #8ea0c4; font-size: .78rem; text-align: center; max-width: 760px; margin: 0 auto; }

/* ====== Sticky mobile CTA ====== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 11, 22, .92); backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { margin-top: 0; }

/* ====== Scroll-rise animation (data-animate="rise") ====== */
[data-animate="rise"] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
[data-animate="rise"].risen { opacity: 1; transform: none; }

/* ====== Responsive ====== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2.1rem; }
  .proof-grid, .proof-signals { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .a2a-visual { flex-direction: column; gap: 0; align-items: stretch; }
  .a2a-wire { min-height: 36px; width: 2px; min-width: 2px; margin: 0 auto; }
  .wire-pulse { animation-name: wire-travel-v; left: -3px; top: 0; }
  @keyframes wire-travel-v { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
}
@media (max-width: 720px) {
  .section { padding: 46px 0; }
  .section h2 { font-size: 1.45rem; }
  .hero h1 { font-size: 1.85rem; }
  .subhead { font-size: 1.08rem; }
  .closer-loud { font-size: 1.08rem; padding: 20px 22px; }
  .stats, .grid-2, .grid-3, .grid-4, .field-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .flow { flex-direction: column; align-items: flex-start; }
  .flow-arrow { transform: rotate(90deg); margin-left: 6px; }
  .nav-cta { display: none; }
}

/* ====== Reduced motion: respect the user ====== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-line, .wire-pulse, .live-dot, .bridge-arrow { animation: none; }
  .imprinted .stamp-ring { animation: none; opacity: .92; transform: rotate(-12deg) scale(1); }
  [data-animate="rise"] { opacity: 1; transform: none; transition: none; }
  .btn, .nav-cta, .stamp-cta, .proof-card, #faq details { transition: none; }
  .proof-card:hover { transform: none; }
}
