/* Aldenmere AI design tokens. Shared by the home page and /intake. */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Display";
  src: url("/assets/fonts/libre-caslon-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Fields and paper */
  --field: #0d2a22;          /* bottle green: hero and closing bands */
  --on-field: #e9efec;       /* text on the green field */
  --on-field-2: #a9bcb5;     /* secondary text on green */
  --field-rule: rgba(233, 239, 236, 0.18);
  --paper: #f1f4f3;          /* page ground: cool off-white */
  --paper-field: #e4eae7;    /* input fills, quiet panels */
  --ink: #10201b;            /* primary text */
  --ink-2: #4a5a54;          /* secondary text, labels */
  --rule: #c9d2ce;           /* hairlines */
  --rule-strong: #10201b;    /* input underlines, strong rules */
  --accent: #c94a2a;         /* vermilion, used sparingly for one figure */

  /* Primary action (kept as --carbon* so /intake keeps working) */
  --carbon: #0d2a22;         /* primary button on paper */
  --carbon-ink: #e9efec;     /* text on the primary button */
  --carbon-wash: #e0e9e5;    /* selected / focused field */
  --focus: #c94a2a;

  /* Type */
  --serif: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-label: 0.8125rem;
  --text-body: 1.0625rem;
  --text-lead: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  --text-display: clamp(2.75rem, 1.6rem + 4.4vw, 5.25rem);
  --leading-tight: 1.02;
  --leading-body: 1.6;
  --tracking-display: -0.01em;
  --tracking-label: 0.12em;

  /* Spacing (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 3.5rem);
  --max: 72rem;

  /* Shape */
  --radius: 0;
  --hairline: 1px;
  --rule-heavy: 1px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 420ms;
  --dur-slow: 700ms;
}
