/* Design tokens of tafelrunde.li: palette V3 "Petrol und Aprikose", logo A, layout and type C.
 * Source: HANDOVER.md "Marke" and the branding canvas; usage: docs/brand/README.md.
 * Templates use these properties only, never raw values. */
:root {
    /* Colors */
    --color-dark: #10454F;            /* petrol: header, score card, text */
    --color-dark-hover: #0B3139;      /* petrol, darker: hover on petrol fills */
    --color-accent: #F2B279;          /* apricot: score plate, logo seats; fill only, never text on paper */
    --color-ground: #F4F1EC;          /* paper: page background */
    --color-soft: #E4E2DA;            /* surfaces, photo placeholders, Tafelrose track */
    --color-line: #D9D6CE;            /* dividers */
    --color-surface: #FFFFFF;         /* cards on paper (#125) */
    --color-dark-veil: rgb(16 69 79 / 0.82); /* petrol over photos: captions (#125) */
    --color-backdrop: rgb(11 49 57 / 0.94);  /* dark petrol behind the photo lightbox (#129) */
    --color-glass: rgb(244 241 236 / 0.14);  /* paper, translucent: buttons on the backdrop (#129) */
    --color-glass-strong: rgb(244 241 236 / 0.26); /* hover of --color-glass */
    --color-muted: #55615F;           /* secondary text on paper */
    --color-muted-on-dark: #BFD2D4;   /* secondary text on petrol */
    --color-line-on-dark: #5F8A90;    /* pill borders on petrol */
    --color-dark-soft: #1E5A66;       /* Tafelrose track on petrol (#22) */
    --color-strict: #00869E;          /* diverging bars: stricter than the club (#24, #36); fill only */
    --color-generous: #C46F2A;        /* diverging bars: more generous than the club; fill only */
    --color-danger: #A3361F;          /* destructive actions (#93): delete links; 6.0:1 on paper */
    --color-text: var(--color-dark);
    --color-text-on-dark: var(--color-ground);

    /* Fonts: Bricolage Grotesque for titles and the wordmark, Newsreader for text (css/fonts.css) */
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-text: 'Newsreader', Georgia, serif;
    --weight-text: 400;
    --weight-text-strong: 500;
    --weight-display: 700;
    --weight-display-light: 500;

    /* Type scale (px values of the mobile mockups, in rem) */
    --text-xs: 0.75rem;     /* 12: captions, vote counts */
    --text-sm: 0.875rem;    /* 14: meta lines */
    --text-md: 1rem;        /* 16: body */
    --text-lg: 1.25rem;     /* 20: lead, card titles */
    --text-xl: 1.75rem;     /* 28: section titles, score value */
    --text-2xl: 2.25rem;    /* 36: page titles */
    --leading-tight: 1.1;
    --leading-text: 1.5;
    --tracking-display: -0.01em;
    --tracking-wordmark: -0.02em;

    /* Spacing: 4 px grid */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;

    /* Shapes */
    --radius-sm: 8px;       /* swatches, inputs */
    --radius-md: 14px;      /* tiles, photos */
    --radius-lg: 22px;      /* score card */
    --radius-pill: 999px;   /* badges */
    --border-width: 1px;

    /* Layout */
    --page-max-width: 64rem;
    --page-gutter: var(--space-4);
    --touch-target: 44px;   /* minimum height and width of anything tappable */
    --focus-ring: 0 0 0 3px var(--color-ground), 0 0 0 5px var(--color-dark);
}
