/* ─────────────────────────────────────────────────────────────────────────
   Shared theme tokens — the website builder's eight themes plus the links
   page's two links-only looks (Classic, Night).

   One definition, two consumers:
     • the website builder: `.cc-site[data-theme="…"]` (site.css styles every
       section through these tokens; `.cc-site` with no data-theme = warm);
     • the links page + its editor previews: `[data-cc-theme="…"]`.
   Load this BEFORE site.css on site surfaces (SiteHeadLinks,
   SiteChromeHeadLinks). The links page uses fonts + palette from here, but its
   accent and button corners still come from the practice's Branding
   (BrandedSurface's --cc-accent / --cc-button-radius), never --accent.
   ───────────────────────────────────────────────────────────────────────── */

.cc-site,
.cc-site[data-theme="warm"],
[data-cc-theme="warm"] {
    --font-display: 'Poppins'; --font-body: 'Nunito Sans';
    --bg: #FBFAF7; --surface: #FFFFFF; --surface-2: #F1EFE9; --border: #E7E3DB;
    --text: #2C3A33; --muted: #6E766F;
    --accent: #5E8B7E; --accent-contrast: #FFFFFF; --accent-soft: #E7EFEA;
    --radius: 16px; --radius-btn: 999px; --tracking: -0.01em; --pad: 60px; --gap: 22px;
}

.cc-site[data-theme="editorial"],
[data-cc-theme="editorial"] {
    --font-display: 'Playfair Display'; --font-body: 'Source Sans 3';
    --bg: #FFFFFF; --surface: #FBFAF8; --surface-2: #F0ECE4; --border: #E5E1D8;
    --text: #1E2A44; --muted: #5A6274;
    --accent: #324D6E; --accent-contrast: #FFFFFF; --accent-soft: #E9EEF4;
    --radius: 4px; --radius-btn: 3px; --tracking: 0; --pad: 68px; --gap: 22px;
}
.cc-site[data-theme="bold"],
[data-cc-theme="bold"] {
    --font-display: 'Space Grotesk'; --font-body: 'Inter';
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F5F4F1; --border: #E7E3DE;
    --text: #161311; --muted: #6B655F;
    --accent: #D2663B; --accent-contrast: #FFFFFF; --accent-soft: #FAEDE6;
    --radius: 10px; --radius-btn: 8px; --tracking: -0.02em; --pad: 64px; --gap: 22px;
}

/* Serene — calm, airy, very rounded. Wellness / therapy / mindfulness. */
.cc-site[data-theme="serene"],
[data-cc-theme="serene"] {
    --font-display: 'DM Sans'; --font-body: 'DM Sans';
    --bg: #F6FAFB; --surface: #FFFFFF; --surface-2: #EAF1F4; --border: #DEE8ED;
    --text: #26333B; --muted: #667883;
    --accent: #4E7286; --accent-contrast: #FFFFFF; --accent-soft: #E4EEF2;
    --radius: 18px; --radius-btn: 999px; --tracking: -0.01em; --pad: 60px; --gap: 22px;
}

/* Bloom — elegant, warm plum, characterful serif. Life / relationship coaching. */
.cc-site[data-theme="bloom"],
[data-cc-theme="bloom"] {
    --font-display: 'Fraunces'; --font-body: 'DM Sans';
    --bg: #FBF7F8; --surface: #FFFFFF; --surface-2: #F3EBEF; --border: #EBDFE5;
    --text: #33262C; --muted: #7C6D74;
    --accent: #7E5A76; --accent-contrast: #FFFFFF; --accent-soft: #F0E6EE;
    --radius: 14px; --radius-btn: 10px; --tracking: -0.005em; --pad: 64px; --gap: 22px;
}

/* Clarity — minimal, crisp blue, tight geometry. Executive / business coaching. */
.cc-site[data-theme="clarity"],
[data-cc-theme="clarity"] {
    --font-display: 'Inter'; --font-body: 'Inter';
    --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F4F5F7; --border: #E5E8EC;
    --text: #131720; --muted: #5C6672;
    --accent: #2F6BEB; --accent-contrast: #FFFFFF; --accent-soft: #E9F0FE;
    --radius: 6px; --radius-btn: 6px; --tracking: -0.015em; --pad: 60px; --gap: 22px;
}

/* Grove — earthy forest green, cream, elegant serif. Holistic / nature-based. */
.cc-site[data-theme="grove"],
[data-cc-theme="grove"] {
    --font-display: 'Lora'; --font-body: 'Source Sans 3';
    --bg: #F6F3EB; --surface: #FCFAF4; --surface-2: #EBE5D6; --border: #E0D9C8;
    --text: #29302A; --muted: #6B6C5E;
    --accent: #3F5D47; --accent-contrast: #FFFFFF; --accent-soft: #E5EBE4;
    --radius: 8px; --radius-btn: 6px; --tracking: 0; --pad: 66px; --gap: 22px;
}

/* Slate — cool steel blue-grey, crisp. Professional / consulting / corporate. */
.cc-site[data-theme="slate"],
[data-cc-theme="slate"] {
    --font-display: 'Space Grotesk'; --font-body: 'DM Sans';
    --bg: #F5F7F9; --surface: #FFFFFF; --surface-2: #ECF0F3; --border: #E0E6EB;
    --text: #1B2430; --muted: #5F6B77;
    --accent: #45566A; --accent-contrast: #FFFFFF; --accent-soft: #E8ECF1;
    --radius: 10px; --radius-btn: 8px; --tracking: -0.01em; --pad: 64px; --gap: 22px;
}

/* ---- links-page-only looks ---- */

/* Classic — the original links page: app neutrals, Inter. Pages that never
   picked a theme (and the old Auto/Light modes) land here, so nothing moves. */
[data-cc-theme="classic"] {
    --font-display: 'Inter'; --font-body: 'Inter';
    --bg: #F7F6F3; --surface: #FFFFFF; --surface-2: #F1F1EF; --border: #E9E9E7;
    --text: #37352F; --muted: #6F6E69;
    --accent: #2383E2; --accent-contrast: #FFFFFF; --accent-soft: #E7F2FC;
    --radius: 12px; --radius-btn: 8px; --tracking: -0.01em;
    color-scheme: light;
}

/* Night — the original Dark mode, same near-black ground and light text. */
[data-cc-theme="night"] {
    --font-display: 'Inter'; --font-body: 'Inter';
    --bg: #1A1A1A; --surface: #262626; --surface-2: #303030; --border: #3A3A3A;
    --text: #F5F5F5; --muted: #B4B4B4;
    --accent: #8FB8F0; --accent-contrast: #111111; --accent-soft: #2A3442;
    --radius: 12px; --radius-btn: 8px; --tracking: -0.01em;
    color-scheme: dark;
}
