/* ==========================================================================
   Global Messaging — Editorial-tech brutalism
   ========================================================================== */

:root {
  --ink: #0B0B0C;
  --ink-2: #111113;
  --carbon: #1A1A1C;
  --paper: #EFE9DD;
  --paper-2: #E5DECF;
  --bone: #D9D2C2;
  --signal: #FFB000;
  --signal-warm: #FFC23A;
  --alert: #FF3B30;
  --alert-glow: rgba(255, 59, 48, 0.18);
  --mute: #6B6B70;
  --mute-2: #8A8A90;
  --line: #262628;
  --line-soft: rgba(255, 255, 255, 0.08);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

::selection { background: var(--signal); color: var(--ink); }

/* ============== Status bar / Ticker ============== */
.status-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: tick 60s linear infinite;
  padding-left: 32px;
  width: max-content;
}
.ticker span { display: inline-flex; align-items: center; gap: 8px; }
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mute);
  display: inline-block;
}
.dot.live {
  background: var(--alert);
  box-shadow: 0 0 0 0 var(--alert-glow);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,48,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 32px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.brand-svg { height: 28px; width: auto; color: var(--paper); }
.brand { display: inline-flex; align-items: center; }
.nav-links {
  display: flex; gap: 28px; margin-left: 24px;
  font-size: 13.5px;
  color: var(--mute-2);
}
.nav-links a {
  position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--signal); transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  padding: 0;
  transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: var(--paper); }
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--paper);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  z-index: 70;
  background: var(--ink);
  border-left: 1px solid var(--line);
  padding: 96px 28px 32px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.mobile-menu[hidden] { display: flex; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0;
  border-bottom: none;
}
.mobile-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 65;
  transition: opacity .25s ease;
}
.mobile-menu-backdrop.open { opacity: 1; pointer-events: auto; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; padding: 14px 16px; }
  .brand-svg { height: 24px; }
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-signal {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--signal);
}
.btn-signal:hover { background: var(--signal-warm); transform: translateY(-1px); }
.btn-line {
  border-color: var(--line);
  color: var(--paper);
}
.btn-line:hover { border-color: var(--paper); }
.btn-ghost {
  background: transparent; color: var(--paper);
}
.btn-ghost:hover { color: var(--signal); }
.btn span[aria-hidden] { transition: transform .25s ease; display: inline-block; }
.btn:hover span[aria-hidden] { transform: translate(2px, -2px); }

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 80px var(--pad-x) 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-noise {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(255, 176, 0, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(255, 59, 48, 0.08), transparent 60%),
    linear-gradient(to bottom, var(--ink), var(--ink-2));
}
.hero-noise::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
  opacity: .9;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 48px;
}
.hero-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--mute-2); text-transform: uppercase; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9.4vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
  max-width: 16ch;
}
.hero-headline .line { display: block; }
.hero-headline em {
  font-style: italic;
  color: var(--signal);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}
.hero-headline .line {
  opacity: 0;
  transform: translateY(24px);
  animation: rise .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-headline .line:nth-child(1) { animation-delay: .05s; }
.hero-headline .line:nth-child(2) { animation-delay: .14s; }
.hero-headline .line:nth-child(3) { animation-delay: .23s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.hero-sub {
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--bone);
  line-height: 1.55;
}
.hero-sub b { color: var(--paper); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-live {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  max-width: 720px;
}
.live-card {
  position: relative;
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  overflow: hidden;
}
.live-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,176,0,.05), transparent 40%);
  pointer-events: none;
}
.live-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 10px;
}
.live-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.live-number-sm {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.live-number-sm .unit { font-size: 0.6em; color: var(--mute-2); margin-left: 4px; }
.live-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.live-spark {
  margin-top: 8px;
  color: var(--signal);
  height: 36px;
}
.live-spark svg { width: 100%; height: 100%; }

@media (max-width: 720px) {
  .hero-live { grid-template-columns: 1fr; }
}

/* ============== Trust strip ============== */
.trust {
  border-block: 1px solid var(--line);
  padding: 32px var(--pad-x);
  background: var(--ink-2);
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
  text-align: center;
}
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(20px, 4vw, 56px);
  color: var(--mute-2);
  max-width: var(--maxw);
  margin: 0 auto;
}
.trust-mark {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 13px;
  text-transform: uppercase;
  filter: grayscale(1);
  transition: color .2s ease, filter .2s ease;
}
.trust-mark.serif { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 18px; }
.trust-mark.serif em { font-style: italic; color: var(--bone); }
.trust-mark.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; text-transform: lowercase; font-size: 14px; }
.trust-mark:hover { color: var(--paper); filter: grayscale(0); }

/* ============== Section heads ============== */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  padding-inline: var(--pad-x);
  text-align: center;
}
.section-head-left { text-align: left; padding-inline: 0; }
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--signal); font-weight: 300; }
.section-title .hl {
  background: linear-gradient(transparent 60%, rgba(255,176,0,.35) 60%);
}
.section-sub {
  max-width: 64ch;
  margin: 0 auto;
  color: var(--bone);
  font-size: 17px;
}
.section-head-left .section-sub { margin: 0; }

/* ============== Numbers ============== */
.numbers {
  padding: 96px var(--pad-x);
  background: var(--ink);
}
.numbers-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.num-card {
  position: relative;
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  background: var(--carbon);
  display: flex; flex-direction: column; gap: 14px;
}
.num-card:last-child { border-right: none; }
.num-tag {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--mute);
}
.num-big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.num-big span { color: var(--signal); font-weight: 300; }
.num-card p { color: var(--bone); font-size: 14.5px; line-height: 1.5; }
.num-card code {
  font-family: var(--font-mono);
  background: var(--ink);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
  font-size: 12px;
}
@media (max-width: 980px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-card { border-right: none; border-bottom: 1px solid var(--line); }
  .num-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .num-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .numbers-grid { grid-template-columns: 1fr; }
  .num-card { border-right: none !important; border-bottom: 1px solid var(--line); }
  .num-card:last-child { border-bottom: none; }
}

/* ============== Channels ============== */
.channels {
  padding: 120px var(--pad-x);
  background: var(--paper);
  color: var(--ink);
  position: relative;
}
.channels::before, .channels::after {
  content: ""; position: absolute; left: 0; right: 0; height: 80px;
  pointer-events: none;
}
.channels::before { top: 0; background: linear-gradient(to bottom, var(--ink), transparent); }
.channels::after { bottom: 0; background: linear-gradient(to top, var(--ink-2), transparent); }
.channels .section-tag { color: var(--ink); }
.channels .section-title em { color: var(--ink); border-bottom: 4px solid var(--signal); }
.channels .section-title .hl { background: linear-gradient(transparent 60%, rgba(255,176,0,.55) 60%); }
.channels .section-sub { color: #3A3A3D; }

.channels-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ch-card {
  position: relative;
  background: #FAF6EC;
  border: 1px solid var(--bone);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .25s ease, transform .25s ease;
}
.ch-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}
.ch-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ch-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--signal);
  border-radius: 8px;
}
.ch-icon svg { width: 18px; height: 18px; }
.ch-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ch-tag {
  font-family: var(--font-mono); font-size: 10px;
  background: var(--ink); color: var(--signal);
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: .08em; text-transform: uppercase;
}
.ch-card p {
  color: #3A3A3D; font-size: 15px; line-height: 1.55;
  margin-bottom: 16px;
}
.ch-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-mono); font-size: 12.5px;
  color: #54545A;
}
.ch-list li::before {
  content: "→ "; color: var(--ink);
}
.ch-card-feat {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.ch-card-feat h3 { color: var(--paper); }
.ch-card-feat p { color: var(--bone); }
.ch-card-feat .ch-icon { background: var(--signal); color: var(--ink); }
.ch-card-feat .ch-list { color: var(--mute-2); }
.ch-card-feat .ch-list li::before { color: var(--signal); }
.ch-card-cta {
  background: transparent;
  border: 1px dashed var(--ink);
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
.ch-card-cta h3 { color: var(--ink); }
.ch-card-cta p { color: #3A3A3D; margin-bottom: 8px; }
.ch-card-cta .btn-line { border-color: var(--ink); color: var(--ink); align-self: flex-start; }
.ch-card-cta .btn-line:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 980px) { .channels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .channels-grid { grid-template-columns: 1fr; } }

/* ============== Flow ============== */
.flow { padding: 120px var(--pad-x); background: var(--ink-2); }
.flow-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
.flow-grid::before {
  content: "";
  position: absolute;
  top: 50px; left: 16%; right: 16%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 20%, var(--line) 80%, transparent);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  border: 1px solid var(--line);
  background: var(--carbon);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.step-no {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--signal);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; color: var(--signal);
  margin-bottom: 4px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.step p { color: var(--bone); font-size: 15px; }
.step-code {
  font-family: var(--font-mono);
  background: var(--ink); color: var(--signal);
  padding: 8px 12px; border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  align-self: flex-start;
}
@media (max-width: 880px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid::before { display: none; }
}

/* ============== Code section ============== */
.code-section {
  padding: 120px var(--pad-x);
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 980px) {
  .code-section { grid-template-columns: 1fr; }
}
.code-card {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code-tabs {
  display: flex; align-items: center;
  gap: 4px; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  font-family: var(--font-mono); font-size: 12px;
}
.code-tab {
  background: transparent; border: 1px solid transparent;
  padding: 6px 12px; border-radius: 6px;
  color: var(--mute-2); cursor: pointer;
  font-family: inherit; font-size: 12px;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.code-tab:hover { color: var(--paper); }
.code-tab.active {
  color: var(--signal);
  background: var(--ink);
  border-color: var(--line);
}
.code-tab-spacer { flex: 1; }
.code-status {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--mute-2);
  letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.code-body {
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper);
  white-space: pre;
  overflow-x: auto;
}
.code-body[hidden] { display: none; }
.c-com { color: var(--mute); }
.c-cmd { color: var(--signal); }
.c-str { color: #C7E5B5; }
.c-key { color: #FFB6A8; }

/* ============== Cases ============== */
.cases { padding: 120px var(--pad-x); background: var(--ink-2); }
.cases-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.case {
  background: var(--carbon);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background .25s ease;
}
.case:hover { background: var(--ink); }
.case-no {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  color: var(--signal);
}
.case h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 32px; letter-spacing: -0.02em;
}
.case p { color: var(--bone); font-size: 15.5px; max-width: 56ch; }
.case-stat {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--mute-2); font-size: 14px;
}
.case-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--signal);
  font-size: 28px;
  margin-right: 8px;
}
@media (max-width: 720px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============== Coverage ============== */
.coverage { padding: 120px var(--pad-x); background: var(--ink); }
.coverage-card {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) { .coverage-card { grid-template-columns: 1fr; } }
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--carbon);
  padding: 24px;
  color: var(--paper);
}
.map-wrap .map { width: 100%; height: auto; }
.map .hubs text {
  font-family: var(--font-mono); font-size: 12px;
  fill: var(--paper); letter-spacing: .1em;
  font-weight: 500;
}
.map .hubs circle { fill: var(--signal); }
.map .hubs circle:hover { fill: var(--alert); }
.map .routes path {
  stroke-dasharray: 4 4;
  animation: dash 12s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -200; } }

.coverage-list { display: flex; flex-direction: column; gap: 24px; }
.cov-col { border-top: 1px solid var(--line); padding-top: 16px; }
.cov-title {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; color: var(--signal);
  margin-bottom: 12px;
}
.cov-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cov-col li {
  display: flex; justify-content: space-between;
  font-size: 14.5px; color: var(--bone);
  border-bottom: 1px dashed var(--line); padding-bottom: 6px;
}
.cov-col li span:last-child {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--mute-2); letter-spacing: .08em;
}

/* ============== Pricing — Editorial table ============== */
.pricing { padding: 120px var(--pad-x); background: var(--paper); color: var(--ink); }
.pricing .section-tag { color: var(--ink); }
.pricing .section-title em { color: var(--ink); position: relative; }
.pricing .section-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 4px; background: var(--signal);
}
.pricing .section-sub { color: #3A3A3D; }
.pricing .section-sub b { color: var(--ink); font-weight: 600; }

.price-table-card {
  max-width: var(--maxw); margin: 0 auto;
  background: #FAF6EC;
  border: 1px solid var(--bone);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-table-head,
.pt-row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 1.6fr) 110px 130px 110px 130px;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  position: relative;
}

.price-table-head {
  background: #F0EBDB;
  border-bottom: 1px solid var(--bone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.price-table-head .num { text-align: right; }

.price-table {
  list-style: none;
}

.pt-row {
  border-bottom: 1px solid var(--bone);
  transition: background .2s ease;
}
.pt-row:nth-child(even) { background: #F7F2E4; }
.pt-row:last-child { border-bottom: none; }
.pt-row:hover { background: #EBE4D2; }

.pt-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mute);
}

.pt-name {
  display: flex; flex-direction: column; gap: 2px;
}
.pt-name b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.05;
}
.pt-name span {
  font-size: 13px;
  color: #54545A;
  line-height: 1.4;
}

.pt-credits,
.pt-cost,
.pt-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: 14.5px;
  color: var(--ink);
}
.pt-cost { color: var(--mute); font-size: 13px; }
.pt-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.pt-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.pt-cta:hover { background: var(--ink); color: var(--paper); }
.pt-cta span[aria-hidden] { transition: transform .2s ease; }
.pt-cta:hover span[aria-hidden] { transform: translateX(3px); }

.pt-cta-signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}
.pt-cta-signal:hover {
  background: var(--ink);
  color: var(--signal);
  border-color: var(--ink);
}

/* Featured row — Launch */
.pt-featured {
  background: var(--ink) !important;
  color: var(--paper);
  position: relative;
  padding-top: 32px;
  padding-bottom: 22px;
}
.pt-featured .pt-no { color: var(--signal); }
.pt-featured .pt-name b { color: var(--paper); }
.pt-featured .pt-name span { color: var(--bone); }
.pt-featured .pt-credits,
.pt-featured .pt-price { color: var(--paper); }
.pt-featured .pt-cost { color: var(--mute-2); }

.pt-flag {
  position: absolute;
  top: 8px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 8px;
}

/* Enterprise row */
.pt-enterprise { background: #F0EBDB !important; }
.pt-enterprise .pt-price { font-style: italic; color: var(--ink); }

/* Notes grid */
.price-notes {
  max-width: var(--maxw); margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-notes article {
  border: 1px dashed var(--bone);
  background: transparent;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
}
.pn-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.price-notes p { font-size: 13.5px; color: #3A3A3D; line-height: 1.5; }
.price-notes p b { color: var(--ink); font-weight: 600; }
.price-notes p a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Responsive */
@media (max-width: 1080px) {
  .price-table-head,
  .pt-row {
    grid-template-columns: 40px minmax(180px, 1.4fr) 90px 110px 90px 120px;
    padding: 14px 18px;
    gap: 12px;
  }
  .pt-name b { font-size: 19px; }
  .pt-name span { font-size: 12px; }
  .pt-price { font-size: 20px; }
}
@media (max-width: 820px) {
  .price-table-card { overflow-x: auto; }
  .price-table-head,
  .pt-row {
    grid-template-columns: 32px minmax(220px, 1.4fr) 80px 90px 90px 110px;
    min-width: 700px;
  }
  .price-notes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .price-notes { grid-template-columns: 1fr; }
}

/* ============== Integrations ============== */
.integrations { padding: 100px var(--pad-x); background: var(--ink-2); }
.integ-inner { max-width: var(--maxw); margin: 0 auto; }
.integ-row {
  display: flex; flex-wrap: wrap; gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--line);
}
.integ-row span {
  flex: 1 0 200px;
  padding: 28px 24px;
  background: var(--carbon);
  color: var(--bone);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  text-align: center;
  transition: color .2s, background .2s;
}
.integ-row span:hover { color: var(--signal); background: var(--ink); }
@media (max-width: 480px) {
  .integ-row span { flex: 1 0 140px; padding: 22px 16px; font-size: 20px; }
}

/* ============== Compliance ============== */
.compliance { padding: 120px var(--pad-x); background: var(--ink); }
.comp-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .comp-grid { grid-template-columns: 1fr; } }
.comp-block .section-tag { color: var(--signal); }
.comp-block p { color: var(--bone); margin-top: 12px; max-width: 48ch; }
.comp-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.comp-list li {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.comp-list b {
  font-family: var(--font-display);
  font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em;
}
.comp-list span { color: var(--mute-2); font-size: 14.5px; }
@media (max-width: 540px) {
  .comp-list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .comp-list b { font-size: 20px; }
}

/* ============== FAQ ============== */
.faq { padding: 120px var(--pad-x); background: var(--ink-2); }
.faq-list {
  max-width: 880px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em;
  color: var(--paper);
  gap: 24px;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--signal);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--signal); }
.faq p {
  color: var(--bone);
  margin-top: 12px;
  font-size: 15.5px;
  max-width: 70ch;
}

/* ============== Final CTA ============== */
.cta-final {
  padding: 120px var(--pad-x);
  background: var(--ink);
}
.cta-card {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255,176,0,.4), transparent 60%);
  pointer-events: none;
}
.cta-card .kicker {
  background: var(--ink); color: var(--signal);
  border-color: var(--ink);
  position: relative;
}
.cta-card h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 24px 0 32px;
  position: relative;
}
.cta-card em { font-style: italic; color: var(--alert); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-card .btn-line { border-color: var(--ink); color: var(--ink); }
.cta-card .btn-line:hover { background: var(--ink); color: var(--paper); }
.cta-meta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: #54545A; letter-spacing: .1em; text-transform: uppercase;
  position: relative;
}

/* ============== Footer ============== */
.footer {
  padding: 64px var(--pad-x) 32px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}
.footer-brand .brand-svg { height: 32px; color: var(--paper); margin-bottom: 14px; }
.footer-brand p { color: var(--mute-2); max-width: 38ch; font-size: 14px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.footer-cols h4 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 14px;
}
.footer-cols a {
  display: block; padding: 4px 0;
  color: var(--bone); font-size: 14px;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--paper); }
.footer-bot {
  max-width: var(--maxw); margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--mute); letter-spacing: .08em; text-transform: uppercase;
}
.footer-status { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============== Reveal animation (progressive enhancement) ============== */
.pre-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1),
              transform 700ms cubic-bezier(.22,.61,.36,1);
}
.pre-reveal.revealed { opacity: 1; transform: none; }

/* ============== Mobile menu open state — body lock ============== */
body.menu-open { overflow: hidden; }

/* ============== Mobile fine tuning ============== */
@media (max-width: 600px) {
  .hero { padding: 56px var(--pad-x) 80px; }
  .hero-grid { gap: 32px; }
  .numbers, .channels, .flow, .code-section, .cases, .coverage, .pricing, .integrations, .compliance, .faq, .cta-final {
    padding-top: 80px; padding-bottom: 80px;
  }
  .section-head { margin-bottom: 36px; }
  .map-wrap { padding: 16px; }
  .cta-card { padding: 32px 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-bot { font-size: 10.5px; }
}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
}
