@font-face {
  font-family: "Funnel Display";
  src: url("/fonts/funnel-display-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* Brand tokens from docs/brand/DESIGN.md. Dark is the default. */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #111;
  --surface-raised: #181818;
  --bg-sunken: #000;
  --text: #ededed;
  --text-muted: #b0b0b0;
  --text-faint: #8a8a8a;
  --border: #222;
  --border-strong: #2e2e2e;
  --accent: #e39b2b;
  --accent-hover: #f6c45c;
  --accent-press: #c98b12;
  --accent-text: #e39b2b;
  --on-accent: #000;
  --focus: #f6c45c;
  --forest-950: #0b140f;
  --forest-900: #0f1a14;
  --forest-800: #15231b;
  --forest-700: #1f3327;
  --forest-600: #2c4636;
  --forest-500: #43614d;
  --forest-400: #678770;
  --forest-300: #97b09c;
  --forest-200: #c3d3c5;
  --secondary-bg: var(--forest-900);
  --secondary-fill: var(--forest-800);
  --secondary-border: var(--forest-700);
  --secondary-text: var(--forest-200);
  --secondary-chart: var(--forest-400);
  --font-wordmark: "Funnel Display", "Montserrat", sans-serif;
  --font-heading: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --motion-fast: 140ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
pre {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
b {
  font-weight: 500;
}
.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}
.sprite {
  display: none;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 50;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--text);
  color: var(--bg-sunken);
}
.skip:focus {
  top: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.muted {
  color: var(--text-muted);
}
.small {
  font-size: 13px;
  line-height: 20px;
}

.note {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 20px;
}
.note a {
  color: var(--text-muted);
}
.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text-faint);
}
.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font: 400 13px/20px var(--font-mono);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: 500 15px/1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) var(--motion-ease),
    border-color var(--motion-fast) var(--motion-ease),
    transform 80ms var(--motion-ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-primary:active {
  background: var(--accent-press);
}
.btn-secondary {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--text-faint);
}
.btn-lg {
  height: 44px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 20px/1 var(--font-wordmark);
  color: var(--text);
  text-decoration: none;
}
.wordmark img {
  display: block;
  height: 15px;
  width: auto;
}

/* Hero: the campsite scene runs full width behind the nav and copy. */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  font: 400 15px/1.5 var(--font-sans);
  transition: background-color var(--motion-fast) var(--motion-ease);
}
.js .site-nav {
  position: fixed;
}
.site-nav.stuck {
  background: var(--bg-sunken);
  box-shadow: 0 1px 0 var(--border);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta {
  display: none;
}
.stuck .nav-cta {
  display: inline-flex;
}
section[id] {
  scroll-margin-top: 72px;
}
.site-nav nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-nav .wordmark {
  gap: 11px;
  font-size: 21px;
  border-radius: var(--radius-sm);
}
.site-nav .wordmark img {
  height: 22px;
}
.site-links {
  display: flex;
  gap: 4px;
}
.site-links a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--motion-fast) var(--motion-ease);
}
.site-links a:hover {
  color: var(--text);
}
.hero-wrap {
  position: relative;
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 100svh;
  font: 400 15px/1.5 var(--font-sans);
}
/* The world: one fixed scene behind the page. Sized to the large viewport so a phone's address bar never moves it. */
.world {
  position: fixed;
  inset: 0 0 auto;
  z-index: 0;
  height: 100lvh;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}
.world canvas,
.closing canvas {
  position: absolute;
  left: 0;
  top: 0;
  image-rendering: pixelated;
}
.world-labels {
  position: absolute;
  inset: 0;
}
.world-labels .addr {
  left: 0;
  top: 0;
}
main,
.site-footer {
  position: relative;
  z-index: 1;
}
.hero-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.addr {
  position: absolute;
  box-sizing: content-box;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-sunken);
  color: var(--text);
  font: 400 13px/20px var(--font-mono);
  white-space: pre;
}
.hero-copy {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-top: max(88px, calc(50svh - 395px));
}
.hero h1 {
  font: 700 min(72px, 7.2svh, calc((100vw - 32px) / 9)) / 1.08 var(--font-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero .hero-h2 {
  margin-top: 4px;
  font: 600 min(38px, calc((100vw - 32px) / 15)) / 1.18 var(--font-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-sub {
  max-width: 720px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero .hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 472px;
  gap: 24px;
}
.hd {
  align-self: start;
  margin-top: max(96px, calc(50svh - 360px));
  display: grid;
  grid-template-columns: auto 14px 1fr 14px auto;
  grid-template-areas:
    "in a1 tent a2 out"
    ". . keeps . ."
    ". . srv . .";
  align-items: center;
  column-gap: 6px;
  color: var(--forest-400);
  font: 400 12px/1.3 var(--font-mono);
}
.hd ul {
  display: grid;
  gap: 8px;
}
.hd-in { grid-area: in; }
.hd-out { grid-area: out; }
.hd-a1 { grid-area: a1; }
.hd-a2 { grid-area: a2; }
.hd-box {
  padding: 8px 10px;
  border: 2px solid var(--forest-600);
  background: var(--forest-950);
  color: var(--text);
}
.hd-out b {
  display: block;
  font-weight: 600;
}
.hd-out small {
  color: var(--text-muted);
  font-size: 11px;
}
.hd-arrow {
  color: var(--forest-300);
  justify-self: center;
}
.hd-tentbox {
  grid-area: tent;
  align-self: stretch;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 2px solid var(--accent);
  background: var(--forest-950);
}
.hd-tent {
  width: 72px;
  height: auto;
}
.hd-name {
  color: var(--accent);
  font-weight: 600;
}
.hd ul.hd-keeps {
  grid-area: keeps;
  grid-auto-flow: column;
  justify-content: center;
  gap: 4px;
  margin: 12px 0;
  position: relative;
  color: var(--forest-300);
  font-size: 11px;
}
.hd-keeps::before,
.hd-keeps::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: var(--forest-500);
}
.hd-keeps::before { top: -12px; }
.hd-keeps::after { bottom: -12px; }
.hd-keeps li {
  padding: 2px 6px;
  border: 2px solid var(--forest-600);
  background: var(--forest-950);
  white-space: nowrap;
}
.hd-servers {
  grid-area: srv;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.hd-servers div {
  display: flex;
  gap: 4px;
}
.hd-cap {
  color: var(--text-faint);
}
.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn {
  height: 44px;
}
.hero-actions .btn-secondary {
  min-width: 142px;
}
.hero-actions .icon {
  width: 16px;
  height: 16px;
  color: inherit;
}
.copy-fallback {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-sunken);
  color: var(--text);
  font: 400 13px/1.7 var(--font-mono);
  -webkit-user-select: all;
  user-select: all;
}
.motion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: none;
  color: var(--text-muted);
  cursor: pointer;
}
.motion-btn[hidden] {
  display: none;
}
.motion-btn:hover,
.motion-btn[aria-pressed="true"] {
  color: var(--text);
}
.motion-btn .icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
  color: inherit;
}
@media (min-width: 1000px) and (max-width: 1215px) {
  .hero-copy {
    padding-top: max(88px, calc(48svh - 420px));
  }
  .hd {
    margin-top: max(80px, calc(48svh - 400px));
  }
  .hero h1 {
    font-size: calc((100vw - 520px) / 11);
  }
  .hero .hero-h2 {
    font-size: calc((100vw - 520px) / 14.8);
  }
}
@media (max-width: 999px) {
  .hero .hero-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hd {
    display: none;
  }
}
@media (max-width: 719px) {
  .hero {
    min-height: 844px;
  }
  .hero-wrap {
    padding: 0 16px;
  }
  .site-nav nav {
    height: 64px;
  }
  .hero-copy {
    padding-top: 88px;
  }
  .hero-sub {
    margin-top: 14px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }
}

/* Sections */
/* 120px between sections, split across each pair. */

.section h2,
.closing h2 {
  font: 600 clamp(34px, 4.2vw, 56px) / 1.08 var(--font-heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead {
  max-width: 34em;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Steps: three plain words, while the tent behind them pitches */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--accent-text);
  font: 600 16px/1 var(--font-heading);
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font: 600 28px/1.15 var(--font-heading);
  letter-spacing: -0.02em;
}
.steps p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Library and every section after the hero: a solid panel over the world, so text never sits on moving art.
   Wide screens keep the panel left and the scene's set piece on the right. */
.section {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 60px 0;
}
.section > .wrap {
  width: min(1120px, 100% - 48px);
}
.panel {
  max-width: 560px;
  padding: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.panel h3 {
  margin-top: 40px;
  font: 600 20px/1.3 var(--font-heading);
}
.panel h3 + p {
  margin-top: 4px;
  color: var(--text-muted);
}
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tiles li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 500;
}
.tiles a {
  display: block;
  padding: 8px 14px;
  color: inherit;
  text-decoration: none;
}
.tiles a:hover {
  color: var(--accent-text);
}
.tiles a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.tiles .more {
  border-style: dashed;
  background: none;
  color: var(--text-muted);
}
.nobr {
  white-space: nowrap;
}
.why-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
  list-style: none;
}
.why-ico {
  display: block;
  margin-bottom: 12px;
}
.px-a {
  fill: var(--accent);
}
.px-g {
  fill: var(--forest-400);
}
.why-list b {
  font: 600 18px/1.3 var(--font-heading);
}
.why-list p {
  margin-top: 6px;
  color: var(--text-muted);
}
@media (max-width: 719px) {
  .why-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.tagline {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font: 600 20px/1.4 var(--font-heading);
  text-wrap: balance;
}
.tagline strong {
  color: var(--accent-text);
  font-weight: 600;
}
.private-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.private-panel .lock {
  width: 56px;
  height: auto;
  margin-top: 6px;
}
.private-panel .lead + .lead {
  margin-top: 12px;
}
/* The AI tools' marks sit in the sentence at the height of its capitals. */
.ai-logos {
  display: inline-flex;
  gap: 6px;
  margin-right: 2px;
  vertical-align: -0.12em;
}
.ai-logo {
  width: 1em;
  height: 1em;
  fill: var(--text);
}
.panel .steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.panel .steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: baseline;
}
.panel .steps li::before {
  margin: 0;
}
.panel .steps p {
  grid-column: 2;
}
.panel .steps h3 {
  margin-top: 0;
}

/* The waitlist: one question per screen over the waitlist tent. The page behind fades out and goes inert. */
main,
.site-nav,
.site-footer {
  transition: opacity 300ms var(--motion-ease);
}
.wl-open main,
.wl-open .site-nav,
.wl-open .site-footer {
  opacity: 0;
}
.wl {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  overflow-y: auto;
  padding: 72px max(24px, (100% - 1120px) / 2);
  animation: wl-in 300ms var(--motion-ease);
}
@keyframes wl-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.wl-card {
  width: min(480px, 100%);
  margin-block: auto;
  padding: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.wl-card h2 {
  font: 600 28px/1.2 var(--font-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.wl-card p {
  margin-top: 8px;
  color: var(--text-muted);
}
.wl-card a {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent-text);
}
#wl-form input[type="email"] {
  width: 100%;
  height: 48px;
  margin-top: 24px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-sunken);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
#wl-form .btn {
  height: 44px;
  margin-top: 16px;
}
.wl-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
}
.wl-close .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.wl-trap {
  position: absolute;
  left: -9999px;
}
.wl-msg:empty,
.wl-note,
.wl-done {
  display: none;
}
#wl-form .wl-msg,
#wl-form .wl-note {
  color: var(--accent-text);
}
.wl-note:target,
.wl-done:target {
  display: block;
}
.wl:has(.wl-done:target) #wl-form {
  display: none;
}
.wl-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.wl-opt {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.wl-opt:hover {
  border-color: var(--text-faint);
}
.wl-opt[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.wl-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.wl-actions .btn {
  height: 44px;
}

/* Your AI: a chat, not a console */
.ai-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.ai-grid > * {
  min-width: 0;
}
.chat {
  padding: 32px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-sunken);
}
.chat-log,
.chat-reply {
  max-width: 640px;
  margin-inline: auto;
}
.chat-log {
  display: grid;
  gap: 20px;
  font-size: 16px;
  line-height: 1.55;
}
.from-owner p {
  width: fit-content;
  max-width: 85%;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--surface-raised);
}
.chat-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  margin-top: 32px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--text-faint);
}
.chat-reply .icon {
  rotate: -90deg;
}
.chat-play li,
.chat-play .w {
  opacity: 0;
  transition: opacity 200ms var(--motion-ease);
}
.chat-play li.on,
.chat-play .w.on {
  opacity: 1;
}

@media (scripting: none) {
  [data-copy-prompt] {
    display: none;
  }
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.seg {
  display: grid;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-sunken);
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.seg span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--motion-fast) var(--motion-ease);
}
.seg span:hover {
  color: var(--text);
}
.seg input:checked + span {
  background: var(--accent);
  color: var(--on-accent);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.calc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.calc-table th,
.calc-table td {
  padding: 14px 16px 14px 0;
  border-top: 1px solid var(--border);
  font-weight: 400;
  text-align: left;
  vertical-align: baseline;
}
.calc-table tr > :first-child {
  width: 46%;
}
.calc-table tr > :last-child {
  padding-right: 0;
  font-family: var(--font-mono);
  text-align: right;
  white-space: nowrap;
}
.calc-table thead th {
  border-top: 0;
  color: var(--text-muted);
  font: 400 13px/20px var(--font-sans);
  vertical-align: bottom;
}
.calc-table thead th:last-child {
  font-family: var(--font-sans);
}
.calc-table tbody td:nth-child(2) {
  color: var(--text-muted);
}
.calc-table s {
  color: var(--text-muted);
}
.calc-table tfoot th,
.calc-table tfoot td {
  border-top: 1px solid var(--border-strong);
  font-weight: 500;
}
.calc-table .ours th,
.calc-table .ours td {
  border-top: 0;
}
.calc-table .ours th span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}
.calc-table .ours td:last-child {
  color: var(--accent);
  font-size: 22px;
}

/* Closing + footer: the copy sits in the dawn sky over the camp. */
.closing {
  min-height: 60svh;
}
.closing .hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 48px;
  align-items: start;
}
.faq {
  margin-top: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.faq details + details {
  border-top: 1px solid var(--border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font: 600 16px/1.4 var(--font-heading);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-family: var(--font-mono);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq p {
  padding: 0 20px 16px;
  color: var(--text-muted);
  line-height: 1.5;
}
.closing-copy {
  width: fit-content;
  max-width: 100%;
  padding-top: 120px;
}
.site-footer {
  background: var(--bg-sunken);
}
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 20px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.footer-inner > span {
  flex: 1 1 320px;
  color: var(--text-faint);
}
/* Catalog */
.catalog {
  padding: 72px 0 120px;
}
.catalog .wrap {
  width: min(1040px, 100% - 48px);
}
.catalog h1 {
  font: 600 clamp(32px, 4vw, 44px) / 1.1 var(--font-heading);
  letter-spacing: -0.02em;
}
.cat-tools {
  display: none;
  margin-top: 32px;
}
.js .cat-tools {
  display: block;
}
.cat-search {
  width: min(100%, 680px);
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: 400 15px/1 var(--font-sans);
}
.cat-search::placeholder {
  color: var(--text-faint);
}
.cat-search:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
}
.cat-tabs {
  display: flex;
  gap: 4px;
  margin-top: 40px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.cat-tabs button {
  flex: none;
  padding: 10px 10px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--text-muted);
  font: 500 14px/1 var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
}
.cat-tabs button span {
  margin-left: 4px;
  color: var(--text-faint);
  font: 400 12px/1 var(--font-mono);
}
.cat-tabs button:hover,
.cat-tabs [aria-pressed="true"] {
  color: var(--text);
}
.cat-tabs [aria-pressed="true"] {
  border-bottom-color: var(--accent);
}
.cat-tabs button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}
.catalog .cat-sec {
  margin-top: 48px;
}
.cat-sec[hidden],
.cat-grid li[hidden] {
  display: none;
}
.catalog .cat-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font: 600 20px/1.3 var(--font-heading);
}
.cat-sec h2 span {
  color: var(--text-faint);
  font: 400 13px/1 var(--font-mono);
}
.catalog .cat-hint {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}
.catalog .cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  color: inherit;
}
.cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--motion-fast) var(--motion-ease);
}
.cat-card:hover {
  border-color: var(--border-strong);
}
.cat-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.cat-card > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.cat-card strong {
  font: 600 15px/1.3 var(--font-sans);
}
.cat-card strong + span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  text-wrap: pretty;
}
.cat-logo {
  flex: none;
  width: 32px;
  height: 32px;
  fill: var(--forest-200);
}
.cat-mono {
  display: grid;
  place-items: center;
  border: 2px solid var(--forest-200);
  border-radius: var(--radius-sm);
  color: var(--forest-200);
  font: 600 16px/1 var(--font-heading);
}
.cat-empty {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 48px;
}
.cat-empty[hidden] {
  display: none;
}
.cat-bring {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.catalog .cat-bring p {
  margin: 0;
  color: var(--text-muted);
}

/* Affiliates */
.affiliates h1 {
  max-width: none;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
}
.earn {
  margin-top: 0;
}
.earn tr > :first-child {
  width: auto;
}
.earn tbody td:last-child {
  color: var(--accent);
}

@media (max-width: 960px) {
  .catalog .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .catalog {
    padding: 48px 0 88px;
  }
  .catalog .cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The plain pages style every list, paragraph and heading; the catalog and affiliates set their own. */
.solo.affiliates h1,
.affiliates h1 {
  max-width: 20ch;
}
.earn tr > :first-child {
  font-family: inherit;
}
.earn tbody th {
  font-family: var(--font-mono);
}

/* Pitch: one scroll section per slide */
.pitch-open {
  min-height: 560px;
}
.pitch-open h1 {
  max-width: 22ch;
  font: 600 clamp(32px, 4.4vw, 56px) / 1.08 var(--font-heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.slide {
  padding: 112px 0;
  border-top: 1px solid var(--border);
}
.slide h2 {
  max-width: 24ch;
  font: 600 clamp(30px, 3.8vw, 48px) / 1.1 var(--font-heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.slide h3 {
  font: 600 20px/1.3 var(--font-heading);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.slide p,
.facts li {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}
.slide sup {
  margin-left: 1px;
  color: var(--text-faint);
  font: 400 11px/0 var(--font-mono);
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  margin-top: 48px;
}
.cols p {
  margin-top: 12px;
}
.facts {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.stats.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats b,
.sum b {
  display: block;
  color: var(--text);
  font: 600 clamp(40px, 4.4vw, 60px) / 1 var(--font-heading);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.stats span,
.sum span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
}
.rows {
  max-width: 820px;
  margin-top: 40px;
}
.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  font-size: 18px;
  line-height: 1.45;
}
.rows li:last-child {
  border-bottom: 1px solid var(--border);
}
.rows em {
  flex: none;
  color: var(--text-faint);
  font: 400 13px/1 var(--font-mono);
  font-style: normal;
}
.rows em.now {
  color: var(--accent);
}
.prices b {
  flex: none;
  font: 600 22px/1 var(--font-heading);
}
.prices .ours {
  color: var(--accent);
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 48px;
}
.three.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.three p {
  margin-top: 10px;
}
.sum {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 32px;
  margin-top: 48px;
}
.sum span {
  max-width: 240px;
}
.sum i {
  padding-top: 12px;
  color: var(--text-faint);
  font: 400 32px/1 var(--font-heading);
  font-style: normal;
}
.sum-out b {
  color: var(--accent);
}
.sum-note {
  max-width: 44em;
  margin-top: 32px;
}
.pitch .calc-scroll {
  margin-top: 40px;
  overflow-x: auto;
}
.pitch .calc-table tr > :first-child {
  width: 26%;
}
.pitch-cases td:nth-child(2) {
  color: var(--text-muted);
}
.pitch-cases td {
  font-family: var(--font-mono);
  text-align: right;
  white-space: nowrap;
}
.pitch-cases td:last-child {
  color: var(--accent);
  font-size: 18px;
}
.pitch-cases thead th:not(:first-child) {
  text-align: right;
}
.comp tr > :last-child {
  font-family: inherit;
  text-align: left;
  white-space: normal;
}
.comp tbody th {
  font-weight: 500;
}
.comp tbody th span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.comp td:nth-child(2) {
  color: var(--text);
}
.comp td:last-child {
  color: var(--text-muted);
}
.fn {
  max-width: 72em;
  margin-top: 56px;
  padding-top: 16px;
  padding-left: 18px;
  border-top: 1px solid var(--border);
  list-style: decimal;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.6;
}
.fn a {
  color: var(--text-muted);
}
.pitch-contact {
  margin-top: 32px;
}
@media (max-width: 960px) {
  .stats,
  .three.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cols,
  .three {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .slide {
    padding: 72px 0;
  }
  .stats,
  .stats.three-up,
  .three.four {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .rows li {
    flex-direction: column;
    gap: 6px;
    font-size: 16px;
  }
  .sum {
    flex-direction: column;
    gap: 12px;
  }
  .sum i {
    padding-top: 0;
  }
  .pitch .calc-table:not(.pitch-cases) {
    min-width: 560px;
  }
}

/* Signup, privacy and 404 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--motion-fast) var(--motion-ease);
}
.nav a:hover {
  color: var(--text);
}
.plain .muted {
  color: var(--text-faint);
}
.plain h1 {
  font: 500 clamp(32px, 4.4vw, 44px) / 1.1 var(--font-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.plain h2 {
  margin-top: 48px;
  font: 500 24px/1.2 var(--font-heading);
}
.plain .lede {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.plain ul {
  margin-top: 16px;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-muted);
}
.plain p {
  margin-top: 16px;
}
.plain .actions {
  margin-top: 32px;
}
/* Docs and status */
.docs .wrap {
  width: min(720px, 100% - 48px);
}
.docs h1 {
  max-width: none;
}
.docs h2 {
  margin-top: 40px;
  font-size: 20px;
}
.docs ol {
  margin-top: 16px;
  padding-left: 24px;
  list-style: decimal;
  color: var(--text-muted);
}
.docs li + li {
  margin-top: 8px;
}
.docs strong {
  color: var(--text);
  font-weight: 600;
}
.docs code {
  font-family: var(--font-mono, monospace);
  overflow-wrap: anywhere;
}
.docs table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}
.docs th,
.docs td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.docs-list {
  margin-top: 32px;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}
.plain .docs-list li {
  border-bottom: 1px solid var(--border);
}
.docs-list a {
  display: block;
  padding: 16px 0;
  color: var(--text);
  font-weight: 500;
}
.docs-list a:hover {
  color: var(--accent-text);
}
.docs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.solo {
  padding: 96px 0 128px;
}
.solo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.solo-grid > * {
  min-width: 0;
}
.solo h1 {
  max-width: 14ch;
}
.signup-form {
  display: grid;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.plain .signup-form p {
  margin: 0;
}
.signup-form .btn {
  height: 44px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  background-color: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font: 400 15px/1 var(--font-sans);
}
.field input::placeholder {
  color: var(--text-faint);
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
}
.form-msg {
  color: var(--text-muted);
}
.form-msg:empty {
  display: none;
}

@media (max-width: 960px) {
  .ai-grid,
  .solo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ai-grid,
  .solo-grid {
    gap: 40px;
  }
}
@media (max-width: 719px) {
  .wrap,
  .section > .wrap {
    width: calc(100% - 32px);
  }
  .private-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .section {
    align-items: flex-start;
    padding: 88px 0 45svh;
  }
  .panel,
  .wl-card {
    padding: 24px;
  }

  .wl {
    align-items: flex-start;
    padding: 64px 16px 16px;
  }

  .section h2,
  .closing h2 {
    font-size: 32px;
  }
  .lead {
    font-size: 16px;
  }

  .stuck .site-links {
    display: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .steps h3 {
    font-size: 24px;
  }

  .chat {
    padding: 24px 12px 12px;
  }
  .chat-reply {
    margin-top: 24px;
  }
  .calc-table th,
  .calc-table td {
    padding-right: 10px;
  }
  .closing-copy {
    padding-top: 96px;
  }
  .closing .hero-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .faq {
    margin-top: 0;
  }
  .solo {
    padding: 64px 0 96px;
  }
}

/* The smallest phones: the mark alone leaves room for the action. */
@media (max-width: 359px) {
  .stuck .wordmark span {
    display: none;
  }
}

/* Touch screens: every control gets at least a 44px target */
@media (pointer: coarse) {
  .btn,
  .site-nav a,
  .nav a,
  .seg span,
  .calc-table a,
  .field input,
  .field select,
  .footer-inner a,
  .site-header .wordmark,
  .cat-search,
  .cat-tabs button {
    min-height: 44px;
  }
  .site-links a,
  .nav a,
  .calc-table a,
  .footer-inner a {
    display: inline-flex;
    align-items: center;
  }
  .motion-btn {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wl {
    animation: none;
  }
  main,
  .site-nav,
  .site-footer {
    transition: none;
  }

  .motion-btn {
    display: none;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
  }
  .hd {
    grid-template-columns: 1fr;
    grid-template-areas: "in" "a1" "tent" "keeps" "srv" "a2" "out";
    row-gap: 0;
    padding-bottom: 0;
    font-size: 11px;
  }
  .hd-in {
    grid-auto-flow: column;
    gap: 4px;
  }
  .hd-box {
    padding: 4px 6px;
    text-align: center;
  }
  .hd-out {
    grid-auto-flow: column;
    gap: 4px;
  }
  .hd-out small {
    display: none;
  }
  .hd-arrow {
    transform: rotate(90deg) scale(0.75);
    margin: 0;
  }
  .hd-tentbox {
    grid-auto-flow: column;
    padding: 6px;
    gap: 8px;
  }
  .hd-tent {
    width: 32px;
  }
  .hd ul.hd-keeps {
    margin: 10px 0;
  }
  .hd-servers svg {
    width: 24px;
    height: 22px;
  }
}
