/*
 * tokens.css — GENERATED FILE. DO NOT EDIT BY HAND.
 *
 * Generator: tools/tokens/build.ts (pnpm tokens:build; pnpm tokens:check compares it in pnpm verify)
 * Source:    brain/03-brand/design-tokens.yaml (pnpm sync:brain snapshot of the pinned Brain commit, config/brain.lock.json)
 * Mapping:   Brain ADR-0009 — the YAML key → CSS variable table is the contract (brain/10-tech/decisions/0009-design-tokenek-brain-forras-generalt-css.md)
 * Brain commit: a9d5c5a5611afcb76b9c2f473a66673fc1202126
 * YAML status:  approved (approved_on 2026-10-17)
 * Generated at: 2026-11-22T19:31:27.060Z
 *
 * Blocks:
 *   1. :root — the ADR-0009 variables. Components reference these semantic variables only.
 *   2. [data-tone="inverse"] — a dark band flips ONLY the semantic variables (ADR-0009 point 5).
 * No [data-book] block: the shop shows no book context.
 */

:root {
  /* Colour roles — color.role.* */
  --color-text: #3B2A4D;
  --color-text-muted: #6E6378;
  --color-accent: #F2B441;
  --color-accent-hover-light: color-mix(in srgb, #F2B441 88%, #FFFFFF);
  --color-accent-hover: #D99A2B;
  --color-accent-contrast: #3B2A4D;
  --color-accent-soft: #FBE6B8;
  --color-ui-accent: #5A4470;
  --color-micro-accent: #F2B441;
  --color-background: #FBF6EE;
  --color-surface: #FFFFFF;
  --color-surface-muted: #F3EBDF;
  --color-surface-inverse: #3B2A4D;
  --color-surface-inverse-deep: #2B1E3A;
  --color-text-inverse: #FBF6EE;
  --color-text-inverse-muted: #C9BFD4;
  --color-border: #E6DDD3;
  --color-border-strong: rgba(59, 42, 77, 0.25);
  --color-border-inverse: rgba(251, 246, 238, 0.14);
  --color-focus: #5A4470;
  --focus-ring-width: 3px;
  --focus-ring-offset: 2px;
  --color-focus-inverse: #FBF6EE;
  --color-overlay: rgba(43, 30, 58, 0.55);

  /* Tints — color.tint.* (translucent, never text colours) */
  --tint-ink-8: rgba(59, 42, 77, 0.08);
  --tint-ink-12: rgba(59, 42, 77, 0.12);
  --tint-honey-14: rgba(242, 180, 65, 0.14);
  --tint-cream-8: rgba(251, 246, 238, 0.08);
  --tint-cream-10: rgba(251, 246, 238, 0.10);
  --tint-cream-94: rgba(251, 246, 238, 0.94);
  --tint-violet-35: rgba(90, 68, 112, 0.35);

  /* Decorative plant motif — color.decoration.plant.* */
  --color-plant-stem: #5A4470;
  --color-plant-leaf: #C9BFD4;
  --color-plant-bloom: #F2B441;
  --color-plant-core: #D99A2B;
  --color-plant-seed: #6E6378;
  --color-plant-soil: rgba(59, 42, 77, 0.12);

  /* Status colours — color.semantic.* */
  --color-success: #476F52;
  --color-success-bg: #E4F0E6;
  --color-error: #B5442F;
  --color-error-bg: #F9E4DF;
  --color-info: #5A4470;
  --color-info-bg: #F3EBDF;
  --color-warning: #D99A2B;
  --color-warning-bg: #FBE6B8;

  /* Effects — effect.* */
  --gradient-hero: linear-gradient(160deg, #3B2A4D 0%, #5A4470 100%);
  --effect-light-spot: radial-gradient(circle, rgba(242,180,65,0.28), transparent 70%);
  --effect-cta-sheen: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  --effect-cta-sheen-duration: 700ms;
  --effect-cta-sheen-easing: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Shadows — shadow.* (plum-toned; shadow.light_spot is deprecated and not emitted) */
  --shadow-sm: 0 8px 24px rgba(59, 42, 77, 0.10);
  --shadow-md: 0 12px 32px rgba(59, 42, 77, 0.14);
  --shadow-lg: 0 24px 56px rgba(59, 42, 77, 0.18);
  --shadow-device: 0 24px 60px rgba(59, 42, 77, 0.30), 0 8px 20px rgba(59, 42, 77, 0.16);
  --shadow-cta-hover: 0 1px 2px rgba(43, 30, 58, 0.10), 0 6px 14px rgba(43, 30, 58, 0.14), 0 18px 36px rgba(43, 30, 58, 0.20);
  --shadow-glow: 0 0 0 6px rgba(242, 180, 65, 0.22);

  /* Radii — radius.* (px → rem; the pill stays px, as on the website) */
  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  /* Font families — typography.family.* (self-hosted in the theme; never from Google) */
  --font-heading: Lora, Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale — typography.scale.* (clamp: mobile px at 360 px → desktop px at 1280 px, 1 rem = 16 px) */
  --text-display: clamp(2.125rem, 1.6848rem + 1.9565vw, 3.25rem);
  --text-display-weight: 700;
  --leading-display: 1.1;
  --tracking-display: -0.01em;
  --text-h1: clamp(1.875rem, 1.5326rem + 1.5217vw, 2.75rem);
  --text-h1-weight: 700;
  --leading-h1: 1.15;
  --text-h2: clamp(1.625rem, 1.4293rem + 0.8696vw, 2.125rem);
  --text-h2-weight: 600;
  --leading-h2: 1.2;
  --text-h3: clamp(1.375rem, 1.2772rem + 0.4348vw, 1.625rem);
  --text-h3-weight: 600;
  --leading-h3: 1.25;
  --text-h4: clamp(1.125rem, 1.0761rem + 0.2174vw, 1.25rem);
  --text-h4-weight: 700;
  --leading-h4: 1.3;
  --text-lead: clamp(1.1875rem, 1.1386rem + 0.2174vw, 1.3125rem);
  --text-lead-weight: 400;
  --leading-lead: 1.55;
  --text-body: clamp(1.0625rem, 1.038rem + 0.1087vw, 1.125rem);
  --text-body-weight: 400;
  --leading-body: 1.6;
  --text-small: 0.9375rem;
  --text-small-weight: 400;
  --leading-small: 1.5;
  --text-label: 0.8125rem;
  --text-label-weight: 700;
  --leading-label: 1.4;
  --tracking-label: 0.06em;
  --text-button: 1.0625rem;
  --text-button-weight: 700;
  --leading-button: 1;
  --tracking-button: 0.01em;
  --text-price: clamp(1.625rem, 1.4783rem + 0.6522vw, 2rem);
  --text-price-weight: 800;
  --leading-price: 1;
  --text-quote: clamp(1.25rem, 1.1522rem + 0.4348vw, 1.5rem);
  --text-quote-weight: 500;
  --leading-quote: 1.45;
  --measure-body: 65ch;

  /* Spacing — spacing.* (4 px grid, section rhythm, grid) */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-section: clamp(4rem, 2.6304rem + 6.087vw, 7.5rem);
  --size-container: 75rem;
  --size-prose: 40rem;
  --space-gutter: 1.5rem;

  /* Motion — motion.* (durations in ms, easing) */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --ease-out: ease-out;

  /* Breakpoints — breakpoints.* (@media cannot read var(): media queries mirror these as literal rem) */
  --breakpoint-sm: 40rem;
  --breakpoint-md: 48rem;
  --breakpoint-lg: 64rem;
  --breakpoint-xl: 80rem;

  /* Component sizes — components.button.height / compact_height */
  --size-button: 3.25rem;
  --size-button-compact: 2.75rem;
}

[data-tone="inverse"] {
  --color-background: var(--color-surface-inverse);
  --color-text: var(--color-text-inverse);
  --color-text-muted: var(--color-text-inverse-muted);
  --color-border: var(--color-border-inverse);
  --color-surface: var(--tint-cream-8);
  --color-focus: var(--color-focus-inverse);
}
