/* Public design tokens (spec 900 stage A output; placeholder palette until the owner's photos
   exist, see docs/design-system.md). Every color pair used for text is listed with its
   contrast in the design system and checked by TestPublicTokenContrast. */
:root {
  /* Color */
  --green-900: #1c3a31;
  --green-800: #23473c;
  --green-700: #2f5d50; /* primary: buttons, links, brand mark */
  --green-600: #3d7262;
  --green-100: #dbe8e2;
  --green-50: #eef4f1;
  --sand-50: #faf8f4;   /* page background */
  --sand-100: #f3efe7;  /* tinted sections */
  --sand-200: #e7e0d3;  /* borders on sand */
  --clay-700: #9a4a17;  /* accent text, the "Q" tail; decorative uses only otherwise */
  --clay-100: #f6e6d8;
  --ink: #1f2a26;       /* body text */
  --ink-soft: #46524d;  /* secondary text */
  --white: #ffffff;
  --error: #a12622;
  --error-bg: #fbeceb;
  --success: #1f6b45;
  --success-bg: #e6f3eb;
  --focus: #b5651d;
  --focus-on-dark: #f5c48f; /* focus ring on the dark footer and CTA band */

  /* Pairs (checked): text on bg */
  /* pair: --ink on --sand-50 */
  /* pair: --ink-soft on --sand-50 */
  /* pair: --ink on --sand-100 */
  /* pair: --ink-soft on --sand-100 */
  /* pair: --green-700 on --sand-50 */
  /* pair: --green-700 on --white */
  /* pair: --white on --green-700 */
  /* pair: --white on --green-800 */
  /* pair: --green-800 on --green-50 */
  /* pair: --clay-700 on --sand-50 */
  /* pair: --error on --error-bg */
  /* pair: --success on --success-bg */
  /* pair: --ink on --white */
  /* pair: --green-100 on --green-900 */
  /* pair: --white on --green-900 */
  /* pair: --ink on --green-50 */
  /* pair: --green-800 on --white */
  /* pair: --green-900 on --green-50 */
  /* ui: --ink-soft on --white */
  /* ui: --focus-on-dark on --green-900 */
  /* ui: --focus-on-dark on --green-800 */
  /* ui: --focus on --white */
  /* ui: --focus on --green-50 */
  /* ui: --focus on --sand-50 */

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-xs: 0.8125rem;   /* 13px: footer credits only (spec 040 req 8) */
  --fs-sm: 1rem;        /* 16px: small print */
  --fs-brand-sm: 1.0625rem; /* wordmark on phones */
  --fs-brand: 1.25rem;  /* wordmark, error code */
  --fs-body: 1.125rem;  /* 18px body (000 BRAND_FONTS) */
  --fs-lead: 1.25rem;
  --fs-h3: 1.25rem;
  --fs-h2-card: clamp(1.375rem, 1.25rem + 0.5vw, 1.5rem); /* home story card headings */
  --fs-h2-prose: 1.5rem; /* section headings inside legal pages */
  --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.8vw, 3.25rem);
  --lh-body: 1.65;
  --lh-head: 1.2;

  /* Space (4px base) */
  --s0: 0.125rem;
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;

  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px; /* inline code */
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(31, 42, 38, 0.06), 0 8px 24px rgba(31, 42, 38, 0.06);
  --border: 1px solid var(--sand-200);

  /* Layout */
  --wrap: 72rem;
  --wrap-narrow: 42rem;
  --gutter: 1rem;
  --tap: 44px;
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }
