:root {
    color-scheme: light;

    /* Neutral / ground (warm cream + ink) */
    --gmw-cream: #efe8dc;          /* page ground */
    --gmw-cream-2: #f4eee2;        /* secondary neutral surface, inactive chips */
    --gmw-cream-3: #eae1d2;        /* quiet fill */
    --gmw-card: #fff8ee;           /* warm-white elevated surface */
    --gmw-card-solid: #ffffff;     /* pure white where a crisp surface is needed */
    --gmw-ink: #22201c;            /* primary text / headings */
    --gmw-ink-2: #3f3a32;          /* strong secondary ink */
    --gmw-muted: #6e675c;          /* secondary explanatory text */
    --gmw-muted-2: #8c8172;        /* tertiary / quiet metadata */
    --gmw-line: #e3d9c8;           /* low-contrast surface border */
    --gmw-line-2: #dfd5c4;         /* border alt */
    --gmw-line-3: #c7bca9;         /* stronger border / dividers */

    /* Primary action = clementine */
    --gmw-primary: #c6462c;        /* primary brand/action */
    --gmw-primary-2: #e7623e;      /* hover / bright accent */
    --gmw-primary-tint: #fbe8e2;   /* soft primary/error background */
    --gmw-primary-tint-2: #f6ded6; /* softer border tint */
    --gmw-primary-ink: #8a3a24;    /* readable text on primary tint */

    /* Success / safe / privacy = moss */
    --gmw-success: #3f6b4f;
    --gmw-success-2: #2f5540;
    --gmw-success-tint: #e7ede6;
    --gmw-success-border: #7fa98c;

    /* Purchased / completed = gold */
    --gmw-gold: #e8c468;
    --gmw-gold-ink: #8a6a1f;
    --gmw-gold-tint: #fbedd8;

    /* Back-compat aliases: old token names now resolve to the new roles so
       components can migrate incrementally without breaking. */
    --gmw-spruce: var(--gmw-primary);
    --gmw-spruce-2: var(--gmw-primary-2);
    --gmw-mint: var(--gmw-success-tint);
    --gmw-mint-2: var(--gmw-success-border);
    --gmw-coral: var(--gmw-primary-2);
    --gmw-coral-2: var(--gmw-primary-tint);
    --gmw-blue: var(--gmw-cream-2);      /* blue retired -> neutral taupe */
    --gmw-purple: var(--gmw-cream-3);    /* purple callouts -> warm neutral */

    /* Elevation & shape */
    --gmw-shadow: 0 18px 44px rgba(34, 32, 28, .12);
    --gmw-shadow-sm: 0 8px 20px rgba(34, 32, 28, .08);
    --gmw-radius-sm: 6px;
    --gmw-radius-md: 13px;
    --gmw-radius-lg: 16px;
    --gmw-radius-xl: 22px;
    --gmw-radius-pill: 999px;

    /* Spacing rhythm (unchanged) */
    --gmw-space-1: .35rem;
    --gmw-space-2: .65rem;
    --gmw-space-3: 1rem;
    --gmw-space-4: 1.5rem;
    --gmw-space-5: 2rem;

    /* Typography */
    --gmw-font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gmw-font-display: "Bricolage Grotesque", var(--gmw-font-family);

    --gmw-focus-ring: 3px solid rgba(198, 70, 44, .30);
    --gmw-focus-ring-soft: 3px solid rgba(198, 70, 44, .20);
    --gmw-button-shadow: 0 10px 20px rgba(198, 70, 44, .18);

    /* Review viewport targets (unchanged review contract) */
    --gmw-desktop-viewport-width: 1440px;
    --gmw-desktop-viewport-height: 1100px;
    --gmw-mobile-viewport-width: 390px;
    --gmw-mobile-viewport-height: 900px;
}

@media (max-width: 900px) {
    :root {
        --gmw-responsive-columns: 1;
    }
}

@media (max-width: 540px) {
    :root {
        --gmw-mobile-action-width: 100%;
    }
}
