@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #faf9f7;
  --paper: #f2f0eb;
  --ink: #060809;
  --screen: #010307;
  --screen-rule: #364044;
  --muted: #5a6062;
  --rule: #a8adae;
  --lime: #ddff03;
  --blue: #033eb6;
  --blue-bright: #2d6cff;
  --coral: #ff6045;
  --green: #11865f;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.52;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--lime); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--ground); border-radius: 0; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }
h1, h2, h3, p { overflow-wrap: break-word; }
.ui-icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-nav, .app-nav {
  min-height: 82px;
  padding: 0 clamp(20px, 3.5vw, 56px);
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ground);
  position: relative;
  z-index: 30;
}
.site-nav nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); margin-left: auto; }
.site-nav nav a, .text-link { text-decoration: none; font-weight: 550; font-size: .94rem; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-lockup { display: block; width: 194px; height: 48px; color: inherit; overflow: visible; }
.nav-cta {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  transition: background .18s ease, color .18s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--lime); }
.nav-cta-compact { display: none; }

.var-hero {
  display: grid;
  grid-template-columns: minmax(560px, .91fr) minmax(620px, 1.09fr);
  grid-template-rows: 56px 650px auto;
  background: var(--screen);
  color: var(--ground);
  overflow: hidden;
  position: relative;
}
.broadcast-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0 clamp(20px, 3.5vw, 54px);
  border-bottom: 1px solid var(--screen-rule);
  font-family: var(--display);
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.broadcast-status strong { color: var(--lime); font-weight: 700; }
.broadcast-status i { width: 1px; height: 22px; background: #626b6e; }
.broadcast-id { margin-left: auto; color: #cfd4d3; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 4px 14px rgba(221, 255, 3, .2); }
.hero-copy {
  min-width: 0;
  padding: clamp(54px, 7vh, 86px) 22px 36px clamp(28px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(6.25rem, 7.3vw, 7.25rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .82;
  text-wrap: balance;
}
.hero-copy h1 span { display: block; width: max-content; white-space: nowrap; transform-origin: left center; }
.hero-copy h1 span:first-child { transform: scaleX(.94); }
.hero-copy h1 span:last-child { transform: scaleX(.72); }
.hero-copy > p { margin: 32px 0 0; max-width: 46ch; color: #d9dddc; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.48; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button {
  min-height: 50px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .018em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s cubic-bezier(.16,1,.3,1);
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button.primary:hover:not(:disabled) { background: #fff; border-color: #fff; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover:not(:disabled) { background: var(--ink); color: var(--ground); }
.button.ghost { color: var(--ground); border-color: #cfd4d3; background: transparent; }
.button.ghost:hover { color: var(--lime); border-color: var(--lime); }
.button:disabled { opacity: .43; cursor: not-allowed; }
.route-key { margin-top: auto; padding-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; color: #cfd4d3; font-family: var(--display); font-size: .82rem; text-transform: uppercase; }
.route-key span { display: flex; align-items: center; gap: 8px; }
.route-key i { width: 31px; height: 3px; display: block; }
.risk-key { background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 13px); }
.verified-key { background: var(--blue-bright); }
.review-key { background: var(--lime); }

.var-stage {
  margin: 24px 30px 24px 0;
  min-width: 0;
  min-height: 560px;
  border: 1px solid #5a6466;
  position: relative;
  overflow: hidden;
  background-color: #04080b;
  background-image: radial-gradient(circle at center, rgba(165, 183, 186, .19) 0 1px, transparent 1.3px);
  background-size: 20px 20px;
}
.hero-var-slash {
  position: absolute;
  z-index: 8;
  left: 49%;
  top: 82px;
  width: 5px;
  height: 620px;
  background: var(--lime);
  transform: rotate(17deg);
  transform-origin: top center;
  box-shadow: 0 0 0 1px rgba(1, 3, 7, .35), 0 0 20px rgba(221, 255, 3, .15);
  pointer-events: none;
}
.hero-var-slash::before, .hero-var-slash::after { content: ""; position: absolute; left: 50%; width: 18px; height: 18px; border: 4px solid var(--lime); border-radius: 50%; background: var(--screen); transform: translateX(-50%); }
.hero-var-slash::before { top: -9px; }
.hero-var-slash::after { bottom: -9px; }
.hero-var-slash i { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 35%, #fff 49%, transparent 63%); background-size: 100% 220%; animation: slash-scan 2.4s cubic-bezier(.16,1,.3,1) infinite; }
.var-stage::before, .var-stage::after { content: ""; position: absolute; width: 24px; height: 24px; z-index: 3; pointer-events: none; }
.var-stage::before { left: 10px; top: 10px; border-left: 2px solid #7e8688; border-top: 2px solid #7e8688; }
.var-stage::after { right: 10px; bottom: 10px; border-right: 2px solid #7e8688; border-bottom: 2px solid #7e8688; }
.review-tab {
  position: absolute;
  z-index: 4;
  left: 18px;
  top: 18px;
  padding: 7px 16px 7px 11px;
  background: var(--lime);
  color: var(--ink);
  clip-path: polygon(0 0,100% 0,90% 100%,0 100%);
  font-family: var(--display);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
}
.var-map { width: 100%; height: 100%; min-height: 500px; display: block; }
.pitch-lines { fill: none; stroke: #586164; stroke-width: 1.5; opacity: .55; }
.risk-route { fill: none; stroke: var(--coral); stroke-width: 5; stroke-dasharray: 12 11; }
.risk-route path:first-child { animation: signal-flow 2.4s linear infinite; }
.verified-route { fill: none; stroke: var(--blue-bright); stroke-width: 6; }
.map-node > circle { fill: #080d11; stroke: var(--blue-bright); stroke-width: 3; }
.map-node > path, .map-node > rect { fill: none; stroke: #f8faf8; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.map-node > circle:not(:first-child) { fill: #f8faf8; stroke: none; }
.map-node text, .route-label { fill: #f8faf8; font-family: var(--display); font-weight: 700; text-anchor: middle; letter-spacing: .02em; }
.map-node text { font-size: 17px; }
.risk-label { fill: var(--coral); font-size: 14px; }
.verified-label { fill: #89aaff; font-size: 14px; }
.site-risk-link { fill: none; stroke: var(--coral); stroke-width: 4; stroke-dasharray: 9 8; }
.site-safe-link { fill: none; stroke: var(--blue-bright); stroke-width: 5; }
.verdict-bar {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  width: min(480px, calc(100% - 44px));
  min-height: 98px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1.25fr 1px .82fr 52px;
  align-items: center;
  gap: 18px;
  border: 1px solid #758083;
  background: rgba(1, 3, 7, .94);
}
.verdict-bar span { display: flex; flex-direction: column; }
.verdict-bar small { color: var(--lime); font-family: var(--display); font-size: .74rem; text-transform: uppercase; }
.verdict-bar strong { margin-top: 3px; font-family: var(--display); font-size: 1.28rem; line-height: 1.02; letter-spacing: .01em; }
.verdict-bar i { height: 62px; background: var(--lime); }
.verdict-bar b { width: 43px; height: 43px; display: grid; place-items: center; border: 3px solid var(--lime); border-radius: 50%; color: var(--lime); }
.verdict-check { width: 27px; height: 27px; stroke-width: 2.4; }
@keyframes signal-flow { to { stroke-dashoffset: -46; } }
@keyframes slash-scan { from { background-position: 0 130%; opacity: 0; } 20%,75% { opacity: .9; } to { background-position: 0 -130%; opacity: 0; } }

.process-ticker {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: .62fr repeat(4, 1fr);
  background: var(--ground);
  color: var(--ink);
  border-top: 1px solid var(--ink);
}
.process-ticker li { min-height: 105px; padding: 17px clamp(13px, 2vw, 28px); display: grid; grid-template-columns: auto 46px 1fr; align-items: center; gap: 14px; border-right: 1px solid var(--ink); }
.process-ticker li:last-child { border-right: 0; }
.process-ticker li > b { color: var(--blue); font-family: var(--display); font-size: 1.9rem; }
.process-ticker svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-ticker li > span { display: flex; flex-direction: column; line-height: 1.08; }
.process-ticker strong { font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.process-ticker small { margin-top: 6px; color: var(--muted); font-size: .72rem; }
.process-ticker .ticker-label { grid-template-columns: 1fr; gap: 0; align-content: center; }
.ticker-label span { font-family: var(--display); font-size: .78rem; }
.ticker-label strong { font-size: 1.45rem; }

.match-radar {
  display: grid;
  grid-template-columns: minmax(520px, .9fr) minmax(650px, 1.1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ground);
}
.next-match-board, .fixture-week { min-width: 0; padding: clamp(44px, 5.5vw, 82px); }
.next-match-board { background-color: var(--screen); background-image: radial-gradient(circle at center, rgba(165, 183, 186, .16) 0 1px, transparent 1.3px); background-size: 22px 22px; color: var(--ground); }
.next-match-board > header, .fixture-week > header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid currentColor; }
.next-match-board h2, .fixture-week h2 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 3.2vw, 3.7rem); font-weight: 700; letter-spacing: -.025em; line-height: .9; }
.next-match-board > header span, .fixture-week > header p { margin: 0; color: #aeb7b7; font-family: var(--display); font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.featured-match { min-height: 260px; display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); align-items: center; gap: clamp(18px, 3vw, 42px); }
.featured-team { min-width: 0; display: grid; justify-items: start; align-content: center; }
.featured-team.away { justify-items: end; text-align: right; }
.team-crest { width: 72px; height: 72px; display: grid; place-items: center; position: relative; flex: none; }
.team-crest > span { width: 100%; height: 100%; display: grid; place-items: center; border: 1px solid currentColor; color: var(--lime); font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; }
.team-crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ground); }
.featured-team strong { max-width: 12ch; margin-top: 18px; font-family: var(--display); font-size: clamp(1.5rem, 2vw, 2.15rem); line-height: .94; }
.featured-team small { margin-top: 8px; color: #9fa8a9; font-family: var(--display); font-size: .7rem; letter-spacing: .08em; }
.featured-kickoff { display: grid; justify-items: center; color: #d7dcdb; text-align: center; }
.featured-kickoff span { max-width: 12ch; font-family: var(--display); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.featured-kickoff b { margin: 12px 0 9px; color: var(--lime); font-family: var(--display); font-size: 2.2rem; font-style: italic; }
.featured-kickoff time { max-width: 15ch; font-family: var(--display); font-size: .86rem; font-weight: 600; text-transform: uppercase; }
.countdown-panel { padding-top: 22px; border-top: 1px solid #667073; position: relative; }
.countdown-panel > span { color: var(--lime); font-family: var(--display); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.countdown-panel output { display: block; margin-top: 5px; color: #fff; font-family: var(--display); font-size: clamp(3.05rem, 4.8vw, 5.15rem); font-weight: 700; letter-spacing: -.025em; line-height: .86; font-variant-numeric: tabular-nums; white-space: nowrap; }
.countdown-panel p { margin: 14px 0 0; color: #adb6b6; font-size: .82rem; }
.countdown-panel.is-urgent { border-top-color: var(--coral); }
.countdown-panel.is-urgent > span { color: var(--coral); }
.countdown-panel.is-urgent::after { content: "ACTÚA HOY"; position: absolute; top: 18px; right: 0; padding: 4px 7px; border: 1px solid var(--coral); color: var(--coral); font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .07em; }
.match-countdown.is-urgent { color: var(--coral); }
.fixture-week { background: var(--ground); }
.fixture-week > header p { max-width: 28ch; color: var(--muted); text-align: right; }
.fixture-week ol { list-style: none; margin: 0; padding: 0; }
.fixture-week li { min-height: 112px; display: grid; grid-template-columns: 142px 1fr auto; align-items: center; gap: 28px; border-bottom: 1px solid var(--rule); }
.fixture-week time { display: flex; flex-direction: column; }
.fixture-week time strong { color: var(--blue); font-family: var(--display); font-size: 1.12rem; text-transform: uppercase; }
.fixture-week time span { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.fixture-pair { min-width: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; }
.fixture-pair > span { min-width: 0; display: flex; align-items: center; gap: 12px; }
.fixture-pair > span:last-child { flex-direction: row-reverse; text-align: right; }
.fixture-pair .team-crest { width: 42px; height: 42px; }
.fixture-pair .team-crest > span { color: var(--blue); font-size: .82rem; }
.fixture-pair b { font-family: var(--display); font-size: 1.13rem; line-height: .94; }
.fixture-pair i { color: var(--muted); font-family: var(--display); font-size: .78rem; font-style: normal; }
.fixture-week li > em { padding: 5px 8px; border: 1px solid var(--ink); font-family: var(--display); font-size: .65rem; font-style: normal; font-weight: 700; letter-spacing: .035em; white-space: nowrap; }
.fixture-attribution { max-width: 82ch; margin: 22px 0 0; color: var(--muted); font-size: .7rem; }
.fixture-empty { min-height: 350px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; }
.fixture-empty h3 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(3rem, 4.7vw, 5rem); font-weight: 700; letter-spacing: -.025em; line-height: .85; }
.fixture-empty p { max-width: 55ch; margin: 22px 0 0; color: #b7bfbf; }
.fixture-scan { position: absolute; right: 16%; top: 10%; width: 3px; height: 58%; background: var(--lime); transform: rotate(21deg); transform-origin: top; box-shadow: 0 4px 15px rgba(221,255,3,.16); }
.fixture-week-empty { min-height: 315px; display: grid; place-items: center; color: var(--muted); border-bottom: 1px solid var(--rule); text-align: center; }

.mechanism, .pricing { padding: clamp(88px, 9vw, 148px) clamp(22px, 7vw, 112px); }
.mechanism { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 8vw, 132px); background: var(--ground); }
.section-intro h2, .honesty h2 { margin: 0; font-family: var(--display); font-size: clamp(3.4rem, 5.6vw, 5.8rem); font-weight: 700; letter-spacing: -.03em; line-height: .86; text-wrap: balance; }
.section-intro > p { max-width: 61ch; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.decision-log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.decision-log li { display: grid; grid-template-columns: 66px 1fr auto; gap: 22px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.decision-log time { color: var(--blue); font-family: var(--display); font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.decision-log strong { font-family: var(--display); font-size: 1.65rem; line-height: 1; }
.decision-log p { max-width: 62ch; margin: 8px 0 0; color: var(--muted); }
.decision-log li > span { padding: 4px 8px; border: 1px solid var(--ink); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.decision-log li > span.active { background: var(--lime); }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--lime); color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.proof-strip p { margin: 0; padding: 24px; text-align: center; border-right: 1px solid var(--ink); font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.proof-strip p:last-child { border-right: 0; }

.pricing { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(56px, 8vw, 130px); background: var(--paper); }
.price-ledger { border-top: 1px solid var(--ink); }
.price-ledger article { display: grid; grid-template-columns: 1fr auto; gap: 16px 42px; padding: 38px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.plan-code { margin: 0 0 8px !important; color: var(--blue) !important; font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.price-ledger h3 { max-width: 18ch; margin: 0; font-family: var(--display); font-size: 2.2rem; line-height: .98; }
.plan-copy > p:last-child { max-width: 48ch; margin: 12px 0 0; color: var(--muted); }
.price { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.price strong { display: block; font-family: var(--display); font-size: 3.3rem; line-height: .82; }
.price span { display: block; margin-top: 8px; color: var(--muted); font-size: .75rem; }
.price-ledger ul { grid-column: 1; margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.price-ledger article > .button { grid-column: 2; grid-row: 2; align-self: end; }
.relay-plan .plan-code { color: var(--blue) !important; }
.single-price article { padding-block: 46px; }
.single-price code { padding: 1px 4px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-family: var(--sans); }

.honesty { padding: clamp(76px, 8vw, 120px) clamp(22px, 7vw, 112px); display: flex; align-items: end; justify-content: space-between; gap: 56px; background: var(--screen); color: var(--ground); }
.honesty h2 { max-width: 14ch; font-size: clamp(3rem, 4.7vw, 5rem); }
.honesty p { max-width: 70ch; color: #c6cccb; }
.honesty > a { flex: none; color: var(--lime); font-family: var(--display); font-size: 1.14rem; font-weight: 700; text-transform: uppercase; }
footer { padding: 42px clamp(22px, 3.5vw, 56px); display: grid; grid-template-columns: auto minmax(190px, .8fr) auto minmax(260px, 1.1fr) auto; gap: 30px; align-items: center; border-top: 1px solid #424b4d; background: var(--screen); color: var(--ground); font-size: .76rem; }
footer p { margin: 0; color: #aeb7b7; }
.footer-mark .brand-lockup { width: 145px; height: 36px; }
.legal { max-width: 62ch; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #fff; font-weight: 600; text-decoration-color: #626b6e; }

.app-nav { background: var(--ground); }
.app-nav > div { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.secure-note, .control-status { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.secure-note i, .control-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.onboarding-shell { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(330px, 34%) 1fr; }
.step-rail { min-height: calc(100vh - 82px); padding: clamp(44px, 5vw, 76px); background-color: var(--screen); background-image: radial-gradient(circle at center, rgba(165, 183, 186, .16) 0 1px, transparent 1.3px); background-size: 22px 22px; color: var(--ground); position: relative; overflow: hidden; }
.rail-signal { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #687174; color: var(--lime); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.step-rail h1 { max-width: 8ch; margin: 46px 0 0; font-family: var(--display); font-size: clamp(3.8rem, 5.3vw, 5.6rem); font-weight: 700; letter-spacing: -.035em; line-height: .84; }
.step-rail ol { list-style: none; margin: 62px 0 36px; padding: 0; position: relative; z-index: 2; }
.step-rail li { display: flex; align-items: center; gap: 14px; min-height: 48px; color: #8f999a; border-top: 1px solid #414a4d; font-family: var(--display); font-size: 1.03rem; font-weight: 600; text-transform: uppercase; }
.step-rail li:last-child { border-bottom: 1px solid #414a4d; }
.step-rail li span { width: 31px; color: inherit; font-variant-numeric: tabular-nums; }
.step-rail li.active, .step-rail li.complete { color: #fff; }
.step-rail li.active span { color: var(--lime); }
.step-rail li.complete span { color: #79d8b7; }
.step-rail > p { max-width: 34ch; color: #b8c0c0; font-size: .85rem; position: relative; z-index: 2; }
.rail-line { position: absolute; right: -35px; top: 130px; width: 5px; height: 75%; background: var(--lime); transform: rotate(24deg); transform-origin: top; box-shadow: 0 5px 12px rgba(221, 255, 3, .13); }
.onboarding-panel { padding: clamp(50px, 7vw, 100px); background: var(--ground); position: relative; }
.onboarding-panel::before { content: ""; position: absolute; top: 28px; right: 28px; width: 22px; height: 22px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.form-stage { max-width: 760px; }
.form-stage.hidden { display: none; }
.stage-count { margin: 0 0 13px; color: var(--blue); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.form-stage h2 { max-width: 13ch; margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 5.5vw, 5.8rem); font-weight: 700; letter-spacing: -.035em; line-height: .86; }
.form-stage > p:not(.stage-count):not(.fine-print) { max-width: 62ch; margin: 22px 0 36px; color: var(--muted); }
.form-stage label:not(.route-choice label):not(.consent label) { display: block; margin: 27px 0 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.form-stage select, .form-stage input[type="url"] { width: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); }
.form-stage select:disabled { opacity: .55; }
.form-stage > .button { margin-top: 32px; }
.notice { display: none; max-width: 760px; margin-bottom: 32px; padding: 12px 15px; border: 1px solid var(--ink); background: var(--lime); font-weight: 600; }
.notice.visible { display: block; }
.notice.error { display: block; background: #ffd1c7; }
.record-summary { min-height: 24px; margin-top: 18px; color: var(--muted); font-size: .88rem; }
.record-chip { display: inline-flex; align-items: center; min-height: 27px; margin: 0 6px 6px 0; padding: 3px 9px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.compatibility-warning, .compatibility-ok { max-width: 68ch; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); }
.compatibility-warning { color: #8a2b1c; }
.compatibility-ok { color: var(--green); }
.route-choice label:has(input:disabled) { cursor: not-allowed; opacity: .46; }
.route-choice.single-route > div { padding: 25px 4px; border-bottom: 1px solid var(--ink); background: color-mix(in srgb, var(--lime) 18%, transparent); }
.route-choice.single-route span { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; }
.route-choice.single-route strong { font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.route-choice.single-route small { align-self: center; font-weight: 700; }
.route-choice.single-route em { grid-column: 1 / -1; color: var(--muted); font-style: normal; }
.risk-panel { margin-top: 25px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.risk-panel.hidden { display: none; }
.risk-heading { display: flex; align-items: center; gap: 11px; }
.risk-heading strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.risk-signal { width: 11px; height: 11px; border-radius: 50%; background: var(--rule); flex: none; }
.risk-panel.loading .risk-signal { background: var(--blue); animation: risk-pulse 1.3s ease-out infinite; }
.risk-panel.active .risk-signal { background: var(--coral); }
.risk-panel.history .risk-signal { background: #d29300; }
.risk-panel.clear .risk-signal { background: var(--green); }
.risk-panel.unavailable .risk-signal { background: var(--muted); }
.risk-panel > p { max-width: 68ch; margin: 10px 0 0; color: var(--muted); }
.risk-fixture { color: var(--ink) !important; font-weight: 650; }
.risk-source { font-size: .76rem; }
@keyframes risk-pulse { 0%,100% { transform: scale(.8); opacity: .65; } 55% { transform: scale(1); opacity: 1; } }
.back-button { margin: 0 0 34px; padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.route-choice { margin-top: 38px; border-top: 1px solid var(--ink); }
.route-choice label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 25px 4px; border-bottom: 1px solid var(--ink); cursor: pointer; }
.route-choice label:has(input:checked) { background: color-mix(in srgb, var(--lime) 18%, transparent); }
.route-choice input { margin-top: 7px; accent-color: var(--blue); }
.route-choice span { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; }
.route-choice strong { font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.route-choice small { align-self: center; font-weight: 700; }
.route-choice em { grid-column: 1 / -1; color: var(--muted); font-style: normal; }
.route-autodetect { margin-top: 30px; padding: 24px; border: 1px solid var(--rule); background: var(--paper); }
.route-autodetect-label { margin: 0 0 10px; color: var(--blue); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .07em; }
.route-autodetect h3 { margin: 0; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.route-autodetect > p:not(.route-autodetect-label) { max-width: 62ch; margin: 10px 0 0; color: var(--muted); }
.route-autodetect ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; counter-reset: automatic-route; }
.route-autodetect li { padding: 13px 10px 0 0; color: var(--muted); font-size: .82rem; counter-increment: automatic-route; }
.route-autodetect li::before { content: "0" counter(automatic-route); display: block; margin-bottom: 4px; color: var(--blue); font-family: var(--display); font-size: 1rem; font-weight: 700; }
#review-list { margin: 38px 0 0; border-top: 1px solid var(--ink); }
#review-list div { display: grid; grid-template-columns: 160px 1fr; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
#review-list dt { color: var(--muted); font-family: var(--display); text-transform: uppercase; }
#review-list dd { margin: 0; font-weight: 650; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 28px; align-items: start; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.fine-print { color: var(--muted); font-size: .8rem; }

.dashboard { max-width: 1280px; margin: 0 auto; padding: 70px 28px 112px; }
.dashboard-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.control-status { margin: 0 0 18px; color: var(--blue); }
.control-status i { background: var(--lime); border: 1px solid var(--ink); }
.dashboard h1 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(4.2rem, 7vw, 7rem); font-weight: 700; letter-spacing: -.035em; line-height: .82; }
.control-board { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.control-board h2 { margin: 0; font-family: var(--display); font-size: 2.3rem; line-height: .95; }
.control-board p { max-width: 68ch; margin: 8px 0 0; color: var(--muted); }
.bulk-actions { display: flex; gap: 9px; }
.bulk-actions .button { min-height: 44px; padding: 9px 13px; font-size: .9rem; }
.dns-timing { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.dns-timing strong { font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.dns-timing p { max-width: 82ch; margin: 0; color: var(--muted); font-size: .84rem; }
.route-table-head, .route-row { display: grid; grid-template-columns: 1.35fr .75fr .75fr auto; gap: 25px; }
.route-table-head { padding: 15px 0; border-bottom: 1px solid var(--ink); color: var(--muted); font-family: var(--display); font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.routes-list { margin-top: 0; }
.route-row { align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.route-row h2 { margin: 0; font-family: var(--display); font-size: 1.65rem; line-height: 1; }
.route-row p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.automation-control { min-width: 0; display: grid; gap: 5px; }
.automation-control label { color: var(--muted); font-family: var(--display); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.automation-control select { width: min(100%, 230px); min-height: 38px; padding: 6px 30px 6px 9px; border: 1px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); font-size: .82rem; }
.automation-control small { max-width: 30ch; color: var(--muted); line-height: 1.3; }
.monitor-reading { max-width: 32ch; color: var(--blue); font-size: .72rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status.direct::before { background: var(--coral); }
.status.unknown::before, .status.drift::before { background: #d29300; }
.route-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.route-modes { display: flex; align-items: center; gap: 8px; }
.route-actions button { padding: 8px 11px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; cursor: pointer; font-family: var(--display); font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.route-actions button:hover { background: var(--ink); color: var(--lime); }
.route-actions .route-remove { min-width: 38px; padding-inline: 9px; color: var(--muted); border-color: var(--rule); gap: 6px; display: inline-flex; align-items: center; }
.route-actions .route-remove:hover { color: var(--ink); background: var(--coral); border-color: var(--ink); }
.route-actions button:disabled { opacity: .43; cursor: not-allowed; }
.loading-copy { color: var(--muted); }
.dashboard-feedback:not(:empty) { margin: 24px 0 0; }
.dashboard-notice { padding: 18px 0; border-bottom: 1px solid var(--green); }
.dashboard-notice strong { display: block; font-family: var(--display); font-size: 1.35rem; }
.dashboard-notice p { margin: 3px 0 0; color: var(--muted); }
.dashboard-recovery { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.dashboard-recovery p { margin: 0; color: var(--muted); }
.dashboard-recovery strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.35rem; }
.recovery-actions { display: flex; gap: 9px; flex: none; }
.recovery-actions .button { min-height: 42px; padding: 8px 13px; font-size: .9rem; }
.audit-ledger { margin-top: 70px; border-top: 1px solid var(--ink); }
.audit-ledger > header { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 0 18px; border-bottom: 1px solid var(--ink); }
.audit-ledger > header p, .audit-ledger > header > span { margin: 0 0 6px; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.audit-ledger h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .9; }
.audit-item { border-bottom: 1px solid var(--rule); }
.audit-item summary { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; }
.audit-item summary::-webkit-details-marker { display: none; }
.audit-item summary time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.audit-item summary strong { display: block; font-family: var(--display); font-size: 1.4rem; }
.audit-item summary p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.audit-outcome { font-family: var(--display); font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.audit-outcome::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--green); }
.audit-outcome.rolled_back::before { background: var(--amber, #d29300); }
.audit-outcome.failed::before { background: var(--coral); }
.audit-details { padding: 0 0 22px 174px; }
.audit-change { display: grid; grid-template-columns: minmax(130px, .55fr) 1fr 24px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--rule); font-size: .8rem; }
.audit-change b { font-family: var(--display); font-size: 1rem; }
.audit-change code { overflow-wrap: anywhere; color: var(--muted); font-family: inherit; }
.audit-change i { color: var(--blue); font-style: normal; text-align: center; }
.audit-error { margin: 0; color: var(--coral); font-size: .82rem; }

.notification-settings { margin-top: 70px; border-top: 1px solid var(--ink); }
.notification-settings > header { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 0 18px; border-bottom: 1px solid var(--ink); }
.notification-settings > header p, .notification-settings > header > span { margin: 0 0 6px; color: var(--blue); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.notification-settings h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .9; }
.notification-settings form > p { margin: 18px 0; color: var(--muted); }
.notification-settings form > label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 17px 0; border-top: 1px solid var(--rule); cursor: pointer; }
.notification-settings input { margin-top: 5px; accent-color: var(--blue); }
.notification-settings label span { display: grid; gap: 3px; }
.notification-settings label strong { font-family: var(--display); font-size: 1.25rem; }
.notification-settings label small { color: var(--muted); }
.notification-settings .button { margin-top: 20px; }
#notification-feedback { min-height: 24px; color: var(--green); }

.route-dialog { width: min(620px, calc(100vw - 32px)); padding: 0; color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; background: var(--ground); }
.route-dialog::backdrop { background: rgba(1, 3, 7, .78); }
.route-dialog form { padding: 0 28px 28px; }
.route-dialog header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); }
.route-dialog header > span { color: var(--coral); font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.dialog-close { width: 42px; height: 42px; display: grid; place-items: center; margin-inline-end: -10px; border: 0; background: transparent; cursor: pointer; }
.dialog-close:hover { color: var(--coral); }
.route-dialog h2 { margin: 28px 0 18px; font-family: var(--display); font-size: clamp(2.7rem, 6vw, 4.4rem); line-height: .88; letter-spacing: -.025em; }
.route-dialog h2 strong { display: block; overflow-wrap: anywhere; color: var(--blue); }
.route-dialog > form > p { max-width: 62ch; margin: 12px 0; color: var(--muted); }
.route-dialog .dialog-error:not(:empty) { padding: 12px 0; color: var(--ink); border-top: 1px solid var(--coral); border-bottom: 1px solid var(--coral); }
.route-dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.button.danger { color: var(--ink); background: var(--coral); border-color: var(--ink); }
.button.danger:hover:not(:disabled) { color: var(--ground); background: var(--ink); }

.app-identity { display: flex; align-items: center; gap: 18px; }
#clerk-user-button, #clerk-organization-switcher { display: flex; align-items: center; min-height: 34px; }
.auth-shell { min-height: calc(100svh - 82px); display: grid; grid-template-columns: minmax(430px, .95fr) minmax(520px, 1.05fr); background: var(--screen); }
.auth-pitch { padding: clamp(44px, 6vh, 72px) clamp(32px, 5vw, 76px); color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; }
.auth-pitch-inner { position: relative; z-index: 1; width: min(100%, 610px); }
.auth-pitch::after { content: ""; position: absolute; width: 7px; height: 125%; top: -12%; right: 12%; background: var(--lime); transform: rotate(22deg); box-shadow: 0 0 30px rgba(221,255,3,.2); }
.auth-pitch .control-status { color: var(--lime); }
.auth-pitch h1 { max-width: 8ch; margin: 36px 0 24px; font-family: var(--display); font-size: clamp(4.8rem, 7vw, 7.4rem); font-weight: 700; letter-spacing: -.04em; line-height: .81; }
.auth-pitch-inner > p:not(.control-status) { max-width: 46ch; margin: 0; color: #cbd0cf; font-size: 1.05rem; }
.auth-pitch ol { max-width: 520px; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid #596164; }
.auth-pitch li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid #596164; font-family: var(--display); font-weight: 600; text-transform: uppercase; }
.auth-pitch li b { color: var(--lime); font-variant-numeric: tabular-nums; }
.auth-card { padding: clamp(44px, 6vh, 72px) clamp(28px, 6vw, 88px); background-color: var(--ground); background-image: radial-gradient(circle at center, rgba(20,25,28,.12) 0 1px, transparent 1.3px); background-size: 23px 23px; display: flex; align-items: center; justify-content: center; }
.auth-dossier { width: min(100%, 520px); border: 1px solid var(--ink); background: #fff; }
.auth-dossier-head { min-height: 46px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: .78rem; letter-spacing: .06em; }
.auth-dossier-head strong { color: var(--blue); }
.clerk-sign-in { width: 100%; min-height: 0; padding: 26px 28px 10px; }
.clerk-sign-in > p { color: var(--muted); }
.auth-legal { margin: 0; padding: 16px 24px 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .78rem; text-align: center; }
.auth-error { padding: 16px; border: 1px solid var(--coral); background: #ffe5df; color: var(--ink) !important; }
.offside-clerk-root, .offside-clerk-card-box, .offside-clerk-card { width: 100% !important; max-width: none !important; }
.offside-clerk-card-box, .offside-clerk-card { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
.offside-clerk-title { font-family: var(--display) !important; text-transform: uppercase !important; }
.offside-clerk-primary { border-radius: 2px !important; font-family: var(--display) !important; font-weight: 700 !important; text-transform: uppercase !important; }

.trust-nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.trust-nav .text-link:last-child { display: inline-flex; align-items: center; gap: 7px; }
.legal-document { min-height: 80vh; }
.legal-hero { padding: clamp(70px, 9vw, 132px) clamp(22px, 7vw, 112px); background: var(--screen); color: #fff; }
.legal-hero > p, .security-hero > div > p { margin: 0 0 22px; color: var(--lime); font-family: var(--display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.legal-hero h1 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(4.8rem, 9vw, 8rem); line-height: .82; letter-spacing: -.035em; }
.legal-hero > div { max-width: 980px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #596164; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.legal-hero > div p { max-width: 62ch; margin: 0; color: #cbd0cf; font-size: 1.08rem; }
.legal-hero time { color: var(--lime); font-family: var(--display); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.legal-copy { max-width: 1040px; margin: 0 auto; padding: clamp(60px, 8vw, 112px) 28px; counter-reset: legal-section; }
.legal-copy section { display: grid; grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 92px); padding: 34px 0; border-top: 1px solid var(--rule); }
.legal-copy section:last-child { border-bottom: 1px solid var(--rule); }
.legal-copy h2 { margin: 0; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.legal-copy section > :not(h2) { grid-column: 2; }
.legal-copy section > p { max-width: 72ch; margin: 0 0 14px; }
.legal-copy ul { margin: 0; padding-left: 20px; }
.legal-copy li + li { margin-top: 9px; }

.security-page { background: var(--ground); }
.security-hero { min-height: 620px; padding: clamp(70px, 9vw, 132px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: end; gap: clamp(50px, 8vw, 130px); background-color: var(--screen); background-image: radial-gradient(circle at center, rgba(165, 183, 186, .16) 0 1px, transparent 1.3px); background-size: 22px 22px; color: #fff; }
.security-hero h1 { max-width: 11ch; margin: 0; font-family: var(--display); font-size: clamp(4.6rem, 8vw, 7.5rem); line-height: .82; letter-spacing: -.035em; }
.security-hero > div > p:last-child { max-width: 58ch; margin: 30px 0 0; color: #cbd0cf; font-size: 1.08rem; }
.security-hero dl { margin: 0; border-top: 1px solid #687174; }
.security-hero dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #687174; }
.security-hero dt { color: var(--lime); font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.security-hero dd { margin: 0; color: #fff; }
.security-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(70px, 8vw, 112px) clamp(22px, 7vw, 112px); }
.security-ledger article { min-height: 300px; padding: 34px clamp(24px, 4vw, 56px) 34px 0; border-top: 1px solid var(--ink); }
.security-ledger article:nth-child(even) { padding-right: 0; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--rule); }
.security-ledger h2, .security-boundary h2 { max-width: 14ch; margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 3.5vw, 3.8rem); line-height: .9; }
.security-ledger p { max-width: 67ch; color: var(--muted); }
.security-boundary { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--ink); }
.security-boundary > div { padding: clamp(60px, 7vw, 102px) clamp(22px, 7vw, 112px); }
.security-boundary > div:last-child { background: var(--lime); border-left: 1px solid var(--ink); }
.security-boundary p { max-width: 62ch; }
.security-boundary .button { margin-top: 20px; }

@media (max-width: 1180px) {
  .var-hero { grid-template-columns: minmax(360px, .78fr) minmax(540px, 1.22fr); }
  .hero-copy h1 { font-size: clamp(5rem, 7.8vw, 6rem); }
  .process-ticker li { grid-template-columns: auto 1fr; }
  .process-ticker svg { display: none; }
  .match-radar { grid-template-columns: minmax(430px, .82fr) minmax(510px, 1.18fr); }
  .next-match-board, .fixture-week { padding: 48px 36px; }
  .fixture-week li { grid-template-columns: 116px 1fr; }
  .fixture-week li > em { grid-column: 2; width: fit-content; margin: -20px 0 16px; }
  footer { grid-template-columns: auto 1fr auto; }
  footer .footer-links { grid-column: 2; }
  footer .legal { grid-column: 2; }
  footer > p:last-child { grid-column: 3; grid-row: 1; }
}

@media (max-width: 940px) {
  .site-nav nav { display: none; }
  .var-hero { width: 100%; max-width: 100vw; grid-template-columns: minmax(0, 1fr); grid-template-rows: 54px auto auto auto; }
  .hero-var-slash { display: none; }
  .broadcast-status { grid-column: 1; }
  .hero-copy { min-width: 0; padding: 64px 26px 44px; }
  .hero-copy h1 { max-width: 10ch; font-size: clamp(4.6rem, 12vw, 7rem); }
  .hero-copy h1 span { width: auto; white-space: normal; transform: none; }
  .hero-copy > p { max-width: 58ch; }
  .route-key { margin-top: 36px; }
  .var-stage { min-width: 0; min-height: 590px; margin: 0 24px 28px; }
  .process-ticker { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-ticker .ticker-label { grid-column: 1 / -1; min-height: 66px; }
  .process-ticker li:nth-child(3), .process-ticker li:nth-child(5) { border-right: 0; }
  .process-ticker li:nth-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .match-radar { grid-template-columns: minmax(0, 1fr); }
  .next-match-board, .fixture-week { padding: 62px 26px; }
  .fixture-week li { grid-template-columns: 145px 1fr auto; }
  .fixture-week li > em { grid-column: auto; width: auto; margin: 0; }
  .mechanism, .pricing { grid-template-columns: 1fr; }
  .onboarding-shell { grid-template-columns: 1fr; }
  .step-rail { min-height: auto; padding: 38px 24px; }
  .step-rail h1 { max-width: 12ch; margin-top: 34px; font-size: 4rem; }
  .step-rail ol { display: flex; gap: 18px; margin: 36px 0 0; overflow-x: auto; }
  .step-rail li { min-width: 142px; border-bottom: 1px solid #414a4d; }
  .step-rail > p { display: none; }
  .rail-line { right: 30%; top: -100px; height: 320px; }
  .onboarding-panel { padding-top: 70px; }
  .route-table-head { display: none; }
  .route-row { grid-template-columns: 1fr 1fr; }
  .route-actions { justify-content: flex-start; }
  .control-board { grid-template-columns: 1fr; align-items: start; }
  .audit-item summary { grid-template-columns: 125px 1fr auto; }
  .audit-details { padding-left: 149px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-pitch { padding: 72px 28px; }
  .auth-pitch-inner { width: 100%; }
  .auth-pitch h1 { max-width: 11ch; font-size: 6.5rem; }
  .auth-pitch::after { right: 8%; }
  .auth-card { min-height: 620px; padding: 64px 28px; }
  .security-hero { min-height: auto; grid-template-columns: 1fr; align-items: start; }
  .security-hero dl { max-width: 720px; }
  .legal-copy section { grid-template-columns: 210px 1fr; gap: 42px; }
}

@media (max-width: 640px) {
  .site-nav, .app-nav { min-height: 70px; padding: 0 16px; gap: 12px; }
  .brand-lockup { width: 150px; height: 37px; }
  .nav-cta { min-height: 40px; padding: 8px 10px; gap: 7px; font-size: .9rem; }
  .nav-cta-full { display: none; }
  .nav-cta-compact { display: inline; }
  .broadcast-status { padding: 0 17px; gap: 9px; font-size: .74rem; }
  .broadcast-status i, .broadcast-fixture { display: none; }
  .broadcast-id { display: block; margin-left: auto; font-size: .66rem; }
  .broadcast-status .match-countdown { color: var(--lime); font-variant-numeric: tabular-nums; }
  .hero-copy { padding: 38px 18px 28px; }
  .hero-copy h1 { max-width: 100%; font-size: 3.8rem; line-height: .84; }
  .hero-copy > p { margin-top: 20px; font-size: .96rem; }
  .hero-actions { margin-top: 22px; align-items: stretch; flex-direction: column; gap: 10px; }
  .button { width: 100%; min-height: 46px; }
  .route-key { margin-top: 24px; padding-top: 0; gap: 15px; font-size: .72rem; }
  .var-stage { min-height: 0; margin: 0 12px 18px; }
  .review-tab { font-size: .9rem; }
  .var-map { min-height: 390px; transform: scale(1.13); transform-origin: 46% 40%; }
  .verdict-bar { position: relative; right: auto; bottom: auto; width: auto; min-height: 78px; margin: 58px 12px 0; padding: 10px 12px; grid-template-columns: 1.15fr 1px .85fr 38px; gap: 10px; }
  .verdict-bar strong { font-size: 1rem; }
  .verdict-bar i { height: 48px; }
  .verdict-bar b { width: 34px; height: 34px; font-size: 1rem; }
  .process-ticker li { min-height: 90px; padding: 14px; }
  .process-ticker li > b { font-size: 1.5rem; }
  .process-ticker strong { font-size: 1.02rem; }
  .next-match-board, .fixture-week { padding: 52px 18px; }
  .next-match-board > header, .fixture-week > header { align-items: start; flex-direction: column; gap: 10px; }
  .fixture-week > header p { text-align: left; }
  .featured-match { min-height: 235px; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 10px; }
  .featured-team.away { justify-items: end; }
  .team-crest { width: 58px; height: 58px; }
  .featured-team strong { margin-top: 13px; font-size: 1.35rem; }
  .featured-kickoff b { font-size: 1.55rem; }
  .featured-kickoff time { font-size: .7rem; }
  .countdown-panel output { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  .countdown-panel.is-urgent::after { position: static; display: inline-block; margin: 10px 0 0; }
  .fixture-week li { min-height: 0; padding: 22px 0; grid-template-columns: 1fr; gap: 17px; }
  .fixture-week li > em { display: none; }
  .fixture-pair { gap: 8px; }
  .fixture-pair > span { align-items: start; flex-direction: column; gap: 8px; }
  .fixture-pair > span:last-child { align-items: end; flex-direction: column; }
  .fixture-pair b { font-size: 1rem; }
  .fixture-week-empty { min-height: 210px; }
  .fixture-empty { min-height: 300px; }
  .mechanism, .pricing { padding: 78px 20px; }
  .section-intro h2 { font-size: 4rem; }
  .decision-log li { grid-template-columns: 52px 1fr; }
  .decision-log li > span { grid-column: 2; width: fit-content; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip p:nth-child(2) { border-right: 0; }
  .proof-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .price-ledger article { grid-template-columns: 1fr; }
  .price { text-align: left; }
  .price-ledger article > .button, .price-ledger ul { grid-column: 1; grid-row: auto; }
  .honesty { padding: 70px 20px; align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer .footer-links, footer > p:last-child { grid-column: 1; grid-row: auto; }
  footer .legal { grid-column: 1; }
  .footer-links { flex-wrap: wrap; }
  .secure-note { display: none; }
  .app-identity { gap: 10px; }
  .app-identity .text-link { display: none; }
  #clerk-organization-switcher { display: none; }
  .step-rail h1 { font-size: 3.6rem; }
  .step-rail ol { gap: 10px; }
  .step-rail li { min-width: 48px; font-size: 0; }
  .step-rail li span { font-size: .9rem; }
  .onboarding-panel { padding: 55px 20px 80px; }
  .form-stage h2 { font-size: 4rem; }
  .route-choice span { grid-template-columns: 1fr; }
  .route-choice small, .route-choice em { grid-column: 1; }
  .route-choice.single-route span { grid-template-columns: 1fr; }
  .route-choice.single-route small, .route-choice.single-route em { grid-column: 1; }
  #review-list div { grid-template-columns: 1fr; gap: 3px; }
  .dashboard { padding: 56px 20px 90px; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .dashboard h1 { font-size: 4.5rem; }
  .control-board { gap: 20px; }
  .bulk-actions { width: 100%; flex-direction: column; }
  .bulk-actions .button { width: 100%; }
  .dns-timing { grid-template-columns: 1fr; gap: 6px; }
  .route-row { grid-template-columns: 1fr; }
  .route-actions, .route-modes { align-items: stretch; flex-direction: column; }
  .route-actions button { min-height: 44px; justify-content: center; }
  .route-dialog form { padding-inline: 20px; }
  .route-dialog .dialog-actions { flex-direction: column; }
  .route-dialog .dialog-actions .button { width: 100%; }
  .route-autodetect ol { grid-template-columns: 1fr; }
  .route-autodetect li { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding-top: 10px; }
  .route-autodetect li::before { margin: 0; }
  .audit-ledger > header { align-items: start; flex-direction: column; }
  .audit-item summary { grid-template-columns: 1fr; gap: 6px; }
  .audit-details { padding-left: 0; }
  .audit-change { grid-template-columns: 1fr; gap: 4px; }
  .audit-change i { text-align: left; transform: rotate(90deg); width: fit-content; }
  .notification-settings > header { align-items: start; flex-direction: column; }
  .dashboard-recovery { align-items: stretch; flex-direction: column; }
  .recovery-actions { width: 100%; }
  .auth-nav .text-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; }
  .auth-shell { min-height: calc(100svh - 70px); }
  .auth-pitch { padding: 58px 20px; }
  .auth-pitch h1 { margin-top: 34px; font-size: 4.9rem; }
  .auth-pitch ol { margin-top: 44px; }
  .auth-pitch::after { opacity: .42; right: 3%; }
  .auth-card { min-height: 0; padding: 44px 14px 54px; }
  .auth-dossier-head { padding-inline: 14px; }
  .clerk-sign-in { padding: 22px 14px 8px; }
  .trust-nav nav .text-link:not(:last-child) { display: none; }
  .legal-hero { padding: 64px 20px; }
  .legal-hero h1 { font-size: 4.7rem; }
  .legal-hero > div { align-items: start; flex-direction: column; gap: 16px; }
  .legal-copy { padding: 54px 20px; }
  .legal-copy section { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .legal-copy section > :not(h2) { grid-column: 1; }
  .security-hero { padding: 64px 20px; }
  .security-hero h1 { font-size: 4.4rem; }
  .security-hero dl div { grid-template-columns: 105px 1fr; }
  .security-ledger, .security-boundary { grid-template-columns: 1fr; }
  .security-ledger { padding: 54px 20px; }
  .security-ledger article, .security-ledger article:nth-child(even) { min-height: 0; padding: 30px 0; border-left: 0; }
  .security-boundary > div { padding: 54px 20px; }
  .security-boundary > div:last-child { border-left: 0; border-top: 1px solid var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-var-slash i { display: none; }
}
