/*
 * BenchTrail site styles. Colours are the app's tokens, copied from the four
 * sets in web/app/globals.css (:root, .dark, .sunlight, .dark.sunlight). Each
 * block below is a full set, so none relies on another. Keep them in step with
 * the app: palette is black, white, sky, peach, coral, crimson, teal, forest,
 * plus the contrast tints listed in UX/DESIGN-NOTES.md.
 *
 * Light by default; Dark follows the device unless data-theme says otherwise.
 * Sunlight (data-sun) is the app's high-contrast switch, on top of either.
 */
:root {
  --background: #f5f5f5;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --muted: #f0f0f0;
  --muted-foreground: #4d4d4d;
  --border: #e5e5e5;
  --input: #858585;
  --primary: #f47b54;
  --primary-foreground: #000000;
  --link: #086665;
  --ring: #086665;
  --rail: #000000;
  --rail-foreground: #ffffff;
  --rail-muted: #b3b3b3;

  --ok: #e0e7e0;
  --ok-foreground: #2d5e2e;
  --wait: #f6c99b;
  --wait-foreground: #000000;
  --progress: #b4e2f0;
  --progress-foreground: #000000;
  --late: #c20540;
  --late-foreground: #ffffff;
  --late-text: #c20540;

  --stamp-late: #9b0433;
  --stamp-ready: #2d5e2e;
  --peg: #d9d9d9;
  --peg-hole: #a6a6a6;
  --paper: #fbe7d2;
  --paper-2: #f6c99b;
  --paper-ink: #000000;

  --radius: 0.5rem;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -16px rgb(0 0 0 / 0.25);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: #0a0a0a;
    --foreground: #ffffff;
    --card: #171717;
    --muted: #262626;
    --muted-foreground: #a3a3a3;
    --border: #2e2e2e;
    --input: #858585;
    --primary: #f47b54;
    --primary-foreground: #000000;
    --link: #b4e2f0;
    --ring: #b4e2f0;
    --rail: #000000;
    --rail-foreground: #ffffff;
    --rail-muted: #a3a3a3;

    --ok: #2d5e2e;
    --ok-foreground: #ffffff;
    --wait: #f6c99b;
    --wait-foreground: #000000;
    --progress: #b4e2f0;
    --progress-foreground: #000000;
    --late: #c20540;
    --late-foreground: #ffffff;
    --late-text: #ffffff;

    --stamp-late: #9b0433;
    --stamp-ready: #2d5e2e;
    --peg: #262626;
    --peg-hole: #0a0a0a;
    --paper: #fbe7d2;
    --paper-2: #f6c99b;
    --paper-ink: #000000;

    --shadow: 0 0 0 1px #2e2e2e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --background: #0a0a0a;
  --foreground: #ffffff;
  --card: #171717;
  --muted: #262626;
  --muted-foreground: #a3a3a3;
  --border: #2e2e2e;
  --input: #858585;
  --primary: #f47b54;
  --primary-foreground: #000000;
  --link: #b4e2f0;
  --ring: #b4e2f0;
  --rail: #000000;
  --rail-foreground: #ffffff;
  --rail-muted: #a3a3a3;

  --ok: #2d5e2e;
  --ok-foreground: #ffffff;
  --wait: #f6c99b;
  --wait-foreground: #000000;
  --progress: #b4e2f0;
  --progress-foreground: #000000;
  --late: #c20540;
  --late-foreground: #ffffff;
  --late-text: #ffffff;

  --stamp-late: #9b0433;
  --stamp-ready: #2d5e2e;
  --peg: #262626;
  --peg-hole: #0a0a0a;
  --paper: #fbe7d2;
  --paper-2: #f6c99b;
  --paper-ink: #000000;

  --shadow: 0 0 0 1px #2e2e2e;
  color-scheme: dark;
}
:root[data-sun] {
  --background: #ffffff;
  --foreground: #000000;
  --card: #ffffff;
  --muted: #f0f0f0;
  --muted-foreground: #333333;
  --border: #737373;
  --input: #000000;
  --primary: #f47b54;
  --primary-foreground: #000000;
  --link: #086665;
  --ring: #000000;
  --rail: #000000;
  --rail-foreground: #ffffff;
  --rail-muted: #d9d9d9;

  --ok: #2d5e2e;
  --ok-foreground: #ffffff;
  --wait: #f6c99b;
  --wait-foreground: #000000;
  --progress: #b4e2f0;
  --progress-foreground: #000000;
  --late: #c20540;
  --late-foreground: #ffffff;
  --late-text: #c20540;

  --stamp-late: #9b0433;
  --stamp-ready: #2d5e2e;
  --peg: #f0f0f0;
  --peg-hole: #8c8c8c;
  --paper: #fbe7d2;
  --paper-2: #f6c99b;
  --paper-ink: #000000;

  --shadow: 0 0 0 2px #000000;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-sun]:not([data-theme="light"]) {
    --background: #000000;
    --foreground: #ffffff;
    --card: #0a0a0a;
    --muted: #1a1a1a;
    --muted-foreground: #d9d9d9;
    --border: #8c8c8c;
    --input: #ffffff;
    --primary: #f47b54;
    --primary-foreground: #000000;
    --link: #b4e2f0;
    --ring: #ffffff;
    --rail: #000000;
    --rail-foreground: #ffffff;
    --rail-muted: #d9d9d9;

    --ok: #2d5e2e;
    --ok-foreground: #ffffff;
    --wait: #f6c99b;
    --wait-foreground: #000000;
    --progress: #b4e2f0;
    --progress-foreground: #000000;
    --late: #c20540;
    --late-foreground: #ffffff;
    --late-text: #ffffff;

    --stamp-late: #9b0433;
    --stamp-ready: #2d5e2e;
    --peg: #1a1a1a;
    --peg-hole: #000000;
    --paper: #fbe7d2;
    --paper-2: #f6c99b;
    --paper-ink: #000000;

    --shadow: 0 0 0 2px #ffffff;
    color-scheme: dark;
  }
}
:root[data-sun][data-theme="dark"] {
  --background: #000000;
  --foreground: #ffffff;
  --card: #0a0a0a;
  --muted: #1a1a1a;
  --muted-foreground: #d9d9d9;
  --border: #8c8c8c;
  --input: #ffffff;
  --primary: #f47b54;
  --primary-foreground: #000000;
  --link: #b4e2f0;
  --ring: #ffffff;
  --rail: #000000;
  --rail-foreground: #ffffff;
  --rail-muted: #d9d9d9;

  --ok: #2d5e2e;
  --ok-foreground: #ffffff;
  --wait: #f6c99b;
  --wait-foreground: #000000;
  --progress: #b4e2f0;
  --progress-foreground: #000000;
  --late: #c20540;
  --late-foreground: #ffffff;
  --late-text: #ffffff;

  --stamp-late: #9b0433;
  --stamp-ready: #2d5e2e;
  --peg: #1a1a1a;
  --peg-hole: #000000;
  --paper: #fbe7d2;
  --paper-2: #f6c99b;
  --paper-ink: #000000;

  --shadow: 0 0 0 2px #ffffff;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:root[data-sun] body {
  font-size: 18px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--link);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 6px;
}
.skip:focus {
  left: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--input);
  background: var(--card);
  color: var(--foreground);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--muted);
}
/* One accent: coral with black text, in every theme (DESIGN-NOTES principle 5). */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, #000);
}
.btn-lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: 18px;
}
.btn small {
  font-weight: 400;
  opacity: 0.8;
}

/* ---------- Top bar: black rail with a coral marker, like the app ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--rail);
  color: var(--rail-foreground);
}
.bar .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.nav {
  display: none;
  gap: 4px;
  margin-left: 16px;
}
.nav a {
  white-space: nowrap;
  color: var(--rail-muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
}
.nav a:hover {
  color: var(--rail-foreground);
  background: #1a1a1a;
}
@media (min-width: 1200px) {
  .nav {
    display: flex;
  }
}
.bar-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar .btn {
  min-height: 44px;
  padding: 0 16px;
}
/* Secondary buttons on the black rail: outlined, like the theme picker. */
.btn-rail {
  background: transparent;
  border-color: #4d4d4d;
  color: var(--rail-foreground);
}
.btn-rail:hover {
  background: #1a1a1a;
}
/* Request access waits for room; the hero already links to the pilot. */
.bar-wide {
  display: none;
}
@media (min-width: 900px) {
  .bar .bar-wide {
    display: inline-flex;
  }
}
.theme-pick {
  display: inline-flex;
  border: 1px solid #4d4d4d;
  border-radius: 8px;
  overflow: hidden;
}
.theme-pick button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: transparent;
  color: var(--rail-muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0 10px;
}
.theme-pick button + button {
  border-left: 1px solid #4d4d4d;
}
.theme-pick button[aria-pressed="true"] {
  background: var(--rail-foreground);
  color: var(--rail);
  font-weight: 600;
}
.brand svg,
.bar .btn {
  flex: none;
  white-space: nowrap;
}
.sun-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #4d4d4d;
  border-radius: 8px;
  background: transparent;
  color: var(--rail-muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.sun-switch .track {
  width: 30px;
  height: 18px;
  border-radius: 99px;
  background: #4d4d4d;
  position: relative;
  flex: none;
}
.sun-switch .track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
}
.sun-switch[aria-checked="true"] {
  color: var(--rail-foreground);
  border-color: var(--rail-foreground);
}
.sun-switch[aria-checked="true"] .track {
  background: var(--primary);
}
.sun-switch[aria-checked="true"] .track::after {
  left: 14px;
  background: #000;
}
/* Icons only once the section links share the bar. */
@media (min-width: 1200px) {
  .sun-switch .lbl,
  .theme-pick .lbl {
    display: none;
  }
}
/* No room on a phone: the page follows the phone's own light/dark setting. */
@media (max-width: 719px) {
  .sun-switch,
  .theme-pick {
    display: none;
  }
}
/* Smallest phones keep Log in; the demo button is right below in the hero. */
@media (max-width: 479px) {
  .bar .btn-primary {
    display: none;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  section {
    padding: 104px 0;
  }
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted-foreground);
  max-width: 40em;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.alt {
  background: var(--card);
  border-block: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cta-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted-foreground);
}

/* ---------- Figures: framed product shots, labelled ---------- */
figure {
  margin: 0;
}
.frame {
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--rail);
  color: var(--rail-foreground);
  font-size: 13px;
}
.frame-top .mark {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--primary);
}
.frame-top .where {
  margin-left: auto;
  color: var(--rail-muted);
}
figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-foreground);
}
figcaption b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  margin-right: 6px;
}

/* ---------- The board (hero figure) ---------- */
.board {
  padding: 18px;
  background-color: var(--peg);
  background-image: radial-gradient(var(--peg-hole) 2px, transparent 2.5px);
  background-size: 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.col-tape {
  display: table;
  margin: 0 auto 12px;
  padding: 4px 10px;
  background: #000;
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.col-tape.late {
  background: var(--late);
}
.tag {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 4px 4px 6px 6px;
  padding: 18px 10px 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 0 rgb(0 0 0 / 0.12);
  font-size: 13px;
  line-height: 1.35;
}
.tag::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--peg);
  box-shadow: 0 0 0 2px var(--paper-2);
}
.tag .no {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  background: #000;
  color: #fff;
  padding: 0 5px;
  border-radius: 2px;
}
.tag .who {
  display: block;
  font-weight: 800;
  font-size: 15px;
  margin: 6px 0 2px;
}
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 20px;
}
.st-late {
  background: var(--stamp-late);
  color: #fff;
}
.st-ready {
  background: var(--stamp-ready);
  color: #fff;
}
.st-progress {
  background: #b4e2f0;
  color: #000;
}
.st-waiting {
  background: #f6c99b;
  color: #000;
  outline: 1px dashed #000;
  outline-offset: -1px;
}
@media (max-width: 520px) {
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board .col:nth-child(3) {
    display: none;
  }
}

/* ---------- Problem cards ---------- */
.grid-3 {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
}
.alt .card {
  background: var(--background);
}
.card p {
  margin: 10px 0 0;
  color: var(--muted-foreground);
}
.card .ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--muted);
  margin-bottom: 16px;
}
.card .ico svg {
  width: 22px;
  height: 22px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 72px;
}
.step {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .step {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .step:nth-child(even) .step-copy {
    order: 2;
  }
}
.step-no {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  background: #000;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
:root[data-theme="dark"] .step-no,
:root[data-theme="dark"] .tag .no {
  box-shadow: 0 0 0 1px #4d4d4d;
}
.step-copy p {
  color: var(--muted-foreground);
  margin: 14px 0 0;
  max-width: 34em;
}
.step-copy blockquote {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  font-style: italic;
  color: var(--foreground);
}

/* Mini UI pieces inside step figures */
.ui {
  padding: 20px;
  display: grid;
  gap: 12px;
  font-size: 15px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 16px;
  border: 2px solid var(--ring);
  border-radius: var(--radius);
  font-size: 20px;
}
.search svg {
  width: 22px;
  height: 22px;
  color: var(--muted-foreground);
}
.caret {
  width: 2px;
  height: 24px;
  background: var(--foreground);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .caret {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}
.row .main {
  flex: 1;
  min-width: 0;
}
.row .main b {
  display: block;
}
.row .main small {
  color: var(--muted-foreground);
  font-size: 13px;
}
.row .go {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--input);
  white-space: nowrap;
}
.row .go.accent {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
}
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.hist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.hist li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.hist li:first-child {
  border-top: 0;
}
.hist .when {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--muted-foreground);
  font-size: 13px;
}
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.pill svg {
  width: 15px;
  height: 15px;
}
.p-work {
  background: #000;
  color: #fff;
}
:root[data-theme="dark"] .p-work {
  box-shadow: 0 0 0 1px #858585;
}
.p-progress {
  background: var(--progress);
  color: var(--progress-foreground);
}
.p-wait {
  background: var(--wait);
  color: var(--wait-foreground);
  outline: 1.5px dashed #000;
  outline-offset: -1.5px;
}
.p-ready {
  background: var(--ok);
  color: var(--ok-foreground);
}
.p-late {
  background: var(--late);
  color: var(--late-foreground);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lines {
  display: grid;
  gap: 0;
}
.line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.line:first-child {
  border-top: 0;
}
.line .box {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--input);
  display: grid;
  place-items: center;
  flex: none;
}
.line .box.on {
  background: #2d5e2e;
  border-color: #2d5e2e;
  color: #fff;
}
:root[data-theme="dark"] .line .box.on {
  border-color: #96ae96;
}
.line .box svg {
  width: 14px;
  height: 14px;
}
.line .by {
  margin-left: auto;
  color: var(--muted-foreground);
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Built for shop light ---------- */
.themes {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) {
  .themes {
    grid-template-columns: repeat(2, 1fr);
  }
}
.swatch {
  border-radius: calc(var(--radius) + 4px);
  padding: 20px;
  border: 1px solid var(--border);
}
.swatch h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.swatch p {
  margin: 0 0 16px;
  font-size: 14px;
}
.sw-light {
  background: #f5f5f5;
  color: #0a0a0a;
}
.sw-light p {
  color: #4d4d4d;
}
.sw-light .p-ready {
  background: #e0e7e0;
  color: #2d5e2e;
}
.sw-dark {
  background: #0a0a0a;
  color: #fff;
  border-color: #2e2e2e;
}
.sw-dark p {
  color: #a3a3a3;
}
.sw-dark .p-ready {
  background: #2d5e2e;
  color: #fff;
  box-shadow: 0 0 0 1px #96ae96;
}
.sw-dark .p-work {
  box-shadow: 0 0 0 1px #858585;
}
.sw-sun {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}
.sw-sun p {
  color: #333;
}
.sw-sun .p-ready {
  background: #2d5e2e;
  color: #fff;
}
.sw-dark.sw-sun {
  background: #000;
  color: #fff;
  border: 2px solid #fff;
}
.sw-dark.sw-sun p {
  color: #d9d9d9;
}
.sw-sun h3 {
  font-size: 18px;
}
.sw-sun p {
  font-size: 15px;
}
.swatch .p-progress {
  background: #b4e2f0;
  color: #000;
}
.swatch .p-wait {
  background: #f6c99b;
  color: #000;
}
.swatch .p-late {
  background: #c20540;
  color: #fff;
}
.facts {
  display: grid;
  gap: 12px 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.facts li {
  display: flex;
  gap: 12px;
}
.facts svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--link);
}

/* ---------- Lanes ---------- */
.lanes {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .lanes {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lane {
  padding: 28px;
}
.lane ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.lane li {
  display: flex;
  gap: 10px;
}
.lane li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--primary);
}
.lane .fine {
  margin-top: 16px;
  font-size: 14px;
}

/* ---------- Is / isn't ---------- */
.honest {
  display: grid;
  gap: 20px;
}
@media (min-width: 800px) {
  .honest {
    grid-template-columns: 1fr 1fr;
  }
}
.honest ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.honest li::marker {
  color: var(--muted-foreground);
}

/* ---------- Try it band ---------- */
.try-band {
  background: var(--rail);
  color: var(--rail-foreground);
}
.try-band .lede {
  color: var(--rail-muted);
}
.try-band .btn:not(.btn-primary) {
  background: transparent;
  color: #fff;
  border-color: #858585;
}
.try-band .btn:not(.btn-primary):hover {
  background: #1a1a1a;
}
.try-band a:not(.btn) {
  color: #b4e2f0;
}
.try-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .try-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
.try-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.try-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border: 1px solid #333;
  border-radius: 8px;
}
.try-list kbd {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: #000;
  padding: 1px 7px;
  border-radius: 4px;
}

/* ---------- Pilot ---------- */
.pilot {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .pilot {
    grid-template-columns: 1.2fr 1fr;
  }
}
.letter p {
  margin: 0 0 16px;
  max-width: 36em;
}
.letter p:first-of-type {
  font-size: 20px;
}
.ask {
  align-self: start;
}
.ask ol {
  margin: 14px 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.ask .fine {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted-foreground);
}
.ask .fine a {
  color: var(--foreground);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--muted-foreground);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
}
footer .brand {
  color: var(--foreground);
  font-size: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
footer .copy {
  margin-left: auto;
}
