/* Earlyworks design tokens (November 2026 overhaul, docs/OVERHAUL-2026-11.md).
   Shared by the website and the app. Change a value here, never inline. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* Geist is OFL-1.1 (Vercel). Self-hosted from Google Fonts' latin subset. */

:root {
  /* surfaces */
  --ink: #0F1012;
  --ink-2: #17191C;
  --ink-3: #23262B;
  --paper: #F6F4EF;
  --paper-2: #ECE9E2;
  --white: #FFFFFF;

  /* text */
  --text: #16181B;
  --text-2: #4B5058;
  --text-inv: #F3F2EE;
  --text-inv-2: #A9ADB4;

  /* the one accent */
  --amber: #F2A33A;
  --amber-ink: #8A5A12;
  --amber-soft: rgba(242, 163, 58, .14);

  /* status, used only where it means something */
  --ok: #2E8B57;
  --warn: #C2410C;

  /* rules */
  --line: rgba(15, 16, 18, .10);
  --line-inv: rgba(255, 255, 255, .10);

  /* shape */
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow-1: 0 1px 2px rgba(15, 16, 18, .06), 0 8px 24px rgba(15, 16, 18, .06);
  --shadow-2: 0 2px 6px rgba(15, 16, 18, .08), 0 18px 48px rgba(15, 16, 18, .10);

  /* type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(44px, 7.2vw, 96px);
  --fs-h2: clamp(30px, 4.4vw, 56px);
  --fs-h3: 22px;
  --fs-body: 17px;
  --fs-small: 14px;
  --lh-body: 1.6;

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 10vw, 128px);
  --tap: 48px;
}

@media (max-width: 600px) {
  :root { --fs-body: 16px; }
}
