@import url("/shared/waitlist.css");
/* Tokens for the Dori landing drafts. Values are the doriterm landing's (terminal.dori.bot), so the two pages read as
   one family. Corners are square on purpose: no pill, no rounded card. See DESIGN.md. */
@font-face {
  font-family: "Timeless Sans";
  src: url("/shared/fonts/TimelessSansVF.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/shared/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --font-sans: "Timeless Sans", ui-sans-serif, system-ui, sans-serif;
  --font-term: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-display: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);
  --text-h2: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --text-h3: 1.25rem;
  --text-lede: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --tracking-display: -0.04em;
  --tracking-h2: -0.03em;
  --weight-display: 560;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 144px;
  --page-max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Square. 2px only softens the pixel edge of a control; nothing reads as rounded. */
  --radius: 0px;
  --radius-control: 2px;

  /* Motion. Measured with the motion-design SDK at 60 fps:
     reveal  0.1,1,0.1,1 @900ms over 16px  -> launchRatio 1.10, maxStep 2.9px
     travel  0.4,0,0,1   @1000ms over 420px -> launchRatio 0.31, maxStep 29.6px
     ui      0.2,0,0,1   @220ms over 8px   -> launchRatio 0.28 */
  --dur-press: 120ms;
  --dur-ui: 220ms;
  --dur-enter: 900ms;
  --dur-travel: 1000ms;
  --stagger: 45ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-reverb: cubic-bezier(0.1, 1, 0.1, 1);
  --ease-travel: cubic-bezier(0.4, 0, 0, 1);
  --reveal-shift: 16px;

  --bg: #0f0e0d;
  --bg-raised: #141311;
  --surface: #191816;
  --surface-2: #211f1c;
  --line: rgb(238 238 239 / 0.09);
  --line-strong: rgb(238 238 239 / 0.16);
  --ink: #eeeeef;
  --ink-2: #a8a49b;
  --ink-3: #6e6a62;
  --accent: #9fb4e6;
  --accent-ink: #0f0e0d;
  --accent-wash: rgb(159 180 230 / 0.12);
  --wait: #e2b86b;
  --wait-wash: rgb(226 184 107 / 0.12);
  --ok: #8fcf9a;
  --ok-wash: rgb(143 207 154 / 0.12);
  --danger: #ef7d6b;
  --danger-wash: rgb(239 125 107 / 0.14);
  --primary: #eeeeef;
  --primary-ink: #0f0e0d;
  --dot: rgb(238 238 239 / 0.16);
  --term-bg: #121210;
  --term-fg: #d8d4cb;
  --term-dim: #8c877d;
}

:root[data-theme="light"] {
  --bg: #fbfaf7;
  --bg-raised: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f0efea;
  --line: rgb(27 27 30 / 0.09);
  --line-strong: rgb(27 27 30 / 0.16);
  --ink: #1b1b1e;
  --ink-2: #5c5850;
  --ink-3: #9a958b;
  --accent: #2f5fc4;
  --accent-ink: #ffffff;
  --accent-wash: rgb(47 95 196 / 0.09);
  --wait: #8a5a00;
  --wait-wash: rgb(138 90 0 / 0.09);
  --ok: #2f7a3e;
  --ok-wash: rgb(47 122 62 / 0.09);
  --danger: #bf3a2b;
  --danger-wash: rgb(191 58 43 / 0.09);
  --primary: #1b1b1e;
  --primary-ink: #fbfaf7;
  --dot: rgb(20 19 17 / 0.14);
  --term-bg: #fbfaf7;
  --term-fg: #2a2723;
  --term-dim: #6f6a61;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfaf7;
    --bg-raised: #f6f5f1;
    --surface: #ffffff;
    --surface-2: #f0efea;
    --line: rgb(27 27 30 / 0.09);
    --line-strong: rgb(27 27 30 / 0.16);
    --ink: #1b1b1e;
    --ink-2: #5c5850;
    --ink-3: #9a958b;
    --accent: #2f5fc4;
    --accent-ink: #ffffff;
    --accent-wash: rgb(47 95 196 / 0.09);
    --wait: #8a5a00;
    --wait-wash: rgb(138 90 0 / 0.09);
    --ok: #2f7a3e;
    --ok-wash: rgb(47 122 62 / 0.09);
    --danger: #bf3a2b;
    --danger-wash: rgb(191 58 43 / 0.09);
    --primary: #1b1b1e;
    --primary-ink: #fbfaf7;
    --dot: rgb(20 19 17 / 0.14);
    --term-bg: #fbfaf7;
    --term-fg: #2a2723;
    --term-dim: #6f6a61;
  }
}

/* Browser surfaces, themed (craft floor). */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) transparent;
}
body {
  margin: 0;
}
::selection {
  background: var(--accent-wash);
  color: var(--ink);
}
input,
textarea {
  caret-color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.num,
time {
  font-variant-numeric: tabular-nums;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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