@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Geist-Variable.woff2") format("woff2-variations");
  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: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Geist-Variable-LatinExt.woff2") format("woff2-variations");
  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: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2-variations");
  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: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/GeistMono-Variable-LatinExt.woff2") format("woff2-variations");
  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 {
  color-scheme: light;

  /* Product palette: quiet neutrals with one restrained accent. */
  --c-registration-cyan: #5267d8;
  --c-registration-cyan-ink: #394ba8;
  --c-registration-magenta: #5267d8;
  --c-registration-magenta-ink: #394ba8;
  --c-plotter-yellow: #d59b28;
  --c-yellow-ink: #7a5410;
  --c-carbon: #1d1e22;
  --c-carbon-soft: #34363d;
  --c-ink-muted: #686b73;
  --c-film: #f5f6f8;
  --c-paper: #ffffff;
  --c-cutting-mat: #eef0f3;
  --c-rule: #e4e6ea;
  --c-rule-strong: #d4d7dd;
  --c-success: #237a57;
  --c-success-surface: #edf8f2;
  --c-warning: #8a6214;
  --c-warning-surface: #fff8e8;
  --c-danger: #b83a3a;
  --c-danger-surface: #fff1f1;
  --c-info-surface: #f0f3ff;
  --c-magenta-surface: #f2f4ff;
  --c-disabled: #a9acb3;
  --c-backdrop: rgb(24 25 29 / 42%);

  /* Typography is self-hosted; system fonts remain as resilient fallbacks. */
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-interface: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-data: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: clamp(1.2rem, 1.08rem + 0.32vw, 1.45rem);
  --text-xl: clamp(1.8rem, 1.52rem + 0.8vw, 2.4rem);
  --text-2xl: clamp(2.3rem, 1.85rem + 1.35vw, 3.4rem);

  --leading-tight: 1.15;
  --leading-copy: 1.5;
  --tracking-label: 0.01em;
  --tracking-display: -0.035em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;

  /* Layout */
  --page-gutter: clamp(1rem, 2.6vw, 2.5rem);
  --content-max: 92rem;
  --measure-copy: 66ch;
  --topbar-height: 4.25rem;
  --registration-height: 0;
  --control-height: 2.75rem;
  --touch-target: 2.75rem;
  --dialog-width: 43rem;

  /* Shape and elevation */
  --line-hairline: 1px;
  --line-strong: 1px;
  --radius-hairline: 0.625rem;
  --radius-card: 0.875rem;
  --radius-dialog: 1.25rem;
  --radius-round: 999px;
  --shadow-card: 0 1px 2px rgb(24 25 29 / 4%);
  --shadow-float: 0 18px 50px rgb(24 25 29 / 14%), 0 2px 8px rgb(24 25 29 / 8%);
  --shadow-dialog: -18px 0 55px rgb(24 25 29 / 16%);

  /* Interaction */
  --focus-ring: 0 0 0 3px rgb(82 103 216 / 22%);
  --duration-fast: 140ms;
  --duration-medium: 220ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);

  /* Layering */
  --z-sticky: 30;
  --z-selection: 45;
  --z-dialog: 80;
  --z-toast: 100;
}

@media (max-width: 48rem) {
  :root {
    --page-gutter: 1rem;
    --topbar-height: auto;
    --text-base: 1rem;
  }
}
