/*
 * site.css: the Site's whole stylesheet, yours to write: the role tokens below (kit.css and the components read them),
 * then every rule of the Site's own. The starter's pieces are in starter.css: a sample, deletable.
 */

@layer site {
  :root {
    /* Type: each role's size, weight, tracking and leading */
    --type-display-size: clamp(3.0518rem, 1.9024rem + 5.1084vw, 6.5rem);
    --type-display-weight: var(--heading-weight);
    --type-display-tracking: calc(var(--heading-tracking) * 1.6);
    --type-display-leading: calc(var(--heading-leading) - 0.15);
    --type-h1-size: clamp(2.4414rem, 2.2431rem + 0.8812vw, 3.0362rem);
    --type-h1-weight: var(--heading-weight);
    --type-h1-tracking: calc(var(--heading-tracking) * 1.4);
    --type-h1-leading: calc(var(--heading-leading) - 0.1);
    --type-h2-size: clamp(1.9531rem, 1.8375rem + 0.5139vw, 2.3rem);
    --type-h2-weight: var(--heading-weight);
    --type-h2-tracking: var(--heading-tracking);
    --type-h2-leading: var(--heading-leading);
    --type-h3-size: clamp(1.5625rem, 1.5025rem + 0.2665vw, 1.7424rem);
    --type-h3-weight: var(--heading-weight);
    --type-h3-tracking: var(--heading-tracking);
    --type-h3-leading: calc(var(--heading-leading) + 0.13);
    --type-lead-size: clamp(1.25rem, 1.2267rem + 0.1037vw, 1.32rem);
    --type-lead-weight: 400;
    --type-lead-tracking: 0em;
    --type-lead-leading: 1.5;
    --type-body-size: 1rem;
    --type-body-weight: 400;
    --type-body-tracking: 0em;
    --type-body-leading: 1.5;
    --type-label-size: 0.875rem;
    --type-label-weight: 500;
    --type-label-tracking: 0em;
    --type-label-leading: 1.43;
    /* Space above and below a section, and between its head and its body */
    --section-space: var(--space-2xl);
    --section-gap: var(--space-xl);
    /* The accent's one job: the main action, its label and its hover */
    --action: var(--accent);
    --on-action: var(--on-accent);
    --action-hover: var(--accent-hover);
  }
}
