/* Rootpanther site. Light first: white pages, light grey bands, one navy band and a navy footer.
   Content column 1200px on an 8px grid. Geist for text, Geist Mono for commands, IPs and code. */

:root {
  --blue: #0c66e4;
  --blue-hover: #0055cc;
  --blue-press: #09326c;
  --blue-tint: #e9f2ff;
  --blue-line: #85b8ff;
  --orange: #c2410c;
  --orange-hover: #9a3412;
  --orange-press: #7c2d12;

  --ink: #172b4d;
  --ink-2: #44546f;
  --ink-3: #626f86;
  --bg: #ffffff;
  --bg-2: #f7f8f9;
  --bg-3: #f1f2f4;
  --line: #dcdfe4;
  --line-2: #b3b9c4;
  --line-ctl: #8590a2;
  --navy: #0a1322;
  --navy-2: #13213a;
  --navy-line: #24324d;
  --on-navy: #ffffff;
  --on-navy-2: #c7d1db;
  --on-navy-link: #85b8ff;

  --green: #1b7a50;
  --green-tint: #dcfff1;
  --amber: #7a5700;
  --amber-tint: #fff7d6;
  --red: #ae2e24;
  --tier-1: #46618c;
  --tier-2: #0c66e4;
  --tier-3: #7a5700;
  --tier-4: #9a4507;
  --onyx: #c2410c;

  --cta: var(--blue);
  --cta-hover: var(--blue-hover);
  --cta-press: var(--blue-press);
  --focus: #388bff;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-1: 4px;
  --r-2: 6px;
  --r-3: 12px;
  --max: 1200px;
  --gutter: 24px;
  --hdr: 64px;
  --shadow-1: 0 1px 2px rgba(9, 30, 66, 0.08);
  --shadow-2: 0 1px 2px rgba(9, 30, 66, 0.06), 0 8px 24px rgba(9, 30, 66, 0.08);
  --shadow-3: 0 2px 4px rgba(9, 30, 66, 0.06), 0 24px 48px rgba(9, 30, 66, 0.12);

  color-scheme: light;
}

:root[data-cta="orange"] {
  --cta: var(--orange);
  --cta-hover: var(--orange-hover);
  --cta-press: var(--orange-press);
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.55rem + 2.6vw, 3.5rem);
  letter-spacing: -0.032em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

code,
kbd,
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
  letter-spacing: 0;
}

:focus {
  outline: none;
}

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

::selection {
  background: var(--blue-tint);
  color: var(--ink);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: var(--r-2);
  background: var(--ink);
  color: var(--on-navy);
  font-weight: 500;
}

.skip:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
  color: var(--on-navy);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.band {
  padding-block: 96px;
}

.band--tight {
  padding-block: 64px;
}

.band--grey {
  background: var(--bg-2);
  border-block: 1px solid var(--bg-3);
}

.band--top0 {
  padding-top: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap, 16px);
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap, 12px);
}

.lead {
  max-width: 64ch;
  color: var(--ink-2);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.muted {
  color: var(--ink-3);
}

.small {
  font-size: 0.875rem;
}

.label {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label--blue {
  color: var(--blue);
}

.sechead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 48px;
}

.sechead--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 16px 32px;
}

.sechead--row > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.more svg {
  transition: transform 150ms ease;
}

.more:hover svg {
  transform: translateX(2px);
}

.ico {
  flex: none;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: -0.125em;
}

/* Launch placeholders */

.tbc {
  border-bottom: 1.5px dotted var(--amber);
  background: var(--amber-tint);
  border-radius: 2px;
  padding-inline: 2px;
  cursor: help;
}

:root[data-tbc="hide"] .tbc {
  border-bottom: 0;
  background: none;
  padding-inline: 0;
  cursor: auto;
}

.soon {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  vertical-align: 0.1em;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--cta);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: #ffffff;
}

.btn--primary:active {
  background: var(--cta-press);
}

.btn--blue {
  background: var(--blue);
  color: #ffffff;
}

.btn--blue:hover {
  background: var(--blue-hover);
  color: #ffffff;
}

.btn--secondary {
  border-color: var(--line-ctl);
  background: var(--bg);
  color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--ink-3);
  background: var(--bg-2);
  color: var(--ink);
}

.btn--quiet {
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
}

.btn--quiet:hover {
  background: var(--bg-3);
  color: var(--ink);
}

.btn--on-navy {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--on-navy);
}

.btn--on-navy:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-navy);
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.9375rem;
}

.btn--lg {
  height: 48px;
  padding: 0 24px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

.btn .ico {
  width: 18px;
  height: 18px;
}

.btn:focus-visible {
  outline-offset: 3px;
}

/* Header */

.hdr {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--hdr);
}

.hdr__logo {
  display: inline-flex;
  flex: none;
  border-radius: var(--r-2);
}

.hdr__logo img {
  width: 160px;
  height: 28px;
}

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hdr__link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-2);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hdr__link:hover {
  background: var(--bg-3);
  color: var(--ink);
  text-decoration: none;
}

.hdr__link[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
  border-radius: 0;
}

.hdr__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hdr__menu {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: var(--r-2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.hdr__menu .ico {
  width: 22px;
  height: 22px;
}

.hdr__menu:hover {
  background: var(--bg-3);
}

.mnav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mnav__in {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 12px 24px;
}

.mnav__link {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid var(--bg-3);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
}

.mnav__link:hover {
  color: var(--blue);
  text-decoration: none;
}

.mnav__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

/* Hero */

.hero {
  padding-block: 80px 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__text .lead {
  font-size: 1.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero__fine {
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.pagehero {
  padding-block: 72px 56px;
}

.pagehero__in {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.pagehero--center .pagehero__in {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.pagehero--center .lead {
  margin-inline: auto;
}

.pagehero--center + .band [data-billing-scope] > .row {
  justify-content: center;
}

/* Topology diagram */

.topo {
  width: 100%;
  margin: 0;
}

.topo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.topo text {
  fill: var(--ink);
  font-family: var(--sans);
}

.topo .t-mono {
  font-family: var(--mono);
}

.topo .t-dim {
  fill: var(--ink-3);
}

.topo .t-label {
  fill: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.topo .n-box {
  fill: var(--bg);
  stroke: var(--line-2);
  stroke-width: 1;
}

.topo .n-box--you {
  fill: var(--bg-2);
  stroke-dasharray: 4 3;
}

.topo .n-box--sel {
  stroke: var(--blue);
  stroke-width: 1.5;
}

.topo .zone {
  fill: var(--bg-2);
  stroke: var(--line);
}

.topo .zone--inner {
  fill: var(--bg-3);
  stroke: var(--line-2);
  stroke-dasharray: 3 3;
}

.topo .edge {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
}

.topo .edge--path {
  stroke: var(--blue);
  stroke-width: 2;
}

.topo .edge--vpn {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 5 4;
}

.topo .dot--owned {
  fill: var(--green);
}

.topo .dot--reach {
  fill: var(--blue);
}

.topo .dot--hidden {
  fill: var(--bg);
  stroke: var(--ink-3);
  stroke-width: 1.5;
}

.topo .iso-x {
  fill: var(--bg);
  stroke: var(--line-2);
}

.topo .iso-xl {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
}

.topo__key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.dotkey {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dotkey::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--ink-3));
  content: "";
}

.dotkey--hollow::before {
  border: 1.5px solid var(--ink-3);
  background: transparent;
}

/* Screenshot frame */

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
  box-shadow: var(--shadow-3);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.shot__bar .ico {
  width: 13px;
  height: 13px;
}

.shot__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
}

.shot--flat {
  box-shadow: var(--shadow-2);
}

.shot__cap {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.875rem;
  text-align: center;
}

.showcase {
  margin-top: -8px;
}

/* Steps */

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

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--line);
  counter-increment: step;
}

.step:first-child {
  border-top-color: var(--blue);
}

.step::before {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  content: "Step " counter(step);
}

.step p {
  color: var(--ink-2);
}

/* Cards */

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

.card--link {
  color: inherit;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.card--link:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
  color: inherit;
  text-decoration: none;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

/* Scenario cards */

.scn {
  gap: 16px;
}

.scn__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scn__type {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.scn__type--exam {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-navy);
}

.scn__name {
  font-size: 1.375rem;
}

.scn__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
  padding: 12px 0;
  border-block: 1px solid var(--bg-3);
}

.scn__facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scn__facts dt {
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.scn__facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: var(--r-1);
  background: var(--bg-3);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.tier {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.tier::before {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--tc, var(--tier-2));
  content: "";
}

.tier b {
  color: var(--tc, var(--tier-2));
  font-family: var(--mono);
  font-weight: 600;
}

.t1 {
  --tc: var(--tier-1);
}

.t2 {
  --tc: var(--tier-2);
}

.t3 {
  --tc: var(--tier-3);
}

.t4 {
  --tc: var(--tier-4);
}

/* Onyx help scale */

.dial {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dial__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-2);
}

.dial__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    border-color 120ms ease;
}

.dial__step:hover {
  background: var(--bg);
}

.dial__step[aria-selected="true"] {
  border-color: var(--line);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.dial__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.dial__bars i {
  width: 3px;
  border-radius: 1px;
  background: var(--line-2);
}

.dial__bars i:nth-child(1) { height: 4px; }
.dial__bars i:nth-child(2) { height: 6px; }
.dial__bars i:nth-child(3) { height: 8px; }
.dial__bars i:nth-child(4) { height: 10px; }
.dial__bars i:nth-child(5) { height: 12px; }
.dial__bars i:nth-child(6) { height: 14px; }

.dial__bars i.on {
  background: var(--blue);
}

.dial__step[aria-selected="true"] .dial__bars i.on {
  background: var(--onyx);
}

.dial__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.dial__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 48px;
}

.dial__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.dial__panel[hidden] {
  display: none;
}

.dial__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.dial__name h3 {
  font-size: 1.5rem;
}

.dial__what {
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
  box-shadow: var(--shadow-2);
}

.chat__ctx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-3);
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msg__who {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.msg--onyx {
  padding-left: 14px;
  border-left: 2px solid var(--onyx);
}

.msg--onyx .msg__who {
  color: var(--onyx);
}

.msg__body {
  color: var(--ink);
  font-size: 0.96875rem;
  line-height: 1.6;
}

.msg--sys {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.msg--sys::before,
.msg--sys::after {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
  content: "";
}

.confirm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg-2);
}

.confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.fakebtn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.fakebtn--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-navy);
}

/* Exam realism minis */

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

.real__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.real__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
  box-shadow: var(--shadow-2);
  font-size: 0.875rem;
}

.mini__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.seg {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--bg);
}

.seg button {
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: var(--r-1);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-navy);
}

.hp__name {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
}

.kv {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.kv div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--bg-3);
}

.kv dt {
  color: var(--ink-3);
}

.kv dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.kv dd.unknown {
  color: var(--ink-3);
  font-weight: 400;
  font-style: italic;
}

.ports {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.port {
  padding: 1px 7px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field__label {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
}

.field__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.8125rem;
}

.field__box--focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.radios {
  display: flex;
  gap: 16px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.radio::before {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  content: "";
}

.radio--on::before {
  border: 4px solid var(--blue);
}

.rule {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-2);
  background: var(--blue-tint);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.rule .ico {
  margin-top: 2px;
  color: var(--blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: var(--r-1);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.badge--green {
  color: var(--green);
}

.badge--ink {
  color: var(--ink);
}

.silent {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  color: var(--ink-3);
  text-align: center;
}

/* Feature splits */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 64px;
}

.split--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split--flip > :first-child {
  order: 2;
}

.split__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split + .split {
  margin-top: 112px;
}

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

.ticks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-2);
}

.ticks .ico {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--blue);
}

.ticks strong {
  color: var(--ink);
  font-weight: 600;
}

.cmd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--bg-2);
}

.cmd code {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmd code::before {
  color: var(--ink-3);
  content: "$ ";
}

.copy {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--r-1);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
}

.copy:hover {
  background: var(--bg-3);
  color: var(--ink);
}

.copy .ico {
  width: 15px;
  height: 15px;
}

/* Feature tiles */

.feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--blue);
}

.band--grey .feat__icon {
  background: var(--bg);
}

.feat__icon .ico {
  width: 20px;
  height: 20px;
}

/* Path ladder */

.ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rung {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--tc);
  border-radius: 0 0 var(--r-3) var(--r-3);
  background: var(--bg);
}

.rung:nth-child(1) {
  min-height: 200px;
}

.rung:nth-child(2) {
  min-height: 236px;
}

.rung:nth-child(3) {
  min-height: 272px;
}

.rung:nth-child(4) {
  min-height: 308px;
}

.rung__code {
  color: var(--tc);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 600;
}

.rung h3 {
  font-size: 1.1875rem;
}

.rung p {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.note {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
  color: var(--ink-2);
}

.note .ico {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--blue);
}

.note strong {
  color: var(--ink);
}

.note--amber {
  border-color: #f5cd47;
  background: var(--amber-tint);
}

.note--amber .ico {
  color: var(--amber);
}

/* Pricing */

.billing {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-ctl);
  border-radius: 8px;
  background: var(--bg-2);
}

.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-2);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.billing button[aria-checked="true"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line);
}

.save {
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

.plan--rec {
  border: 2px solid var(--blue);
  padding: 31px 27px;
  box-shadow: var(--shadow-2);
}

.plan__flag {
  position: absolute;
  top: -13px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-1);
  background: var(--blue);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.plan__name {
  font-size: 1.375rem;
}

.plan__for {
  min-height: 3.2em;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-3);
}

.price__main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price__amt {
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price__per {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.price__note {
  min-height: 1.5em;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.plan .ticks {
  flex: 1 1 auto;
}

.plan .ticks li {
  font-size: 0.9375rem;
}

.plans--compact .plan {
  gap: 16px;
  padding: 28px 24px;
}

.plans--compact .plan--rec {
  padding: 27px 23px;
}

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

.cmp {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.cmp caption {
  padding: 20px 24px 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
}

.cmp th,
.cmp td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--bg-3);
  text-align: left;
  vertical-align: top;
}

.cmp thead th {
  position: sticky;
  top: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.cmp thead th.rec {
  color: var(--blue);
}

.cmp tbody th {
  width: 28%;
  color: var(--ink);
  font-weight: 500;
}

.cmp td {
  color: var(--ink-2);
}

.cmp .grp th {
  padding-top: 24px;
  background: var(--bg-2);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmp .yes,
.cmp .no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cmp .yes .ico {
  color: var(--green);
}

.cmp .no {
  color: var(--ink-3);
}

.cmp tr:last-child th,
.cmp tr:last-child td {
  border-bottom: 0;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.tablewrap .tbl {
  min-width: 560px;
}

/* On phones a row becomes a block and each value carries its column heading
   (data-label, added by build.py), so nothing hides off the right edge. */
@media (max-width: 640px) {
  .tablewrap .tbl {
    min-width: 0;
  }

  .tablewrap .tbl thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tablewrap .tbl tr,
  .tablewrap .tbl td {
    display: block;
  }

  .tablewrap .tbl tbody tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .tablewrap .tbl tbody tr:last-child {
    border-bottom: 0;
  }

  .tablewrap .tbl td {
    padding: 2px 0;
    border-bottom: 0;
  }

  .tablewrap .tbl td[data-label]:not(:first-child)::before {
    display: block;
    margin-top: 8px;
    color: var(--ink-3);
    font-size: 0.8125rem;
    content: attr(data-label);
  }
}

.tbl th,
.tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.tbl thead th {
  background: var(--bg-2);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.tbl td {
  color: var(--ink-2);
}

.tbl td:first-child {
  color: var(--ink);
  font-weight: 500;
}

/* FAQ */

.faq {
  max-width: 880px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

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

.faq summary .ico {
  width: 20px;
  height: 20px;
  color: var(--ink-3);
  transition: transform 160ms ease;
}

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

.faq summary:hover {
  color: var(--blue);
}

.faq__a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 68ch;
  padding: 0 4px 24px;
  color: var(--ink-2);
}

.faqgrid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}

/* Closing band */

.ctaband {
  background: var(--navy);
  color: var(--on-navy-2);
}

.ctaband__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 80px;
}

.ctaband h2 {
  color: var(--on-navy);
}

.ctaband__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.ctaband__text p {
  font-size: 1.125rem;
}

.ctaband__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ctaband .btn--primary:focus-visible,
.ctaband .btn--on-navy:focus-visible {
  outline-color: var(--on-navy-link);
}

/* Footer */

.ftr {
  border-top: 1px solid var(--navy-line);
  background: var(--navy);
  color: var(--on-navy-2);
  font-size: 0.9375rem;
}

.ftr a {
  color: var(--on-navy-2);
}

.ftr a:hover {
  color: var(--on-navy);
}

.ftr :focus-visible {
  outline-color: var(--on-navy-link);
}

.ftr__top {
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) minmax(0, 1.8fr) minmax(0, 1.8fr) minmax(0, 2.4fr) minmax(0, 3fr);
  gap: 40px;
  padding-block: 64px 48px;
}

.ftr__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ftr__brand img {
  width: 160px;
  height: 28px;
}

.ftr__brand p {
  max-width: 34ch;
}

.ftr h2 {
  margin-bottom: 14px;
  color: var(--on-navy);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}

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

.ftr .tbc {
  border-bottom-color: #f5cd47;
  background: rgba(245, 205, 71, 0.16);
}

:root[data-tbc="hide"] .ftr .tbc {
  background: none;
}

.ftr .soon {
  border-color: var(--navy-line);
  color: var(--on-navy-2);
}

.ftr__mail {
  font-family: var(--mono);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.ftr__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--navy-line);
  color: var(--on-navy-2);
  font-size: 0.8125rem;
}

.ftr__base p {
  max-width: 72ch;
}

/* Legal template */

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

.toc {
  position: sticky;
  top: calc(var(--hdr) + 32px + env(safe-area-inset-top, 0px));
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.875rem;
}

.toc h2 {
  margin-bottom: 10px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 6px 10px;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
}

.toc a:hover {
  border-left-color: var(--ink-3);
  color: var(--ink);
  text-decoration: none;
}

.toc a[aria-current="true"] {
  border-left-color: var(--blue);
  color: var(--blue);
  font-weight: 500;
}

.prose {
  max-width: 70ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 48px;
  padding-top: 8px;
  font-size: 1.5rem;
}

.prose h3 {
  margin-top: 28px;
  font-size: 1.125rem;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

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

.prose .tablewrap {
  margin-top: 20px;
}

.legalmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.legalnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.legalnav a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--ink-2);
  font-size: 0.875rem;
}

.legalnav a:hover {
  border-color: var(--line-2);
  color: var(--ink);
  text-decoration: none;
}

.legalnav a[aria-current="page"] {
  border-color: var(--blue);
  background: var(--blue-tint);
  color: var(--blue-press);
  font-weight: 500;
}

/* Contact */

.contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.addr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.addr a {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
}

/* Teams mock */

.seats {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
  box-shadow: var(--shadow-3);
}

.seats__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.seats__title {
  color: var(--ink);
  font-weight: 600;
}

.seats__body {
  overflow-x: auto;
}

.seats .tbl {
  min-width: 560px;
}

.seats .tbl td,
.seats .tbl th {
  padding: 12px 20px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.seats .tbl tr:last-child td {
  border-bottom: 0;
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg-2);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
}

.empty-seat {
  color: var(--ink-3);
  font-style: italic;
}

/* Security diagram */

.iso {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

/* 404 */

.nf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 640px;
  padding-block: 120px;
}

.nf__code {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Components sheet */

.cs {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.cs__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs__block > h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1.375rem;
}

.cs__demo {
  padding: 32px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-3);
  background: var(--bg);
}

.cs__demo--grey {
  background: var(--bg-2);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8125rem;
}

.swatch i {
  display: block;
  height: 56px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--c);
}

.swatch b {
  color: var(--ink);
  font-weight: 500;
}

.swatch code {
  color: var(--ink-3);
}

/* Review controls (prototype only) */

.rv {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.8125rem;
}

.rv__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  box-shadow: var(--shadow-2);
  cursor: pointer;
}

.rv__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 280px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
  box-shadow: var(--shadow-3);
}

.rv__panel[hidden] {
  display: none;
}

.rv__title {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
}

.rv__seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
}

.rv__seg button {
  height: 30px;
  border: 0;
  border-radius: var(--r-1);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.rv__seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-navy);
}

.rv__note {
  color: var(--ink-3);
  line-height: 1.45;
}

/* Motion
   Loops run only after motion.js sets data-motion on the root, so the Pause motion
   control always covers them, and none run under prefers-reduced-motion.
   Scroll reveals move content with transform only, so it is readable at rest. */

:root {
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* Canvas backdrops */

.has-bd {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.has-bd > .wrap {
  position: relative;
  z-index: 1;
}

.bd {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--backdrop-bg);
  pointer-events: none;
}

.bd canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.bd.is-ready canvas {
  opacity: 1;
}

.bd--light {
  --backdrop-bg: #ffffff;
  --backdrop-line: #e3e8ef;
  --backdrop-line-strong: #cbd3df;
  --backdrop-accent: #0c66e4;
  --backdrop-accent-2: #85b8ff;
  --backdrop-face-top: #ffffff;
  --backdrop-face-left: #eef1f5;
  --backdrop-face-right: #e3e8ef;
}

.bd--light canvas {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), #000 18%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), #000 18%, #000 58%, transparent 100%);
}

.bd--navy {
  --backdrop-bg: #0a1322;
  --backdrop-line: #16223a;
  --backdrop-line-strong: #24324d;
  --backdrop-accent: #4c9aff;
  --backdrop-accent-2: #85b8ff;
  --backdrop-face-top: #16233b;
  --backdrop-face-left: #0f1a2d;
  --backdrop-face-right: #0c1626;
}

.bd--navy canvas {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.motion-btn {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-ctl);
  border-radius: var(--r-2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    color 150ms ease;
}

.motion-btn:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.motion-btn .ico {
  width: 12px;
  height: 12px;
}

.motion-btn__play {
  display: none;
}

html[data-motion="paused"] .motion-btn__pause {
  display: none;
}

html[data-motion="paused"] .motion-btn__play {
  display: block;
}

.motion-btn--navy {
  border-color: #62739a;
  background: rgba(10, 19, 34, 0.82);
  color: var(--on-navy-2);
}

.motion-btn--navy:hover {
  border-color: var(--on-navy-2);
  color: var(--on-navy);
}

.motion-btn--navy:focus-visible {
  outline-color: var(--on-navy-link);
}

/* Hero topology: decorative layers, still at rest */

.topo .pulse {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 12 200;
  stroke-dashoffset: 12;
  opacity: 0;
}

.topo .ring {
  fill: none;
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.topo .ring--owned {
  stroke: var(--green);
}

.topo .ring--reach {
  stroke: var(--blue);
}

.topo .nd {
  transform-box: fill-box;
  transform-origin: center;
}

/* Scroll reveal helpers */

.rv-line {
  position: relative;
}

.rv-line::after {
  position: absolute;
  top: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

/* Typing and streaming */

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 1.2em;
  vertical-align: middle;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}

.caret {
  display: inline-block;
  width: 0.5em;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: currentColor;
  opacity: 0.5;
}

.caret--term {
  background: var(--on-navy-2);
}

.tl--wait {
  visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrances on load */

  .fade,
  .fade-kids > * {
    animation: fadein 640ms var(--ease-out) both;
  }

  .fade--2 {
    animation-delay: 220ms;
  }

  .fade--3 {
    animation-delay: 300ms;
  }

  .fade-kids > :nth-child(2) {
    animation-delay: 70ms;
  }

  .fade-kids > :nth-child(3) {
    animation-delay: 140ms;
  }

  .fade-kids > :nth-child(4) {
    animation-delay: 210ms;
  }

  .fade-kids > :nth-child(n + 5) {
    animation-delay: 280ms;
  }

  .topo .nd {
    animation: nd-in 700ms var(--ease-out) both;
    animation-delay: calc(300ms + var(--i, 0) * 90ms);
  }

  /* Hero topology loops */

  html[data-motion] .topo .edge--vpn {
    animation: vpn-flow 1.1s linear infinite;
  }

  html[data-motion] .topo .pulse--vpn {
    animation: packet-vpn 4.8s linear infinite;
  }

  html[data-motion] .topo .pulse--path {
    animation: packet-path 4.8s linear infinite;
  }

  html[data-motion] .topo .ring--owned {
    animation: ring-owned 4.8s ease-out infinite;
  }

  html[data-motion] .topo .ring--reach {
    animation: ring-reach 4.8s ease-out infinite;
  }

  html[data-motion] .topo .sweep {
    animation: sweep 9.6s cubic-bezier(0.45, 0, 0.55, 1) 2.6s infinite;
  }

  html[data-motion="paused"] .topo .edge--vpn,
  html[data-motion="paused"] .topo .pulse,
  html[data-motion="paused"] .topo .ring,
  html[data-motion="paused"] .topo .sweep {
    animation-play-state: paused;
  }

  html[data-motion="on"] .caret {
    animation: blink 1.05s steps(1) infinite;
  }

  .typing i {
    animation: typing 1s ease-in-out infinite;
  }

  .typing i:nth-child(2) {
    animation-delay: 150ms;
  }

  .typing i:nth-child(3) {
    animation-delay: 300ms;
  }

  /* Onyx demo */

  .msg-in {
    animation: msg-in 460ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }

  .dial__step[aria-selected="true"] .dial__bars i {
    transform-origin: 50% 100%;
    animation: bar-up 460ms var(--ease-out) both;
  }

  .dial__step[aria-selected="true"] .dial__bars i:nth-child(2) {
    animation-delay: 35ms;
  }

  .dial__step[aria-selected="true"] .dial__bars i:nth-child(3) {
    animation-delay: 70ms;
  }

  .dial__step[aria-selected="true"] .dial__bars i:nth-child(4) {
    animation-delay: 105ms;
  }

  .dial__step[aria-selected="true"] .dial__bars i:nth-child(5) {
    animation-delay: 140ms;
  }

  .dial__step[aria-selected="true"] .dial__bars i:nth-child(6) {
    animation-delay: 175ms;
  }

  /* Toggles and billing */

  .pop {
    animation: pop 420ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 60ms);
  }

  .pop .port {
    animation: pop 380ms var(--ease-out) both;
  }

  .pop .port:nth-child(2) {
    animation-delay: 60ms;
  }

  .pop .port:nth-child(3) {
    animation-delay: 120ms;
  }

  .pop .port:nth-child(4) {
    animation-delay: 180ms;
  }

  .is-swapped {
    animation: swap 420ms var(--ease-out);
  }

  /* Scroll reveals */

  @supports (animation-timeline: view()) {
    .rv-up {
      animation: rv-up linear both;
      animation-timeline: view();
      animation-range: entry calc(var(--i, 0) * 7%) entry calc(75% + var(--i, 0) * 7%);
    }

    .rv-tilt {
      transform-origin: 50% 0;
      animation: rv-tilt linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 42%;
    }

    .rv-line::after {
      animation: rv-line linear both;
      animation-timeline: view();
      animation-range: entry calc(70% + var(--i, 0) * 6%) cover calc(40% + var(--i, 0) * 5%);
    }
  }

  .rv-io .rv-up {
    transition: transform 760ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }

  .rv-io .rv-up:not(.is-in) {
    transform: translateY(32px);
  }

  .rv-io .rv-tilt {
    transform-origin: 50% 0;
    transition: transform 1000ms var(--ease-out);
  }

  .rv-io .rv-tilt:not(.is-in) {
    transform: perspective(1600px) rotateX(10deg) scale(0.95);
  }

  .rv-io .rv-line::after {
    transition: transform 800ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 180ms);
  }

  .rv-io .rv-line.is-in::after {
    transform: scaleX(1);
  }
}

/* Hover */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .plan,
  .contactcard {
    transition:
      translate 260ms var(--ease-out),
      box-shadow 260ms ease,
      border-color 200ms ease;
  }

  .plan:hover,
  .contactcard:hover {
    translate: 0 -4px;
    box-shadow: var(--shadow-3);
  }

  .scn,
  .rung,
  .grid-2 > .card,
  .grid-3 > .card,
  .grid-4 > .card,
  .shot--flat {
    transition:
      box-shadow 260ms ease,
      border-color 200ms ease;
  }

  .scn:hover,
  .rung:hover,
  .grid-2 > .card:hover,
  .grid-3 > .card:hover,
  .grid-4 > .card:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow-2);
  }

  .shot--flat:hover {
    box-shadow: var(--shadow-3);
  }

  .feat__icon {
    transition: translate 260ms var(--ease-out);
  }

  .feat:hover .feat__icon {
    translate: 0 -2px;
  }

  .btn:active {
    translate: 0 1px;
  }

  .btn .ico:last-child:not(:first-child) {
    transition: translate 180ms var(--ease-out);
  }

  .btn:hover .ico:last-child:not(:first-child) {
    translate: 2px 0;
  }
}

/* Header gains depth once the page scrolls */

@supports (animation-timeline: scroll()) {
  .hdr {
    animation: hdr-lift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 96px;
  }
}

@keyframes fadein {
  from {
    opacity: 0.001;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nd-in {
  from {
    transform: translateY(12px) scale(0.97);
  }
}

@keyframes vpn-flow {
  to {
    stroke-dashoffset: -18;
  }
}

@keyframes packet-vpn {
  0% {
    stroke-dashoffset: 12;
    opacity: 1;
  }
  28% {
    stroke-dashoffset: -100;
    opacity: 1;
  }
  29%,
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
  }
}

@keyframes packet-path {
  0%,
  30% {
    stroke-dashoffset: 12;
    opacity: 0;
  }
  31% {
    stroke-dashoffset: 12;
    opacity: 1;
  }
  52% {
    stroke-dashoffset: -100;
    opacity: 1;
  }
  53%,
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
  }
}

@keyframes ring-owned {
  0%,
  26% {
    transform: scale(1);
    opacity: 0;
  }
  28% {
    transform: scale(1);
    opacity: 0.75;
  }
  48%,
  100% {
    transform: scale(3.8);
    opacity: 0;
  }
}

@keyframes ring-reach {
  0%,
  51% {
    transform: scale(1);
    opacity: 0;
  }
  53% {
    transform: scale(1);
    opacity: 0.75;
  }
  74%,
  100% {
    transform: scale(3.8);
    opacity: 0;
  }
}

@keyframes sweep {
  0% {
    transform: translateX(0);
  }
  42%,
  100% {
    transform: translateX(252px);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes typing {
  0%,
  100% {
    opacity: 0.25;
    transform: none;
  }
  40% {
    opacity: 0.9;
    transform: translateY(-2px);
  }
}

@keyframes msg-in {
  from {
    transform: translateY(12px) scale(0.985);
  }
}

@keyframes bar-up {
  from {
    transform: scaleY(0.2);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes swap {
  from {
    opacity: 0.2;
    transform: translateY(8px);
  }
}

@keyframes rv-up {
  from {
    transform: translateY(32px);
  }
  to {
    transform: none;
  }
}

@keyframes rv-tilt {
  from {
    transform: perspective(1600px) rotateX(10deg) scale(0.95);
  }
  to {
    transform: none;
  }
}

@keyframes rv-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes hdr-lift {
  to {
    box-shadow: 0 8px 24px rgba(9, 30, 66, 0.08);
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .hdr__in {
    gap: 20px;
  }

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

  .ftr__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  :root {
    --hdr: 60px;
  }

  .band {
    padding-block: 72px;
  }

  .hdr__nav,
  .hdr__right .hdr__signin {
    display: none;
  }

  .hdr__menu {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    padding-block: 56px 48px;
  }

  .hero__grid,
  .dial__panel,
  .split,
  .split--flip,
  .faqgrid,
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--flip > :first-child {
    order: 0;
  }

  .split {
    gap: 40px;
  }

  .split + .split {
    margin-top: 80px;
  }

  .hero__grid {
    gap: 40px;
  }

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

  .rung:nth-child(n) {
    min-height: 0;
  }

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

  .plans {
    max-width: 560px;
  }

  .plan__for {
    min-height: 0;
  }

  .toc {
    position: static;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-3);
    background: var(--bg-2);
  }

  .real {
    gap: 48px;
  }

  .mini {
    min-height: 0;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

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

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

  body {
    font-size: 16px;
  }

  .band {
    padding-block: 56px;
  }

  .band--tight {
    padding-block: 48px;
  }

  .sechead {
    margin-bottom: 32px;
  }

  .hero__text .lead,
  .lead {
    font-size: 1.0625rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

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

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

  .ftr__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .ctaband__in {
    padding-block: 56px;
  }

  .ctaband__actions .btn {
    flex: 1 1 auto;
  }

  .pagehero {
    padding-block: 48px 40px;
  }

  .shot__bar {
    height: 30px;
  }

  .iso {
    padding: 16px;
  }

  .cs__demo {
    padding: 20px;
  }

  .hdr__right .btn {
    height: 36px;
    padding: 0 14px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 599px) {
  .hero__grid > .fade--2 {
    display: none;
  }
}

@media (max-width: 400px) {
  .hdr__logo img {
    width: 137px;
    height: 24px;
  }

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

/* Terminal block */

.term {
  overflow: hidden;
  border: 1px solid var(--navy-line);
  border-radius: var(--r-3);
  background: var(--navy);
  box-shadow: var(--shadow-3);
}

.term__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-navy-2);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.term pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #dbe4f0;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.75;
}

.term .p {
  color: var(--on-navy-link);
}

.term .o {
  color: #9fadbc;
}

.term .ok {
  color: #7ee2b8;
}

/* Fact tiles */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

.facts > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts > div:nth-child(3n) {
  border-right: 0;
}

.facts > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.facts dt {
  color: var(--ink-3);
  font-size: 0.875rem;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
}

.facts dd span {
  display: block;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 400;
}

.facts dd .big,
.big {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.subnav {
  position: sticky;
  top: calc(var(--hdr) + env(safe-area-inset-top, 0px));
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
}

.subnav__in {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__in::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 48px;
  padding: 0 12px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.subnav a:hover {
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--line-2);
}

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

.pair figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.pair figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pair figcaption strong {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
}

.list .feat__icon {
  margin: 0;
}

.list h3 {
  margin-bottom: 4px;
  font-size: 1.0625rem;
}

.never {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

.never > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.never > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.never > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.never .ico {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--red);
}

.never h3 {
  margin-bottom: 4px;
  font-size: 1.0625rem;
}

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

.contactcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg);
}

.contactcard .feat__icon {
  margin: 0;
}

.contactcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--bg-3);
  color: var(--ink-3);
  font-size: 0.875rem;
}

.story {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 70ch;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.7;
}

@media (max-width: 1023px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts > div:nth-child(n) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .facts > div:nth-child(2n) {
    border-right: 0;
  }

  .facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

@media (max-width: 767px) {
  .facts,
  .never {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts > div:nth-child(n),
  .never > div:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts > div:last-child,
  .never > div:last-child {
    border-bottom: 0;
  }

  .term pre {
    padding: 16px;
    font-size: 0.8125rem;
  }

  .contactcard {
    padding: 20px;
  }
}
