/*
 * Theme Override CSS — AWS brand inputs (regenerated for the token design system)
 * Source theme: sampleLayout.pptx ("AWS Confidential")
 *
 * IMPORTANT: This file sets ONLY the --pptx-* brand-input tokens (+ fonts/glow).
 * theme.css consumes them per-theme via `var(--pptx-accent1, <default>)`, so the AWS
 * palette flows into BOTH .theme-light (default) and .theme-dark WITHOUT forcing bare
 * role tokens (--accent/--bg-primary/--text-*) in :root. Writing those directly — as the
 * old extractor did — broke the token system: it forced --text-primary:#fff on the light
 * default surface (white-on-white) and pinned --bg-primary dark, producing the
 * light-cards-on-dark-bg hybrid and the unreadable text. Footer/logo are handled by the
 * framework (slide-framework.js + _presentation.md theme.footer/logo); this file no
 * longer hard-positions .slide-footer/.slide-counter (the old negative offset pushed the
 * footer off-screen — the reported "footer not applied").
 */

:root {
  /* AWS brand palette -> consumed by theme.css role tokens (--accent = var(--pptx-accent1)) */
  --pptx-accent1: #2563EB;  /* AWS blue (accent) — deepened for AA contrast on white */
  --pptx-accent2: #8C4FFF;  /* purple */
  --pptx-accent3: #1B843F;  /* green */
  --pptx-accent4: #D13212;  /* red / danger */
  --pptx-accent5: #FF693C;  /* orange */
  --pptx-accent6: #B45309;  /* amber / warning */
  --pptx-hlink:   #2563EB;
  --pptx-folHlink: #2563EB;

  /* Surface anchors — light default (lt1/lt2); dark scope (dk2) applies only under .theme-dark */
  --pptx-dk1: #000000;
  --pptx-lt1: #FFFFFF;
  --pptx-dk2: #161D26;   /* AWS "Confidential Dark" surface */
  --pptx-lt2: #F3F4F6;

  --accent-glow: rgba(37, 99, 235, 0.30);

  --font-heading: 'Amazon Ember', 'Calibri', system-ui, sans-serif;
  --font-body: 'Amazon Ember', 'Calibri', system-ui, sans-serif;
}

/* Base theme variable overrides (auto-generated) */
:root {
  --slide-ratio-w: 16;
  --slide-ratio-h: 9;
  --slide-width: 1280px;
  --slide-height: 720px;

  --pptx-accent1: #41B3FF;
  --pptx-accent2: #AD5CFF;
  --pptx-accent3: #00E500;
  --pptx-accent4: #FF5C85;
  --pptx-accent5: #FF693C;
  --pptx-accent6: #FBD332;
  --pptx-dk1: #000000;
  --pptx-lt1: #FFFFFF;
  --pptx-dk2: #161D26;
  --pptx-lt2: #F3F3F7;
  --pptx-hlink: #41B1E8;
  --pptx-folHlink: #41B1E8;
}