/* proxykey landing — marketing page styles.
   Transcribed directly from the decompiled marketing mockup (inline styles
   → flat class system). Values copied verbatim, not re-derived — including
   the square (radius:0) corners used everywhere; the only rounded shapes in
   the source are circles (stub punch-holes, the brand dot) which stay
   circular. Palette + spacing follow the same custom-property + --sp-N
   scale convention established in the sibling panel app, but this file
   defines its own set (not shared/imported) since the two apps ship
   independently. */

:root {
  --bg: #0a0a0a;
  --surface: #141412;
  --surface-2: #111110;
  --surface-3: #0d0d0b;
  --input-bg: #0a0b0d;
  --line: #26261f;
  --line-2: #33332a;
  --fg: #e9e6de;
  --fg-2: #cdd3da;
  --muted: #8e8a7e;
  --muted-2: #9a968a;
  --muted-3: #5a574d;
  --faint: #33332a;
  --accent: #9ee83b;
  --on-accent: #0a0a0a;
  --cream: #ede7d8;
  --on-cream: #16140d;
  --on-cream-muted: #55524a;
  --paper-line: #c9c2b0;
  --paper-accent: #4a7a1e;
  --red: #ff4a38;
  --red-line: #7a2b31;
  --red-bg: #1a0f10;
  --amber: #e8b84b;
  --purple: #c08cff;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  /* 4-based spacing scale. */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

/* ---- focus-visible ring (same convention as the panel app) -------------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---- reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---- page shell ----------------------------------------------------------- */
/* Faint dot grid on the outer page so the margins beyond .wrap on wide
   monitors read as designed negative space instead of dead flat black —
   every section inside .wrap sets its own opaque background, so the dots
   only ever show through outside the bordered column. */
.page {
  background-color: var(--bg);
  background-image: radial-gradient(var(--line-2) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  overflow: hidden;
}
/* 1440px (was 1180): less empty margin on wide monitors while keeping the
   bordered "ticket column" identity. */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* ---- shared bits ----------------------------------------------------------- */
.dot { width: 8px; height: 8px; background: var(--accent); display: block; }
.accent-red { color: var(--red); }
.accent-green { color: var(--accent); }
.accent-amber { color: var(--amber); }
.accent-purple { color: var(--purple); }
.mono-inline { font: 13px var(--mono); }

/* ---- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font: 600 13px var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 26px;
  transition: background .18s, color .18s;
}
.btn-fill {
  background: var(--cream);
  color: var(--on-accent);
}
.btn-fill:hover { background: var(--accent); color: var(--on-accent); }
.btn-link {
  color: var(--muted-2);
  padding: 15px 6px;
  border-bottom: 1px solid var(--line-2);
}

/* ---- nav -------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-word { font: 600 15px var(--mono); letter-spacing: .02em; }
.nav-kicker {
  margin-left: 22px;
  font: 11px var(--mono);
  letter-spacing: .1em;
  color: var(--muted-3);
}
.nav-cta { padding: 11px 18px; font-size: 12px; }
.nav-lang {
  margin-left: auto;
  margin-right: 18px;
  font: 600 12px var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
}
.nav-lang:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- ticket header strip ----------------------------------------------------- */
.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  padding: 11px 28px;
  border-bottom: 1px solid var(--line);
  font: 10.5px var(--mono);
  letter-spacing: .12em;
  color: var(--muted-3);
  text-transform: uppercase;
}
.strip-muted { color: var(--muted); }
.strip-right { margin-left: auto; }
.strip-online { color: var(--accent); }

/* ---- hero --------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
}
.hero-copy {
  padding: 60px 28px 56px;
  border-right: 1px solid var(--line);
}
.hero-h1 {
  /* Fluid display size: ~76px on a typical laptop (1100px viewport), grows to
     ~100px at the 1440px .wrap cap so the two stacked lines actually fill the
     copy column on wide screens instead of floating in whitespace. */
  font: 600 clamp(64px, 6.9vw, 100px)/.94 var(--mono);
  letter-spacing: -.045em;
  margin: 0 0 26px;
  text-transform: uppercase;
}
.hero-sub {
  font: 600 20px/1.3 var(--mono);
  letter-spacing: -.01em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-p {
  font: 400 16.5px/1.6 var(--sans);
  color: var(--muted-2);
  /* Fluid between the 860px stack breakpoint (~420px, matches old fixed
     440px cap closely) and the 1440px .wrap ceiling (620px, a readable
     ~85-char measure) — so the left column keeps using more of .wrap as
     it grows instead of stopping dead at the old fixed cap. */
  max-width: clamp(420px, 34.5vw + 123px, 620px);
  margin: 0 0 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.hero-works-kicker {
  font: 10.5px var(--mono);
  letter-spacing: .14em;
  color: var(--muted-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-providers {
  font: 600 13px var(--mono);
  color: var(--muted);
  letter-spacing: .02em;
}
.hero-providers .sep { color: var(--line-2); }

/* ---- hero pass (interactive) --------------------------------------------------- */
.hero-pass-wrap {
  padding: 60px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pass-card {
  width: 100%;
  /* Fluid between the 860px breakpoint (~380px) and the 1440px .wrap
     ceiling (520px) so the ticket card grows with its column instead of
     leaving a fixed dead gutter around it at wide viewports. */
  max-width: clamp(380px, 24.1vw + 172px, 520px);
  cursor: pointer;
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line-2);
  position: relative;
  font-family: inherit;
  color: inherit;
  padding: 0;
  text-align: left;
  transition: border-color .3s;
}
@media (prefers-reduced-motion: reduce) {
  .pass-card { transition-duration: .001ms; }
}
.pass-card.is-attacked { border-color: var(--red); }

.pass-stub {
  width: 104px;
  border-right: 2px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
  background: var(--surface-2);
}
.pass-stub-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 600 15px var(--mono);
  letter-spacing: .18em;
  color: var(--accent);
}
.pass-hole {
  position: absolute;
  right: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
}
.pass-hole-top { top: -8px; }
.pass-hole-bottom { bottom: -8px; }
.pass-stub-serial {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font: 9px var(--mono);
  letter-spacing: .1em;
  color: var(--muted-3);
  writing-mode: vertical-rl;
}

.pass-body {
  flex: 1;
  padding: 22px 24px;
  min-width: 0;
  position: relative;
  display: block;
}
.pass-stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  transform: rotate(-8deg);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 4px 10px;
  font: 700 12px var(--mono);
  letter-spacing: .14em;
  transition: color .3s, border-color .3s;
}
@media (prefers-reduced-motion: reduce) {
  .pass-stamp { transition-duration: .001ms; }
}
.pass-stamp.is-blocked { border-color: var(--red); color: var(--red); }
.pass-kicker {
  display: block;
  font: 10px var(--mono);
  letter-spacing: .1em;
  color: var(--muted-3);
  text-transform: uppercase;
  margin-bottom: 9px;
}
.pass-name {
  display: block;
  font: 600 16px var(--sans);
  color: var(--fg);
  margin-bottom: 20px;
}
.pass-token {
  display: block;
  font: 18px var(--mono);
  color: var(--accent);
  margin-bottom: 20px;
}
.pass-token-dots { color: var(--line-2); }
.pass-barcode {
  display: block;
  height: 26px;
  background: repeating-linear-gradient(90deg, var(--muted) 0 2px, transparent 2px 4px, var(--muted) 4px 5px, transparent 5px 9px, var(--muted) 9px 12px, transparent 12px 14px);
  opacity: .3;
  margin-bottom: 18px;
}
.pass-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 11px var(--mono);
}
.pass-row { display: flex; justify-content: space-between; }
.pass-row-label { color: var(--muted-3); }
.pass-row-val { color: var(--accent); transition: color .3s; }
@media (prefers-reduced-motion: reduce) {
  .pass-row-val { transition-duration: .001ms; }
}
.pass-row-val.is-blocked { color: var(--red); }
.pass-row-orig {
  color: var(--muted) !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-hint {
  text-align: center;
  font: 10px var(--mono);
  letter-spacing: .08em;
  color: var(--muted-3);
  text-transform: uppercase;
  margin-top: 14px;
}

/* ---- section head (reusable, all numbered 01-05 sections) ---------------------- */
.sec { border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px 20px;
}
.section-num { font: 700 12px var(--mono); }
.section-title {
  font: 600 12px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg);
}
.section-rule { flex: 1; height: 1px; background: var(--line); }
.section-kicker { font: 10.5px var(--mono); letter-spacing: .1em; color: var(--muted-3); }

.sec-intro-wrap { padding: 0 28px 8px; }
.sec-intro {
  font: 16px/1.6 var(--sans);
  color: var(--muted-2);
  max-width: 560px;
  margin: 8px 0 4px;
}
.sec-footnote {
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  font: 10.5px var(--mono);
  letter-spacing: .04em;
  color: var(--muted-3);
}

/* ---- scroll reveal ---------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { transition: none; opacity: 1; transform: none; }
}

/* ---- 01 stats ledger --------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
@media (max-width: 1100px) and (min-width: 861px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat { padding: 36px 28px 40px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-big { font: 700 54px/1 var(--mono); letter-spacing: -.03em; }
/* Fluid cap: 250px fixed left ~200px dead space in the 3-col stat grid at
   wide viewports once .wrap grew to 1440px (each stat column is ~480px). */
.stat-label { font: 14px/1.5 var(--sans); color: var(--muted-2); margin-top: 16px; max-width: clamp(220px, 20.7vw + 42px, 340px); }

/* ---- 02 flip ------------------------------------------------------------------------ */
.flip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.flip-card { padding: 44px 32px; border-top: 3px solid; }
.flip-card-red { border-right: 1px solid var(--line); border-top-color: var(--red); }
.flip-card-green { border-top-color: var(--accent); }
.flip-kicker {
  font: 600 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.flip-title {
  font: 600 32px/1.08 var(--mono);
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--fg);
}
.flip-p { font: 15px/1.6 var(--sans); color: var(--muted-2); }

/* ---- 03 security spec ------------------------------------------------------------------ */
.spec-row {
  display: grid;
  grid-template-columns: 56px 40px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px;
  border-top: 1px solid var(--line);
}
.spec-row-last { border-bottom: 1px solid var(--line); }
.spec-num { font: 700 22px var(--mono); color: var(--line-2); }
.spec-icon { color: var(--accent); }
.spec-title { font: 600 19px var(--mono); letter-spacing: -.01em; margin-bottom: 8px; color: var(--fg); }
.spec-desc { font: 14.5px/1.6 var(--sans); color: var(--muted-2); max-width: 620px; }

/* ---- 04 vault + mcp — paper invert --------------------------------------------------------- */
.sec-paper { background: var(--cream); color: var(--on-cream); }
.section-head-paper .section-num,
.section-title-paper { color: var(--on-cream); }
.section-rule-paper { background: var(--paper-line); }
.paper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--paper-line);
}
.paper-col { padding: 44px 32px; }
.paper-col-dashed { border-right: 2px dashed var(--paper-line); }
.paper-kicker {
  font: 600 11px var(--mono);
  letter-spacing: .12em;
  color: var(--paper-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.paper-title {
  font: 600 27px/1.12 var(--mono);
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--on-cream);
}
.paper-p { font: 15px/1.6 var(--sans); color: var(--on-cream-muted); }

/* ---- 05 features ------------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border-top: 1px solid var(--line);
}
.feature-reversed { grid-template-columns: 1.05fr 1fr; }
.feature-reversed .feature-mock { order: -1; border-right: 1px solid var(--line); border-left: none; }

.feature-text { padding: 52px 40px; border-right: 1px solid var(--line); }
.feature-reversed .feature-text { border-right: none; }
.feature-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.feature-fn { font: 700 12px var(--mono); }
.feature-fn-label {
  font: 10.5px var(--mono);
  letter-spacing: .14em;
  color: var(--muted-3);
  text-transform: uppercase;
}
.feature-h3 {
  font: 600 27px/1.14 var(--mono);
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--fg);
}
.feature-p {
  font: 15.5px/1.65 var(--sans);
  color: var(--muted-2);
  margin: 0 0 24px;
  /* Same fluid-cap treatment as .hero-p: scales with .wrap between the
     860px breakpoint and the 1440px ceiling instead of stopping at a
     fixed 400px and leaving dead space in the text column. */
  max-width: clamp(340px, 24.1vw + 132px, 480px);
}
.feature-list { display: flex; flex-direction: column; gap: 11px; font: 12.5px var(--mono); color: var(--muted); }
.feature-item { display: flex; gap: 10px; }
.arrow { flex: none; }

.feature-mock {
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
}

/* FN.01 pass mockup */
.mock-pass {
  display: flex;
  width: 100%;
  /* Fluid cap so the mockup card grows with its .feature-mock column at
     wide viewports instead of leaving a fixed dead gutter (same pattern
     as .hero-p / .pass-card above). */
  max-width: clamp(360px, 24.1vw + 152px, 500px);
  border: 1px solid var(--line-2);
  background: var(--surface);
  position: relative;
}
.mock-pass-stub {
  width: 96px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-right: 2px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
}
.mock-pass-stub-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 600 13px var(--mono);
  letter-spacing: .16em;
  color: var(--accent);
}
.mock-hole {
  position: absolute;
  right: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-3);
}
.mock-hole-top { top: -8px; }
.mock-hole-bottom { bottom: -8px; }
.mock-pass-serial {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font: 8.5px var(--mono);
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}
.mock-pass-body { flex: 1; padding: 22px 24px; min-width: 0; position: relative; }
.mock-stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  transform: rotate(-9deg);
  padding: 4px 10px;
  font: 700 11px var(--mono);
  letter-spacing: .14em;
  border: 2px solid;
}
.mock-stamp-active { border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent); }
.mock-pass-kicker { font: 10.5px var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 9px; }
.mock-pass-name { font: 600 15px var(--sans); color: var(--fg); margin-bottom: 18px; }
.mock-pass-token { font: 16px var(--mono); color: var(--accent); margin-bottom: 18px; }
.mock-token-dots { color: var(--faint); }
.mock-barcode {
  height: 24px;
  background: repeating-linear-gradient(90deg, var(--fg-2) 0 2px, transparent 2px 4px, var(--fg-2) 4px 5px, transparent 5px 9px, var(--fg-2) 9px 12px, transparent 12px 14px);
  opacity: .28;
  margin-bottom: 16px;
}
.mock-rows { display: flex; flex-direction: column; gap: 9px; font: 11.5px var(--mono); }
.mock-row { display: flex; justify-content: space-between; }
.mock-row-label { color: var(--muted-3); }
.mock-row-val { color: var(--muted); }
.mock-row-muted { color: var(--muted); }
.mock-row-orig { display: inline-flex; align-items: center; gap: 5px; }

/* FN.02 guardrails mockup */
.guard-stack { width: 100%; max-width: clamp(360px, 20.7vw + 182px, 480px); display: flex; flex-direction: column; gap: 14px; }
.guard-card { border: 1px solid var(--line-2); background: var(--surface); padding: 16px 18px; }
.guard-card-label { font: 10.5px var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.guard-ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.guard-ip-row-ok {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 11px;
}
.guard-ip { font: 13px var(--mono); color: var(--fg); }
.guard-badge { font: 11.5px var(--mono); padding: 2px 9px; border: 1px solid; }
.guard-badge-ok { color: var(--accent); border-color: var(--paper-accent); }
.guard-badge-bad { color: var(--red); border-color: var(--red-line); }
.gauge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gauge-card { border: 1px solid var(--line-2); background: var(--surface); padding: 16px 18px; }
.gauge-label { font: 10.5px var(--mono); letter-spacing: .05em; color: var(--muted); }
.gauge-value { font: 600 24px var(--mono); margin: 8px 0 12px; color: var(--fg); }
.gauge-track { height: 6px; background: var(--line); }
.gauge-bar { height: 6px; }
.gauge-bar-green { background: var(--accent); }
.gauge-bar-amber { background: var(--amber); }

/* FN.03 request-log table mockup */
.feature-mock-scroll { overflow-x: auto; }
.log-table {
  width: 100%;
  max-width: clamp(380px, 24.1vw + 172px, 520px);
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.log-row {
  display: grid;
  grid-template-columns: 64px 60px 1fr 56px 62px;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font: 12.5px var(--mono);
  align-items: center;
}
.log-row-last { border-bottom: none; }
.log-head {
  border-bottom: 1px solid var(--line-2);
  font: 10px var(--mono);
  letter-spacing: .05em;
  color: var(--muted);
  text-transform: uppercase;
}
.log-path { color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-right { text-align: right; }

/* FN.04 MCP panel mockup */
.mcp-panel { width: 100%; max-width: clamp(360px, 24.1vw + 152px, 500px); border: 1px solid var(--line-2); background: var(--surface); }
.mcp-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); }
.mcp-dot { width: 7px; height: 7px; background: var(--purple); display: block; border-radius: 50%; }
.mcp-head-title { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--fg); }
.mcp-connected { margin-left: auto; font: 9.5px var(--mono); letter-spacing: .12em; color: var(--purple); }
.mcp-body { padding: 18px; }
.mcp-field-label { font: 10px var(--mono); letter-spacing: .06em; color: var(--muted-3); margin-bottom: 7px; }
.mcp-field {
  font: 13px var(--mono);
  color: var(--fg-2);
  background: var(--input-bg);
  border: 1px solid var(--line);
  padding: 10px 12px;
  margin-bottom: 14px;
  word-break: break-all;
}
.mcp-field-purple { color: var(--purple); margin-bottom: 16px; }
.mcp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mcp-chip {
  font: 11px var(--mono);
  color: var(--muted-2);
  border: 1px solid var(--line-2);
  padding: 4px 9px;
}
.mcp-chip-more { color: var(--muted-3); border-color: var(--line); }
.mcp-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--red-line);
  background: var(--red-bg);
}
.mcp-warn-icon { flex: none; margin-top: 1px; color: var(--red); }
.mcp-warn-text { font: 11.5px/1.5 var(--mono); color: #e0a0a0; }

/* ---- CTA ------------------------------------------------------------------------------------------ */
.cta {
  border-top: 1px solid var(--line);
  padding: 72px 28px 80px;
  text-align: center;
  position: relative;
}
.cta-stamp {
  position: absolute;
  top: 40px;
  right: 36px;
  transform: rotate(-9deg);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  font: 700 13px var(--mono);
  letter-spacing: .16em;
}
.cta-kicker {
  font: 600 11px var(--mono);
  letter-spacing: .14em;
  color: var(--muted-3);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.cta-h2 {
  font: 600 52px/1.02 var(--mono);
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0 auto 22px;
  max-width: 680px;
  color: var(--fg);
}
.cta-p {
  font: 16.5px/1.55 var(--sans);
  color: var(--muted-2);
  max-width: 500px;
  margin: 0 auto 34px;
}
.cta-btn { padding: 17px 36px; font-size: 14px; margin-bottom: 22px; }
.cta-fine {
  font: 11px var(--mono);
  letter-spacing: .06em;
  color: var(--muted-3);
  text-transform: uppercase;
}

/* ---- footer ------------------------------------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font: 10.5px var(--mono);
  letter-spacing: .08em;
  color: var(--muted-3);
  text-transform: uppercase;
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.foot-right { margin-left: auto; }
.foot-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-link:hover { color: var(--accent); }

/* =========================================================================================================
   RESPONSIVE
   Breakpoints: 860px (stack 2-col grids), 640px (tighten section padding +
   scale display type further), plus overflow guards for the request-log
   table and MCP chip row so a 375px viewport never gains horizontal scroll.
   ========================================================================================================= */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { border-right: none; border-bottom: 1px solid var(--line); padding: 44px 20px 40px; }
  .hero-pass-wrap { padding: 44px 20px; }
  .hero-h1 { font-size: clamp(40px, 11vw, 64px); }

  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }

  .flip-grid { grid-template-columns: 1fr; }
  .flip-card-red { border-right: none; border-bottom: 1px solid var(--line); }

  .spec-row { grid-template-columns: 32px 32px 1fr; gap: 16px; padding: 24px 20px; }

  .paper-grid { grid-template-columns: 1fr; }
  .paper-col-dashed { border-right: none; border-bottom: 2px dashed var(--paper-line); }

  .feature, .feature-reversed { grid-template-columns: 1fr; }
  .feature-text { border-right: none; padding: 40px 20px; }
  .feature-reversed .feature-mock { order: 0; border-right: none; border-bottom: 1px solid var(--line); }
  .feature-mock { padding: 32px 20px; border-bottom: 1px solid var(--line); }

  .section-head { padding: 20px 20px 18px; flex-wrap: wrap; }
  .section-kicker { flex-basis: 100%; margin-left: 48px; }
  .sec-intro-wrap { padding: 0 20px 8px; }
  .sec-footnote { padding: 14px 20px; }

  .nav { padding: 0 20px; }
  .nav-kicker { display: none; }
  .strip { padding: 10px 20px; }

  .cta { padding: 56px 20px 64px; }
  .cta-stamp { position: static; display: inline-block; transform: rotate(-9deg); margin-bottom: 24px; }
  .cta-h2 { font-size: clamp(32px, 8vw, 44px); }

  .foot { padding: 18px 20px; }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: clamp(36px, 12vw, 48px); }
  .hero-copy { padding: 36px 16px 32px; }
  .hero-pass-wrap { padding: 36px 16px; }
  .hero-p { max-width: 100%; }

  .section-head { padding: 18px 16px 16px; }
  .sec-intro-wrap { padding: 0 16px 8px; }
  .sec-footnote { padding: 12px 16px; }
  .stat { padding: 28px 16px 32px; }
  .flip-card { padding: 32px 20px; }
  .spec-row { padding: 20px 16px; }
  .paper-col { padding: 32px 20px; }
  .feature-text { padding: 32px 16px; }
  .feature-mock { padding: 24px 16px; }

  .cta { padding: 48px 16px 56px; }
  .cta-h2 { font-size: clamp(28px, 9vw, 36px); }
  .cta-p { max-width: 100%; }

  .nav { padding: 0 16px; }
  .strip { padding: 10px 16px; font-size: 9.5px; }
  .foot { padding: 16px; }

  /* Prevent the fixed-column mockups from forcing page-level horizontal
     scroll: let each mockup scroll internally instead. */
  .log-table { min-width: 420px; }
  .mcp-chips { row-gap: 8px; }
}
