:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --bg-subtle: #f1efe9;
  --surface: #ffffff;
  --obsidian: #101319;
  --obsidian-soft: #171b24;
  --obsidian-line: rgba(255, 255, 255, 0.1);
  --night: #101319;
  --ink: #12151c;
  --ink-secondary: #4a505e;
  --muted: #686e7d;
  --signal: #ff5a26;
  --signal-hover: #ff7142;
  --signal-soft: rgba(255, 90, 38, 0.1);
  --accent-ink: #c63d12;
  --paper: #f8f7f4;
  --line: rgba(18, 21, 28, 0.09);
  --line-strong: rgba(18, 21, 28, 0.16);
  --shadow-xs: 0 1px 2px rgba(16, 19, 25, 0.04);
  --shadow-sm: 0 4px 14px -4px rgba(16, 19, 25, 0.07), 0 1px 2px rgba(16, 19, 25, 0.04);
  --shadow-md: 0 16px 36px -12px rgba(16, 19, 25, 0.11), 0 2px 6px -1px rgba(16, 19, 25, 0.05);
  --shadow-dark: 0 28px 64px -18px rgba(8, 10, 16, 0.48), 0 6px 18px -6px rgba(8, 10, 16, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, fieldset, figure, dl, dd { margin: 0; }
body {
  min-width: 0;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, fieldset { border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.network-figure :focus-visible,
.footer :focus-visible,
.plan-card[data-plan="cruise"] :focus-visible { outline-color: #ff8a61; }
::selection { background: rgba(255, 90, 38, 0.2); color: var(--ink); }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 16px; z-index: 60;
  background: var(--surface); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.wrap { width: calc(100% - var(--gutter) * 2); max-width: 76rem; margin-inline: auto; }

/* Masthead */
.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--ink);
  background: rgba(248, 247, 244, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.32rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand img {
  display: block;
  flex: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(16, 19, 25, 0.14);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.site-nav a {
  font-size: .9rem;
  color: var(--ink-secondary);
  padding: .46rem .85rem;
  border-radius: 9px;
  font-weight: 500;
  transition: color .16s ease, background-color .16s ease;
}
.site-nav a:hover {
  color: var(--ink);
  background: rgba(18, 21, 28, 0.05);
}
.site-nav a[aria-current] {
  color: var(--accent-ink);
  background: var(--signal-soft);
  font-weight: 600;
}
.header-actions { display: flex; align-items: center; gap: .65rem; }
.console-link {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  min-height: 2.4rem;
  padding: .42rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #ffffff;
  background: var(--obsidian);
  font-size: .875rem;
  font-weight: 550;
  box-shadow: var(--shadow-xs);
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.console-link:hover, .console-link[aria-current] {
  background: #232836;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.console-link svg { width: 1rem; height: 1rem; flex: none; opacity: .9; }
.console-icon {
  position: relative; display: inline-block; width: .92rem; height: .78rem;
  border: 1.5px solid currentColor; border-radius: 2.5px; opacity: .9;
}
.console-icon::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 30%;
  border-left: 1.5px solid currentColor;
}
.menu-toggle { display: none; }

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 2.95rem;
  padding: .65rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .94rem;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.button:active:not(:disabled) { transform: translateY(0); }
.button svg { width: 1rem; height: 1rem; flex: none; }
.button-signal {
  background: linear-gradient(180deg, #ff6838 0%, #f04e1c 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(240, 78, 28, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.button-signal:hover:not(:disabled) {
  background: linear-gradient(180deg, #ff7649 0%, #f55928 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(240, 78, 28, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.button-outline {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.button-outline:hover:not(:disabled) {
  border-color: rgba(18, 21, 28, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.button-dark {
  background: var(--obsidian);
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(16, 19, 25, 0.4);
}
.button-dark:hover:not(:disabled) {
  background: #232836;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(16, 19, 25, 0.45);
}
.button-light {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.button-light:hover:not(:disabled) {
  border-color: rgba(18, 21, 28, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 68% 58% at 78% 12%, rgba(255, 90, 38, 0.085), transparent 68%),
    radial-gradient(ellipse 52% 45% at 14% 20%, rgba(255, 162, 112, 0.065), transparent 64%),
    radial-gradient(rgba(18, 21, 28, 0.055) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 24px 24px, auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
  padding-block: clamp(3.4rem, 6vw, 6.2rem);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem .85rem .3rem .36rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(255, 90, 38, 0.22);
  box-shadow: var(--shadow-xs);
  color: var(--ink-secondary);
  font-size: .84rem;
  font-weight: 600;
}
.kicker > span {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.45rem;
  padding-inline: .3rem;
  border-radius: 999px;
  background: var(--obsidian);
  font: 650 .78rem/1 var(--font-mono);
  color: #ff8c66;
}
.hero h1 {
  margin-block: 1.2rem 1.05rem;
  font-size: clamp(2.55rem, 4.35vw, 4.25rem);
  line-height: 1.14;
  font-weight: 760;
  letter-spacing: -.025em;
  color: var(--ink);
}
.hero h1 .latin {
  font-weight: 760;
  letter-spacing: -.04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal);
  background: linear-gradient(120deg, #ff5e2b 0%, #d4380d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  color: var(--ink-secondary);
  font-size: 1.06rem;
  line-height: 1.78;
  max-width: 29.5rem;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.15rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  opacity: .85;
}

/* Interactive Network Telemetry Figure */
.network-figure {
  --wire-on: #ff6b3d;
  --wire-glow: rgba(255, 107, 61, 0.32);
  --wire-off: rgba(255, 255, 255, 0.16);
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #f4f5f7;
  background: linear-gradient(165deg, #171b24 0%, #0e1016 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-dark);
}
.network-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.network-figure figcaption strong {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  font-weight: 600;
  color: #ffffff;
}
.network-figure figcaption strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}
.network-figure figcaption > span {
  color: #a1a8b8;
  font-size: .76rem;
  font-weight: 550;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.circuit {
  position: relative;
  height: clamp(14.5rem, 18.5vw, 17.5rem);
  isolation: isolate;
  background-color: #10131a;
  background-image:
    radial-gradient(ellipse 46% 62% at 54% 50%, rgba(255, 90, 38, 0.19), transparent 68%),
    radial-gradient(rgba(255, 255, 255, 0.12) 0.75px, transparent 0.75px);
  background-size: auto, 16px 16px;
}
.circuit canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.carriers {
  position: absolute;
  left: 4.5%;
  top: 14%;
  bottom: 14%;
  width: clamp(5.6rem, 8.2vw, 7.5rem);
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}
.carriers label { position: relative; cursor: pointer; }
.carriers input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.carriers span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 2.45rem;
  padding-inline: .55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: #b7becd;
  font-size: .86rem;
  font-weight: 500;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.carriers span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.carriers label:hover span {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}
.carriers input:checked + span {
  border-color: rgba(255, 107, 61, 0.85);
  background: linear-gradient(135deg, rgba(255, 90, 38, 0.22), rgba(255, 90, 38, 0.08));
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 22px -6px rgba(255, 90, 38, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.carriers input:checked + span::before {
  background: #ff7a4f;
  box-shadow: 0 0 8px #ff6b3d;
}
.carriers input:focus-visible + span { outline: 2px solid #ff8a61; outline-offset: 2px; }

.core-socket {
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(7rem, 9.6vw, 9.4rem);
  height: clamp(4.6rem, 6.2vw, 6.1rem);
  border-radius: 14px;
  background: rgba(255, 90, 38, 0.14);
  padding: 1px;
  box-shadow: 0 0 42px -6px rgba(255, 90, 38, 0.36), 0 12px 26px rgba(0, 0, 0, 0.55);
}
.core-socket::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 19px;
  border: 1px solid rgba(255, 118, 72, 0.18);
  pointer-events: none;
}
.core-face {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .24rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 138, 97, 0.42);
  background: linear-gradient(155deg, #212633 0%, #13161f 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.core-face strong {
  color: #ffffff;
  font-size: clamp(.98rem, 1.35vw, 1.28rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
}
.core-face span {
  color: #ffab8c;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.agent-end {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}
.terminal-glyph {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: linear-gradient(155deg, #1f2533 0%, #131720 100%);
  color: #ffffff;
  font: 650 1.15rem/1 var(--font-mono);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.agent-end strong {
  font-size: .78rem;
  font-weight: 550;
  white-space: nowrap;
  color: #cfd4df;
}

.route-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #d6dbe6;
  font-size: .82rem;
}
.route-note-left {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.route-line {
  width: 1.4rem;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 107, 61, 0.3), var(--wire-on));
  flex: none;
}
.route-badge {
  color: #8f96a7;
  font-size: .76rem;
  white-space: nowrap;
}

/* Feature Bento Band */
.feature-band {
  border-block: 1px solid var(--line);
  background: var(--bg-subtle);
  padding-block: clamp(2.2rem, 3.8vw, 3.2rem);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.45rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 38, 0.25);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--signal-soft);
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.feature-icon svg { width: 1.2rem; height: 1.2rem; }
.feature-grid p {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 550;
}
.feature-grid strong {
  font-size: clamp(1.22rem, 1.75vw, 1.5rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-block: .3rem .35rem;
  color: var(--ink);
}
.feature-grid .speed {
  font-size: clamp(1.85rem, 2.5vw, 2.3rem);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.speed small {
  font-size: .56em;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--accent-ink);
}
.feature-grid .feature-card > span:last-child {
  font-size: .83rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* Sections */
.section { padding-block: clamp(3.5rem, 5.5vw, 5.75rem); }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: .5rem;
}
.section-heading h2, .article-heading h1 {
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 730;
  color: var(--ink);
}
.section-heading p, .article-heading p {
  margin-top: .55rem;
  color: var(--ink-secondary);
  font-size: .96rem;
}

/* Billing Term Switch */
.term-switch {
  display: inline-flex;
  padding: .26rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-subtle);
  flex-shrink: 0;
}
.term-switch label { position: relative; cursor: pointer; }
.term-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.term-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: 5.4rem;
  padding: .48rem .95rem;
  text-align: center;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 550;
  color: var(--ink-secondary);
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.term-switch .save-tag {
  font-size: .7rem;
  font-weight: 650;
  padding: .1rem .4rem;
  border-radius: 999px;
  background: var(--signal-soft);
  color: var(--accent-ink);
}
.term-switch input:checked + span {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  font-weight: 650;
}
.term-switch input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 1px; }

/* Pricing Cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  margin-top: 2.15rem;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.2vw, 2.15rem);
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.tier-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.tier-heading h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.tier-badge {
  display: none;
  font-size: .72rem;
  font-weight: 650;
  padding: .22rem .62rem;
  border-radius: 999px;
  background: rgba(255, 90, 38, 0.18);
  color: #ff9c7a;
  border: 1px solid rgba(255, 107, 61, 0.35);
}
.tier-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  color: var(--accent-ink);
  opacity: .85;
}
.tier-mark i {
  display: block;
  width: 4.5px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
}
.tier-mark i:nth-child(2) { height: 14px; }
.tier-mark i:nth-child(3) { height: 19px; }

.plan-fit {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .4rem;
  min-height: 1.5em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .22rem;
  margin-block: 1.5rem 1.35rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.plan-price .currency {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink-secondary);
}
.plan-price strong {
  font-size: clamp(2.55rem, 3.4vw, 3.25rem);
  letter-spacing: -.045em;
  font-weight: 740;
}
.price-term {
  margin-left: .25rem;
  font-size: .88rem;
  color: var(--muted);
}

.plan-quota {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ink-secondary);
}
.plan-quota b {
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.plan-perks {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .58rem;
  font-size: .875rem;
  color: var(--ink-secondary);
}
.plan-perks li {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.plan-perks li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: none;
  border-radius: 50%;
  background: var(--signal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.2L6.8 10.5L11.5 5.5' stroke='%23c63d12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.plan-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted);
}
.plan-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .3rem .72rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  font-weight: 550;
}

.plan-card[data-plan="cruise"] {
  color: #f6f7fa;
  background:
    radial-gradient(ellipse 85% 42% at 50% 0%, rgba(255, 90, 38, 0.2), transparent 70%),
    linear-gradient(170deg, #171b24 0%, #0e1016 100%);
  border-color: rgba(255, 107, 61, 0.35);
  box-shadow: var(--shadow-dark);
}
.plan-card[data-plan="cruise"]:hover {
  border-color: rgba(255, 107, 61, 0.58);
}
.plan-card[data-plan="cruise"] .tier-badge { display: inline-flex; }
.plan-card[data-plan="cruise"] .tier-mark { display: none; }
.plan-card[data-plan="cruise"] :is(.plan-fit, .price-term, .currency) { color: #a7aec0; }
.plan-card[data-plan="cruise"] .plan-quota {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #c2c8d6;
}
.plan-card[data-plan="cruise"] .plan-quota b { color: #ffffff; }
.plan-card[data-plan="cruise"] .plan-perks { color: #d0d5e2; }
.plan-card[data-plan="cruise"] .plan-perks li::before {
  background-color: rgba(255, 90, 38, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.2L6.8 10.5L11.5 5.5' stroke='%23ff8a61' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan-card[data-plan="cruise"] .plan-foot {
  border-color: rgba(255, 255, 255, 0.1);
  color: #9ba2b4;
}
.plan-card[data-plan="cruise"] .plan-status-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #e6e9f0;
}

/* Guide Strip */
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.guide-strip {
  background: var(--bg-subtle);
  border-block: 1px solid var(--line);
}
.guide-strip .editorial-grid { align-items: stretch; }
.guide-cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 18rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: #0a1426;
  box-shadow: var(--shadow-md);
}
.guide-cover picture, .guide-cover::after {
  position: absolute;
  z-index: -1;
  inset: 0;
}
.guide-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 68% 52%;
  transition: transform .6s ease;
}
.guide-cover:hover img { transform: scale(1.03); }
.guide-cover::after {
  content: "";
  background: linear-gradient(
    115deg,
    rgba(9, 15, 28, 0.9) 0%,
    rgba(10, 18, 34, 0.62) 48%,
    rgba(10, 18, 34, 0.12) 100%
  );
}
.guide-cover .cover-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .24rem .68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: .76rem;
  font-weight: 600;
  color: #eef3ff;
}
.guide-cover h2 {
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  font-weight: 730;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.guide-cover p {
  color: rgba(235, 241, 255, 0.84);
  font-size: .94rem;
  margin-top: .35rem;
  max-width: 22rem;
}

.guide-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .85rem;
}
.guide-link {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.guide-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 38, 0.35);
  box-shadow: var(--shadow-sm);
}
.guide-link strong, .guide-link small { display: block; }
.guide-link strong {
  font-size: 1.08rem;
  font-weight: 680;
  color: var(--ink);
  transition: color .16s ease;
}
.guide-link small {
  color: var(--muted);
  font-size: .83rem;
  margin-top: .12rem;
}
.guide-link:hover strong { color: var(--accent-ink); }
.link-word {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .86rem;
  transition: transform .16s ease;
}
.guide-link:hover .link-word { transform: translateX(3px); }
.platform-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--accent-ink);
  background: var(--signal-soft);
  border-radius: 12px;
}
.platform-icon svg { width: 1.35rem; height: 1.35rem; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-list details {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.faq-list details[open] {
  border-color: rgba(255, 90, 38, 0.25);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.18rem 3rem 1.18rem 1.35rem;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.35rem;
  width: .85rem;
  height: 1.7px;
  border-radius: 2px;
  background: var(--accent-ink);
  transition: transform .2s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list p {
  color: var(--ink-secondary);
  font-size: .93rem;
  line-height: 1.75;
  padding: 0 1.35rem 1.25rem;
}

/* Footer */
.footer {
  color: #e9ecf3;
  background: var(--obsidian);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 3.5rem;
}
.footer-row {
  min-height: 6.2rem;
  padding-block: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer .brand { font-size: 1.15rem; color: #ffffff; }
.footer-tagline {
  font-size: .82rem;
  color: #8c93a5;
}
.footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.4rem);
}
.footer nav a {
  font-size: .88rem;
  color: #b7becf;
  transition: color .15s ease;
}
.footer nav a:hover { color: #ff855c; }

/* Guide / Article Page */
.article-heading {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255, 90, 38, 0.08), transparent 65%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 4.5vw, 3.6rem);
}
.article-heading a, .article-content a, .article-nav a { color: var(--accent-ink); }
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .9rem;
}
.article-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.article-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 550;
  color: var(--ink-secondary);
}
.article-chip code {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--accent-ink);
}
.article-layout {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 44rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.article-nav {
  position: sticky;
  top: 5.75rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: .9rem;
}
.article-nav strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}
.article-nav ul { list-style: none; margin: .7rem 0 0; padding: 0; }
.article-nav li + li { margin-top: .3rem; }
.article-nav a {
  display: block;
  padding: .38rem .55rem;
  border-radius: 7px;
  color: var(--ink-secondary);
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}
.article-nav a:hover {
  background: var(--signal-soft);
  color: var(--accent-ink);
  text-decoration: none;
}
.article-content { line-height: 1.82; }
.article-intro {
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  color: var(--ink-secondary);
  font-size: .95rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-xs);
}
.guide-card {
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.guide-card + .guide-card { margin-top: 1.25rem; }
.guide-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.article-content h2 {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin: 0;
  scroll-margin-top: 5.75rem;
}
.format-pill {
  padding: .18rem .6rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  color: var(--ink-secondary);
}
.article-content p { color: var(--ink-secondary); }
.article-content p + p { margin-top: .65rem; }
.article-content ol {
  margin: .95rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.article-content ol li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--ink);
}
.article-content ol li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: .16rem;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--accent-ink);
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.article-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 550;
}
.article-content code { font-family: var(--font-mono); font-size: .88em; overflow-wrap: anywhere; }

/* Floating Support Launcher & Drawer */
.support-entry {
  position: fixed;
  z-index: 40;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .5rem 1.05rem .5rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  background: rgba(16, 19, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -6px rgba(10, 12, 18, 0.45), 0 0 0 1px rgba(16, 19, 25, 0.15);
  font-size: .875rem;
  font-weight: 600;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.support-entry:hover {
  transform: translateY(-2px);
  background: #1b202c;
  border-color: rgba(255, 107, 61, 0.55);
  box-shadow: 0 16px 34px -6px rgba(10, 12, 18, 0.52);
}
.support-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 90, 38, 0.28);
  flex: none;
}
.support-entry svg { width: 1rem; height: 1rem; opacity: .9; flex: none; }
.new-reply {
  color: #ffffff;
  background: var(--signal);
  font-size: .72rem;
  font-weight: 650;
  padding: .08rem .46rem;
  border-radius: 999px;
}

.support-window {
  position: fixed;
  inset: auto auto max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  margin: 0;
  padding: 0;
  width: min(24rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  border: 1px solid rgba(18, 21, 28, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 64px -12px rgba(10, 12, 18, 0.36);
  background: var(--surface);
  color: var(--ink);
}
.support-window::backdrop {
  background: rgba(16, 19, 25, 0.32);
  backdrop-filter: blur(2px);
}
body:has(.support-window[open]) { overflow: hidden; }
.support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  gap: 1rem;
  background: linear-gradient(155deg, #171b24 0%, #101319 100%);
  color: #ffffff;
}
.support-head h2 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
}
.support-status {
  margin-top: .2rem;
  font-size: .8rem;
  color: #aeb5c5;
}
.support-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 2.15rem;
  height: 2.15rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color .15s ease;
}
.support-close:hover { background: rgba(255, 255, 255, 0.2); }

.chat-log {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  height: min(17rem, 38dvh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.05rem;
  background: var(--bg);
}
.chat-message { max-width: 86%; align-self: flex-start; min-width: 0; }
.chat-message.mine { align-self: flex-end; }
.chat-message small { display: block; color: var(--muted); font-size: .73rem; padding-inline: .2rem; }
.chat-message.mine small { text-align: right; }
.chat-message p {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .55rem .82rem;
  margin-top: .22rem;
  border-radius: 13px 13px 13px 4px;
  font-size: .9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow-xs);
}
.chat-message.mine p {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: #ffffff;
  border-radius: 13px 13px 4px 13px;
}
.chat-error { color: #be123c; margin: 0 1rem; font-size: .82rem; }
.chat-error:not(:empty) { padding-top: .5rem; }
.chat-form {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
  padding: .8rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.chat-input { flex: 1; min-width: 0; }
.chat-input textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  height: 3.1rem;
  max-height: 7rem;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .52rem .75rem;
  background: var(--bg);
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.chat-input textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 90, 38, 0.14);
}
.chat-form button { min-height: 2.75rem; padding-inline: 1.05rem; border-radius: 10px; font-size: .88rem; }

/* Tablet */
@media (min-width: 681px) and (max-width: 960px) {
  :root { --gutter: 1.75rem; }
  .header-row { gap: 1rem; }
  .site-nav a { padding-inline: .6rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 34rem; }
  .editorial-grid { grid-template-columns: 1fr; gap: 2rem; }
  .article-layout { grid-template-columns: 12rem minmax(0, 1fr); gap: 2rem; }
}

/* Mobile */
@media (max-width: 680px) {
  .header-row { min-height: 3.85rem; gap: .5rem; }
  .brand { font-size: 1.2rem; gap: .45rem; }
  .brand img { width: 30px; height: 30px; border-radius: 7px; }
  .header-actions { gap: .4rem; }
  .console-link { min-height: 2.25rem; padding: .35rem .75rem; font-size: .82rem; gap: .38rem; }
  .menu-toggle {
    display: inline-grid; place-items: center; position: relative;
    width: 2.4rem; height: 2.4rem; padding: 0;
    border-radius: 9px; background: transparent; color: var(--ink);
  }
  .menu-toggle:hover { background: rgba(18, 21, 28, 0.06); }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    width: 1.15rem; height: 1.6px; border-radius: 2px; background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before { top: -5.5px; }
  .menu-toggle span::after { top: 5.5px; }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto;
    background: rgba(248, 247, 244, 0.98);
    backdrop-filter: blur(18px);
    padding: .5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .menu-open .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; }
  .site-nav a { padding: .7rem .75rem; }

  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.25rem 2.2rem; }
  .hero h1 { margin-block: .95rem .8rem; font-size: clamp(2.15rem, 8.8vw, 3.1rem); }
  .hero-description { font-size: .98rem; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-actions .button { min-height: 2.75rem; padding-inline: 1.15rem; font-size: .9rem; }
  .hero-meta { margin-top: 1.35rem; padding-top: 1rem; gap: .4rem .9rem; font-size: .8rem; }

  .network-figure figcaption { padding: .75rem .95rem; }
  .circuit { height: 11.6rem; }
  .carriers { left: 3.5%; top: 10%; bottom: 10%; width: 4.95rem; }
  .carriers span { min-height: 2.2rem; font-size: .78rem; padding-inline: .35rem; gap: .28rem; }
  .carriers span::before { width: 5px; height: 5px; }
  .core-socket { width: 5.65rem; height: 4.05rem; left: 53.5%; }
  .core-face strong { font-size: .86rem; }
  .core-face span { font-size: .66rem; }
  .agent-end { right: 3.2%; gap: .32rem; }
  .terminal-glyph { width: 2.45rem; height: 2.2rem; font-size: .95rem; border-radius: 8px; }
  .agent-end strong { font-size: .68rem; }
  .route-note { padding: .6rem .95rem; font-size: .76rem; }
  .route-badge { display: none; }

  .feature-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .feature-card { padding: 1.1rem 1rem; }
  .feature-icon { width: 2.1rem; height: 2.1rem; margin-bottom: .75rem; }
  .feature-grid strong { font-size: 1.12rem; }
  .feature-grid .speed { font-size: 1.65rem; }

  .section { padding-block: 2.75rem; }
  .section-heading { flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
  .section-heading h2 { font-size: 1.75rem; }
  .plan-grid { grid-template-columns: 1fr; margin-top: 1.35rem; gap: 1rem; }
  .plan-card { padding: 1.4rem; }
  .plan-price { margin-block: 1.1rem 1rem; }

  .editorial-grid, .article-layout { grid-template-columns: 1fr; gap: 1.35rem; }
  .guide-cover { min-height: 13.5rem; }
  .article-nav { position: static; }
  .article-nav ul { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
  .article-nav li + li { margin: 0; }
  .article-heading { padding-block: 2rem; }

  .footer { padding-bottom: 4.75rem; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer nav { flex-wrap: wrap; gap: .75rem 1.35rem; }
}

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