/* ==========================================================================
   FXVPS — main stylesheet
   Everything reads from tokens.css. No colour literals past this line.

   Contents
     1  Reset and base
     2  Layout primitives
     3  Buttons, chips, badges
     4  Top bar, header, navigation
     5  Hero
     6  Console card            ← the signature element
     7  Stats and rule
     8  Bento grid + benchmark bars
     9  Pricing
    10  Numbered process
    11  Network table
    12  Testimonials
    13  FAQ
    14  CTA band
    15  Documents: pages, posts, forms
    16  Footer
    17  Utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0 0 var(--space-2);
}

h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.028em; }
h4 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; }
h5, h6 { font-size: var(--step-0); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-4) 0; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: 0.9em; }

code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.1em 0.42em;
  color: var(--ink);
}

pre {
  background: var(--console-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  overflow-x: auto;
  line-height: 1.65;
}
pre code { background: none; border: 0; padding: 0; }

blockquote {
  margin: var(--space-4) 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: var(--step-1);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--accent-soft); color: var(--ink); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   2. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }
.section--alt { background: var(--bg-2); }
.section + .section:not(.section--alt) { border-top: 1px solid var(--line); }

/* Section heads. Centred by default — the reference stacks a small caps
   eyebrow over a two-line display heading whose second line carries the hue. */
.section__head { margin-bottom: var(--space-5); }
.section__head--center { text-align: center; max-width: 42ch; margin-inline: auto; }
.section__head--center .section__lead { margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-2);
}

/* Editors mark accent words with *asterisks*; fxvps_accent() turns those
   into .accent. Inline everywhere by default — only display headings break
   the accent onto its own line, which is what gives the two-tone look. */
.accent { color: var(--accent); }

.section__title { margin: 0 0 var(--space-2); }
.section__title .accent,
.hero__title .accent { display: block; }

.section__lead { max-width: var(--measure); margin: 0 0 var(--space-3); color: var(--ink-2); }

.grid { display: grid; gap: var(--space-2); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.scroller { overflow-x: auto; }

/* A ruled label, as in “— INDEPENDENTLY OPERATED SINCE 2016 —”. */
.rule {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   3. Buttons, chips, badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font: 600 0.87rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn::after { content: "↗"; font-size: 0.85em; opacity: 0.75; }
.btn--plain::after { content: none; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -14px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 38px -16px var(--accent-glow); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent-line); }

.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 9px 15px; font-size: 0.79rem; }

/* Monospace chips — region codes, protocol names, included features.
   These carry most of the technical texture in the design. */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  white-space: nowrap;
}
.chip--accent { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.chip--check::before {
  content: "";
  width: 13px; height: 13px; flex: none;
  background: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.73rem;
  font-weight: 600;
}
.badge--live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* --------------------------------------------------------------------------
   4. Top bar, header, navigation
   -------------------------------------------------------------------------- */
.announce {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-2);
  text-align: center;
}
.announce .wrap { padding-block: 8px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.announce b, .announce .accent { color: var(--accent); font-weight: 600; }
.announce a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 0.72rem; color: var(--ink-3); }
.topbar .wrap { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding-block: 9px; }
.topbar__menu { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar__menu a { color: var(--ink-3); text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase; }
.topbar__menu a:hover { color: var(--ink); }
.topbar__contact { display: flex; gap: var(--space-3); margin-left: auto; flex-wrap: wrap; align-items: center; }
.topbar__contact a { color: var(--ink-3); text-decoration: none; }
.topbar__contact a:hover { color: var(--accent); }

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header > .wrap { display: flex; align-items: center; gap: var(--space-3); padding-block: 12px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem;
  letter-spacing: -0.04em; color: var(--ink);
}
.brand img { max-height: 40px; width: auto; }
.brand em { font-style: normal; color: var(--accent); }
.brand__tagline {
  display: block; font-family: var(--font-mono); font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}

.nav__list { display: flex; align-items: center; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; color: var(--ink-2); text-decoration: none;
  font-size: 0.83rem; font-weight: 500; padding: 6px 2px; position: relative; white-space: nowrap;
}
.nav__list a:hover { color: var(--ink); }
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a { color: var(--ink); }
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: var(--accent);
}

.nav__list li { position: relative; }
.nav__list .sub-menu {
  position: absolute; top: calc(100% + 12px); left: -14px; min-width: 212px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; list-style: none; margin: 0; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--dur) var(--ease);
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list .sub-menu a { padding: 9px 12px; border-radius: var(--radius-sm); }
.nav__list .sub-menu a:hover { background: var(--surface-2); }
.nav__list .sub-menu .current-menu-item > a::after { display: none; }

.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink); width: 42px; height: 42px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 1040px) {
  /* backdrop-filter makes an element the containing block for its
     position:fixed descendants, which would trap the drawer inside the
     70px header. Drop the blur at drawer widths and the drawer resolves
     against the viewport again. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-2); }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    z-index: 80;
    background: var(--bg);
    padding: 84px var(--gutter) var(--space-4); overflow-y: auto;
    transform: translateY(-100%); transition: transform 0.28s var(--ease);
  }
  .site-nav[data-open="true"] { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { font-size: 1rem; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__list .current-menu-item > a::after { display: none; }
  .nav__list .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 0 var(--space-3); background: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero — centred, display-scale, glow behind
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(760px 420px at 50% -6%, var(--accent-glow), transparent 68%),
    radial-gradient(900px 400px at 84% 34%, var(--second-soft), transparent 70%),
    var(--bg);
}
.hero--image::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-image); background-size: cover; background-position: center;
  opacity: 0.2;
}
.hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(64% 58% at 50% 32%, #000, transparent);
  mask-image: radial-gradient(64% 58% at 50% 32%, #000, transparent);
}
.hero .wrap { position: relative; z-index: 1; padding-block: var(--space-6) var(--space-5); }

.hero__badge { margin: 0 0 var(--space-3); }

.hero__title { max-width: 18ch; margin-inline: auto; margin-bottom: var(--space-3); }
.hero__title .accent { color: var(--accent); display: block; }

.hero__text { max-width: 58ch; margin-inline: auto; margin-bottom: var(--space-4); color: var(--ink-2); font-size: var(--step-1); }
.hero__text b { color: var(--ink); font-weight: 600; }

.hero__cta { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; margin-bottom: var(--space-3); }

.hero__fine {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-bottom: var(--space-4);
}

.hero__proof {
  display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; align-items: center;
  font-size: 0.78rem; color: var(--ink-3); margin: 0; padding: 0; list-style: none;
}
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof b { color: var(--ink); font-weight: 600; }

.header__cta { flex: none; }
@media (max-width: 480px) { .header__cta { display: none; } }

/* --------------------------------------------------------------------------
   6. Console card — the deploy transcript. The one element that says
      "this is infrastructure" before a single word is read.
   -------------------------------------------------------------------------- */
.console {
  max-width: 800px;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--console-bg);
  box-shadow: 0 40px 90px -50px var(--accent-glow), var(--shadow-lift);
  overflow: hidden;
  text-align: left;
}

.console__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
}
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.console__live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  animation: pulse 2.4s var(--ease) infinite;
}

.console__body {
  margin: 0; padding: var(--space-3) var(--space-3) var(--space-2);
  font-family: var(--font-mono); font-size: 0.79rem; line-height: 1.95;
  color: var(--ink-2); overflow-x: auto; white-space: pre; tab-size: 2;
}
.console__body .cmd { color: var(--ink); }
.console__body .cmd::before { content: "$ "; color: var(--accent); }
.console__body .ok { color: var(--ink-2); }
.console__body .ok::before { content: "✓ "; color: var(--ok); }
.console__body .out { color: var(--ink); }
.console__body .out::before { content: "→ "; color: var(--second); }
.console__body .flag { color: var(--accent); }

.console__caret {
  display: inline-block; width: 8px; height: 1.05em; vertical-align: -0.16em;
  background: var(--accent); margin-left: 3px;
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.console__foot {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.console__foot b, .console__foot .accent { color: var(--accent); font-weight: 500; }

/* --------------------------------------------------------------------------
   7. Stats
   -------------------------------------------------------------------------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { padding: var(--space-4) var(--space-3); border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat__value {
  display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 700;
  letter-spacing: -0.045em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-3); }

@media (max-width: 720px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   8. Bento grid + benchmark bars
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(6, 1fr);
}
.bento > * { grid-column: span 6; }

@media (min-width: 760px) {
  .bento > * { grid-column: span 3; }
  .bento .span-2 { grid-column: span 3; }
  .bento .span-3 { grid-column: span 6; }
  .bento .span-4 { grid-column: span 6; }
}
@media (min-width: 1040px) {
  .bento .span-2 { grid-column: span 2; }
  .bento .span-3 { grid-column: span 3; }
  .bento .span-4 { grid-column: span 4; }
  .bento > *:not([class*="span-"]) { grid-column: span 2; }
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card__tag {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin: 0;
  display: inline-flex; align-items: center; gap: 7px;
}
.card__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.card h3, .card h4 { margin: 0; }
.card p { font-size: 0.87rem; color: var(--ink-2); margin: 0; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { border-color: var(--accent-line); transform: translateY(-2px); }

.card__icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--accent-soft);
  border: 1px solid var(--accent-line); color: var(--accent);
}
.card__icon svg { width: 19px; height: 19px; }

/* Benchmark bars. Rows of label / bar / figure, with one row marked as ours.
   The caption states the measurement so the chart is not a decoration. */
.bench { display: grid; gap: 10px; margin: 0; }
.bench__row {
  display: grid;
  grid-template-columns: minmax(84px, auto) 1fr auto;
  align-items: center;
  gap: 12px;
}
.bench__name { font-size: 0.79rem; color: var(--ink-3); }
.bench__track { height: 7px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.bench__fill { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--line-strong); }
.bench__value {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-3);
  font-variant-numeric: tabular-nums; min-width: 58px; text-align: right;
}
.bench__row--ours .bench__name { color: var(--ink); font-weight: 600; }
.bench__row--ours .bench__fill { background: var(--accent); box-shadow: 0 0 16px -2px var(--accent-glow); }
.bench__row--ours .bench__value { color: var(--accent); }
.bench__caption {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--ink-3); margin: var(--space-2) 0 0;
}

/* --------------------------------------------------------------------------
   9. Pricing
   -------------------------------------------------------------------------- */
.billing {
  display: flex; gap: 4px; flex-wrap: wrap; justify-content: center;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius-pill); padding: 5px;
  width: fit-content; max-width: 100%; margin: 0 auto var(--space-5);
}
.billing__opt {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: none; color: var(--ink-2);
  font: 600 0.82rem var(--font-body);
  padding: 9px 17px; border-radius: var(--radius-pill); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.billing__opt:hover { color: var(--ink); }
.billing__opt[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.billing__off {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; color: var(--accent);
}
.billing__opt[aria-selected="true"] .billing__off { color: var(--accent-ink); opacity: 0.68; }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.plan--featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 42%), var(--bg-2);
  box-shadow: 0 30px 70px -44px var(--accent-glow);
}
.plan__ribbon {
  position: absolute; top: var(--space-3); right: var(--space-3);
  background: var(--accent); color: var(--accent-ink);
  font: 700 0.6rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 5px;
}
.plan__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--ink); margin: 0; }
.plan__for { font-size: 0.78rem; color: var(--ink-3); margin: 4px 0 var(--space-3); min-height: 2.4em; }

.plan__price {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-family: var(--font-display); font-size: var(--step-3); font-weight: 700;
  letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums;
  margin: 0; line-height: 1.05;
}
.plan--featured .plan__price { color: var(--accent); }
.plan__period { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }

.plan__was { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 0.76rem; }
.plan__was s { color: var(--ink-3); text-decoration-color: var(--ink-3); }
.plan__off {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 5px; padding: 2px 6px;
}
.plan__save { font-size: 0.75rem; color: var(--ok); font-weight: 600; margin: 6px 0 var(--space-3); min-height: 1.3em; }

.plan .btn { margin-bottom: var(--space-3); }

.plan__specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan__specs li {
  display: flex; gap: 9px; align-items: flex-start;
  font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.55; color: var(--ink-2);
}
.plan__specs li::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px;
  background: no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.included {
  margin-top: var(--space-4);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
}
.included__label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin: 0;
}

/* --------------------------------------------------------------------------
   10. Numbered process — order is real here, so the numbers mean something
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--space-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.step__num {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--accent); margin: 0;
}
.step h3 { font-size: var(--step-1); margin: 0; }
.step p { font-size: 0.87rem; color: var(--ink-2); margin: 0; }
.step__metric {
  margin: auto 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
}
.step__metric b, .step__metric .accent { color: var(--accent); font-weight: 500; }

/* --------------------------------------------------------------------------
   11. Network table
   -------------------------------------------------------------------------- */
.latency { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 620px; }
.latency th {
  text-align: left; padding: 12px 14px;
  font: 600 0.64rem var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--line);
}
.latency td, .latency tbody th { padding: 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.latency tbody th {
  text-align: left; color: var(--ink); font-weight: 500;
  font-family: var(--font-body); font-size: 0.86rem; text-transform: none; letter-spacing: 0;
}
.latency tbody tr:hover td, .latency tbody tr:hover th { background: var(--surface); }
.latency .flag { font-size: 1.1rem; margin-right: 9px; }
.latency .code { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3); }
.latency .ping {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent); font-variant-numeric: tabular-nums;
}
.latency .provider { font-size: 0.78rem; color: var(--ink-3); }

.meter { height: 6px; min-width: 88px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: var(--radius-pill); }

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius);
  padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); margin: 0;
}
.quote__body { color: var(--ink); font-size: 0.9rem; line-height: 1.7; margin: 0; padding: 0; border: 0; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__by img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.quote__name { display: block; font-weight: 600; color: var(--ink); font-size: 0.85rem; line-height: 1.3; }
.quote__role { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; fill: var(--line-strong); }
.stars svg.on { fill: var(--warn); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 8px; max-width: var(--wrap-narrow); margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); padding: 0 var(--space-3);
  transition: border-color var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--accent-line); background: var(--surface-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--space-3) 0;
  font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: var(--space-2);
  font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__answer { padding-bottom: var(--space-3); color: var(--ink-2); font-size: 0.89rem; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(700px 280px at 50% 0%, var(--accent-glow), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band .wrap { padding-block: var(--space-6); }
.cta-band p { max-width: 54ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   15. Documents: pages, posts, forms
   -------------------------------------------------------------------------- */
.page-head { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-head .wrap { padding-block: var(--space-5); }
.page-head__meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3); display: flex; gap: var(--space-3); flex-wrap: wrap; }

.breadcrumbs { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); margin-bottom: var(--space-2); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

.prose { max-width: var(--measure); color: var(--ink-2); }
.prose > * + * { margin-top: var(--space-3); }
.prose h2 { margin-top: var(--space-5); font-size: var(--step-2); }
.prose h3 { margin-top: var(--space-4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); font-weight: 600; }

.post-layout { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .post-layout--sidebar { grid-template-columns: minmax(0, 1fr) 290px; } }

.post-card__thumb {
  aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: var(--space-2); background: var(--surface-2);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-3); letter-spacing: 0.06em; }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--space-5); }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-size: 0.85rem;
}
.pagination .page-numbers:hover { border-color: var(--accent-line); color: var(--ink); }
.pagination .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

.widget { margin-bottom: var(--space-3); }
.widget__title {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; margin-bottom: var(--space-2);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 9px; }
.widget a { color: var(--ink-2); text-decoration: none; font-size: 0.87rem; }
.widget a:hover { color: var(--accent); }

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="tel"], input[type="password"], input[type="number"], textarea, select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink); font: inherit; font-size: 0.9rem; padding: 11px 14px;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; }
label { display: block; font-size: 0.82rem; color: var(--ink-2); margin-bottom: 6px; }

.search-form { display: flex; gap: 8px; }
.search-form .btn { flex: none; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: var(--space-5) var(--space-3); }

.footer__grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
  margin-bottom: var(--space-4);
}
.footer__about { font-size: 0.84rem; color: var(--ink-3); max-width: 34ch; }

.socials { display: flex; gap: 8px; margin-top: var(--space-2); }
.socials a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-3);
}
.socials a:hover { color: var(--accent); border-color: var(--accent-line); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.footer__bottom {
  border-top: 1px solid var(--line); padding-top: var(--space-3);
  display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3);
}
.footer__bottom ul { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer__bottom a { color: var(--ink-3); text-decoration: none; }
.footer__bottom a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   17. Utilities
   -------------------------------------------------------------------------- */
.mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
/* --------------------------------------------------------------------------
   18. Mega menu

   Deliberately not the usual SaaS pattern of bordered icon tiles over
   two-line rows — that reads as a template and doubles the panel's height.
   Here each row is one line: a hairline icon, the label, and the number a
   trader actually chooses on (price, region code, ping) set right-aligned
   in the same monospace the deploy console uses. A cursor bar slides in on
   hover, which is the console's language rather than a generic highlight.
   The result is about half as tall and belongs to this site alone.
   -------------------------------------------------------------------------- */
.nav__top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px 2px;
  font: 500 0.83rem/1.2 var(--font-body);
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.nav__top:hover { color: var(--ink); }
.nav__caret {
  width: 12px; height: 12px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.45;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.has-mega[data-open="true"] > .nav__top { color: var(--ink); }
.has-mega[data-open="true"] > .nav__top .nav__caret { transform: rotate(180deg); opacity: 1; }

.mega__panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 70;
  background:
    radial-gradient(620px 150px at 12% 0%, var(--accent-soft), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.14s var(--ease), transform 0.14s var(--ease), visibility 0.14s;
}
/* A lit filament along the top edge — the panel's one flourish. */
.mega__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line) 18%, var(--accent) 50%, var(--accent-line) 82%, transparent);
  opacity: 0.7;
}
.has-mega[data-open="true"] > .mega__panel { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__in { padding-block: var(--space-3) var(--space-3); }

.mega__intro {
  margin: 0 0 var(--space-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  max-width: 90ch;
}
.mega__intro::before { content: "// "; color: var(--accent); opacity: 0.7; }

.mega__cols {
  display: grid;
  gap: var(--space-2) var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  align-items: start;
}

.mega__ctitle {
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mega__ctitle a { color: inherit; text-decoration: none; }
.mega__ctitle a:hover { color: var(--accent); }

.mega__list { list-style: none; margin: 0; padding: 0; }

.mega__list a {
  position: relative;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 5px 9px 5px 8px;
  margin-inline: -9px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
/* the console cursor, parked off-screen until hover */
.mega__list a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2px; height: 0;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height var(--dur) var(--ease);
}
.mega__list a:hover { background: var(--surface-2); }
.mega__list a:hover::before { height: 62%; }

.mega__ic { display: block; color: var(--ink-3); transition: color var(--dur) var(--ease); }
.mega__ic svg { width: 15px; height: 15px; display: block; }
.mega__list a:hover .mega__ic { color: var(--accent); }

.mega__t {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega__list a:hover .mega__t { color: var(--ink); }

/* The figure a trader picks on: price, region code, latency. */
.mega__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0.85;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mega__list a:hover .mega__meta { color: var(--accent); opacity: 1; }

/* the single-line row along the bottom */
.mega__strip {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.mega__strip-title {
  margin: 0;
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mega__strip-title b { color: var(--accent); font-weight: 500; }
.mega__strip-title span {
  display: block;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.66rem;
  margin-top: 1px;
}
.mega__strip .mega__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px var(--space-2);
}
.mega__strip .mega__list a { grid-template-columns: 15px auto; padding-block: 4px; }
.mega__strip .mega__meta { display: none; }

@media (max-width: 1040px) {
  .mega__panel {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: none; box-shadow: none; border: 0;
    display: none;
  }
  .mega__panel::before { display: none; }
  .has-mega[data-open="true"] > .mega__panel { display: block; }
  .mega__panel .wrap { padding-inline: 0; max-width: none; }
  .mega__in { padding-block: 10px var(--space-3); }
  .mega__intro { display: none; }
  .mega__cols { grid-template-columns: 1fr; gap: var(--space-3); }
  .mega__list a { padding-block: 8px; }
  .mega__strip { flex-direction: column; gap: 8px; }
  .nav__top { width: 100%; justify-content: space-between; font-size: 1rem; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__list > li > .nav__top { color: var(--ink); }
}

/* The panel spans the header, so the item must not be the containing block. */
.nav__list > li.has-mega { position: static; }

/* --------------------------------------------------------------------------
   19. Locations map

   A panel that contains a map lays out as map + four columns on one row.
   :has() carries that; browsers without it simply get the map as one more
   auto-fit track, which is degraded but never broken.
   -------------------------------------------------------------------------- */
.mega__cols:has(.mega__map) {
  grid-template-columns: 300px repeat(4, minmax(0, 1fr));
  gap: var(--space-2) var(--space-3);
}

.mega__map {
  padding-right: var(--space-3);
  border-right: 1px solid var(--line);
  align-self: stretch;
}

.mega__world {
  display: block;
  width: 100%;
  height: auto;
  color: var(--line-strong);
}
.mega__land { opacity: 0.9; }

.mega__pin {
  fill: var(--accent);
  opacity: 0.55;
  transition: opacity var(--dur) var(--ease), r var(--dur) var(--ease);
}
.mega__pin.is-on {
  opacity: 1;
  r: 5.2;
  filter: drop-shadow(0 0 5px var(--accent));
}

.mega__map-cap {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* The map is the pin language, so the rows beside it drop their own icons
   and hand the width back to the labels. */
.mega__cols:has(.mega__map) .mega__ic { display: none; }
.mega__cols:has(.mega__map) .mega__list a { grid-template-columns: minmax(0, 1fr) auto; }

@media (max-width: 1240px) {
  .mega__cols:has(.mega__map) { grid-template-columns: 260px repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .mega__cols:has(.mega__map) { grid-template-columns: 1fr; }
  .mega__map { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); }
  .mega__world { max-width: 420px; }
}
