:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #e8e8e8;
  --text-muted: #888;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --border: #2a2a2a;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4rem;
  --s-8: 6rem;

  --content-max: 64rem;
  --page-max: 80rem;
  --radius: 8px;
  --text-large: 1.125rem;

  --font-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, svg { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sys);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
}

/* Section primitive */

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--s-6) var(--s-4);
}

.section-heading {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 var(--s-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.section-subhead {
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto var(--s-5);
  max-width: 32rem;
}

/* Grid utilities */

.grid-2,
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

/* Card primitive */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4);
}

.card h3 {
  margin: 0 0 var(--s-2);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Buttons */

.button {
  display: inline-block;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-align: center;
}

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

.button-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--text-muted);
}

/* Hero */

.hero {
  text-align: center;
  padding-top: var(--s-7);
  padding-bottom: var(--s-7);
}

.hero .logo {
  display: block;
  margin: 0 auto var(--s-5);
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 auto var(--s-3);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 28rem;
}

.hero .lede {
  font-size: var(--text-large);
  color: var(--text-muted);
  margin: 0 auto var(--s-5);
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  align-items: stretch;
  max-width: 20rem;
  margin: 0 auto;
}

/* Steps */

.steps .step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 600;
  margin: 0 auto var(--s-3);
}

.steps h3 {
  margin: 0 0 var(--s-2);
  font-size: 1.125rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

/* Features */

.feature .icon {
  color: var(--accent);
  margin-bottom: var(--s-3);
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4);
}

.faq-item h3 {
  margin: 0 0 var(--s-2);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item a:hover {
  color: var(--accent-hover);
}

/* Final CTA */

.section-cta {
  text-align: center;
  max-width: 32rem;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin: 0 0 var(--s-3);
}

.notify-form input[type="email"] {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-3);
  width: 100%;
  transition: border-color 0.15s ease;
}

.notify-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.notify-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.form-status {
  color: var(--accent);
  min-height: 1.6em;
  margin: 0 0 var(--s-2);
  font-size: 0.9375rem;
}

.fineprint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

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

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: var(--s-5) var(--s-4);
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  max-width: var(--page-max);
  margin: var(--s-6) auto 0;
  text-align: center;
}

.footer-pages,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3) var(--s-4);
}

.footer-pages a,
.footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-pages a:hover,
.footer-meta a:hover {
  color: var(--text);
}

.footer-pages a:focus-visible,
.footer-meta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
  color: var(--text);
}

.copyright {
  margin: 0;
}

/* Top nav */

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border);
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}

.topnav-brand {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
  /* W5.5: inline-flex so the new logo mark sits inline-left of "OSL Privacy" */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.topnav-brand[aria-current="page"] {
  color: var(--accent);
}

/* W5.5: inline logo mark sized to brand text. Inherits currentColor. */
.topnav-brand-mark {
  flex: 0 0 auto;
  display: block;
}

.topnav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.topnav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.topnav-toggle:hover { border-color: var(--text-muted); }

.topnav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#topnav-menu {
  display: none;
  width: 100%;
  order: 3;
  margin-top: var(--s-3);
}

#topnav-menu.open {
  display: block;
}

.topnav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.topnav-links a {
  display: block;
  padding: var(--s-2) var(--s-3);
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}

.topnav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.topnav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.topnav-links a[aria-current="page"] {
  color: var(--accent);
}

/* Page heading (non-hero pages) */

.page-heading {
  text-align: center;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 auto var(--s-3);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 28rem;
}

.page-lede {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-large);
  margin: 0 auto;
  max-width: 32rem;
}

/* Active card (e.g. Windows on the download page) */

.card-active {
  border-color: var(--accent);
}

/* Platform availability cards */

.platform {
  display: flex;
  flex-direction: column;
}

.platform h3 { margin: 0 0 var(--s-2); }

.platform-version {
  flex: 1;
  margin: 0 0 var(--s-3);
  color: var(--text-muted);
}

.platform-cta {
  width: 100%;
  margin-bottom: var(--s-3);
}

.platform-cta[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.platform-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quiet section (de-emphasized disclosure) */

.section-quiet h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--s-3);
  color: var(--text);
  text-align: left;
}

.section-quiet p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 var(--s-3);
}

.section-quiet p:last-child { margin-bottom: 0; }

.section-quiet a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-quiet a:hover { color: var(--accent-hover); }

/* Prose */

.prose {
  max-width: 48rem;
  margin: 0 auto;
}

.prose p {
  margin: 0 0 var(--s-3);
  color: var(--text-muted);
}

.prose p:last-child { margin-bottom: 0; }

/* Requirements list */

.requirements {
  max-width: 48rem;
  margin: 0 auto;
  padding-left: var(--s-4);
  color: var(--text-muted);
}

.requirements li { margin-bottom: var(--s-2); }
.requirements li:last-child { margin-bottom: 0; }

/* Period toggle (pricing page) */

.period-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 4px;
  border-radius: 999px;
  display: flex;
  width: fit-content;
  margin: 0 auto var(--s-3);
  min-inline-size: 0;
}

.period-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.period-toggle label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
  line-height: 1.2;
}

.period-toggle input:checked + label {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.period-toggle input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.period-savings {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 1px var(--s-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.period-toggle input:checked + label .period-savings {
  background: rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.75);
}

.encryption-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
  margin: 0 auto var(--s-5);
  max-width: 32rem;
}

/* Plan cards */

.plan {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.plan-name {
  margin: 0 0 var(--s-3);
  font-size: 1.5rem;
  font-weight: 600;
}

.price-tag {
  margin: 0 0 var(--s-4);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--s-1);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-period {
  color: var(--text-muted);
  font-size: 1rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-4);
  text-align: left;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
  margin-bottom: var(--s-2);
  font-size: 0.9375rem;
  color: var(--text);
}

.plan-features li:last-child { margin-bottom: 0; }

.check {
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  font-weight: 600;
}

.check.yes { color: var(--accent); }
.check.no { color: var(--text-muted); }

.plan-cta {
  width: 100%;
}

/* Preview block (timer mock) */

.preview-block {
  margin: var(--s-6) auto 0;
  max-width: 28rem;
  text-align: center;
}

.preview-wrap {
  padding: var(--s-5) var(--s-4);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.preview-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--s-3);
}

.timer-mock {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9375rem;
  margin-bottom: var(--s-2);
}

.timer-mock svg {
  color: var(--accent);
  flex-shrink: 0;
}

.upgrade-link {
  display: block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
}

.upgrade-link:hover { color: var(--accent-hover); }

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

.preview-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: var(--s-3) 0 0;
}

/* Prose lists (audit "what isn't published", download beta steps) */

.prose ul,
.prose ol {
  max-width: 48rem;
  margin: 0 0 var(--s-3);
  padding-left: var(--s-4);
  color: var(--text-muted);
}

.prose li { margin-bottom: var(--s-2); }
.prose li:last-child { margin-bottom: 0; }
.prose ul:last-child,
.prose ol:last-child { margin-bottom: 0; }

/* Audit file list (audit page "what's published") — single column,
   substantial cards reusing the .card/.plan visual tokens. */

.audit-files {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 48rem;
  margin: var(--s-5) auto 0;
}

.audit-file {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
  transition: border-color 0.15s ease;
}

.audit-file:hover { border-color: var(--text-muted); }

.audit-file h3 {
  margin: 0 0 var(--s-2);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

.audit-file-desc {
  margin: 0 0 var(--s-4);
  color: var(--text);
}

.audit-file-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

/* Alt-payment block (pricing page) — promoted from fineprint to a
   centered tinted card so mail / BTC / Monero read as real options. */

.alt-payment {
  max-width: 36rem;
  margin: var(--s-5) auto 0;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.alt-payment h3 {
  margin: 0 0 var(--s-2);
  font-size: 1.125rem;
  font-weight: 600;
}

.alt-payment p {
  margin: 0 0 var(--s-4);
  color: var(--text);
}

.alt-payment p:last-child { margin-bottom: 0; }

.alt-payment a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.alt-payment a:hover { color: var(--accent-hover); }

/* Generic horizontal button group (success / cancel pages) */
.button-row {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-5);
}

/* Skip-to-content link (site-wide accessibility) */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: var(--s-2) var(--s-3);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Docs layout */

.docs-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--s-4) var(--s-4) var(--s-6);
}

.docs-sidebar {
  margin-bottom: var(--s-4);
}

.docs-menu {
  border-radius: var(--radius);
}

.docs-menu summary {
  cursor: pointer;
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
}

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

.docs-menu summary::after {
  content: '\25BE';
  position: absolute;
  right: var(--s-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.docs-menu[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.docs-menu summary:hover { border-color: var(--text-muted); }

.docs-menu summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.docs-menu nav {
  padding: var(--s-3) 0 0;
}

.docs-group-heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: var(--s-3) 0 var(--s-2);
}

.docs-group-heading:first-child { margin-top: 0; }

.docs-nav-list {
  list-style: none;
  margin: 0 0 var(--s-3);
  padding: 0;
}

.docs-nav-list li { margin: 0; }

.docs-nav-list a {
  display: block;
  padding: var(--s-2) var(--s-3);
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.docs-nav-list a:hover {
  color: var(--text);
  background: var(--surface);
}

.docs-nav-list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.docs-nav-list a[aria-current="page"] {
  color: var(--accent);
  background: rgba(6, 182, 212, 0.08);
}

/* Docs content typography */

.docs-content {
  min-width: 0;
}

.docs-content > h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 var(--s-3);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.docs-content .lede {
  font-size: var(--text-large);
  color: var(--text-muted);
  margin: 0 0 var(--s-5);
  line-height: 1.5;
}

.docs-content h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  margin: var(--s-6) 0 var(--s-3);
  color: var(--text);
  scroll-margin-top: var(--s-4);
}

.docs-content > h2:first-of-type {
  margin-top: var(--s-5);
}

.docs-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: var(--s-4) 0 var(--s-2);
  color: var(--text);
}

.docs-content p {
  margin: 0 0 var(--s-3);
  color: var(--text);
  line-height: 1.7;
}

.docs-content p:last-child { margin-bottom: 0; }

.docs-content ul,
.docs-content ol {
  margin: 0 0 var(--s-3);
  padding-left: var(--s-4);
  color: var(--text);
}

.docs-content li {
  margin-bottom: var(--s-1);
  line-height: 1.65;
}

.docs-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.docs-content a:hover { color: var(--accent-hover); }

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

.docs-content section { margin-bottom: var(--s-5); }
.docs-content section:last-child { margin-bottom: 0; }

/* Anchor links on H2s */

.anchor-link {
  opacity: 0;
  margin-left: var(--s-2);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.875em;
  transition: opacity 0.15s ease, color 0.15s ease;
}

h2:hover .anchor-link,
.anchor-link:focus-visible {
  opacity: 1;
}

.anchor-link:hover { color: var(--accent); }

/* Draft notice (legal pages) */

.draft-notice {
  background: rgba(6, 182, 212, 0.05);
  border-left: 3px solid var(--accent);
  padding: var(--s-3) var(--s-4);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 var(--s-5);
}

.draft-notice p {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.draft-notice strong {
  color: var(--accent);
  font-weight: 600;
}

/* Docs landing cards (card-styled links) */

.docs-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.docs-card:hover { border-color: var(--accent); }

.docs-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.docs-card h3 {
  color: var(--text);
  margin: 0 0 var(--s-2);
}

.docs-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Desktop */

@media (min-width: 768px) {
  .section {
    padding: var(--s-5) var(--s-5);
  }

  /* Home hero keeps its original generous breathing room
     (W6.SPACING tightens body sections only, not the hero). */
  .hero {
    padding-top: var(--s-8);
    padding-bottom: var(--s-8);
  }

  /* Pricing: pull the billing toggle up close to the hero lede
     so it reads as part of the section above, not a floating zone. */
  .section[aria-labelledby="plans-heading"] {
    padding-top: var(--s-3);
  }

  .section-heading {
    font-size: 2.25rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-4);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }

  .limit-wide {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: 3rem;
    max-width: 38rem;
  }

  .hero .lede {
    font-size: 1.25rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }

  .hero-cta .button {
    min-width: 14rem;
  }

  .notify-form {
    flex-direction: row;
  }

  .notify-form input[type="email"] {
    flex: 1;
  }

  .notify-form .button {
    white-space: nowrap;
  }

  footer {
    padding: var(--s-5) var(--s-6);
  }

  .topnav {
    flex-wrap: nowrap;
    padding: var(--s-3) var(--s-5);
  }

  .topnav-toggle { display: none; }

  #topnav-menu {
    display: block;
    width: auto;
    order: 0;
    margin-top: 0;
  }

  .topnav-links {
    flex-direction: row;
    gap: var(--s-3);
  }

  .page-heading {
    font-size: 3rem;
    max-width: 38rem;
  }

  .page-lede { font-size: 1.25rem; }

  .docs-layout {
    display: grid;
    grid-template-columns: 15rem 1fr;
    gap: var(--s-6);
    padding: var(--s-6) var(--s-5) var(--s-8);
    max-width: var(--content-max);
  }

  .docs-sidebar {
    margin-bottom: 0;
    position: sticky;
    top: var(--s-4);
    align-self: start;
    max-height: calc(100vh - var(--s-5));
    overflow-y: auto;
  }

  .docs-menu > summary { display: none; }
  .docs-menu > nav {
    display: block !important;
    padding-top: 0;
  }

  .docs-content { max-width: 44rem; }

  .docs-content > h1 { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
