@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --bg: #05070d;
  --bg-elevated: #0e1422;
  --text: #f1f5f9;
  --text-soft: rgba(226, 232, 240, 0.78);
  --text-muted: rgba(203, 213, 225, 0.55);
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --link: #93c5fd;
  --link-hover: #bfdbfe;
  --violet: #8b5cf6;
  --emerald: #10b981;
  --emerald-ring: #34d399;
  --emerald-check: #6ee7b7;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --latency-good: #4ade80;
  --latency-mid: #facc15;
  --latency-slow: #fb923c;
  --latency-bad: #f87171;

  --card-fill: rgba(226, 232, 240, 0.05);
  --card-fill-strong: rgba(226, 232, 240, 0.08);
  --card-border: rgba(148, 163, 184, 0.16);
  --hairline: rgba(148, 163, 184, 0.12);

  --grad-cta: linear-gradient(135deg, #1e4ed8, #3b82f6);
  --grad-play: linear-gradient(135deg, #2563eb, #60a5fa);
  --grad-connected: linear-gradient(135deg, #047857, #059669 45%, #10b981);
  --grad-benefit: linear-gradient(135deg, #7c3aed, #3b82f6);
  --grad-selected: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(139, 92, 246, 0.12));

  --shadow-cta: 0 10px 28px rgba(37, 99, 235, 0.42);
  --shadow-connected: 0 16px 40px rgba(16, 185, 129, 0.32);
  --shadow-device: 0 40px 100px rgba(2, 8, 23, 0.6);

  --r-badge: 6px;
  --r-tile: 10px;
  --r-input: 12px;
  --r-cta: 14px;
  --r-card: 16px;
  --r-status: 20px;
  --r-section: 28px;

  --font-ui: "Instrument Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --page-max: 1160px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(70rem 38rem at 12% -8rem, rgba(59, 130, 246, 0.26), transparent 70%),
    radial-gradient(60rem 34rem at 92% -6rem, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated) 0, var(--bg) 46rem);
  background-repeat: no-repeat;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

code,
.mono {
  font-family: var(--font-mono);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-input);
  background: var(--accent-strong);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 13, 0.62);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--hairline);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-header nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--card-fill);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--card-fill-strong);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-cta);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.5);
}

.btn-ghost {
  color: var(--link);
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.06);
}

.btn-ghost:hover {
  color: var(--link-hover);
  background: rgba(96, 165, 250, 0.12);
}

.btn-small {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 11px;
  font-size: 14px;
}

.store-btn {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 10px 22px 11px;
  cursor: default;
}

.store-btn:hover {
  transform: none;
  box-shadow: var(--shadow-cta);
}

.store-btn small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(219, 234, 254, 0.85);
}

.store-btn span {
  font-size: 17px;
}

/* ---------- shared atoms ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-ring);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--r-badge);
  background: rgba(148, 163, 184, 0.14);
  color: #a8b6c9;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.card {
  border: 1px solid var(--card-border);
  border-radius: var(--r-card);
  background: var(--card-fill);
}

.tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--r-tile);
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.t-vl { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.t-vm { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.t-tr { background: linear-gradient(135deg, #be123c, #f43f5e); }
.t-ss { background: linear-gradient(135deg, #047857, #10b981); }
.t-st { background: linear-gradient(135deg, #065f46, #14b8a6); }
.t-h2 { background: linear-gradient(135deg, #c2410c, #f97316); }
.t-tu { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.t-nv { background: linear-gradient(135deg, #a21caf, #d946ef); }
.t-wg { background: linear-gradient(135deg, #9f1239, #e11d48); }
.t-sh { background: linear-gradient(135deg, #334155, #64748b); }
.t-ht { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.t-hs { background: linear-gradient(135deg, #1e40af, #6366f1); }
.t-s5 { background: linear-gradient(135deg, #4338ca, #6366f1); }

.icon-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.icon-chip svg {
  width: 22px;
  height: 22px;
}

.chip-blue { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.chip-emerald { background: linear-gradient(135deg, #047857, #10b981); }
.chip-violet { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.chip-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }
.chip-orange { background: linear-gradient(135deg, #c2410c, #f97316); }
.chip-rose { background: linear-gradient(135deg, #be123c, #f43f5e); }
.chip-cyan { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.chip-slate { background: linear-gradient(135deg, #334155, #64748b); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow-x: clip;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 .grad {
  background: linear-gradient(120deg, #93c5fd 0%, #60a5fa 35%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 36rem;
  font-size: 19px;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--text-soft);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-ring);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-row li {
  padding: 5px 11px;
  border: 1px solid var(--card-border);
  border-radius: 99px;
  background: var(--card-fill);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- phone mockup ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% 0;
  background:
    radial-gradient(closest-side at 40% 40%, rgba(59, 130, 246, 0.35), transparent),
    radial-gradient(closest-side at 70% 65%, rgba(16, 185, 129, 0.22), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 340px;
  max-width: 100%;
  aspect-ratio: 390 / 800;
  padding: 12px;
  border-radius: 56px;
  background: linear-gradient(160deg, #2a3242, #0b0f18 40%, #1b2230);
  box-shadow: var(--shadow-device), inset 0 0 0 1.5px rgba(148, 163, 184, 0.28);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 45px;
  background: linear-gradient(180deg, #0e1422 0%, #05070d 62%);
  color: var(--text);
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 38% at 28% -6%, rgba(59, 130, 246, 0.26), transparent 70%),
    radial-gradient(80% 34% at 82% -4%, rgba(139, 92, 246, 0.2), transparent 70%);
  pointer-events: none;
}

.phone-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 10px 28px 0;
  font-size: 13.5px;
  font-weight: 600;
}

.phone-island {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 98px;
  height: 28px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.phone-status .sys {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-status .sys svg {
  height: 11px;
  width: auto;
}

.phone-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: 6px 16px 20px;
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 2px;
}

.phone-nav strong {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.phone-nav .btns {
  display: flex;
  gap: 8px;
}

.circle-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.12);
  color: #93b8f7;
}

.circle-btn svg {
  width: 15px;
  height: 15px;
}

.status-card {
  position: relative;
  overflow: hidden;
  padding: 15px;
  border-radius: 18px;
  background: var(--grad-connected);
  box-shadow: var(--shadow-connected);
}

.status-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 90% at 85% -20%, rgba(255, 255, 255, 0.28), transparent 60%);
  pointer-events: none;
}

.status-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
}

.status-row img {
  width: 42px;
  height: 42px;
}

.status-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.status-sub {
  margin-top: 2px;
  color: rgba(240, 253, 250, 0.82);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
}

.status-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #d1fae5;
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(209, 250, 229, 0.7);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.disconnect {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  padding: 9px;
  border-radius: 11px;
  background: rgba(225, 29, 72, 0.92);
  box-shadow: 0 6px 16px rgba(2, 8, 23, 0.3);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 2px -3px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.list-head span:last-child {
  color: #60a5fa;
  letter-spacing: 0.06em;
}

.prow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.prow .tile {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 10.5px;
}

.prow-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.prow-name {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.prow-name .badge {
  padding: 2px 5px;
  font-size: 8px;
}

.prow-host {
  overflow: hidden;
  color: rgba(203, 213, 225, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lat {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.lat-good { color: var(--latency-good); }
.lat-mid { color: var(--latency-mid); }
.lat-slow { color: var(--latency-slow); }
.lat-bad { color: var(--latency-bad); }

.play,
.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.play {
  background: var(--grad-play);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  color: #fff;
}

.check {
  border: 1.5px solid var(--emerald-ring);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-check);
}

.play svg,
.check svg {
  width: 12px;
  height: 12px;
}

.prow.is-active {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.07);
}

.phone-home {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 2;
  width: 120px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(-50%);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(14, 20, 34, 0.86);
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.float-card small {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.float-card .icon-chip {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.float-card .icon-chip svg {
  width: 16px;
  height: 16px;
}

.float-a {
  bottom: 13%;
  left: -2%;
  animation: bob 7s ease-in-out infinite;
}

.float-b {
  right: -4%;
  bottom: 3%;
  animation: bob 8s ease-in-out -3s infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 46rem;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 18px;
  color: var(--text-soft);
}

.divider {
  height: 1px;
  max-width: var(--page-max);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.22), transparent);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(148, 163, 184, 0.35);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 21px;
}

.step p {
  color: var(--text-soft);
  font-size: 16px;
}

.share-link {
  display: block;
  overflow: hidden;
  margin-top: auto;
  padding: 11px 13px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--r-input);
  background: rgba(37, 99, 235, 0.08);
  color: #bfdbfe;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-link b {
  color: #60a5fa;
  font-weight: 600;
}

.scheme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.scheme-list li {
  padding: 4px 8px;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  background: rgba(2, 6, 23, 0.4);
  color: #a8b6c9;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.connect-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 11px 13px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--r-input);
  background: rgba(16, 185, 129, 0.08);
  font-size: 14px;
  font-weight: 600;
}

.connect-demo .check {
  width: 26px;
  height: 26px;
}

.connect-demo small {
  margin-left: auto;
  color: var(--latency-good);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

/* ---------- protocols ---------- */

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protocol {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.protocol:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: var(--card-fill-strong);
  transform: translateY(-2px);
}

.protocol .tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 13px;
}

.protocol h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.protocol p {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.protocol-extra {
  display: grid;
  grid-column: span 3;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 24px;
  padding: 16px 22px;
  border-style: dashed;
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(37, 99, 235, 0.06);
}

.protocol-extra h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.protocol-extra p {
  grid-column: 1;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.transport-badges {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 6px;
}

.transport-badges .badge {
  padding: 5px 9px;
  font-size: 10.5px;
}

/* ---------- feature bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 32px;
  border-radius: 24px;
}

.feature h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.feature > p {
  color: var(--text-soft);
  font-size: 16.5px;
}

.feature ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.feature li {
  display: flex;
  gap: 11px;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

.feature li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat,
    var(--grad-benefit);
}

.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.feature-privacy {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(16, 185, 129, 0.16), transparent 70%),
    var(--card-fill);
}

.feature-stealth {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(139, 92, 246, 0.18), transparent 70%),
    var(--card-fill);
}

.feature-speed {
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(249, 115, 22, 0.15), transparent 70%),
    var(--card-fill);
}

.feature-wide {
  display: grid;
  grid-template-columns: auto minmax(0, 0.75fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(50% 120% at 0% 50%, rgba(6, 182, 212, 0.12), transparent 70%),
    var(--card-fill);
}

.feature-work {
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(59, 130, 246, 0.18), transparent 70%),
    var(--card-fill);
}

.traffic-compare {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.traffic-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.traffic-line .bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.14);
}

.traffic-line .bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 99px;
}

.bar-https i { width: 100%; background: linear-gradient(90deg, #475569, #94a3b8); }
.bar-reality i { width: 100%; background: linear-gradient(90deg, #6d28d9, #a78bfa); }
.bar-proxy i { width: 34%; background: linear-gradient(90deg, #be123c, #f87171); }

.traffic-line b {
  font-weight: 600;
  color: var(--text-soft);
}

.signal-meter {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: auto;
}

.signal-meter i {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #f97316, #c2410c);
  opacity: 0.9;
}

.signal-meter i:nth-child(1) { height: 38%; }
.signal-meter i:nth-child(2) { height: 62%; }
.signal-meter i:nth-child(3) { height: 44%; }
.signal-meter i:nth-child(4) { height: 80%; }
.signal-meter i:nth-child(5) { height: 56%; }
.signal-meter i:nth-child(6) { height: 92%; }
.signal-meter i:nth-child(7) { height: 70%; }
.signal-meter i:nth-child(8) { height: 100%; }

.latency-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.latency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
  font-size: 13.5px;
  font-weight: 600;
}

.latency-item .tile {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 9.5px;
}

.latency-item .verdict {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.verdict-ok { color: var(--latency-good); }
.verdict-degraded { color: var(--latency-mid); }
.verdict-down { color: var(--latency-bad); }
.verdict-check { color: var(--latency-slow); }

/* ---------- devices ---------- */

.devices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.device {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
}

.device-stage {
  display: grid;
  place-items: center;
  height: 236px;
  margin: -4px -4px 8px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background:
    radial-gradient(70% 70% at 30% 0%, rgba(59, 130, 246, 0.18), transparent 70%),
    radial-gradient(60% 60% at 90% 10%, rgba(139, 92, 246, 0.14), transparent 70%),
    linear-gradient(180deg, #0d1322, #070a12);
}

.device h3 {
  font-size: 21px;
}

.device p {
  color: var(--text-soft);
  font-size: 15.5px;
}

.mini-sync {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-phone {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 74px;
  height: 140px;
  padding: 16px 7px 7px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0e1422, #05070d);
  box-shadow: inset 0 0 0 1.5px rgba(148, 163, 184, 0.28), 0 14px 30px rgba(2, 8, 23, 0.5);
}

.mini-phone i,
.mini-tv i {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 14px;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(226, 232, 240, 0.07);
}

.mini-phone i::before,
.mini-tv i::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.mini-phone i:nth-child(2)::before,
.mini-tv i:nth-child(2)::before { background: #f97316; }
.mini-phone i:nth-child(3)::before,
.mini-tv i:nth-child(3)::before { background: #f43f5e; }
.mini-phone i:nth-child(4)::before,
.mini-tv i:nth-child(4)::before { background: #10b981; }

.mini-phone i::after,
.mini-tv i::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(203, 213, 225, 0.3);
}

.sync-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--link);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.sync-arrow svg {
  width: 26px;
  height: 26px;
}

.mini-tv {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 128px;
  height: 78px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(170deg, #0d1322, #05070d 75%);
  box-shadow: inset 0 0 0 1.5px rgba(148, 163, 184, 0.28), 0 14px 30px rgba(2, 8, 23, 0.5);
}

.mini-tv i {
  height: 12px;
}

.mini-tv i.focus {
  background: #f1f5f9;
  transform: scale(1.05);
}

.mini-tv i.focus::after {
  background: rgba(15, 23, 42, 0.4);
}

.mac-menu {
  width: 230px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(16, 20, 30, 0.97);
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.6), inset 0 0 0 1px rgba(148, 163, 184, 0.2);
  font-size: 12px;
}

.mac-menu-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 22px;
  padding: 0 10px;
  background: rgba(12, 15, 22, 0.95);
  color: rgba(241, 245, 249, 0.85);
  font-size: 11px;
  font-weight: 500;
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.14);
}

.mac-menu-bar .well {
  display: grid;
  place-items: center;
  width: 22px;
  height: 16px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.32);
}

.mac-menu-bar .well svg {
  width: 11px;
  height: 11px;
  color: var(--emerald-check);
}

.mac-menu-body {
  padding: 5px;
}

.mi {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--text);
  white-space: nowrap;
}

.mi .dotc {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.mi.danger {
  color: #fca5a5;
}

.mi.label {
  padding-top: 6px;
  color: rgba(191, 219, 254, 0.45);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mi.hl {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.mi .tick {
  width: 10px;
  color: var(--text);
  font-size: 11px;
}

.msep {
  height: 1px;
  margin: 4px 7px;
  background: rgba(148, 163, 184, 0.16);
}

/* ---------- client note ---------- */

.note-band {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 28px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.06);
}

.note-band h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.note-band p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 16px;
}

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: 24px;
}

.plan-card h3 {
  font-size: 22px;
}

.plan-card > p {
  color: var(--text-soft);
  font-size: 15.5px;
}

.plan-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
}

.plan-card li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--grad-benefit);
}

.plan-free li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    rgba(148, 163, 184, 0.18);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price span {
  color: var(--text-muted);
  font-size: 15px;
}

.plan-unlimited {
  position: relative;
  border-color: rgba(96, 165, 250, 0.4);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(139, 92, 246, 0.18), transparent 70%),
    radial-gradient(70% 60% at 0% 0%, rgba(59, 130, 246, 0.18), transparent 70%),
    var(--card-fill);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.08), 0 30px 80px rgba(2, 8, 23, 0.45);
}

.plan-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-title img {
  width: 48px;
  height: 48px;
}

.plan-options {
  display: grid;
  gap: 10px;
}

.plan-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--r-card);
}

.plan-option.is-featured {
  border-color: #60a5fa;
  background: var(--grad-selected);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.14);
}

.radio {
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(148, 163, 184, 0.5);
  border-radius: 50%;
}

.is-featured .radio {
  border-color: #60a5fa;
  background: radial-gradient(circle, #60a5fa 42%, transparent 48%);
}

.plan-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.plan-option .name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 16px;
  font-weight: 700;
}

.plan-option .sub {
  color: var(--text-muted);
  font-size: 13.5px;
}

.plan-option .price {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.plan-option .price small {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}

.trial-badge {
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--grad-benefit);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fine-print {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--card-border);
  border-radius: var(--r-card);
  background: var(--card-fill);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(96, 165, 250, 0.3);
  background: var(--card-fill-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat,
    rgba(96, 165, 250, 0.12);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 16px;
}

.faq details > div p + p {
  margin-top: 10px;
}

/* ---------- final cta ---------- */

.cta-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  padding: 64px 32px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: var(--r-section);
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(59, 130, 246, 0.3), transparent 70%),
    radial-gradient(60% 80% at 85% 10%, rgba(139, 92, 246, 0.24), transparent 70%),
    linear-gradient(180deg, #0e1422, #070a12);
  text-align: center;
}

.cta-band img {
  width: 96px;
  height: 96px;
}

.cta-band h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.cta-band p {
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 18px;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 72px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--hairline);
  background: rgba(2, 4, 10, 0.5);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, 0.8fr));
  gap: 32px;
}

.footer-grid p {
  max-width: 26rem;
  margin-top: 12px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: var(--text-soft);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
}

/* ---------- legal pages ---------- */

.legal-hero {
  padding: 64px 0 40px;
}

.legal-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.legal-hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.035em;
}

.legal-hero p {
  max-width: 44rem;
  color: var(--text-soft);
  font-size: 18px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-meta .badge {
  padding: 5px 10px;
  font-size: 10.5px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.toc h2 {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: 9px;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  padding-top: 1px;
  color: rgba(148, 163, 184, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
}

.toc a:hover {
  background: var(--card-fill);
  color: var(--text);
}

.prose {
  max-width: 46rem;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.prose section {
  padding-bottom: 36px;
}

.prose section + section {
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}

.prose h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 26px;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 18.5px;
  letter-spacing: -0.01em;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + ol,
.prose ol + p,
.prose .callout + p,
.prose p + .callout,
.prose .data-table + p {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.prose li::marker {
  color: #60a5fa;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.4);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.prose code {
  padding: 1px 6px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.5);
  color: #bfdbfe;
  font-size: 0.86em;
}

.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--r-card);
  background: rgba(16, 185, 129, 0.07);
  color: var(--text);
}

.prose > .callout {
  margin-bottom: 40px;
}

.callout.is-amber {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.06);
}

.callout svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--emerald-ring);
}

.callout.is-amber svg {
  color: var(--amber);
}

.data-table {
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-card);
  font-size: 15px;
  line-height: 1.5;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--card-fill-strong);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-table td {
  border-top: 1px solid var(--hairline);
}

.data-table td:first-child {
  width: 30%;
  color: var(--text);
  font-weight: 600;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.summary-item {
  display: flex;
  gap: 12px;
  padding: 16px;
}

.summary-item .icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.summary-item .icon-chip svg {
  width: 18px;
  height: 18px;
}

.summary-item div > strong {
  display: block;
  color: var(--text);
  font-size: 15.5px;
}

.summary-item div > span {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- 404 ---------- */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 120px 0 40px;
  text-align: center;
}

.not-found img {
  width: 140px;
  height: 140px;
  opacity: 0.55;
  filter: saturate(0.4);
}

.not-found .code {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.not-found h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.not-found p {
  max-width: 30rem;
  color: var(--text-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .protocol-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .protocol-extra {
    grid-column: span 2;
    grid-template-columns: minmax(0, 1fr);
  }

  .transport-badges {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .feature-wide {
    display: flex;
  }

  .bento .span-3,
  .bento .span-2,
  .bento .span-4 {
    grid-column: span 6;
  }

  .devices {
    grid-template-columns: minmax(0, 1fr);
  }

  .device {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: 28px;
  }

  .device-stage {
    grid-row: 1 / span 3;
    margin: 0;
  }
}

@media (max-width: 920px) {
  .hero {
    padding: 48px 0 72px;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-actions,
  .trust-row,
  .platform-row {
    justify-content: center;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .toc {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .nav-links .hide-sm {
    display: none;
  }

  .protocol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-extra {
    grid-column: span 1;
  }

  .device {
    display: flex;
  }

  .device-stage {
    margin: -4px -4px 8px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .site-header .container {
    gap: 12px;
    height: 60px;
  }

  .nav-links {
    display: none;
  }

  .site-header .btn-small {
    margin-left: auto;
  }

  .hero-lede {
    font-size: 17px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .feature,
  .plan-card,
  .device,
  .step {
    padding: 22px;
  }

  .float-a {
    left: 0;
  }

  .float-b {
    right: 0;
  }

  .note-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table td:first-child {
    width: 100%;
    padding-bottom: 0;
  }

  .data-table td + td {
    border-top: 0;
  }

  .cta-band {
    padding: 48px 20px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .protocol-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-option {
    align-items: flex-start;
    padding: 14px;
  }

  .plan-option .sub {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
