/* ==========================================================================
   VPSRENTO — style.css
   Single source of truth for the public site (~40 pages).
   Classic hosting theme: cool gray page, white bordered panels, navy accent.
   Tokens → Base → Layout → Components → Animations → Responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #EEF1F5;
  --bg-2:          #E9EDF3;
  --surface:       #FFFFFF;
  --surface-2:     #F7F9FB;
  --border:        #C3CAD4;
  --border-strong: #9AA6B5;

  /* Text */
  --text:   #1B2430;
  --text-2: #4A5568;
  --text-3: #6B7684;

  /* Brand */
  --accent:      #17427A;
  --accent-2:    #0F3260;
  --accent-dim:  rgba(23, 66, 122, .08);
  --accent-glow: rgba(23, 66, 122, .15);
  --gold:        #A16207;
  --gold-dim:    rgba(161, 98, 7, .10);
  --red:         #B91C1C;
  --red-dim:     rgba(185, 28, 28, .08);
  --blue:        #0B63CE;
  --blue-dim:    rgba(11, 99, 206, .08);

  /* Chrome */
  --navy:        #12325F;
  --navy-edge:   #0B2242;
  --green:       #15803D;
  --green-dim:   rgba(21, 128, 61, .08);

  /* Type */
  --font-ui:  Tahoma, Verdana, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Radius — square-ish, classic */
  --r-sm: 3px;
  --r:    3px;
  --r-lg: 3px;

  /* Rhythm / layout */
  --maxw: 1200px;
  --section-pad: 96px;

  /* Shadows — thin and hard, no glows */
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, .06);
  --shadow:    0 1px 0 rgba(0, 0, 0, .06), 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-lg: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .09);
  --glow-accent: 0 0 0 1px rgba(23, 66, 122, .30);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur:  240ms;

  /* Header metrics (anchor scroll offsets). --promo-h is 0 since the promo bar was retired. */
  --promo-h: 0px;
  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-dim);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-2); }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--accent-2); text-decoration: underline; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; color: var(--text-2); }
li { margin-bottom: .35em; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

img, svg { max-width: 100%; vertical-align: middle; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Scrollbar — square, classic */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* Mono utility — anything technical */
.mono { font-family: var(--font-mono); font-feature-settings: "zero"; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 860px; }

.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: normal;
}
.section-head p { font-size: 1.0625rem; margin-bottom: 0; }

section[id], article[id], div[id].anchor-target {
  scroll-margin-top: calc(var(--header-h) + var(--promo-h) + 24px);
}

/* --------------------------------------------------------------------------
   5. HEADER / NAV — solid navy bar, white text
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid var(--navy-edge);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .06em;
  color: #FFFFFF;
}
.brand:hover { color: #FFFFFF; text-decoration: none; }
.brand img, .brand svg { width: 28px; height: 28px; display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav > a,
.main-nav > .nav-item > button.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.main-nav > a:hover,
.main-nav > .nav-item > button.nav-link:hover,
.main-nav > a.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .10);
  text-decoration: none;
}
.main-nav .nav-link .chevron {
  transition: transform var(--dur) var(--ease);
}
.nav-item:hover .nav-link .chevron,
.nav-item.open .nav-link .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-dropdown a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-dropdown a .icon { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.nav-dropdown .dd-label { display: block; font-weight: 500; font-size: .9375rem; color: var(--text); }
.nav-dropdown .dd-desc { display: block; font-size: .8125rem; color: var(--text-3); margin-top: 1px; }

/* Right side of header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-header .btn-ghost { color: rgba(255, 255, 255, .85); }
.site-header .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.site-header .btn-primary { border-color: rgba(255, 255, 255, .35); }

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(255, 255, 255, .60);
  border: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.status-link:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .30); text-decoration: none; }

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0;
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.status-dot.dot-gold { background: var(--gold); }
.status-dot.dot-gold::after { border-color: var(--gold); }
.status-dot.dot-red { background: var(--red); }
.status-dot.dot-red::after { border-color: var(--red); }
@keyframes pulse-ring {
  0%   { transform: scale(.6); opacity: .9; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #FFFFFF;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. BUTTONS — flat navy, 1px darker border, no glow, no nudge
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn .icon { transition: none; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent-2);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--navy-edge);
  color: #FFFFFF;
  text-decoration: none;
}
.btn-primary:hover .icon.arrow { transform: none; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--text-3);
  color: var(--text);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.btn-danger {
  background: var(--red-dim);
  border-color: rgba(185, 28, 28, .3);
  color: var(--red);
}
.btn-danger:hover { background: rgba(185, 28, 28, .12); color: var(--red); }

.btn-sm { padding: 8px 14px; font-size: .8125rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn[disabled], .btn.disabled {
  opacity: .45;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. HERO — solid light-blue panel, no glows
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 112px 0 96px;
  overflow: hidden;
  background: #E7EEF6;
  border-bottom: 1px solid var(--border);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 24px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  letter-spacing: normal;
  line-height: 1.1;
  margin-bottom: 20px;
}
.grad {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--accent);
}
.hero .hero-sub {
  font-size: 1.125rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* Trust chips — rectangular */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-2);
}
.chip .icon { color: var(--accent); }
.chip.mono { font-family: var(--font-mono); font-size: .75rem; }
.chip-gold { background: var(--gold-dim); border-color: rgba(161, 98, 7, .3); color: var(--gold); }

/* --------------------------------------------------------------------------
   8. TERMINAL CARD
   -------------------------------------------------------------------------- */
/* Dark ink terminal on the light theme — deliberate contrast */
.terminal {
  position: relative;
  background: #1B2430;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.7;
  color: #C9CED6;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #141C26;
  border-bottom: 1px solid #2A3648;
}
.terminal-bar .t-dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .t-dot:nth-child(1) { background: #FF5F57; }
.terminal-bar .t-dot:nth-child(2) { background: #FEBC2E; }
.terminal-bar .t-dot:nth-child(3) { background: #28C840; }
.terminal-bar .t-title {
  margin-left: 8px;
  font-size: .6875rem;
  color: #66707C;
  letter-spacing: .04em;
}
.terminal-body {
  padding: 20px;
  min-height: 220px;
  white-space: pre-wrap;
  word-break: break-all;
}
.terminal-body .t-line { display: block; min-height: 1.7em; }
.terminal-body .t-prompt { color: #8FB8EA; }
.terminal-body .t-cmd    { color: #E4E7EC; }
.terminal-body .t-out    { color: #9AA4B0; }
.terminal-body .t-dim    { color: #5C6672; }
.terminal-body .t-ok     { color: #7BC98F; }
.terminal-body .t-warn   { color: #F59E0B; }
.terminal-body .t-err    { color: #F87171; }

.caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #8FB8EA;
  animation: caret-blink 1.05s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* --------------------------------------------------------------------------
   9. TRUST BADGES STRIP
   -------------------------------------------------------------------------- */
.badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--border);
  background: var(--bg-2);
}
.badges .badge-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
}
.badges .badge-cell:last-child { border-right: 0; }
.badges .badge-cell:hover { background: var(--surface); }
.badges .badge-cell .icon { width: 24px; height: 24px; color: var(--accent); }
.badges .badge-cell .badge-title { font-size: .875rem; font-weight: 700; color: var(--text); }
.badges .badge-cell .badge-sub { font-size: .75rem; color: var(--text-3); margin-top: -6px; }

/* --------------------------------------------------------------------------
   10. STATS BAND
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: normal;
  color: var(--text);
  font-feature-settings: "tnum";
}
.stat .stat-value .accent { color: var(--accent); }
.stat .stat-label {
  margin-top: 6px;
  font-size: .8125rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* --------------------------------------------------------------------------
   11. CARDS — white panels, 1px borders, hard shadow
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.card-glow {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.card-glow:hover {
  border-color: var(--accent-2);
  box-shadow: var(--glow-accent);
}

.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--r-sm);
  background: var(--gold);
  border: 1px solid #7C4A05;
  color: #FFFFFF;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(23, 66, 122, .22);
  color: var(--accent);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --------------------------------------------------------------------------
   12. PRICING
   -------------------------------------------------------------------------- */
.cycle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.cycle-toggle button {
  padding: 8px 18px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cycle-toggle button:hover { color: var(--text); }
.cycle-toggle button.active {
  background: var(--accent);
  color: #FFFFFF;
}
.cycle-toggle .cycle-save {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: .6875rem;
  font-weight: 700;
}
.cycle-toggle button.active .cycle-save { background: rgba(255,255,255,.22); color: #FFFFFF; }

.plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease);
}
.plan:hover {
  border-color: var(--border-strong);
}
.plan.card-glow { border-color: var(--accent); }
.plan.card-glow:hover { border-color: var(--accent-2); }

.plan .plan-name {
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 12px;
}
.plan .plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan .plan-price .amount {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--text);
  font-feature-settings: "tnum";
}
.plan .plan-price .per {
  font-size: .8125rem;
  color: var(--text-3);
}
.plan .plan-cycle-note {
  min-height: 1.25em;
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-3);
  margin-bottom: 20px;
}
.plan .plan-specs {
  flex: 1;
  margin: 0 0 24px;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.plan .plan-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .875rem;
  color: var(--text-2);
}
.plan .plan-specs li .icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.plan .plan-specs li strong { color: var(--text); font-weight: 700; }

.pricing-footnote {
  margin-top: 32px;
  font-size: .8125rem;
  color: var(--text-3);
  text-align: center;
}
.pricing-footnote .mono { font-size: .75rem; }

/* Full price table (pricing.html) — spreadsheet you trust */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .875rem;
}
.price-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 16px;
  background: var(--navy);
  border: 1px solid var(--navy-edge);
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: left;
  white-space: nowrap;
}
.price-table tbody td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.price-table tbody tr:nth-child(even) { background: #F7F9FB; }
.price-table tbody tr:hover { background: #EDF2F8; }
.price-table td.mono, .price-table th.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
  white-space: nowrap;
}
.price-table .plan-col-name {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. LOCATIONS
   -------------------------------------------------------------------------- */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.loc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.loc-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.loc-card .loc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.loc-card .loc-flag { font-size: 2rem; line-height: 1; }
.loc-card .loc-name { font-size: 1.0625rem; font-weight: 700; color: var(--text); }
.loc-card .loc-city {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-3);
  margin-top: 2px;
}
.loc-card .loc-note { font-size: .8125rem; color: var(--text-2); flex: 1; }
.loc-card .loc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.loc-card .loc-from {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--text-3);
}
.loc-card .loc-from strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-feature-settings: "tnum";
}
.loc-latency {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.loc-latency .chip {
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: .6875rem;
}

.tier-premium, .tier-standard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.tier-premium {
  background: var(--gold-dim);
  border: 1px solid rgba(161, 98, 7, .3);
  color: var(--gold);
}
.tier-standard {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   14. FEATURES
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature .card-icon { margin-bottom: 16px; }
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { font-size: .875rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. SPLIT SECTIONS & LISTS
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}
.split.center { align-items: center; }

.list-check, .list-x {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-check li, .list-x li {
  position: relative;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .9375rem;
  color: var(--text-2);
}
.list-check li strong, .list-x li strong { color: var(--text); font-weight: 700; }
.list-check .icon { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.list-x .icon { flex-shrink: 0; margin-top: 3px; color: var(--red); }

.list-panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.list-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.list-panel.panel-red { border-color: rgba(185, 28, 28, .3); }
.list-panel.panel-red h3 .icon { color: var(--red); }
.list-panel.panel-green { border-color: rgba(21, 128, 61, .3); }
.list-panel.panel-green h3 .icon { color: var(--green); }

/* --------------------------------------------------------------------------
   16. STEPS
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: var(--border-strong);
}
.step { position: relative; text-align: center; }
.step .step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--bg);
}
.section-alt .step .step-num { box-shadow: 0 0 0 6px var(--bg-2); }
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: .875rem; max-width: 300px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   17. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quotes {
  columns: 3;
  column-gap: 24px;
}
.quote {
  position: relative;
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.quote:hover { border-color: var(--border-strong); background: var(--surface-2); }
.quote::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 24px;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2317427A' fill-opacity='.16'%3E%3Cpath d='M10 8c-3.3 0-6 2.7-6 6v2h5v-5H6.5c.3-1.7 1.8-3 3.5-3V8zm10 0c-3.3 0-6 2.7-6 6v2h5v-5h-2.5c.3-1.7 1.8-3 3.5-3V8z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.quote p {
  position: relative;
  font-size: .9375rem;
  color: var(--text-2);
  margin-bottom: 20px;
}
.quote .quote-meta { display: flex; flex-direction: column; gap: 2px; }
.quote .quote-handle {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--accent);
}
.quote .quote-role { font-size: .75rem; color: var(--text-3); }

/* --------------------------------------------------------------------------
   18. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-group { margin-bottom: 48px; }
.faq-group > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: .8125rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.faq-q .chevron {
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform 300ms var(--ease), color var(--dur) var(--ease);
}
.faq-item.open .faq-q .chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  height: 0;
  overflow: hidden;
  transition: height 320ms var(--ease);
}
.faq-a-inner {
  padding: 0 22px 20px;
  font-size: .9375rem;
  color: var(--text-2);
}
.faq-a-inner p:last-child { margin-bottom: 0; }

/* Fallback if JS fails: keep content visible */
.no-js .faq-a { height: auto; }

/* --------------------------------------------------------------------------
   19. COMPARISON TABLE — spreadsheet grid
   -------------------------------------------------------------------------- */
.vs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .875rem;
}
.vs-table th, .vs-table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  text-align: center;
  color: var(--text-2);
}
.vs-table th:first-child, .vs-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.vs-table thead th {
  font-size: .8125rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--navy);
  border-color: var(--navy-edge);
}
.vs-table .vs-vpsrento {
  background: var(--accent-dim);
  border-inline: 1px solid rgba(23, 66, 122, .3);
}
.vs-table thead .vs-vpsrento {
  color: #FFFFFF;
  background: #1B4A86;
  border-top: 2px solid var(--gold);
}
.vs-table tbody tr:last-child .vs-vpsrento { border-bottom: 2px solid var(--accent); }
.vs-table tbody tr:hover td { background: #EDF2F8; }
.vs-table tbody tr:hover .vs-vpsrento { background: rgba(23, 66, 122, .12); }
.vs-table .icon { vertical-align: middle; }
.vs-table .yes { color: var(--green); }
.vs-table .no { color: var(--red); }
.vs-table .partial { color: var(--gold); }
.vs-table td.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* --------------------------------------------------------------------------
   20. CTA BAND — solid light-blue panel
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  background: #E7EEF6;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  text-align: center;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: normal;
  margin-bottom: 12px;
}
.cta-band p {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 32px;
}
.cta-band .hero-ctas { position: relative; justify-content: center; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 96px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 40px;
  padding: 72px 0 56px;
}
.footer-brand .brand { margin-bottom: 16px; color: var(--text); }
.footer-brand .brand:hover { color: var(--text); }
.footer-brand p {
  font-size: .8125rem;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-brand .status-link { padding-left: 0; border: 0; color: var(--text-3); }
.footer-brand .status-link:hover { color: var(--accent); }
.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: .875rem;
  color: var(--text-2);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-3);
}
.footer-bottom .crypto-tickers { letter-spacing: .04em; }
.footer-bottom .crypto-tickers b { color: var(--text-2); font-weight: 500; }

/* --------------------------------------------------------------------------
   22. STATUS PAGE
   -------------------------------------------------------------------------- */
.status-overview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 40px;
  background: var(--green-dim);
  border: 1px solid rgba(21, 128, 61, .3);
  border-radius: var(--r);
  font-weight: 700;
  color: var(--green);
}
.status-overview.degraded {
  background: var(--gold-dim);
  border-color: rgba(161, 98, 7, .3);
  color: var(--gold);
}

.status-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr minmax(90px, auto);
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.status-row:last-child { border-bottom: 0; }
.status-row .sr-loc { display: flex; align-items: center; gap: 12px; }
.status-row .sr-flag { font-size: 1.375rem; }
.status-row .sr-name { font-weight: 700; color: var(--text); }
.status-row .sr-city {
  display: block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-3);
}
.status-row .sr-uptime {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--text-2);
  text-align: right;
  font-feature-settings: "tnum";
}
.status-row .sr-uptime .status-dot { display: inline-block; margin-right: 8px; vertical-align: baseline; }

.uptime-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 36px;
}
.uptime-bars .ub {
  flex: 1;
  min-width: 2px;
  height: 100%;
  border-radius: 1px;
  background: var(--green);
  opacity: .85;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  cursor: default;
}
.uptime-bars .ub:hover { opacity: 1; transform: scaleY(1.12); }
.uptime-bars .ub.ub-partial { background: var(--gold); }
.uptime-bars .ub.ub-down { background: var(--red); }
.uptime-bars .ub.ub-empty { background: var(--border); opacity: .5; }
.uptime-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-3);
}

.incident {
  position: relative;
  padding: 24px 24px 24px 56px;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
}
.incident.resolved { border-left-color: var(--green); }
.incident::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}
.incident.resolved::before { background: var(--green); }
.incident .incident-date {
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.incident h3 { font-size: 1rem; margin: 6px 0 10px; }
.incident p { font-size: .875rem; margin-bottom: 10px; }
.incident .incident-updates {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.incident .incident-updates li {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-2);
  margin-bottom: 8px;
}
.incident .incident-updates li b { color: var(--text); font-weight: 700; }

/* --------------------------------------------------------------------------
   23. FORMS
   -------------------------------------------------------------------------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text-2);
}
.field .hint {
  margin-top: 6px;
  font-size: .75rem;
  color: var(--text-3);
}
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: .9375rem;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(23, 66, 122, .18);
}
.input.mono, .textarea.mono { font-family: var(--font-mono); font-size: .875rem; }
.textarea { min-height: 120px; resize: vertical; }

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7684' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* Toggle switch — square track, classic */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.toggle .toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: var(--text-2);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.toggle input:checked + .toggle-track {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.toggle input:checked + .toggle-track::after {
  transform: translateX(20px);
  background: var(--accent);
}
.toggle input:focus-visible + .toggle-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.toggle .toggle-label { font-size: .875rem; color: var(--text-2); }

/* Copy field */
.copy-field {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.copy-field .input { flex: 1; }
.copy-field[readonly], .copy-field input[readonly] { user-select: all; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.copy-btn:hover { color: var(--text); border-color: var(--text-3); background: var(--surface-2); }
.copy-btn.copied {
  color: var(--accent);
  border-color: rgba(23, 66, 122, .4);
  background: var(--accent-dim);
}

/* Checkbox / radio */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-2);
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: var(--surface);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.check input[type="radio"] { border-radius: 50%; }
.check input:checked {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.check input[type="radio"]:checked {
  background-image: none;
  box-shadow: inset 0 0 0 4px var(--surface);
}
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   24. ALERTS
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: var(--r);
  border: 1px solid var(--border-strong);
  font-size: .875rem;
  color: var(--text-2);
  background: var(--surface);
}
.alert .icon { flex-shrink: 0; margin-top: 2px; }
.alert strong { color: var(--text); }
.alert p { margin-bottom: .5em; font-size: .875rem; }
.alert p:last-child { margin-bottom: 0; }
.alert-info { background: var(--blue-dim); border-color: rgba(11, 99, 206, .3); }
.alert-info .icon { color: var(--blue); }
.alert-warn { background: var(--gold-dim); border-color: rgba(161, 98, 7, .3); }
.alert-warn .icon { color: var(--gold); }
.alert-danger { background: var(--red-dim); border-color: rgba(185, 28, 28, .3); }
.alert-danger .icon { color: var(--red); }
.alert-success { background: var(--green-dim); border-color: rgba(21, 128, 61, .3); }
.alert-success .icon { color: var(--green); }

/* --------------------------------------------------------------------------
   25. MISC — badges, pills, kbd, code, breadcrumbs
   -------------------------------------------------------------------------- */
.badge, .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}
.badge-accent { background: var(--accent-dim); border-color: rgba(23,66,122,.3); color: var(--accent); }
.badge-gold   { background: var(--gold-dim); border-color: rgba(161,98,7,.3); color: var(--gold); }
.badge-red    { background: var(--red-dim); border-color: rgba(185,28,28,.3); color: var(--red); }
.badge-blue   { background: var(--blue-dim); border-color: rgba(11,99,206,.3); color: var(--blue); }

.kbd {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text);
  line-height: 1.5;
}

.code {
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .85em;
  color: var(--accent);
}

/* Dark ink code block on the light theme — deliberate contrast */
.pre {
  position: relative;
  margin: 0 0 1.5em;
  padding: 20px;
  background: #1B2430;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.7;
  color: #9AA4B0;
  box-shadow: var(--shadow-sm);
}
.pre code { font-family: inherit; color: inherit; background: none; border: 0; padding: 0; }
.pre .copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  font-size: .6875rem;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.pre:hover .copy-btn, .pre .copy-btn.copied { opacity: 1; }
.pre .c-prompt { color: #8FB8EA; user-select: none; }
.pre .c-comment { color: #66707C; }
.pre .c-string { color: #F59E0B; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: .8125rem;
  color: var(--text-3);
}
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { color: var(--border-strong); user-select: none; }
.breadcrumbs [aria-current] { color: var(--text); }

/* --------------------------------------------------------------------------
   26. ARTICLE TYPOGRAPHY (guides, legal, canary)
   -------------------------------------------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 64px;
  align-items: start;
}
.article { max-width: 720px; font-size: 1rem; }
.article h2 {
  margin-top: 2.2em;
  font-size: 1.5rem;
  letter-spacing: normal;
}
.article h3 { margin-top: 1.8em; font-size: 1.1875rem; }
.article h2:first-of-type { margin-top: 0; }
.article p, .article li { color: var(--text-2); }
.article a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11, 99, 206, .45);
}
.article a:hover { text-decoration-color: var(--blue); }
.article blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--text-2);
  font-style: italic;
}
.article blockquote p { margin-bottom: 0; }
.article table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: .875rem;
}
.article th, .article td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  color: var(--text-2);
}
.article th {
  background: var(--navy);
  border-color: var(--navy-edge);
  color: #FFFFFF;
  font-weight: 700;
}
.article .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-3);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + var(--promo-h) + 24px);
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.toc h4 {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
}
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc li { margin-bottom: 6px; }
.toc a {
  display: block;
  padding: 4px 0;
  font-size: .8125rem;
  color: var(--text-2);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -14px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.toc a:hover, .toc a.active { color: var(--accent); border-left-color: var(--accent); text-decoration: none; }

/* Canary PGP signature block — dark ink, deliberate contrast */
.canary-sig {
  margin: 2em 0;
  padding: 20px;
  background: #1B2430;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .6875rem;
  line-height: 1.6;
  color: #66707C;
  white-space: pre;
}

/* --------------------------------------------------------------------------
   27. TABS
   -------------------------------------------------------------------------- */
.tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tabs-nav button {
  position: relative;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-3);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.tabs-nav button:hover { color: var(--text); }
.tabs-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.tabs-nav button.active { color: var(--accent); }
.tabs-nav button.active::after { transform: scaleX(1); }
.tab-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   28. ICONS
   -------------------------------------------------------------------------- */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   29. REVEAL ANIMATIONS — minimal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Utility text classes */
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-2); }
.text-faint { color: var(--text-3); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; } .mb-3 { margin-bottom: 24px; }
.mt-4 { margin-top: 32px; } .mb-4 { margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   30. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .caret { animation: none; }
  .status-dot::after { display: none; }
}

/* --------------------------------------------------------------------------
   31. RESPONSIVE
   -------------------------------------------------------------------------- */

/* ≤1200px */
@media (max-width: 1200px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan.card-glow { order: -1; }
  .quotes { columns: 2; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* ≤992px — nav collapses */
@media (max-width: 992px) {
  :root { --section-pad: 72px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 24px;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-edge);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav > .nav-item > button.nav-link {
    padding: 12px 14px;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  .nav-item { position: static; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 4px;
    background: rgba(255, 255, 255, .05);
    box-shadow: none;
    border-color: rgba(255, 255, 255, .18);
  }
  .nav-dropdown a { color: rgba(255, 255, 255, .75); }
  .nav-dropdown a:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }
  .nav-dropdown a .icon { color: #9DC0F0; }
  .nav-dropdown .dd-label { color: #FFFFFF; }
  .nav-dropdown .dd-desc { color: rgba(255, 255, 255, .55); }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-item:hover .nav-dropdown { display: none; }
  .nav-item.open:hover .nav-dropdown { display: block; }
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown,
  .nav-item.open .nav-dropdown { transform: none; }

  .status-link .status-text { display: none; }
  .header-actions .btn-ghost { display: none; }
  .header-actions { gap: 8px; }

  .hero { padding: 72px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero .hero-sub { max-width: 100%; }

  .badges {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .badges::-webkit-scrollbar { display: none; }
  .badges .badge-cell {
    flex: 0 0 auto;
    min-width: 170px;
    border-right: 1px solid var(--border);
  }

  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
}

/* ≤768px */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .plans { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .quotes { columns: 1; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .status-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .status-row .sr-uptime { text-align: left; }

  .hero h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
  .header-actions .btn-primary span.btn-label-full { display: none; }
}

/* ≤560px */
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-band { padding: 56px 20px; }
  .cycle-toggle { width: 100%; justify-content: center; }
  .copy-field { flex-direction: column; }
  .copy-field .copy-btn { padding: 10px 14px; justify-content: center; }
  .header-actions .btn-primary { padding: 9px 14px; font-size: .8125rem; }
}
