/* Design tokens. Set these from a matched template's taxonomy.json
   (anchors.palette, anchors.fonts, anchors.type_scale_ratio,
   anchors.corner_radius_px, anchors.shadow_depth) as the first, cheap pass
   of styling a lead - real work happens in base.css and index.html after. */

:root {
  /* anchors.palette - vintage-Americana muted taupe (tmpl_bb14 reference) */
  --color-bg: #fcf9f5;
  --color-surface: #e5e5e5;
  --color-ink: #303133;
  --color-muted: #897666;
  --color-accent: #9e8a78;
  --color-accent-2: #222227;

  /* honest supporting tokens derived from the anchor palette */
  --color-bg-alt: #f3ede4;
  --color-on-dark: #f4efe8;
  --color-on-dark-muted: #b9ada0;
  --color-border-hairline: rgba(137, 118, 102, 0.35);

  /* anchors.fonts - Prata (display), Lato (body), Work Sans (ui labels).
     Loaded via Google Fonts <link> in index.html; system-stack fallbacks
     below cover the case the network request fails. */
  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --font-body: "Lato", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-ui: "Work Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* anchors.type_scale_ratio */
  --type-scale: 1.35;
  --font-size-base: 1rem;
  --font-size-h1: calc(var(--font-size-base) * var(--type-scale) * var(--type-scale) * var(--type-scale));
  --font-size-h2: calc(var(--font-size-base) * var(--type-scale) * var(--type-scale));
  --font-size-h3: calc(var(--font-size-base) * var(--type-scale));

  /* anchors.corner_radius_px / shadow_depth / border_style */
  --radius: 0px;
  --shadow: 0 2px 10px rgba(34, 34, 39, 0.08);
  --border: 1px solid var(--color-border-hairline);

  /* anchors.layout_width - wide_1320 */
  --content-width: 1320px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  /* motion (aesthetic.motion: 2 - restrained, not energetic) */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur-med: 500ms;
  --dur-slow: 900ms;
}
