/* AI Protect design tokens, matched to essentialtech.com.au's Elementor kit (01/12/2026): lime #88C554 (buttons,
   bars), dark green #3F6B1F (links, secondary buttons), ink #1A1A1A, charcoal #555555, surface #F7F9F4, line #DCDFE5,
   info band #E1F0D4. Headings Poppins 700/600, body Arimo.
   Light theme is the default; dark follows the OS unless the page sets data-theme.
   Fonts are self-hosted (latin subset from Google Fonts, SIL Open Font Licence): no third-party requests. */
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/static/fonts/arimo-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/poppins-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/poppins-latin-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Arimo", Arial, "Liberation Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #ffffff;
  --bg-soft: #f5f7f2;        /* ET's light grey-green bands */
  --bg-strong: #1a1a1a;
  --surface: #ffffff;
  --surface-2: #f7f9f4;
  --text: #1a1a1a;
  --text-muted: #555555;     /* ET body text (7.5:1 on white) */
  --text-on-strong: #ffffff;
  --brand: #3f6b1f;          /* text, links on light backgrounds (6.6:1 on white) */
  --brand-hover: #2e5016;
  --brand-soft: #e1f0d4;
  --accent: #88c554;         /* ET lime: buttons (with ink text), bars and decoration; never text on white */
  --on-brand: #ffffff;
  --border: #dcdfe5;
  --border-strong: #a9aeb5;
  --card-top: #d6d9de;
  --tile-bg: #f1f3ee;
  --focus: #1a1a1a;
  --bar-track: #e4e8de;
  --bar-dark: #555556;       /* the logo's grey */
  --warn-bg: #fff4d6;
  --warn-text: #5c4200;
  --warn-border: #e8c766;
  --btn-primary-bg: #88c554;
  --btn-primary-hover: #7ab548;
  --btn-primary-text: #1a1a1a;
  --btn-secondary-bg: #3f6b1f;
  --btn-secondary-hover: #2e5016;
  --btn-secondary-text: #ffffff;
  --topbar-bg: #88c554;
  --topbar-text: #1a1a1a;    /* ET uses white, which is 2:1 on lime: ink keeps AA contrast (8.4:1) */
  --header-bg: #ffffff;
  --hero-bg: #474748;        /* ET's #555555 hero with a dark overlay, so the lime eyebrow passes 4.5:1 */
  --hero-text: #ffffff;
  --hero-muted: #e6e8e3;
  --hero-accent: #88c554;
  --strip-bg: #1a1a1a;
  --info-bg: #e1f0d4;
  --info-text: #1a1a1a;
  --info-link: #2e5016;
  --footer-bg: #555555;
  --footer-text: #ffffff;
  --footer-muted: #e3e5e0;
  --footer-line: rgba(255, 255, 255, .22);
  --cta-bg: #88c554;
  --cta-text: #1a1a1a;
  --dark-band-bg: #262826;   /* the one dark band on the home page */
  --dark-band-card: #313431;
  --dark-band-line: rgba(255, 255, 255, .14);
  --dark-band-text: #ffffff;
  --dark-band-muted: #d5d9d1;
  --mock-bg: #ffffff;        /* product previews */
  --mock-top: #f4f6f1;
  --mock-row: #fafbf8;
  --mock-line: #e1e5dc;
  --mock-text: #1a1a1a;
  --mock-muted: #5a5f57;
  --mock-shadow: 0 30px 60px -20px rgba(20, 30, 10, .35), 0 8px 20px rgba(20, 30, 10, .08);
  --sev-high-text: #a3261b;
  --sev-high-bg: #fde8e5;
  --sev-med-text: #8a4b00;
  --sev-med-bg: #fff0d6;
  --sev-low-text: #2e5016;
  --sev-low-bg: #e1f0d4;
  --error: #b3261e;

  --radius: 8px;             /* ET buttons */
  --radius-lg: 14px;         /* ET cards */
  --shadow: 0 20px 50px rgba(26, 26, 26, .08);
  --card-shadow: 0 8px 24px rgba(26, 26, 26, .05);
  --photo-shadow: 0 18px 40px -10px rgba(0, 0, 0, .35);
  --max: 1200px;
  --prose: 70ch;
  --gutter: clamp(16px, 4vw, 32px);
  --space-section: clamp(56px, 8vw, 100px);
  --logo-light: block;
  --logo-dark: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121411;
    --bg-soft: #181c16;
    --bg-strong: #0b0d0a;
    --surface: #1c211a;
    --surface-2: #20261d;
    --text: #eef2ea;
    --text-muted: #c0c7b9;
    --text-on-strong: #eef2ea;
    --brand: #a6d97a;
    --brand-hover: #c0e79c;
    --brand-soft: #24331b;
    --accent: #88c554;
    --on-brand: #13200a;
    --border: #2f362b;
    --border-strong: #4b5544;
    --card-top: #3d4637;
    --tile-bg: #e8ede2;
    --focus: #eef2ea;
    --bar-track: #2a3125;
    --bar-dark: #c9d1c2;
    --warn-bg: #3a2f10;
    --warn-text: #f6e2a6;
    --warn-border: #7a6320;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    --logo-light: none;
    --logo-dark: block;
    --header-bg: #121411;
    --hero-bg: #2b2b2c;
    --hero-muted: #dfe3db;
    --strip-bg: #0b0d0a;
    --info-bg: #24331b;
    --info-text: #eef2ea;
    --info-link: #c0e79c;
    --footer-bg: #2b2b2c;
    --footer-muted: #d4d8d0;
    --cta-bg: #24331b;
    --cta-text: #eef2ea;
    --dark-band-bg: #0b0d0a;
    --dark-band-card: #171b15;
    --dark-band-line: #2f362b;
    --dark-band-text: #eef2ea;
    --dark-band-muted: #c0c7b9;
    --mock-bg: #1c211a;
    --mock-top: #20261d;
    --mock-row: #181c16;
    --mock-line: #34402e;
    --mock-text: #eef2ea;
    --mock-muted: #b9c1b2;
    --mock-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 8px 20px rgba(0, 0, 0, .35);
    --sev-high-text: #ffb4a8;
    --sev-high-bg: #4a1d18;
    --sev-med-text: #f6c97a;
    --sev-med-bg: #3f2c0c;
    --sev-low-text: #c0e79c;
    --sev-low-bg: #24331b;
    --error: #ffb4a8;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121411;
  --bg-soft: #181c16;
  --bg-strong: #0b0d0a;
  --surface: #1c211a;
  --surface-2: #20261d;
  --text: #eef2ea;
  --text-muted: #c0c7b9;
  --text-on-strong: #eef2ea;
  --brand: #a6d97a;
  --brand-hover: #c0e79c;
  --brand-soft: #24331b;
  --accent: #88c554;
  --on-brand: #13200a;
  --border: #2f362b;
  --border-strong: #4b5544;
  --card-top: #3d4637;
  --tile-bg: #e8ede2;
  --focus: #eef2ea;
  --bar-track: #2a3125;
  --bar-dark: #c9d1c2;
  --warn-bg: #3a2f10;
  --warn-text: #f6e2a6;
  --warn-border: #7a6320;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  --logo-light: none;
  --logo-dark: block;
  --header-bg: #121411;
  --hero-bg: #2b2b2c;
  --hero-muted: #dfe3db;
  --strip-bg: #0b0d0a;
  --info-bg: #24331b;
  --info-text: #eef2ea;
  --info-link: #c0e79c;
  --footer-bg: #2b2b2c;
  --footer-muted: #d4d8d0;
  --cta-bg: #24331b;
  --cta-text: #eef2ea;
  --dark-band-bg: #0b0d0a;
  --dark-band-card: #171b15;
  --dark-band-line: #2f362b;
  --dark-band-text: #eef2ea;
  --dark-band-muted: #c0c7b9;
  --mock-bg: #1c211a;
  --mock-top: #20261d;
  --mock-row: #181c16;
  --mock-line: #34402e;
  --mock-text: #eef2ea;
  --mock-muted: #b9c1b2;
  --mock-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 8px 20px rgba(0, 0, 0, .35);
  --sev-high-text: #ffb4a8;
  --sev-high-bg: #4a1d18;
  --sev-med-text: #f6c97a;
  --sev-med-bg: #3f2c0c;
  --sev-low-text: #c0e79c;
  --sev-low-bg: #24331b;
  --error: #ffb4a8;
}
