/* site.css: the one stylesheet for the server-rendered site pages (ARCHITECTURE.md 46.6).
   Served at /assets/site-<hash>.css on every host under the page CSP (style-src 'self'), so the pages
   carry no inline style. The token block below is generated from design-tokens/web.json by
   `npm run tokens` (the web's cool neutrals and the app's cobalt, shared with the owner portal; decision 2026-10-26; the block's dark set is unused here, since every
   page is light only, see "Page base"); edit the JSON, not the block. The block's `@theme inline` part is Tailwind syntax that browsers skip as an unknown at-rule; the
   `:root` variables are what this file uses, always as rgb(var(--token)), never a literal color (a unit
   test fails on a hex value outside the block).

   Rules the hand CSS below keeps (build spec D.3, product map 6):
   - Borders, not shadows: 1.5px ink outlines around objects, 1px hairlines between rows. No gradients.
   - Cobalt (--accent) means "act here": the primary button (as in the owner portal), the focus ring,
     and the mark's small square; current nav items are ink with a thicker underline.
   - Type: Barlow for text and Barlow Semi Condensed for headings, as in the portal; Plex Mono only for
     machine text (step numbers, sample status lines).
   - Corner radii: 12px controls and cards, 16px and over for chat bubbles and sheets (the hand values
     below predate design-tokens/web.json's `shape` set and stay as they are).
   - One column: text at most 72ch, the page at most 1100px, 16px side gutters on phones, and nothing
     wider than the screen at 320px.
   - Buttons and nav links are at least 44 to 48px tall (the app's touch-target rule).
   The token block sits in @layer theme, so the unlayered rules here win wherever both set a value. */

/* BEGIN generated design tokens: sync-design-tokens.mjs. Do not edit by hand. */
@layer theme {
  :root {
    --ground: 247 248 245;
    --surface: 255 255 255;
    --rail: 237 240 234;
    --ink: 20 27 23;
    --ink-muted: 80 91 85;
    --hairline: 221 226 218;
    --edge: 127 137 130;
    --accent: 38 56 201;
    --accent-soft: 231 235 252;
    --on-accent: 255 255 255;
    --good: 43 106 56;
    --warning: 135 82 0;
    --critical: 174 39 27;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --ground: 19 23 21;
      --surface: 28 33 30;
      --rail: 14 18 16;
      --ink: 232 236 233;
      --ink-muted: 160 170 163;
      --hairline: 45 53 49;
      --edge: 104 115 108;
      --accent: 143 156 255;
      --accent-soft: 35 43 87;
      --on-accent: 19 23 21;
      --good: 132 198 144;
      --warning: 228 184 97;
      --critical: 255 142 126;
    }
  }

  /* Higher specificity so the web class toggle beats the media query. */
  :root.dark {
    --ground: 19 23 21;
    --surface: 28 33 30;
    --rail: 14 18 16;
    --ink: 232 236 233;
    --ink-muted: 160 170 163;
    --hairline: 45 53 49;
    --edge: 104 115 108;
    --accent: 143 156 255;
    --accent-soft: 35 43 87;
    --on-accent: 19 23 21;
    --good: 132 198 144;
    --warning: 228 184 97;
    --critical: 255 142 126;
  }

  :root.light {
    --ground: 247 248 245;
    --surface: 255 255 255;
    --rail: 237 240 234;
    --ink: 20 27 23;
    --ink-muted: 80 91 85;
    --hairline: 221 226 218;
    --edge: 127 137 130;
    --accent: 38 56 201;
    --accent-soft: 231 235 252;
    --on-accent: 255 255 255;
    --good: 43 106 56;
    --warning: 135 82 0;
    --critical: 174 39 27;
  }
}

/* Raw triples above become Tailwind color names here. rgb() wrapping is what
   makes opacity modifiers (bg-primary/50) work. */
@theme inline {
  --color-ground: rgb(var(--ground));
  --color-surface: rgb(var(--surface));
  --color-rail: rgb(var(--rail));
  --color-ink: rgb(var(--ink));
  --color-ink-muted: rgb(var(--ink-muted));
  --color-hairline: rgb(var(--hairline));
  --color-edge: rgb(var(--edge));
  --color-accent: rgb(var(--accent));
  --color-accent-soft: rgb(var(--accent-soft));
  --color-on-accent: rgb(var(--on-accent));
  --color-good: rgb(var(--good));
  --color-warning: rgb(var(--warning));
  --color-critical: rgb(var(--critical));
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-bubble: 16px;
  --radius-sheet: 16px;
}
/* END generated design tokens */

/* Self-hosted fonts (OFL; licenses next to the files in fonts/). font-display: swap shows the system
   fallback at once, so text is never invisible while a font loads. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* Page base: light only. Every page is <html class="light">, which picks the light tokens over the
   block's prefers-color-scheme rule (Charlie, 2026-10-27: the public pages are light before sign-in;
   the portal keeps its Appearance setting). */
:root {
  color-scheme: light;
}
body {
  margin: 0;
  background: rgb(var(--ground));
  color: rgb(var(--ink));
  font-family: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
:focus-visible {
  outline: 2px solid rgb(var(--accent));
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------------------------------
   Base. The body is a column so the footer sits at the bottom of short pages. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  body {
    font-size: 17px;
  }
}
main {
  flex: 1 0 auto;
}
/* The skip link focuses main; the ring would only outline the whole page. */
main:focus {
  outline: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Semi Condensed", "Barlow", ui-sans-serif, system-ui, "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
p {
  margin: 0 0 1em;
}
a {
  color: rgb(var(--ink));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
strong {
  font-weight: 600;
}
code {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Type scale (redesign 2026-10-26, shared with the owner portal): Barlow for text, Barlow Semi
   Condensed 700 for headings, set like truck-door lettering; labels in sentence case; Plex Mono only
   for machine text a person reads back (codes, sample status lines). */
.t-hero {
  margin-bottom: 20px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
}
/* Each sentence of the hero on its own line once there is room; on phones they wrap naturally. */
@media (min-width: 640px) {
  .t-hero span {
    display: block;
  }
}
.t-title {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.08;
}
.t-section {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
}
.t-step {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.t-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgb(var(--ink-muted));
}
.t-fine {
  font-size: 13px;
  line-height: 1.5;
  color: rgb(var(--ink-muted));
}
.lede {
  max-width: 60ch;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.45;
}
/* Text for screen readers only (the sample thread's speaker names). */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Layout: one column inside a 1100px page. */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 32px;
  }
}
.hero {
  padding: 56px 0 40px;
}
.page-head {
  padding: 48px 0 24px;
}
.band {
  padding: 40px 0;
  border-top: 1px solid rgb(var(--hairline));
}
@media (min-width: 900px) {
  .hero {
    padding: 96px 0 64px;
  }
  .page-head {
    padding: 72px 0 32px;
  }
  .band {
    padding: 56px 0;
  }
}
.band .wrap > p,
.page-head .wrap > p {
  max-width: 68ch;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}

/* Skip link: off screen until focused. */
.skip-link {
  position: absolute;
  top: -200px;
  left: 16px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgb(var(--ink));
  color: rgb(var(--ground));
}
.skip-link:focus {
  top: 12px;
}

/* Header. Narrow screens: the mark and the sign-in button on one row, the links wrapping under them
   (no menu, since the pages run no script). Wide screens: one row. */
.site-header {
  border-bottom: 1px solid rgb(var(--hairline));
}
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand signin"
    "nav nav";
  align-items: center;
  column-gap: 16px;
  padding-top: 12px;
  padding-bottom: 4px;
}
.header-bar-plain {
  grid-template-columns: 1fr;
  grid-template-areas:
    "brand"
    "nav";
}
@media (min-width: 860px) {
  .header-bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav signin";
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .header-bar-plain {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand nav";
  }
}
.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 48px;
  color: rgb(var(--ink));
  text-decoration: none;
}
.mark {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
}
.mark-ink {
  fill: rgb(var(--ink));
}
.mark-accent {
  fill: rgb(var(--accent));
}
.wordmark {
  font-family: "Barlow Semi Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-nav {
  grid-area: nav;
}
.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul {
  column-gap: 20px;
}
@media (min-width: 860px) {
  .site-nav ul {
    justify-content: flex-end;
    column-gap: 28px;
  }
}
.site-nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-nav a {
  font-weight: 500;
}
.site-nav a:hover,
.footer-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.header-signin {
  grid-area: signin;
  padding: 0 16px;
  font-size: 15px;
}

/* Buttons: primary is a cobalt fill (the portal's primary), secondary an ink outline; both at least
   48px tall. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid rgb(var(--ink));
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  border-color: rgb(var(--accent));
  background: rgb(var(--accent));
  color: rgb(var(--on-accent));
}
.btn-primary:hover {
  background: rgb(var(--accent) / 0.88);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: rgb(var(--ink));
}
.btn-secondary:hover {
  background: rgb(var(--surface));
  text-decoration: none;
}

/* Lists, not dashboards: one row per thing with a hairline between. */
.rows,
.examples,
.steps {
  max-width: 72ch;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(var(--hairline));
}
.rows li,
.examples li,
.steps li {
  padding: 14px 0;
  border-bottom: 1px solid rgb(var(--hairline));
}
.rows li > :last-child,
.examples li > :last-child,
.steps li > :last-child {
  margin-bottom: 0;
}
.example {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 500;
}
.examples .t-label {
  margin: 0;
}
/* Numbered steps: a mono counter in its own column. */
.steps {
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  counter-increment: step;
}
.steps li::before {
  grid-row: 1 / span 2;
  padding-top: 3px;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: rgb(var(--ink-muted));
  content: counter(step, decimal-leading-zero);
}
.steps li > * {
  grid-column: 2;
}
.steps p {
  margin: 0;
}

/* The sample conversation, in the app's chat look: the person's line in a surface bubble with an ink
   edge on the right, Alex's line as plain text, mono status lines, and cards with no buttons. */
.sample {
  max-width: 560px;
  margin: 8px 0 0;
  padding: 20px 16px 24px;
  border: 1.5px solid rgb(var(--ink));
  border-radius: 24px;
  background: rgb(var(--ground));
}
@media (min-width: 640px) {
  .sample {
    padding: 24px;
  }
}
.sample figcaption {
  margin-bottom: 18px;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.msg-you {
  align-self: flex-end;
  max-width: 84%;
  padding: 10px 14px;
  border: 1.5px solid rgb(var(--ink));
  border-radius: 20px;
  background: rgb(var(--surface));
}
.msg-alex {
  max-width: 92%;
}
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
  color: rgb(var(--ink-muted));
}
.status::before {
  flex: none;
  width: 7px;
  height: 7px;
  border: 1.5px solid rgb(var(--ink-muted));
  content: "";
}
.card {
  max-width: 92%;
  overflow: hidden;
  border: 1.5px solid rgb(var(--ink));
  border-radius: 16px;
  background: rgb(var(--surface));
}
.card-head {
  margin: 0;
  padding: 8px 14px;
  border-bottom: 1px solid rgb(var(--hairline));
}
.card-title {
  margin: 12px 14px 4px;
  font-weight: 600;
}
.card-line {
  margin: 0 14px 2px;
  font-size: 15px;
  color: rgb(var(--ink-muted));
}

/* ---------------------------------------------------------------------------------------------------
   The landing page (landing-page pass, 2026-10-26). One bold element, the hero's headline set large
   like truck-door lettering next to a phone; everything below it stays quiet: hairlines, ink outlines,
   and the mark's small cobalt square as the only ornament. */

/* Hero: one column on phones (headline, button, then the phone); two from 900px, the phone at the
   right in a fixed-width column so the headline keeps its size. */
.hero-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    column-gap: 56px;
  }
}
@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 80px;
  }
}
.hero .t-hero {
  margin-bottom: 24px;
  font-size: clamp(42px, 7.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* The headline's two sentences are always two blocks here: the outcome reads as a pair. */
.hero .t-hero span {
  display: block;
}
.hero .actions {
  margin-bottom: 12px;
}
.cta-note {
  margin: 0;
}
/* The phone: the sample thread in a device-shaped outline, with the app's hold-to-talk bar. */
.phone {
  justify-self: center;
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 20px 16px 16px;
  border-radius: 32px;
  background: rgb(var(--rail));
}
@media (min-width: 900px) {
  .phone {
    justify-self: end;
  }
}
.hold {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 20px 0 0;
  border-radius: 16px;
  background: rgb(var(--ink));
  color: rgb(var(--ground));
  font-weight: 600;
}

/* A day on the route: a real sequence of times, so a timeline. The time sits in its own column from
   640px; a 1.5px ink rule runs down the stops with the mark's cobalt square at each one. */
.day {
  max-width: 820px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}
.stop {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .stop {
    grid-template-columns: 112px 1fr;
    column-gap: 8px;
  }
}
.stop-time {
  margin: 0 0 6px;
  font-family: "Barlow Semi Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .stop-time {
    margin: 0;
    padding-top: 1px;
    text-align: right;
    padding-right: 20px;
  }
}
.stop-body {
  position: relative;
  padding: 0 0 36px 24px;
  border-left: 1.5px solid rgb(var(--ink));
}
.stop:last-child .stop-body {
  padding-bottom: 8px;
}
/* Under 640px the time sits above its stop, so the rule and the square move to the whole stop and
   the line runs unbroken through the times. */
@media (max-width: 639px) {
  .stop {
    position: relative;
    padding: 0 0 36px 24px;
    border-left: 1.5px solid rgb(var(--ink));
  }
  .stop:last-child {
    padding-bottom: 8px;
  }
  .stop::before {
    position: absolute;
    top: 7px;
    left: -6px;
    width: 11px;
    height: 11px;
    background: rgb(var(--accent));
    content: "";
  }
  .stop .stop-body {
    padding: 0;
    border-left: 0;
  }
  .stop .stop-body::before {
    content: none;
  }
}
.stop-body::before {
  position: absolute;
  top: 6px;
  left: -6px;
  width: 11px;
  height: 11px;
  background: rgb(var(--accent));
  content: "";
}
.stop-body .t-step {
  margin-bottom: 12px;
}
.stop-body .thread {
  max-width: 480px;
  margin: 0 0 16px;
}
.stop-body > p {
  max-width: 60ch;
  margin: 0;
  color: rgb(var(--ink-muted));
}
/* From 1000px each stop's explanation sits left and its sample lines right, so the day reads in one
   pass instead of a long single column. */
@media (min-width: 1000px) {
  .day {
    max-width: none;
  }
  .stop-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    grid-template-areas:
      "title thread"
      "text thread";
    grid-template-rows: auto 1fr;
    column-gap: 48px;
  }
  .stop-body .t-step {
    grid-area: title;
  }
  .stop-body .thread {
    grid-area: thread;
    margin: 0;
  }
  .stop-body > p {
    grid-area: text;
  }
}

/* The three questions: three columns from 900px, each under a short ink rule. */
.trio {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}
.trio > div {
  padding-top: 16px;
  border-top: 1.5px solid rgb(var(--ink));
}
.trio .t-step {
  margin-bottom: 8px;
  font-size: 20px;
}
.trio p:last-child {
  margin-bottom: 0;
}

/* FAQ: native disclosure widgets, a hairline between, a plus that turns into a minus when open. */
.faq {
  max-width: 72ch;
  border-top: 1px solid rgb(var(--hairline));
}
.faq details {
  border-bottom: 1px solid rgb(var(--hairline));
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 8px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  flex: none;
  width: 24px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: rgb(var(--accent));
  content: "+";
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin: 0 0 18px;
  padding-right: 40px;
}

/* Works with: the integrations not built yet are marked with an asterisk, explained right under the
   list in the list's own text size rather than as fine print. */
.soon-note {
  margin: 0;
  font-weight: 500;
  color: rgb(var(--ink-muted));
}

/* The closing call to action: the page's one panel, an ink outline on the surface color. */
.closer-panel {
  padding: 28px 20px;
  border: 1.5px solid rgb(var(--ink));
  border-radius: 16px;
  background: rgb(var(--surface));
}
@media (min-width: 640px) {
  .closer-panel {
    padding: 40px;
  }
}
.closer-panel > p {
  max-width: 64ch;
}
.closer-panel .steps {
  margin-bottom: 8px;
}

/* Tables. The scroller only ever scrolls the table, never the page. */
.table {
  max-width: 100%;
  margin: 0 0 24px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid rgb(var(--hairline));
  text-align: left;
  vertical-align: top;
}
thead th {
  border-bottom: 1.5px solid rgb(var(--ink));
  font-size: 14px;
  font-weight: 600;
  color: rgb(var(--ink-muted));
}
tbody th {
  font-weight: 600;
}
/* Under 640px a stacked table becomes one block per row, each cell under its column's name. */
@media (max-width: 639px) {
  .stack,
  .stack tbody,
  .stack tr,
  .stack th,
  .stack td {
    display: block;
  }
  .stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .stack tr {
    padding: 12px 0;
    border-bottom: 1px solid rgb(var(--hairline));
  }
  .stack th,
  .stack td {
    padding: 4px 0;
    border: 0;
  }
  .stack tbody th {
    font-size: 17px;
  }
  .stack td::before {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: rgb(var(--ink-muted));
    content: attr(data-label);
  }
}

/* Long-form text: the legal pages and the invite landing. */
.prose {
  padding-top: 48px;
  padding-bottom: 56px;
}
.prose > * {
  max-width: 72ch;
}
.prose h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.08;
}
.prose h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.prose h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}
.prose ul {
  padding-left: 1.25em;
}
.prose li {
  margin-bottom: 6px;
}
.updated {
  margin-bottom: 24px;
}
/* The DRAFT banner on the legal pages: word first, with a warning edge. */
.callout {
  padding: 12px 16px;
  border: 1px solid rgb(var(--hairline));
  border-left: 4px solid rgb(var(--warning));
  border-radius: 12px;
  background: rgb(var(--surface));
}
.note {
  padding: 12px 16px;
  border: 1px solid rgb(var(--hairline));
  border-radius: 12px;
  background: rgb(var(--surface));
  color: rgb(var(--ink-muted));
}
/* The invite code: one tap selects it all, and it breaks anywhere so it never widens the page. */
code.token {
  display: block;
  padding: 12px 14px;
  border: 1.5px solid rgb(var(--ink));
  border-radius: 12px;
  background: rgb(var(--surface));
  font-size: 16px;
  word-break: break-all;
  user-select: all;
}

/* The 404 page. */
.notfound {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Footer. */
.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgb(var(--hairline));
}
.footer-nav ul {
  column-gap: 20px;
  margin-bottom: 8px;
}
.footer-copy {
  margin: 0 0 6px;
  font-size: 15px;
}
.site-footer .t-fine {
  margin: 0;
}

/* The early access page (decisions 2026-11-11): the list's form and the sign-in card. */
.join-hero .lede {
  margin-bottom: 12px;
}
.works-with {
  margin: 0;
}
.join-form {
  max-width: 640px;
}
.join-fields {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .join-fields {
    grid-template-columns: 1fr 1fr;
  }
}
.join-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.join-label {
  font-size: 15px;
  font-weight: 600;
}
.join-field input {
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgb(var(--edge));
  border-radius: var(--radius-control);
  background: rgb(var(--surface));
  color: rgb(var(--ink));
  font: inherit;
  font-size: 16px;
}
.join-field input:focus-visible {
  outline: 2px solid rgb(var(--accent));
  outline-offset: 2px;
}
.join-problem {
  margin: 0 0 16px;
  color: rgb(var(--critical));
  font-weight: 600;
}
.join-note {
  margin: 12px 0 0;
}
/* The honeypot: off screen, out of the tab order, hidden from assistive technology. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signin-card {
  max-width: 640px;
  padding: 24px;
  border: 1px solid rgb(var(--hairline));
  border-radius: var(--radius-card);
  background: rgb(var(--surface));
}
.signin-card .t-section {
  margin-bottom: 8px;
}
.signin-card p {
  margin: 0 0 16px;
}

/* Nothing moves on these pages; this keeps it that way for anyone who asks for less motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
