:root {
  --bg: oklch(98.5% 0.002 286);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(96.2% 0.003 286);
  --ink: oklch(15.5% 0.005 286);
  --ink-2: oklch(47% 0.008 286);
  --ink-3: oklch(60% 0.008 286);
  --line: oklch(92% 0.004 286);
  --line-2: oklch(87% 0.004 286);
  --btn: oklch(14% 0.004 286);
  --btn-hover: oklch(28% 0.006 286);
  --btn-ink: oklch(99% 0 0);
  --accent: #C8322B;
  --accent-ink: #B02A24;
  --accent-soft: rgba(200, 50, 43, 0.08);
  --ok: oklch(48% 0.12 150);
  --ok-soft: oklch(48% 0.12 150 / 0.09);
  --warn: oklch(55% 0.12 70);
  --warn-soft: oklch(70% 0.14 75 / 0.14);
  --term-bg: oklch(100% 0 0);
  --dot: oklch(88% 0.004 286);
  --stage: linear-gradient(160deg, oklch(94% 0.03 70) 0%, oklch(85% 0.07 42) 38%, oklch(74% 0.095 15) 72%, oklch(61% 0.085 350) 100%);
  --mark: linear-gradient(140deg, oklch(85% 0.07 42), oklch(66% 0.17 25));
  --shadow: 0 1px 2px oklch(20% 0.02 20 / 0.06), 0 24px 60px -24px oklch(30% 0.06 20 / 0.35);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--sans);
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(13% 0.004 286);
    --surface: oklch(17.5% 0.005 286);
    --surface-2: oklch(16% 0.005 286);
    --ink: oklch(97% 0.003 286);
    --ink-2: oklch(72% 0.008 286);
    --ink-3: oklch(57% 0.008 286);
    --line: oklch(100% 0 0 / 0.08);
    --line-2: oklch(100% 0 0 / 0.14);
    --btn: oklch(97% 0.003 286);
    --btn-hover: oklch(85% 0.004 286);
    --btn-ink: oklch(14% 0.004 286);
    --accent-ink: #F0645A;
    --accent-soft: rgba(240, 100, 90, 0.13);
    --ok: oklch(76% 0.13 150);
    --ok-soft: oklch(76% 0.13 150 / 0.12);
    --warn: oklch(80% 0.12 75);
    --warn-soft: oklch(80% 0.12 75 / 0.13);
    --term-bg: oklch(15% 0.005 286);
    --dot: oklch(34% 0.006 286);
    --stage: linear-gradient(160deg, oklch(42% 0.05 50) 0%, oklch(37% 0.085 28) 36%, oklch(31% 0.09 0) 70%, oklch(25% 0.07 325) 100%);
    --shadow: 0 1px 2px oklch(0% 0 0 / 0.4), 0 30px 70px -24px oklch(0% 0 0 / 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: oklch(13% 0.004 286); --surface: oklch(17.5% 0.005 286); --surface-2: oklch(16% 0.005 286);
  --ink: oklch(97% 0.003 286); --ink-2: oklch(72% 0.008 286); --ink-3: oklch(57% 0.008 286);
  --line: oklch(100% 0 0 / 0.08); --line-2: oklch(100% 0 0 / 0.14);
  --btn: oklch(97% 0.003 286); --btn-hover: oklch(85% 0.004 286); --btn-ink: oklch(14% 0.004 286);
  --accent-ink: #F0645A; --accent-soft: rgba(240,100,90,.13);
  --ok: oklch(76% 0.13 150); --ok-soft: oklch(76% 0.13 150 / 0.12);
  --warn: oklch(80% 0.12 75); --warn-soft: oklch(80% 0.12 75 / 0.13);
  --term-bg: oklch(15% 0.005 286); --dot: oklch(34% 0.006 286);
  --stage: linear-gradient(160deg, oklch(42% 0.05 50) 0%, oklch(37% 0.085 28) 36%, oklch(31% 0.09 0) 70%, oklch(25% 0.07 325) 100%);
  --shadow: 0 1px 2px oklch(0% 0 0 / 0.4), 0 30px 70px -24px oklch(0% 0 0 / 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" off;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }
code { font-family: var(--mono); }
.muted { color: var(--ink-3); }
.tone { color: var(--ink-3); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1200px; }
.wrap.narrow { max-width: 760px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink);
  font: 500 15px/1 var(--sans); letter-spacing: -0.005em;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.nav .btn::after, .plan.pro .btn::after { content: "→" / ""; font-size: 0.95em; transition: transform .15s; }
.nav .btn:hover::after, .plan.pro .btn:hover::after { transform: translateX(2px); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.025em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links > a:not(.btn) { color: var(--ink-2); transition: color .15s; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current] { color: var(--ink); }

/* hero */
.hero { padding: 104px 0 0; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.1; font-weight: 400; letter-spacing: -0.03em;
  max-width: 880px; margin: 0 auto; text-wrap: balance;
}
.hero h1 .tone { display: block; }
.hero .sub { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 600px; margin: 24px auto 0; text-wrap: pretty; }
.cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.req { font-size: 13px; color: var(--ink-3); }

.window {
  margin: 0; position: relative; border-radius: 12px; overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.lights { position: absolute; top: 3.3%; left: 2.2%; display: flex; gap: 15.4%; width: 5.65%; }
.lights i { display: block; flex: 1; aspect-ratio: 1; border-radius: 50%; background: var(--dot); }
.stage {
  margin: 72px auto 0; max-width: 1200px; overflow: hidden;
  background: var(--stage);
  padding: 64px 80px 0;
}

/* hero visual: what Muzzle stops going out and coming in */
.stage { padding-bottom: 64px; }
.viz {
  max-width: 1040px; margin: 0 auto; border-radius: 12px; background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  padding: 40px 36px 44px; text-align: left;
}
.v-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1.14fr);
  grid-template-rows: auto auto auto 28px auto auto auto; row-gap: 10px;
  font: 12.5px/1.35 var(--mono);
}
.v-side { display: flex; flex-direction: column; gap: 4px; font-family: var(--sans); padding-bottom: 18px; }
.v-side b { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.v-side span { font-size: 13px; color: var(--ink-3); }
.v-agents { grid-area: 1 / 1; padding-right: 20px; }
.v-net { grid-area: 1 / 3; align-items: flex-end; text-align: right; padding-left: 20px; }
.v-wall { grid-area: 1 / 2 / 8 / 3; position: relative; display: flex; justify-content: center; }
.v-wall::before {
  content: ""; position: absolute; top: 44px; bottom: -6px; left: 50%; width: 6px; margin-left: -3px;
  border-radius: 3px; background: var(--ink);
}
.v-badge {
  position: relative; z-index: 1; height: 32px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 12px 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font: 600 13.5px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
}
.v-badge img { border-radius: 5px; }
.v-lbl { font: 500 12px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 6px; }
.v-lbl-out { grid-area: 2 / 1; text-align: right; padding-right: 18px; }
.v-lbl-in { grid-area: 2 / 3; padding-left: 18px; }
.v-lbl-out::after { content: "  →" / ""; }
.v-lbl-in::before { content: "←  " / ""; }
.v-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.v-out { grid-area: 3 / 1; }
.v-in { grid-area: 3 / 3; }
.v-list li { display: flex; align-items: center; min-width: 0; }
.v-out li { justify-content: flex-end; }
.v-chip {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 0.6ch; min-width: 0;
  padding: 9px 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); white-space: nowrap;
}
.v-list .v-chip { flex-wrap: nowrap; }
@media (max-width: 1140px) and (min-width: 1101px) { .v-list .v-chip { font-size: 12px; padding-left: 10px; padding-right: 10px; } }
.v-dim { color: var(--ink-3); }
.v-x {
  flex: none; align-self: stretch; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 10px; font: 500 12.5px/1 var(--sans);
}
.v-x::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.v-no { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset -3px 0 0 var(--accent); margin-right: 3px; }
.v-warn { background: var(--warn-soft); color: var(--warn); box-shadow: inset 3px 0 0 var(--warn); margin-left: 3px; }
.v-out .v-chip { border-right: 0; }

/* traffic that passes */
.v-pass { display: contents; }
.v-pass > * { grid-row: var(--r); }
.v-from { grid-column: 1; justify-self: end; margin-right: -1px; }
.v-to { grid-column: 3; justify-self: start; align-items: center; column-gap: 8px; }
.v-pass .v-chip { background: transparent; color: var(--ink-2); }
.v-gate { grid-column: 2; align-self: center; height: 0; border-top: 1.5px dashed var(--ink-3); position: relative; z-index: 1; margin: 0 -1px; }
.v-gate::before { content: ""; position: absolute; left: 50%; top: -7.75px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1.5px var(--ink); }
.v-ok { fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .v-out li { animation: v-in-r .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.45s + var(--i) * .09s); }
  .v-in li { animation: v-in-l .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.5s + var(--i) * .09s); }
  .v-list .v-x { animation: v-hit .35s ease-out both; animation-delay: calc(1.05s + var(--i) * .09s); }
  .v-to { animation: v-through .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(1.1s + var(--i) * .1s); }
  @keyframes v-in-r { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
  @keyframes v-in-l { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
  @keyframes v-hit { from { opacity: 0; } to { opacity: 1; } }
  @keyframes v-through { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
}

/* story */
.story { padding: 160px 0 0; }
.story-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.story h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); margin-bottom: 20px; font-family: var(--sans);
}
.story h2::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mark); flex: none; }
.story-text p { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; letter-spacing: -0.02em; text-wrap: pretty; }
.ua {
  display: inline-block; margin-top: 28px; padding: 10px 14px; border-radius: 8px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink-2);
  max-width: 100%; overflow-wrap: anywhere;
}
.ua mark { background: var(--accent-soft); color: var(--accent-ink); padding: 1px 3px; border-radius: 3px; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.figures { margin: 0; display: grid; gap: 0; border-left: 1px solid var(--line); }
.figures div { padding: 18px 0 18px 36px; }
.figures dt { font-family: var(--display); font-size: clamp(44px, 4.8vw, 60px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures dd { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* section titles */
.sec-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 48px; text-wrap: balance; }

/* how */
.how { padding: 160px 0 0; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: var(--surface-2); border-radius: 0; box-shadow: inset 0 0 0 1px var(--line);
  padding: 32px 32px 0; display: flex; flex-direction: column; gap: 28px; overflow: hidden; min-width: 0;
}
.card h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.card-copy p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.term {
  margin-top: auto; background: var(--term-bg); border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px -18px oklch(20% 0.01 286 / 0.18); border-bottom: 0;
  padding: 20px 20px 24px; font: 12.5px/1.65 var(--mono); color: var(--ink);
  min-height: 200px;
}
.term b { font-weight: 600; }
.t-line + .t-line { margin-top: 6px; }
.t-out { display: flex; gap: 10px; color: var(--ink-2); }
.t-gut { color: var(--ink-3); }
.t-dot { color: var(--accent); }
.t-red { color: var(--accent-ink); font-weight: 600; }
.t-mute { color: var(--ink-3); }
.t-ind { padding-left: 2ch; color: var(--ink-2); overflow-wrap: anywhere; }
.crop {
  margin: auto 0 0; border-radius: 10px 10px 0 0; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px -18px oklch(20% 0.01 286 / 0.18); background: var(--surface);
}
.crop { height: 260px; }
.crop img { width: 127.78%; max-width: none; margin-left: -27.78%; }

/* flow */
.flow { padding: 160px 0 0; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.row-copy p { color: var(--ink-2); margin-top: 6px; font-size: 15px; max-width: 420px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 13px/1 var(--mono); padding: 9px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.routes, .levels { display: grid; gap: 8px; }
.route, .lv {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; min-width: 0;
}
.route code { font-size: 13px; color: var(--ink-2); }
.route .arrow { color: var(--ink-3); }
.route .host { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route .pill, .lv .pill { margin-left: auto; }
.levels { grid-template-columns: 1fr 1fr; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; flex: none; }
.pill.no { background: var(--accent-soft); color: var(--accent-ink); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }

/* contact */
.contact { padding: 160px 0 0; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); padding: 3px 11px; border-radius: 999px; margin-bottom: 20px; }
.contact h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.contact p:not(.tag) { color: var(--ink-2); margin-top: 18px; max-width: 480px; }
.addr-card {
  background: var(--stage); border-radius: 0;
  padding: 56px 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  position: relative; isolation: isolate;
}
.addr-card::before { content: ""; position: absolute; inset: 40px 28px; z-index: -1; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); }
.addr-card .addr, .addr-card .fwd { padding: 0 24px; }
.addr { font: 500 clamp(14px, 1.8vw, 19px)/1.3 var(--mono); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.fwd { color: var(--ink-3); font-size: 14px; }

/* network */
.network { padding: 160px 0 0; }
.network .sec-title { margin-bottom: 16px; }
.sec-sub { color: var(--ink-2); font-size: 17px; max-width: 620px; text-wrap: pretty; }
.diagram { margin: 56px 0 0; }
.diag { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.diag-v { display: none; max-width: 400px; margin: 0 auto; }
.d-box { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; rx: 10px; }
.d-chip { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.d-t { fill: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.d-l { fill: var(--ink-2); font-size: 14px; font-weight: 500; }
.d-m { fill: var(--ink-2); font-family: var(--mono); font-size: 13px; }
.diag-v .d-m { font-size: 12px; }
.d-red { fill: var(--accent-ink); font-weight: 600; }
.d-warn { fill: var(--warn); font-weight: 600; }
.d-g { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-pill { fill: var(--ok-soft); rx: 11px; }
.d-pt { fill: var(--ok); font-size: 12.5px; font-weight: 500; }
.d-seal circle { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 1.5; }
.d-seal path { fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.d-arrow { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
.d-loop { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.d-ah { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.rule { background: var(--surface-2); border-radius: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 28px 28px 30px; }
.r-pre { color: var(--ink-3); font-size: 14px; }
.r-n { font-family: var(--display); font-size: 48px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.r-n span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.r-out { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.net-more { margin-top: 28px; font-size: 14px; font-weight: 500; }
.net-more a { color: var(--ink); }
.net-more a::after { content: " →" / ""; display: inline-block; margin-left: 4px; transition: transform .15s; }
.net-more a:hover::after { transform: translateX(2px); }

/* pricing */
.pricing { padding: 160px 0 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1120px; }
.plan { background: var(--surface); border-radius: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 36px; display: flex; flex-direction: column; }
.plan.pro { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 34px; flex-wrap: wrap; }
.bill { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.plan.pro { position: relative; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.save { font-size: 11.5px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); padding: 1px 7px; border-radius: 999px; }
#bill-y:checked ~ .plan-head label[for="bill-y"], #bill-m:checked ~ .plan-head label[for="bill-m"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px oklch(0% 0 0 / 0.06), 0 0 0 1px var(--line); }
#bill-y:focus-visible ~ .plan-head label[for="bill-y"], #bill-m:focus-visible ~ .plan-head label[for="bill-m"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.p-m, .b-m { display: none; }
#bill-m:checked ~ .p-y, #bill-m:checked ~ .b-y { display: none; }
#bill-m:checked ~ .p-m { display: block; }
#bill-m:checked ~ .b-m { display: inline-flex; }
.price { font-family: var(--display); font-size: 48px; font-weight: 400; letter-spacing: -0.04em; margin-top: 12px; line-height: 1.1; }
.price span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.price-note { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 12px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg) translateY(-3px); }
.plan .btn { margin-top: auto; justify-content: center; }

/* faq */
.faq { padding: 160px 0 0; }
.faq .sec-title { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 22px; color: var(--ink-3); line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 0 24px; max-width: 640px; font-size: 15px; }

/* footer */
.foot { margin-top: 160px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 28px; height: 88px; font-size: 14px; }
.foot .brand { font-size: 16px; }
.foot .brand img { border-radius: 6px; }
.foot nav { display: flex; gap: 22px; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.foot .muted { margin-left: auto; }

a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .sub, .cta, .stage { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .sub { animation-delay: .06s; }
  .cta { animation-delay: .12s; }
  .stage { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1100px) {
  .stage { padding: 40px 40px 40px; }
  .viz { padding: 28px 24px 32px; }
  .v-grid { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
  .v-net { order: 1; align-items: center; text-align: center; padding: 0 0 6px; }
  .v-pass { order: 2; display: flex; justify-content: center; align-items: center; }
  .v-pass > .v-from { display: none; }
  .v-pass .v-to { padding: 4px 0; }
  .v-pass .v-gate { display: none; }
  .v-pass::before { content: attr(data-from) " →"; color: var(--ink-3); margin-right: 1ch; }
  .v-lbl-in { order: 3; padding: 18px 0 4px; text-align: center; }
  .v-in { order: 4; }
  .v-wall { order: 5; height: 56px; align-items: center; margin: 4px 0; }
  .v-wall::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 6px; margin: -3px 0 0; }
  .v-out { order: 6; }
  .v-lbl-out { order: 7; padding: 4px 0 18px; text-align: center; }
  .v-agents { order: 8; align-items: center; text-align: center; padding: 0; }
  .v-list li, .v-out li { justify-content: flex-start; }
  .v-in li { flex-direction: row-reverse; justify-content: flex-end; }
  .v-out li { flex-direction: row; }
  .v-chip { white-space: normal; flex: 1; }
  .v-pass .v-chip { flex: none; }
  .v-lbl-out::after { content: "  ↑" / ""; }
  .v-lbl-in::before { content: none; }
  .v-lbl-in::after { content: "  ↓" / ""; }
  .v-no { box-shadow: inset 0 3px 0 var(--accent); margin: 0; }
  .v-warn { box-shadow: inset 0 -3px 0 var(--warn); margin: 0; }
  .v-list .v-chip { flex-wrap: wrap; }
  .v-pass .v-chip { box-shadow: none; padding: 4px 0; }
  .viz { max-width: 620px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  .story-in, .contact-in, .row { grid-template-columns: 1fr; gap: 32px; }
  .figures { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .figures div { padding: 22px 0 0; }
  .grid4, .plans, .rules { grid-template-columns: 1fr; }
  .diag-h { display: none; }
  .diag-v { display: block; }
  .diagram { margin-top: 40px; }
  .rules { margin-top: 40px; }
  .row { gap: 22px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .nav-links { gap: 18px; }
  .hero { padding-top: 56px; }
  .stage { margin-top: 48px; padding: 24px 16px; }
  .viz { padding: 24px 14px 26px; }
  .story, .how, .flow, .contact, .network, .pricing, .faq { padding-top: 104px; }
  .sec-sub { font-size: 16px; }
  .rule { padding: 24px; }
  .foot { margin-top: 104px; }
  .sec-title { margin-bottom: 32px; }
  .card { padding: 24px 20px 0; }
  .term { font-size: 11.5px; padding: 16px; min-height: 0; }
  .crop { height: 190px; }
  .figures { grid-template-columns: auto auto auto; justify-content: start; gap: 32px; }
  .figures dt { font-size: 32px; }
  .figures dd { font-size: 13px; }
  .lv { padding: 12px; gap: 8px; }
  .crop img { width: 170%; margin-left: -37%; }
  .route { gap: 10px; padding: 12px 14px; }
  .addr-card { padding: 40px 20px; }
  .addr-card::before { inset: 24px 12px; }
  .addr-card .addr, .addr-card .fwd { padding: 0 16px; }
  .plan { padding: 28px 24px; }
  .foot-in { flex-wrap: wrap; height: auto; padding: 28px 16px; gap: 16px 22px; }
  .foot .muted { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .nav-links > a[href$="#pricing"] { display: none; }
}

.pricing .sec-title { text-align: center; }
.plans { margin: 0 auto; }
