/* 443 Industries AI Masterclass — shared deck theme (reveal.js 5.x overrides).
   Designed to be read on a classroom TV from across the room: large type, high
   contrast, generous spacing, one idea per slide. Keep per-deck files free of
   styling — everything lives here so a restyle is a single file. */

:root {
  --brand: #1557ff;          /* 443 blue */
  --brand-ink: #0b3bb0;
  --ink: #0f172a;            /* slate-900 */
  --muted: #475569;          /* slate-600 */
  --line: #e2e8f0;           /* slate-200 */
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --accent: #eef3ff;
  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.reveal { font-family: var(--sans); font-size: 40px; color: var(--ink); font-weight: 400; }
.reveal .slides { text-align: left; }
.reveal .slides section { height: 100%; }

.reveal h1, .reveal h2, .reveal h3 { color: var(--ink); font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-transform: none; }
.reveal h1 { font-size: 1.9em; }
.reveal h2 { font-size: 1.35em; }
.reveal h3 { font-size: 1.05em; color: var(--brand-ink); }
.reveal p, .reveal li { line-height: 1.35; color: var(--ink); }
.reveal .muted { color: var(--muted); }
.reveal strong { font-weight: 650; color: var(--ink); }
.reveal em { color: var(--brand-ink); font-style: normal; font-weight: 600; }

.reveal ul, .reveal ol { margin-left: 1.1em; display: block; }
.reveal li { margin: 0.35em 0; }
.reveal li::marker { color: var(--brand); }

.reveal a { color: var(--brand); text-decoration: none; }
.reveal code { font-family: var(--mono); font-size: 0.85em; background: var(--accent); color: var(--brand-ink); padding: 0.08em 0.3em; border-radius: 6px; }
.reveal pre { width: 100%; box-shadow: none; font-size: 0.6em; }
.reveal pre code { border-radius: 12px; padding: 0.9em 1.1em; max-height: none; line-height: 1.4; }

/* ---- the 443 mark ---- */
.mark { display: inline-flex; align-items: center; gap: 0.5em; }
.mark .box { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; border-radius: 0.28em; background: var(--brand); color: #fff; font-family: var(--mono); font-weight: 650; font-size: 0.8em; }
.mark .wordmark { font-weight: 600; letter-spacing: -0.01em; opacity: 0.85; }

/* ---- title slide ---- */
.reveal .title-slide { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.reveal .title-slide .kicker { color: var(--brand); font-weight: 650; font-size: 0.6em; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6em; }
.reveal .title-slide h1 { font-size: 2.1em; margin-bottom: 0.3em; }
.reveal .title-slide .sub { color: var(--muted); font-size: 0.72em; }
.reveal .title-slide .meta { margin-top: 1.4em; color: var(--muted); font-size: 0.5em; display: flex; gap: 1.5em; flex-wrap: wrap; }
.reveal .title-slide .meta b { color: var(--ink); }

/* ---- callout boxes ---- */
.reveal .box-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 0.7em 0.9em; }
.reveal .lab { border-left: 6px solid var(--brand); background: var(--accent); border-radius: 0 16px 16px 0; padding: 0.6em 0.9em; }
.reveal .lab .lab-tag,
.reveal .success .tag { display: inline-block; font-size: 0.5em; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.3em; }
.reveal .lab .lab-tag { color: var(--brand); }
.reveal .success { border-left: 6px solid var(--ok); background: #f0fdf4; border-radius: 0 16px 16px 0; padding: 0.6em 0.9em; }
.reveal .success .tag { color: var(--ok); }
.reveal .warnbox { border-left: 6px solid var(--warn); background: #fffbeb; border-radius: 0 16px 16px 0; padding: 0.6em 0.9em; }

.reveal .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.reveal .lead { font-size: 1.15em; color: var(--ink); }

/* ---- persistent footer chrome (built by deck.js) ---- */
.deck-footer { position: fixed; bottom: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 15px; color: var(--muted); font-family: var(--sans); border-top: 1px solid var(--line); background: rgba(255,255,255,0.9); z-index: 30; }
.deck-footer .mark .box { font-size: 11px; width: 22px; height: 22px; }
.deck-footer .mark .wordmark { font-size: 14px; }
.deck-footer .fnum { font-variant-numeric: tabular-nums; }
.reveal .progress { color: var(--brand); height: 5px; }

/* keep slides clear of the footer */
.reveal .slides section { padding-bottom: 20px; }

/* official navysteel.ai mark replaces the 443 box */
.mark img.box { width: 1.6em; height: 1.6em; background: none; border-radius: 0; }

/* logo-exact wordmark */
@import url("https://fonts.googleapis.com/css2?family=Audiowide&display=swap");
.mark .wordmark { font-family: "Audiowide", var(--sans); font-weight: 400; color: #1a2744; opacity: 1; letter-spacing: 0.005em; }
