/* `:root:root` on purpose: Core Framework prints its own --space-*, --section-gap and friends after this file
   at plain `:root`, and would silently replace these. The doubled selector wins whatever the order. */
:root:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.5rem, 4.4vw + 1rem, 4.5rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Ground: a cool white tinted toward the brand teal (hue 199), never a pure absolute. */
  --color-paper: oklch(97.8% 0.006 199); --color-paper-2: oklch(95.2% 0.011 199); --color-paper-3: oklch(91.5% 0.018 199);
  /* Ink: a deep teal-black; 16:1 on paper. */
  --color-ink: oklch(22% 0.035 211); --color-ink-2: oklch(32% 0.03 209); --color-muted: oklch(48% 0.03 205);
  --color-rule: oklch(86% 0.016 199);
  /* Accent: the brand teal #1b8d92 deepened until white text on it passes 6:1; a signal, under 5% of a screen. */
  --color-accent: oklch(46% 0.08 199); --color-accent-ink: oklch(98% 0.01 199); --color-focus: oklch(46% 0.11 199);
  /* Field: the client's own brand teal (#25acb1), used as one declared band; ink on it passes 6:1. */
  --color-field: oklch(67.9% 0.108 199); --color-field-ink: var(--color-ink);
  /* Deep teal for the dark hero and the filled buttons (the brand hue darkened, with the blue cast of the chosen reference);
     mint is the soft tinted surface under cards; on-deep is the text colour over deep (12:1). */
  --color-deep: oklch(27% 0.055 214); --color-deep-2: oklch(35% 0.065 212); --color-on-deep: oklch(97.5% 0.01 199);
  --color-mint: oklch(95.5% 0.026 195);
  /* Raised cards on the paper page (doctor cards, the booking form), after the DentaCare reference. */
  --color-card: oklch(99.4% 0.003 199);
  /* A photo that melts into the dark card: this mask fades its left edge on an eased curve, so there is no seam. */
  /* The same melt for the dark behind the copy, so text keeps its ground where the photo is bright. */
  --scrim-ease: linear-gradient(90deg, color-mix(in oklab, var(--color-deep) 96%, transparent) 0%, color-mix(in oklab, var(--color-deep) 92%, transparent) 22%, color-mix(in oklab, var(--color-deep) 82%, transparent) 34%, color-mix(in oklab, var(--color-deep) 60%, transparent) 46%, color-mix(in oklab, var(--color-deep) 32%, transparent) 58%, color-mix(in oklab, var(--color-deep) 12%, transparent) 70%, transparent 84%);
  /* Section content starts where the banner's text starts: the banner's 12 px frame plus its own inner padding. */
  --section-inset: calc(var(--gutter) + var(--space-sm) * 2);
  --photo-ramp: linear-gradient(90deg, transparent 0%, color-mix(in oklab, var(--color-ink) 6%, transparent) 10%, color-mix(in oklab, var(--color-ink) 20%, transparent) 22%, color-mix(in oklab, var(--color-ink) 45%, transparent) 36%, color-mix(in oklab, var(--color-ink) 74%, transparent) 50%, color-mix(in oklab, var(--color-ink) 92%, transparent) 66%, var(--color-ink) 84%);

  /* One face, on the owner's request: Roboto (variable, with a Cyrillic subset) for headings and text, weights 400 and 700 only. */
  --font-display: "Roboto", ui-sans-serif, system-ui, sans-serif; --font-body: "Roboto", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --display-weight: 700; --weight-strong: 700;
  --radius-md: 16px; --radius-card: 24px; --radius-lg: 32px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
}
