/* apps/awacloud — the token layer (sites-design W1, D5). Custom properties ONLY.
 * Emitted FIRST (src/pages/awacloud.js headExtra); order-insensitive by construction
 * (no other sheet declares a --fw-* name at :root — F1 census). Palette = the
 * promoted latent palette, owner ruling 2026-09-07 (R-B9, P1). */
:root {
    /* P1 — five members, verbatim */
    --aw-navy: #00263D;
    --aw-navy-2: #003462;
    --aw-blue: #0078b3;
    --aw-ink: #212529;
    --aw-sky: #b3dfef;
    /* the neutral surface: index.css's own most-used value (17 occurrences, FINDINGS § 4) — not a palette member */
    --aw-white: #fff;

    /* TOKEN_CONTRACT.required — the 9 frozen names (packages/front/ui-templates/src/theme/tokens.js:34-38) */
    --fw-color-bg: var(--aw-navy);
    --fw-color-fg: var(--aw-white);
    --fw-color-muted: var(--aw-sky);
    --fw-color-accent: var(--aw-blue);
    --fw-color-border: var(--aw-navy-2);
    --fw-space-2: 0.5rem;
    --fw-space-4: 1rem;
    --fw-space-8: 2rem;
    --fw-radius-md: 0.25rem;

    /* open families (TOKEN_CONTRACT.families) */
    --fw-space-1: 0.25rem;
    --fw-space-3: 0.75rem;
    --fw-space-6: 1.5rem;
    --fw-space-12: 3rem;
    --fw-space-16: 4rem;
    --fw-radius-sm: 0.125rem;
    --fw-radius-lg: 0.5rem;

    /* site semantic aliases (the design sheet reads ONLY these and the --fw-* names) */
    --aw-surface: var(--aw-white);
    --aw-text: var(--aw-ink);
    --aw-accent: var(--aw-blue);
    --aw-chrome-bg: var(--aw-navy);
    --aw-chrome-fg: var(--aw-white);
    --aw-chrome-muted: var(--aw-sky);
    --aw-hero-bg: var(--aw-navy);
    --aw-hero-fg: var(--aw-white);
    --aw-hero-sub: var(--aw-sky);
    --aw-rule: var(--aw-navy-2);
    --aw-heading: var(--aw-navy-2);
    /* the muted reading voice — NOT a palette member: the exact composite of --aw-ink
       at the .72 opacity pages.css § 4c dropped, so the pixel is unchanged (6.14:1) */
    --aw-text-muted: #5f6265;
    --aw-rule-soft: rgba(0, 0, 0, 0.15);
    --aw-tint-accent: rgba(0, 120, 179, 0.08);

    /* type scale (rem) — institutional, not startup */
    --aw-step-0: 1rem;
    --aw-step-1: 1.125rem;
    --aw-step-2: 1.375rem;
    --aw-step-3: 1.75rem;
    --aw-step-4: 2.25rem;
    --aw-step-5: 3rem;
    --aw-measure: 68ch;

    /* corporate pass (2026-09-19) — the AWA-family anchors the sibling site aligns on:
       navy anchor, blue accent, system UI stack, 8px grid, 75rem container */
    --aw-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --aw-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --aw-container: 75rem;
    --aw-step-6: 3.5rem;
    --aw-step-lead: 1.25rem;
    --aw-step-small: 0.875rem;
    --fw-space-10: 2.5rem;
    --fw-space-20: 5rem;
    --fw-space-24: 6rem;
    /* the brand teal of the wordmark (index.css palette memo) and its on-navy voice */
    --aw-teal: #018984;
    --aw-teal-light: #5fd0c8;
    /* neutral surfaces and rules — cool greys cut from the navy, never a new hue */
    --aw-surface-alt: #f4f7fa;
    --aw-border: #d8e0e7;
    --aw-border-strong: #b9c6d1;
    /* the accent one step darker: the hover/pressed state of a filled button, and the
       link voice on a tinted band, where --aw-accent itself drops below AA (4.34:1) */
    --aw-accent-strong: #005f8f;
    --aw-focus: var(--aw-blue);
    --aw-focus-on-navy: var(--aw-sky);
    --aw-shadow-sm: 0 1px 2px rgba(0, 38, 61, 0.06), 0 1px 3px rgba(0, 38, 61, 0.08);
    --aw-shadow-md: 0 4px 12px rgba(0, 38, 61, 0.08), 0 2px 4px rgba(0, 38, 61, 0.06);
}
