:root {
  color-scheme: light;
  --ink: #2b2623; --soft: #6b625c; --paper: #fffdf9; --bg: #f9f6f0; --line: #e4dcd0; --accent: #8a4b3a;
  --accent-hover: #733d2f; --on-accent: #fff; --field: #fff;
}

/* Dark mode. The device's setting applies unless the footer picker saved a choice, which theme.js puts on <html>
   as data-theme. The two blocks below must stay the same; a unit test checks it. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f1ebe3; --soft: #b3a89f; --paper: #25201d; --bg: #1b1816; --line: #3b332e; --accent: #d4a381;
    --accent-hover: #e2b998; --on-accent: #1b1816; --field: #1f1b18;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1ebe3; --soft: #b3a89f; --paper: #25201d; --bg: #1b1816; --line: #3b332e; --accent: #d4a381;
  --accent-hover: #e2b998; --on-accent: #1b1816; --field: #1f1b18;
}

/* The lockup has a light and a dark file; the page shows the one that matches. */
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark { display: block !important; }
}
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 Georgia, "Times New Roman", serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
main .wrap > * { max-width: 760px; }
main .wrap > .wide { max-width: none; }
header { padding: 28px 0; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.brand { font-size: 24px; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
nav a { margin-left: 18px; font: 15px/1 system-ui, sans-serif; }
a { color: var(--accent); }
main { padding: 56px 0 72px; }
h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.15; font-weight: 400; margin: 0 0 18px; }
h2 { font-size: 22px; font-weight: 400; margin: 40px 0 10px; }
p, li { color: var(--ink); }
.lead { font-size: 20px; color: var(--soft); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 28px 24px; margin-top: 36px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--soft); font: 14px/1.6 system-ui, sans-serif; }
.status { display: inline-block; margin: 0 0 18px; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font: 13px/1.4 system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.hero > .card { margin-top: 36px; }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
  .hero > .card { margin-top: 0; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
}
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px 14px; }
.tile h2 { margin-top: 18px; font-size: 20px; }
.tile p { margin: 0 0 8px; color: var(--soft); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; color: var(--soft); border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 12px; border: 1.5px solid var(--line); border-radius: 50%; }
.checks li.done { color: var(--ink); }
.checks li.done::before { background: var(--accent); border-color: var(--accent); }
.brand img { display: block; height: 44px; width: auto; }
.waitlist { padding-bottom: 28px; }
.waitlist h2 { margin-top: 22px; }
.waitlist label { display: block; margin: 16px 0 6px; font: 15px/1.4 system-ui, sans-serif; color: var(--soft); }
.waitlist .row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input { flex: 1 1 200px; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--ink); font: 17px/1.3 system-ui, sans-serif; }
.waitlist input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.waitlist button { padding: 11px 20px; border: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); font: 16px/1.3 system-ui, sans-serif; cursor: pointer; }
.waitlist button:hover { background: var(--accent-hover); }
.waitlist .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The theme picker in the footer: Auto, Light and Dark. theme.js fills it in. */
.theme-picker { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.theme-picker[hidden] { display: none; }
.theme-picker span { margin-right: 4px; }
.theme-picker button { min-height: 32px; padding: 4px 12px; font: 13px/1.4 system-ui, sans-serif; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.theme-picker button:hover { border-color: var(--soft); }
.theme-picker button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
