/* Design tokens (Spec 7.1–7.4). Components use only these variables, so a dark theme can be
   added later by redefining them (Spec 7.2). Launch is light mode only. */

/* Instrument Sans, self-hosted (Spec 7.3; SIL Open Font License, see ../fonts/OFL.txt). */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-400.c178fc5e2d41.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-ext-400.18bdceb6a9fc.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-600.36a59be54659.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-ext-600.c92361ea5548.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand (Spec 7.1) */
  --navy: #0e2a56;
  --blue: #1f63c6;
  --blue-bright: #3d8bf2;
  --muted: #4f6480;
  --page: #fafbfc;
  --page-dark: #0b1a30;
  --on-dark: #e6eef8;
  --muted-on-dark: #9db2cc;

  /* Semantic (Spec 7.2): text/icon and tint background */
  --met: #1b7a45;
  --met-tint: #eaf6ef;
  --partial: #a15c00;
  --partial-tint: #fdf3e3;
  --missing: #5f6b7a;
  --missing-tint: #f1f4f7;
  --error: #b42318;

  /* Neutrals (Spec 7.2) */
  --surface: #ffffff;
  --border: #d9e1ea;
  --subtle: #eef3f8;
  --slate: #5f6b7a;
  --white: #ffffff;
  --text: var(--navy);

  /* Typography (Spec 7.3) */
  --font: "Instrument Sans", "Helvetica Neue", Helvetica, sans-serif;
  --font-numeric-fallback: system-ui, -apple-system, "Segoe UI", sans-serif;
  --weight-regular: 400;
  --weight-semibold: 600;
  --text-12: 12px;
  --lh-12: 16px;
  --text-14: 14px;
  --lh-14: 20px;
  --text-16: 16px;
  --lh-16: 24px;
  --text-18: 18px;
  --lh-18: 26px;
  --text-22: 22px;
  --lh-22: 30px;
  --text-30: 30px;
  --lh-30: 38px;
  --text-44: 44px;
  --lh-44: 52px;
  --text-44-phone: 32px;
  --lh-44-phone: 40px;
  --label-tracking: 0.06em;
  --measure: 70ch;

  /* Layout (Spec 7.4): spacing in multiples of 4px */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --content-max: 1200px;
  --radius-control: 8px;
  --radius-card: 12px;
  --focus-ring: 2px solid var(--blue);
  --focus-offset: 2px;
  --shadow-overlay: 0 8px 24px rgba(14, 42, 86, 0.14), 0 2px 6px rgba(14, 42, 86, 0.08);
  --tabbar-height: 64px;
}
