/* ShareOrbit — Design System
   Tokens, components and patterns implementing the brand system.
   Quiet confidence: black space, hard typography, no gradients. */

:root {
  --so-bg:        #000000;
  --so-bg-1:      #0a0a0a;
  --so-bg-2:      #121212;
  --so-bg-3:      #1a1a1a;
  --so-line:      rgba(255,255,255,0.10);
  --so-line-2:    rgba(255,255,255,0.18);
  --so-fg:        #ffffff;
  --so-fg-2:      rgba(255,255,255,0.72);
  --so-fg-3:      rgba(255,255,255,0.50);
  --so-fg-4:      rgba(255,255,255,0.30);
  --so-accent:    #ffffff;
  --so-accent-ink:#000000;

  /* Brand spark — used very sparingly: brand mark, live-data dot, active state. */
  --so-spark:     #41ead4;
  --so-spark-soft: rgba(65, 234, 212, 0.22);

  --so-radius-sm: 4px;
  --so-radius-md: 8px;
  --so-radius-lg: 14px;
  --so-radius-pill: 999px;

  --so-space-1: 4px;
  --so-space-2: 8px;
  --so-space-3: 12px;
  --so-space-4: 16px;
  --so-space-5: 24px;
  --so-space-6: 32px;
  --so-space-7: 48px;
  --so-space-8: 64px;
  --so-space-9: 96px;

  --so-font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --so-font-body:    "Outfit", ui-sans-serif, system-ui, sans-serif;
  --so-font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --so-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --so-wrap: 1200px;
  --so-wrap-narrow: 880px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--so-bg);
  color: var(--so-fg);
  font-family: var(--so-font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

::selection { background: var(--so-fg); color: var(--so-bg); }

/* ---------- Layout ---------- */
.so-wrap {
  max-width: var(--so-wrap);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.so-wrap-narrow { max-width: var(--so-wrap-narrow); margin: 0 auto; padding: 0 32px; }

@media (max-width: 640px) {
  .so-wrap, .so-wrap-narrow { padding: 0 20px; }
}

/* ---------- Typography ---------- */
.so-display-1 { font-family: var(--so-font-display); font-weight: 700; font-size: clamp(56px, 9vw, 144px); line-height: 0.92; letter-spacing: -0.025em; text-transform: uppercase; margin: 0; }
.so-display-2 { font-family: var(--so-font-display); font-weight: 700; font-size: clamp(40px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; margin: 0; }
.so-h1        { font-family: var(--so-font-display); font-weight: 700; font-size: clamp(34px, 4.5vw, 48px); line-height: 1.05; letter-spacing: -0.015em; text-transform: uppercase; margin: 0; }
.so-h2        { font-family: var(--so-font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.1;  letter-spacing: -0.01em;  text-transform: uppercase; margin: 0; }
.so-h3        { font-family: var(--so-font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.005em; margin: 0; }
.so-h4        { font-family: var(--so-font-display); font-weight: 600; font-size: 16px; line-height: 1.25; text-transform: uppercase; margin: 0; }
.so-body      { font-size: 16px; line-height: 1.6; color: var(--so-fg-2); }
.so-body-lg   { font-size: 18px; line-height: 1.6; color: var(--so-fg-2); }
.so-body-sm   { font-size: 14px; line-height: 1.55; color: var(--so-fg-2); }
.so-caption   { font-size: 12px; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; color: var(--so-fg-3); }
.so-mono      { font-family: var(--so-font-mono); font-size: 12px; letter-spacing: 0.02em; }
.so-eyebrow {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  display: inline-flex; align-items: center; gap: 10px;
}
/* Inline highlight color for selected words in headlines, callouts, etc. */
.so-spark, .spark { color: var(--so-spark); }
.so-eyebrow .num { color: var(--so-spark); }
.so-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--so-spark);
  display: inline-block;
  /* Visual nudge: monospace caps sit slightly above the line-box geometric center */
  transform: translateY(-1px);
}
.so-eyebrow .dot.live { animation: so-pulse 2.4s var(--so-ease) infinite; }

@keyframes so-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Buttons ---------- */
.so-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--so-font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--so-radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: all 220ms var(--so-ease);
  white-space: nowrap; user-select: none;
  text-decoration: none;
}
.so-btn-primary   { background: var(--so-accent); color: var(--so-accent-ink); }
.so-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 0 0 1px var(--so-spark), 0 12px 32px var(--so-spark-soft);
}
.so-btn-primary:hover .arrow { color: var(--so-spark); }
.so-btn-primary:focus-visible { outline: 2px solid var(--so-spark); outline-offset: 2px; }
.so-btn-secondary { background: transparent; color: var(--so-fg); border-color: var(--so-line-2); }
.so-btn-secondary:hover { background: var(--so-fg); color: var(--so-bg); border-color: var(--so-fg); }
.so-btn-secondary:focus-visible { outline: 2px solid var(--so-spark); outline-offset: 2px; }
.so-btn-ghost     { background: transparent; color: var(--so-fg-2); }
.so-btn-ghost:hover { color: var(--so-spark); background: transparent; }
.so-btn-ghost:focus-visible { outline: 2px solid var(--so-spark); outline-offset: 2px; }
.so-btn-sm { padding: 9px 18px; font-size: 11px; }
.so-btn-lg { padding: 18px 36px; font-size: 14px; }
.so-btn .arrow { transition: transform 220ms var(--so-ease); display: inline-block; }
.so-btn:hover .arrow { transform: translateX(4px); }

/* ---------- Inputs ---------- */
.so-input {
  width: 100%;
  background: transparent; color: var(--so-fg);
  border: 0; border-bottom: 1px solid var(--so-line-2);
  padding: 14px 0 10px;
  font-family: var(--so-font-display);
  font-size: 15px; outline: none;
  transition: border-color 220ms var(--so-ease);
}
.so-input::placeholder { color: var(--so-fg-4); }
.so-input:focus { border-bottom-color: var(--so-accent); }

/* ---------- Cards ---------- */
.so-card {
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  background: var(--so-bg-1);
  padding: 32px;
  transition: border-color 220ms var(--so-ease);
}
.so-card:hover { border-color: var(--so-line-2); }

/* ---------- Tabs ---------- */
.so-tabs {
  display: inline-flex;
  background: var(--so-bg-1);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-pill);
  padding: 4px;
  gap: 2px;
}
.so-tab {
  appearance: none; border: 0; background: transparent;
  color: var(--so-fg-3);
  font-family: var(--so-font-display);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 9px 18px; border-radius: var(--so-radius-pill);
  cursor: pointer; transition: all 220ms var(--so-ease);
}
.so-tab:hover { color: var(--so-fg); }
.so-tab[aria-pressed="true"], .so-tab.active { background: var(--so-fg); color: var(--so-bg); }

/* ---------- Divider ---------- */
.so-hr { height: 1px; background: var(--so-line); border: 0; margin: 0; }

/* ---------- Navigation ---------- */
.so-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--so-line);
}
.so-nav .so-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--so-fg); }
.so-nav .so-logo svg { display: block; }
.so-logo-text {
  font-family: var(--so-font-display); font-weight: 700;
  font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
}
.so-logo-text .slash { color: var(--so-spark); }

.so-nav-links {
  display: flex; gap: 28px; align-items: center;
}
.so-nav-links a {
  font-family: var(--so-font-display);
  font-weight: 600;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-3);
  transition: color 220ms var(--so-ease);
}
.so-nav-links a:hover { color: var(--so-fg); }
.so-nav-links a.active { color: var(--so-fg); position: relative; }
.so-nav-links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--so-spark);
}

.so-nav-cta { display: flex; gap: 12px; align-items: center; }

.so-hamburger {
  display: none; background: transparent;
  border: 1px solid var(--so-line-2);
  border-radius: 999px;
  width: 40px; height: 40px;
  cursor: pointer; position: relative; padding: 0;
}
.so-hamburger span {
  display: block; position: absolute;
  left: 11px; right: 11px; height: 1.5px;
  background: var(--so-fg); border-radius: 2px;
  transition: transform 280ms var(--so-ease), opacity 200ms var(--so-ease);
}
.so-hamburger span:nth-child(1) { top: 14px; }
.so-hamburger span:nth-child(2) { top: 19px; }
.so-hamburger span:nth-child(3) { top: 24px; }
.so-hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.so-hamburger.open span:nth-child(2) { opacity: 0; }
.so-hamburger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 820px) {
  .so-nav { position: relative; flex-wrap: wrap; gap: 12px; }
  .so-hamburger { display: block; order: 2; }
  .so-nav-cta { display: none; }
  .so-nav-links {
    position: absolute;
    top: calc(100% + 4px); right: 0;
    flex-direction: column; align-items: flex-end;
    gap: 0;
    background: var(--so-bg-1);
    border: 1px solid var(--so-line-2);
    border-radius: 14px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 220ms var(--so-ease), transform 220ms var(--so-ease);
    z-index: 50;
  }
  .so-nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .so-nav-links a { display: block; width: 100%; padding: 12px 22px; text-align: right; font-size: 12px; }
}

/* Sub-bar under nav for live status */
.so-nav-status {
  display: flex; gap: 24px; padding: 12px 0;
  border-bottom: 1px solid var(--so-line);
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-3);
}
.so-nav-status .spacer { margin-left: auto; }
@media (max-width: 640px) {
  .so-nav-status { gap: 14px; font-size: 10px; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.so-hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.so-hero-inner { position: relative; z-index: 2; max-width: 920px; }
.so-hero h1 { margin-bottom: 28px; }
.so-hero p.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--so-fg-2);
  max-width: 56ch;
  margin: 0 0 36px;
}
.so-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.so-hero .cta-meta {
  font-family: var(--so-font-mono);
  font-size: 12px; letter-spacing: 0.06em; color: var(--so-fg-4);
}

.so-orbit-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  color: var(--so-fg);
}
.so-orbit-bg svg { width: 100%; height: 100%; display: block; }

/* ---------- Hero orbit (classic) ----------
   3 concentric rings + 3D planet + 2 animated satellites.
   Lifted from the original site, re-coloured to the spark token. */
.so-orbit-classic {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
  container-type: inline-size;
}
.so-orbit-classic .ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}
.so-orbit-classic .ring.r2 { inset: 12.5%; border-color: rgba(255, 255, 255, 0.20); }
.so-orbit-classic .ring.r3 { inset: 25%;   border-color: rgba(255, 255, 255, 0.20); }
.so-orbit-classic .planet {
  position: absolute;
  inset: 37.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #525e7a, #1d2434 70%);
  box-shadow:
    inset -22px -22px 44px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(65, 234, 212, 0.18);
  overflow: hidden;
  isolation: isolate;
  transform: rotate(10deg);
}
.so-orbit-classic .planet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  background-image: url("/assets/earth-continents.svg");
  background-size: 50% auto;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: 0.7;
  animation: planet-spin 30s linear infinite;
  will-change: transform;
  pointer-events: none;
}
@keyframes planet-spin {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .so-orbit-classic .planet::before { animation: none; }
}
.so-orbit-classic .satellite {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--so-spark);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--so-spark);
  top: 50%; left: 50%;
  margin: -6px 0 0 -6px;
  transform-origin: center;
}
.so-orbit-classic .satellite.s1 { animation: so-orbit-outer 14s linear infinite; }
.so-orbit-classic .satellite.s2 { animation: so-orbit-inner 22s linear infinite; animation-delay: -7s; }

@keyframes so-orbit-outer {
  from { transform: rotate(0deg)   translateX(50cqw)  rotate(0deg); }
  to   { transform: rotate(360deg) translateX(50cqw)  rotate(-360deg); }
}
@keyframes so-orbit-inner {
  from { transform: rotate(0deg)   translateX(37.5cqw) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(37.5cqw) rotate(-360deg); }
}
/* Mobile-only: satellite that orbited the outer ring jumps onto the inner-most ring (25cqw) */
@keyframes so-orbit-innermost {
  from { transform: rotate(0deg)   translateX(25cqw) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(25cqw) rotate(-360deg); }
}

@media (max-width: 900px) {
  .so-orbit-classic {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 110vw;
    height: 110vw;
    margin: 0;
    opacity: 1;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 82%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 82%);
  }
  .so-hero { padding-top: 0; }
  .so-hero-inner { padding-top: 78vw; position: relative; z-index: 2; }

  /* Mobile: hide the outermost ring; keep the middle (.r2) and inner-most (.r3). */
  .so-orbit-classic .ring:not(.r2):not(.r3) { display: none; }

  /* Mobile: re-target the previously-outer satellite onto the inner-most ring. */
  .so-orbit-classic .satellite.s1 { animation-name: so-orbit-innermost; }
}
@media (prefers-reduced-motion: reduce) {
  .so-orbit-classic .satellite { animation: none; }
}

@media (max-width: 820px) {
  .so-hero { padding: 56px 0 56px; }
}

/* ---------- Stat strip ---------- */
.so-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--so-line);
  border-bottom: 1px solid var(--so-line);
}
.so-stat { padding: 32px 24px; border-left: 1px solid var(--so-line); }
.so-stat:first-child { border-left: 0; }
.so-stat-num {
  font-family: var(--so-font-display);
  font-size: clamp(36px, 4vw, 56px); font-weight: 700;
  line-height: 1; letter-spacing: -0.02em;
}
.so-stat-label {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-3); margin-top: 12px;
}
@media (max-width: 820px) {
  .so-stats { grid-template-columns: repeat(2, 1fr); }
  .so-stat { border-top: 1px solid var(--so-line); }
  .so-stat:nth-child(1), .so-stat:nth-child(2) { border-top: 0; }
  .so-stat:nth-child(odd) { border-left: 0; }
}

/* ---------- Section ---------- */
.so-section { padding: 96px 0; position: relative; }
.so-section + .so-section { border-top: 1px solid var(--so-line); }
.so-section-head { margin-bottom: 56px; max-width: 720px; }
.so-section-head h2 { margin: 16px 0 16px; }
.so-section-head p {
  color: var(--so-fg-2);
  font-size: 17px; line-height: 1.6; max-width: 56ch;
  margin: 0;
}
@media (max-width: 820px) {
  .so-section { padding: 64px 0; }
  .so-section-head { margin-bottom: 36px; }
}

/* ---------- Steps ---------- */
.so-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  overflow: hidden;
}
.so-step {
  padding: 36px 32px;
  background: var(--so-bg-1);
  border-left: 1px solid var(--so-line);
}
.so-step:first-child { border-left: 0; }
.so-step .num {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; color: var(--so-spark);
  display: block; margin-bottom: 28px;
}
.so-step h3 { margin: 0 0 10px; }
.so-step p { color: var(--so-fg-2); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 760px) {
  .so-steps { grid-template-columns: 1fr; }
  .so-step { border-left: 0; border-top: 1px solid var(--so-line); }
  .so-step:first-child { border-top: 0; }
}

/* ---------- Trust grid ---------- */
.so-trust {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  overflow: hidden;
}
.so-trust-item {
  padding: 36px;
  background: var(--so-bg-1);
  border-left: 1px solid var(--so-line);
  border-top: 1px solid var(--so-line);
}
.so-trust-item:nth-child(odd) { border-left: 0; }
.so-trust-item:nth-child(-n+2) { border-top: 0; }
.so-trust-item h4 {
  font-family: var(--so-font-display);
  font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.so-trust-item p { color: var(--so-fg-2); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 760px) {
  .so-trust { grid-template-columns: 1fr; }
  .so-trust-item { border-left: 0; }
  .so-trust-item:nth-child(-n+1) { border-top: 0; }
  .so-trust-item:nth-child(2) { border-top: 1px solid var(--so-line); }
}

/* ---------- Points grid (Why this is safe) ---------- */
.so-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  overflow: hidden;
}
.so-points .item {
  padding: 28px;
  background: var(--so-bg-1);
  border-left: 1px solid var(--so-line);
  border-top: 1px solid var(--so-line);
}
.so-points .item:nth-child(3n+1) { border-left: 0; }
.so-points .item:nth-child(-n+3) { border-top: 0; }
.so-points .item h4 {
  font-family: var(--so-font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.so-points .item p {
  color: var(--so-fg-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 880px) {
  .so-points { grid-template-columns: repeat(2, 1fr); }
  .so-points .item:nth-child(3n+1) { border-left: 1px solid var(--so-line); }
  .so-points .item:nth-child(2n+1) { border-left: 0; }
  .so-points .item:nth-child(-n+3) { border-top: 1px solid var(--so-line); }
  .so-points .item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 540px) {
  .so-points { grid-template-columns: 1fr; }
  .so-points .item { border-left: 0 !important; border-top: 1px solid var(--so-line); }
  .so-points .item:first-child { border-top: 0; }
}

/* ---------- FAQ ---------- */
.so-faq { border-top: 1px solid var(--so-line); }
.so-faq-item {
  border-bottom: 1px solid var(--so-line);
  padding: 0;
}
.so-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 28px 0;
  font-family: var(--so-font-display);
  font-weight: 600; font-size: clamp(18px, 2vw, 22px);
  color: var(--so-fg);
  cursor: pointer; user-select: none;
}
.so-faq-q .toggle {
  font-family: var(--so-font-mono); font-size: 18px;
  color: var(--so-fg-3);
  transition: transform 280ms var(--so-ease), color 220ms var(--so-ease);
  flex-shrink: 0; line-height: 1;
}
.so-faq-q:hover .toggle { color: var(--so-spark); }
.so-faq-item.open .so-faq-q .toggle { transform: rotate(45deg); color: var(--so-spark); }
.so-faq-a {
  max-height: 0; overflow: hidden;
  color: var(--so-fg-2); font-size: 15px; line-height: 1.65;
  transition: max-height 380ms var(--so-ease), padding 280ms var(--so-ease);
}
.so-faq-item.open .so-faq-a { max-height: 800px; padding: 0 0 28px; }

/* ---------- Footer ---------- */
.so-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--so-line);
}
.so-footer .top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.so-footer .col h5 {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  margin: 0 0 16px;
}
.so-footer .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.so-footer .col li a { color: var(--so-fg-2); font-size: 14px; transition: color 220ms var(--so-ease); }
.so-footer .col li a:hover { color: var(--so-fg); }
.so-footer .brand-blurb { color: var(--so-fg-2); font-size: 14px; line-height: 1.55; max-width: 38ch; margin: 16px 0 0; }
.so-footer .meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--so-line);
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-4);
}
.so-disclosure {
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  padding: 20px 24px;
  background: var(--so-bg-1);
  font-family: var(--so-font-mono);
  font-size: 11px; line-height: 1.7; letter-spacing: 0.04em;
  color: var(--so-fg-3);
  margin: 32px 0;
}
@media (max-width: 820px) {
  .so-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .so-footer .top { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Final CTA block ---------- */
.so-cta-block {
  text-align: center;
  padding: 96px 0;
  border-top: 1px solid var(--so-line);
  border-bottom: 1px solid var(--so-line);
}
.so-cta-block h2 { margin: 0 auto 20px; }
.so-cta-block p { margin: 0 auto 36px; max-width: 52ch; color: var(--so-fg-2); font-size: 17px; }

/* ---------- Article (long-form) ---------- */
.so-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 0 96px;
}
.so-article .breadcrumb {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-4);
  margin-bottom: 32px;
}
.so-article .breadcrumb a { color: var(--so-fg-3); }
.so-article .breadcrumb a:hover { color: var(--so-fg); }
.so-article h1 {
  font-family: var(--so-font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 64px); line-height: 0.98;
  letter-spacing: -0.02em; text-transform: uppercase;
  margin: 0 0 28px;
}
.so-article .lede {
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5;
  color: var(--so-fg-2);
  margin: 0 0 48px;
  max-width: 56ch;
}
.so-article h2 {
  font-family: var(--so-font-display); font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15;
  letter-spacing: -0.01em; text-transform: uppercase;
  margin: 56px 0 16px;
}
.so-article h3 {
  font-family: var(--so-font-display); font-weight: 600;
  font-size: 20px; line-height: 1.25;
  margin: 36px 0 12px;
}
.so-article p {
  color: var(--so-fg-2);
  font-size: 16px; line-height: 1.7;
  margin: 0 0 18px;
}
.so-article p strong, .so-article li strong { color: var(--so-fg); font-weight: 600; }
.so-article a:not(.so-btn) { color: var(--so-fg); border-bottom: 1px solid var(--so-line-2); transition: border-color 220ms var(--so-ease); }
.so-article a:not(.so-btn):hover { border-bottom-color: var(--so-fg); }
.so-article ul, .so-article ol {
  color: var(--so-fg-2);
  padding-left: 0; margin: 0 0 24px;
  list-style: none;
}
.so-article ul li, .so-article ol li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 10px;
  font-size: 16px; line-height: 1.65;
}
.so-article ul li::before {
  content: ""; position: absolute;
  left: 0; top: 0.75em;
  width: 12px; height: 1px;
  background: var(--so-fg-3);
}
.so-article ol { counter-reset: so-li; }
.so-article ol li { counter-increment: so-li; padding-left: 36px; }
.so-article ol li::before {
  content: counter(so-li, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--so-fg-4);
}

.so-article .step-num {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--so-fg-4);
  margin-right: 8px;
}

.so-article blockquote, .so-article .pull {
  margin: 40px 0;
  padding: 24px 0 24px 24px;
  border-left: 1px solid var(--so-line-2);
  font-family: var(--so-font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35; letter-spacing: -0.005em;
  color: var(--so-fg);
}

.so-article .callout {
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  background: var(--so-bg-1);
  padding: 24px 28px;
  margin: 32px 0;
  font-size: 15px;
  color: var(--so-fg-2);
}
.so-article .callout strong { color: var(--so-fg); display: block; margin-bottom: 6px;
  font-family: var(--so-font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

.so-article .data-block {
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  background: var(--so-bg-1);
  padding: 8px 28px;
  margin: 32px 0;
}
.so-article .data-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--so-line);
  font-size: 15px;
}
.so-article .data-row:last-child { border-bottom: 0; }
.so-article .data-row .label { color: var(--so-fg-2); }
.so-article .data-row .val { font-family: var(--so-font-mono); color: var(--so-fg); font-weight: 500; letter-spacing: 0.04em; }

.so-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 36px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-md);
  overflow: hidden;
  font-size: 14px;
}
.so-article th, .so-article td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--so-line);
  vertical-align: top;
  color: var(--so-fg);
}
.so-article th {
  background: var(--so-bg-1);
  font-family: var(--so-font-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  font-weight: 500;
}
.so-article td { color: var(--so-fg-2); }
.so-article tr:last-child td { border-bottom: 0; }

.so-article .cta-block {
  margin: 64px 0 0;
  padding: 48px 32px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  background: var(--so-bg-1);
  text-align: center;
}
.so-article .cta-block h3 {
  font-family: var(--so-font-display);
  font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.so-article .cta-block p { color: var(--so-fg-2); font-size: 15px; margin: 0 0 24px; }

.so-article .post-meta {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-3);
  margin-bottom: 24px;
}
.so-article .post-meta a { color: var(--so-fg-2); border: 0; }
.so-article .post-meta a:hover { color: var(--so-fg); }

/* ---------- Blog index ---------- */
.so-post-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--so-line);
}
.so-post {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px; align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--so-line);
  transition: background 220ms var(--so-ease);
  color: var(--so-fg);
}
.so-post:hover { background: var(--so-bg-1); }
.so-post .meta {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-3);
}
.so-post .body h2 {
  font-family: var(--so-font-display);
  font-weight: 700; font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em; text-transform: none;
  margin: 0 0 8px;
}
.so-post .body p { color: var(--so-fg-2); font-size: 15px; line-height: 1.55; margin: 0; max-width: 64ch; }
.so-post .arrow {
  align-self: center;
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  transition: color 220ms var(--so-ease), transform 220ms var(--so-ease);
}
.so-post:hover .arrow { color: var(--so-fg); transform: translateX(4px); }
@media (max-width: 760px) {
  .so-post { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .so-post .arrow { display: none; }
}

/* ---------- Plan card ---------- */
.so-plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.so-plan {
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  background: var(--so-bg-1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.so-plan.featured { border-color: var(--so-fg); }
.so-plan .head { padding: 28px 28px 20px; border-bottom: 1px solid var(--so-line); }
.so-plan .head .tag { font-family: var(--so-font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--so-fg-3); }
.so-plan.featured .head .tag { color: var(--so-fg); }
.so-plan .head h3 { font-family: var(--so-font-display); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: -0.01em; margin: 10px 0 6px; }
.so-plan .head .blurb { font-size: 13px; color: var(--so-fg-3); margin: 0; }
.so-plan .price { padding: 24px 28px; display: flex; align-items: baseline; gap: 6px; }
.so-plan .price .num { font-family: var(--so-font-display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.so-plan .price .per { font-family: var(--so-font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--so-fg-3); }
.so-plan ul { list-style: none; padding: 0 28px; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.so-plan li { font-size: 14px; color: var(--so-fg); display: flex; gap: 12px; line-height: 1.4; }
.so-plan li::before { content: "·"; color: var(--so-fg-3); }
.so-plan .foot { padding: 24px; }
.so-plan .foot .so-btn { width: 100%; }
@media (max-width: 880px) { .so-plan-grid { grid-template-columns: 1fr; } }

/* ---------- Country grid (used by /countries) ---------- */
.so-article .country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  margin: 24px 0 32px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-md);
  overflow: hidden;
}
.so-article .country-grid > span {
  padding: 14px 18px;
  border-right: 1px solid var(--so-line);
  border-bottom: 1px solid var(--so-line);
  font-size: 14px;
  color: var(--so-fg);
  background: var(--so-bg-1);
  font-family: var(--so-font-display);
  font-weight: 500;
}
.so-article .country-grid > span.pending { color: var(--so-fg-3); }
.so-article .country-grid > span.pending::after { content: " · pending"; font-size: 10px; font-family: var(--so-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--so-fg-4); }
.so-article .country-grid > span.blocked { color: var(--so-fg-4); text-decoration: line-through; }

/* ---------- Page hero (used by content pages) ---------- */
.so-page-hero {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--so-line);
}
.so-page-hero .breadcrumb {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-4);
  margin-bottom: 32px;
}
.so-page-hero .breadcrumb a { color: var(--so-fg-3); }
.so-page-hero .breadcrumb a:hover { color: var(--so-fg); }
.so-page-hero h1 { margin: 0 0 24px; }
.so-page-hero p.lede {
  font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5;
  color: var(--so-fg-2);
  max-width: 56ch; margin: 0 0 32px;
}

/* ---------- Legacy class shims ----------
   The blog index and article CTA blocks were authored against an older
   class set. Map those class names onto the new visual system so we don't
   have to rewrite every page's markup. */

/* Blog-index hero */
header.hero {
  padding: 56px 0 64px;
}
header.hero .eyebrow {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  display: block; margin-bottom: 24px;
}
header.hero h1 {
  font-family: var(--so-font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 64px); line-height: 0.98;
  letter-spacing: -0.02em; text-transform: uppercase;
  margin: 0 0 24px;
}
header.hero .lede {
  font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5;
  color: var(--so-fg-2);
  max-width: 56ch; margin: 0;
}

/* Blog-index post list */
.post-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--so-line);
  margin: 32px 0 96px;
}
a.post {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px; align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--so-line);
  transition: background 220ms var(--so-ease);
  color: var(--so-fg);
  text-decoration: none;
}
a.post:hover { background: var(--so-bg-1); }
.post .post-meta {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-3);
  margin: 0;
}
.post .post-title {
  font-family: var(--so-font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em; text-transform: none;
  margin: 0 0 8px; color: var(--so-fg);
  line-height: 1.2;
}
.post .post-excerpt {
  color: var(--so-fg-2); font-size: 15px; line-height: 1.55;
  margin: 0; max-width: 64ch;
}
.post .post-arrow {
  align-self: center;
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  transition: color 220ms var(--so-ease), transform 220ms var(--so-ease);
}
a.post:hover .post-arrow { color: var(--so-fg); transform: translateX(4px); }
@media (max-width: 760px) {
  a.post { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .post .post-arrow { display: none; }
}

/* Article CTA block (legacy `.btn` inside `.cta-block`) */
.so-article .cta-block .btn,
.so-article .cta-block a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--so-font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--so-radius-pill);
  background: var(--so-fg); color: var(--so-bg);
  border: 1px solid var(--so-fg);
  text-decoration: none;
  transition: all 220ms var(--so-ease);
}
.so-article .cta-block .btn:hover { transform: translateY(-1px); filter: brightness(1.08); border-bottom: 1px solid var(--so-fg); }

/* Legacy wrappers used in some blog posts */
.wrap, .wrap-wide { max-width: var(--so-wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap, .wrap-wide { padding: 0 20px; } }

/* Article plan-grid (used inside /cost) */
.so-article .plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin: 32px 0 40px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-lg);
  overflow: hidden;
}
.so-article .plan-card {
  padding: 28px;
  background: var(--so-bg-1);
  border-right: 1px solid var(--so-line);
  border-bottom: 1px solid var(--so-line);
  display: flex; flex-direction: column; gap: 4px;
}
.so-article .plan-card .name {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--so-fg-3);
  margin-bottom: 14px;
}
.so-article .plan-card .price {
  font-family: var(--so-font-display);
  font-weight: 700; font-size: 36px; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--so-fg);
}
.so-article .plan-card .price-sub {
  font-family: var(--so-font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--so-fg-4);
  margin-bottom: 16px;
}
.so-article .plan-card .desc {
  font-size: 14px; line-height: 1.55;
  color: var(--so-fg-2);
}

/* Article footer-links legacy block (kept simple — replaced by full footer in most pages) */
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; padding: 24px 0; font-family: var(--so-font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links a { color: var(--so-fg-3); }
.footer-links a:hover { color: var(--so-fg); }

/* ---------- Reveal animation ---------- */
.so-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms var(--so-ease), transform 600ms var(--so-ease);
}
.so-reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .so-reveal { opacity: 1; transform: none; transition: none; }
  .so-eyebrow .dot.live { animation: none; }
}
