/**
 * Single source of truth for every color used across this project.
 * Change a value here and it updates everywhere — the template stylesheet
 * (style.css) and the customized Bootstrap build (bootstrap.min.css) both
 * read their colors from these variables instead of their own hardcoded
 * hex values.
 */
:root {
    --primary: #0E7C84;
    --primary-rgb: 14, 124, 132;
    --secondary: #17A3A3;
    --light: #EAF5F5;
    --dark: #0A2E30;

    /* Bootstrap's own theme variables point at the same tokens. */
    --bs-primary: var(--primary);
    --bs-secondary: var(--secondary);
    --bs-light: var(--light);
    --bs-dark: var(--dark);

    /* Theme-aware surface/text tokens — flip in [data-theme="dark"] below. */
    --bg-body: #FFFFFF;
    --bg-section: var(--light);
    --bg-surface: #FFFFFF;
    --bg-navbar: #F3FAFA;
    --bg-hero-fallback: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--secondary) 130%);
    --text-body: #212529;
    --text-muted: #6C757D;
    --border-color: #DDDDDD;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg-body: #0A1618;
    --bg-section: #0F1D1F;
    --bg-surface: #16292C;
    --bg-navbar: #16292C;
    --bg-hero-fallback: linear-gradient(135deg, #061618 0%, var(--primary) 60%, var(--secondary) 130%);
    --text-body: #EAF5F5;
    --text-muted: #9FB7B8;
    --border-color: #2A4A4D;
    color-scheme: dark;
}

/*
 * SYTAL mockup design tokens (site-v4 rebuild).
 * Ported additively from sytal-websiter-mockup/shared/sytal.css §1, kept
 * under their own var names rather than renamed onto --primary/--bg-body
 * etc. above: those names are still read by every page that hasn't been
 * rebuilt yet (style.css, Bootstrap overrides), so renaming them in place
 * would restyle un-rebuilt pages before their own commit lands. New
 * components (src/components/sytal/*, Home) use only the tokens below;
 * older components keep using the tokens above untouched. Both sets are
 * swapped together, page by page, as each page is rebuilt — see
 * HANDOFF.md §5 build order.
 */
:root {
  --bg: #F7F9F9; --surface: #FFFFFF; --surface-2: #EEF4F4;
  --border: #E1E8E8; --border-2: #D3DEDE;
  --text: #0B1415; --muted: #4F6264; --faint: #5A6D6F;
  --brand: #0E6B6E; --brand-soft: #E6F4F3; --brand-fill: #127C7F;
  --cta-bg: #0B1415; --cta-text: #FFFFFF; --cta-arrow: #F5B544;
  --star: #A86B12; --accent: #F5B544;
  --header-bg: rgba(247,249,249,.86); --glow: rgba(95,214,208,.30);
  --shadow-sm: 0 1px 2px rgba(11,20,21,.05),0 4px 14px rgba(11,20,21,.05);
  --shadow-lg: 0 40px 100px rgba(11,20,21,.16);
  --lift: 0 18px 40px rgba(11,20,21,.10);
  --band: #0A1112; --band-border: transparent; --band-card: #0F1A1C; --footer: #070B0C;
  --art: #0E6B6E; --art-2: #9ED9D6;
  --focus: #0E6B6E;
  --b-text: #EDF3F3; --b-muted: #A9BBBC; --b-faint: #8FA3A5; --b-sub: #6E8487; --b-accent: #5FD6D0; --b-line: #26363A;
  --r-sm: 10px; --r: 14px; --r-lg: 22px; --r-xl: 28px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1200px;
}
@media (min-width: 1920px) { :root { --wrap: 1440px; } }
@media (min-width: 2560px) { :root { --wrap: 1600px; } }
:root[data-theme="dark"] {
  --bg: #070B0C; --surface: #0D1416; --surface-2: #0A1112;
  --border: #1A2427; --border-2: #26363A;
  --text: #EDF3F3; --muted: #A9BBBC; --faint: #8FA3A5;
  --brand: #5FD6D0; --brand-soft: #12292B;
  --cta-bg: #F5B544; --cta-text: #0B1415; --cta-arrow: #0B1415;
  --star: #F5B544;
  --header-bg: rgba(7,11,12,.82); --glow: rgba(18,124,127,.42);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-lg: 0 40px 100px rgba(0,0,0,.5);
  --lift: 0 18px 40px rgba(0,0,0,.4);
  --band: #0F1A1C; --band-border: #1F2C2F; --band-card: #142427; --footer: #0A1112;
  --art: #5FD6D0; --art-2: #1F4A4C;
  --focus: #5FD6D0;
}
