/* =======================================
   Palette: the one place where the colours live, like our other apps.
   Anton's pick, 29 October 2026 (second try): gentle pastel and mostly white.
   A near-white blush page, white cards, soft orchid-pink buttons with deep
   plum words on them, and plum-grey words instead of black. No dark bands:
   the "firm" fills (chips that are on, my chat bubbles, the trust strip) are
   pale blush with plum words. It avoids the looks he turned down (rose,
   peach, flat pink, purple dashboard, navy and terracotta, ink and blue,
   the darker orchid).
   Every stylesheet and page uses these names (var(--pf-...)), never a colour
   code of its own, and the app has the same list (mobile/src/palette.ts; a
   test checks they match). Words are always action, accent-ink, ink-soft,
   on-accent, on-fill, good or critical (4.5:1 or more on their background);
   ink-mute and the lines are never for words.
   Loaded first, so everything after it can use the names.
======================================= */
:root {
    /* The colours (a new one is added here only after Anton says yes) */
    --pf-action: #3b2d39;        /* plum-grey: every main word, 13:1 on white */
    --pf-action-hover: #4d3d4a;  /* words under the mouse */
    --pf-ink-soft: #74636f;      /* second-line words, 4.9:1 or more on every pale background */
    --pf-ink-mute: #b9aab4;      /* placeholders and decoration only, never words */
    --pf-line: #f3e7ed;          /* hairlines round cards */
    --pf-line-strong: #e6d5de;   /* input borders that must show */
    --pf-accent: #e7a6cc;        /* soft orchid pink: main buttons, likes, progress; plum words on it 7:1 */
    --pf-accent-hover: #dd92bf;  /* soft orchid under the mouse or finger */
    --pf-accent-ink: #a33f80;    /* orchid words and links, 5.9:1 */
    --pf-accent-soft: #fdf1f7;   /* blush: chosen options, notes, tiles */
    --pf-surface: #fffafc;       /* the page: white with a breath of blush */
    --pf-card: #ffffff;           /* cards, inputs, bars */
    --pf-white: #ffffff;
    --pf-apple-black: #000000;    /* Sign in with Apple button only: Apple's rules ask for black on white */
    --pf-apple-hover: #f5f5f7;
    --pf-good: #2b7a4b;           /* green: the verified badge and success only, 4.6:1 or more */
    --pf-good-soft: #e6f2ea;
    --pf-critical: #b42318;       /* a real problem only */
    --pf-critical-soft: #fdecea;

    /* Firm fills (the firm button, chips that are on, my chat bubbles, the trust strip): pale blush by day */
    --pf-fill-ink: #f7e9f1;
    --pf-on-fill: #4a1d3c;        /* deep plum words on fill-ink, 11.7:1 */
    --pf-on-accent: #4a1d3c;      /* deep plum words on the soft orchid buttons, 7:1 */
    --pf-art-paper: transparent;  /* behind the hand-drawn pictures: nothing by day */

    /* Older names still used in site.css and member.css, pointed at the colours above */
    --pf-page: var(--pf-surface);
    --pf-pill: var(--pf-surface);
    --pf-skeleton: var(--pf-line);
    --pf-brand: var(--pf-accent-ink);
    --pf-brand-deep: var(--pf-action);
    --pf-brand-soft: var(--pf-accent-soft);
    --pf-action-soft: var(--pf-action-hover);
    --pf-peach: var(--pf-accent);
    --pf-peach-2: var(--pf-accent-soft);
    --pf-wash: var(--pf-accent-soft);
    --pf-accent-soft-2: var(--pf-accent-soft);
    --pf-heart: var(--pf-accent);
    --pf-pink: var(--pf-accent);
    --pf-tick: var(--pf-good);
    --pf-navy: var(--pf-action);
    --pf-navy-soft: var(--pf-accent-soft);
    --pf-terracotta: var(--pf-accent);
    --pf-terracotta-hover: var(--pf-accent-hover);
    --pf-terracotta-soft: var(--pf-accent-soft);
    --pf-sage: var(--pf-good);
    --pf-sage-soft: var(--pf-good-soft);
    --pf-primary: var(--pf-accent);
    --pf-primary-hover: var(--pf-accent-hover);
    --pf-primary-soft: var(--pf-accent-soft);
    --pf-secondary: var(--pf-action);
    --pf-secondary-soft: var(--pf-surface);
    --pf-indigo: var(--pf-accent-ink);
    --pf-heading: var(--pf-action);
    --pf-muted: var(--pf-ink-soft);
    --pf-success: var(--pf-good);
    --pf-success-soft: var(--pf-good-soft);
    --pf-danger: var(--pf-critical);
    --pf-danger-soft: var(--pf-critical-soft);
    --pf-warning-soft: var(--pf-surface);

    /* Depth, corners and the photo fade */
    --pf-shadow: 0 1px 2px color-mix(in srgb, var(--pf-action) 5%, transparent);
    --pf-shadow-raised: 0 12px 28px -12px color-mix(in srgb, var(--pf-action) 22%, transparent);
    --pf-vz-shadow: 0 0 0 1px var(--pf-line), 0 1px 2px color-mix(in srgb, var(--pf-action) 4%, transparent);
    --pf-vz-shadow-lg: 0 0 0 1px var(--pf-line), 0 12px 28px -12px color-mix(in srgb, var(--pf-action) 22%, transparent);
    --pf-ring: 0 0 0 4px var(--pf-accent-soft);
    --pf-photo-shade: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--pf-action) 72%, transparent));
    --pf-radius: 16px; --pf-radius-mid: 14px; --pf-radius-small: 10px; --pf-pill-radius: 999px;
    --pf-vz-radius: 10px; --pf-vz-radius-lg: 14px; --pf-vz-radius-xl: 18px;

    /* Type and space: one ramp for the site and the app */
    --pf-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;  /* nothing to download on phone data */
    --pf-font-display: var(--pf-font);  /* big headings: the same clean font as the words (Oracle's list, 3 Nov 2026; was the heavy serif) */
    --pf-fs-12: .75rem;
    --pf-fs-14: .875rem;
    --pf-fs-16: 1rem;
    --pf-fs-20: 1.25rem;
    --pf-fs-28: 1.75rem;
    --pf-fs-36: 2.25rem;
    --pf-fs-52: 3.25rem;
    --pf-lh-tight: 1.08;
    --pf-lh: 1.55;
    --pf-track: -.035em;
    --pf-s-1: 4px;
    --pf-s-2: 8px;
    --pf-s-3: 12px;
    --pf-s-4: 16px;
    --pf-s-6: 24px;
    --pf-s-8: 32px;
    --pf-s-12: 48px;
    --pf-s-18: 72px;
    --pf-card-pad: 24px;
    --pf-gap: 16px;
    --pf-tap: 48px;
    --pf-button: 52px;
    --pf-ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: light;
}
