﻿/* SKUWarden marketing site — pure CSS, no build step.
   Design system from SKUWarden_Marketing_Website_Concept_Pack (Warehouse Floor +
   Product First hybrid, dark Command Centre showcase sections).
   Palette from assets/web/brand-tokens.css */

/* Solid black / blue / white scheme. --dark is the black surface colour
   used for showcase sections, the footer and the dashboard sidebar. */
:root {
  --blue: #0A63FF;
  --blue2: #2D7CFF;
  --dark: #05070C;
  --dark-card: #0D1420;
  --dark-line: #1E2836;
  --green: #21B67A;
  /* Theme-dependent */
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --ink: #05070C;
  --muted: #5F6B7A;
  --line: #E3E7EE;
  --card-bg: #FFFFFF;
  --card-shadow: 0 12px 35px rgba(2, 6, 12, .05);
  --hero-grad-a: #FFFFFF;
  --hero-grad-b: #F3F6FA;
  --dark-section: #05070C;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05070C;
    --bg-alt: #0A0E16;
    --ink: #F5F7FA;
    --muted: #98A2B3;
    --line: #1D2430;
    --card-bg: #0C1220;
    --card-shadow: 0 12px 35px rgba(0, 0, 0, .45);
    --hero-grad-a: #05070C;
    --hero-grad-b: #0A0E16;
    --dark-section: #090D15;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
p a, .seo-copy a { color: var(--blue2); text-decoration: underline; }

.container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }

.lead { font-size: 19px; line-height: 1.62; color: var(--muted); max-width: 720px; }
.small { font-size: 13px; line-height: 1.58; color: var(--muted); }
.accent { color: var(--blue); }
@media (prefers-color-scheme: dark) { .accent { color: var(--blue2); } }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--blue); border-radius: 3px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--blue2); } .eyebrow::before { background: var(--blue2); } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 19px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(10, 99, 255, .24); }
.btn-primary:hover { background: var(--blue2); }
.btn-secondary { border-color: rgba(102, 117, 138, .45); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--blue); }
.btn-dark { background: var(--dark); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-dark { background: var(--blue); } }
.btn-white { background: #fff; color: var(--dark) !important; }

/* ---------- Header / nav ---------- */

.top-strip { background: var(--dark); color: #D0DBEA; font-size: 12px; text-align: center; padding: 9px 16px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.nav-logo { width: 220px; height: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; font-weight: 700; }
.nav-links a { color: var(--muted); padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 11px 16px; }

/* Light/dark logo swap without JS */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

/* Mobile nav: pure-CSS details/summary, content parity with desktop links */
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-nav { display: block; width: 100%; }
  .mobile-nav summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 0;
    color: var(--muted);
  }
  .mobile-nav summary::before { content: "\2630\00a0\00a0"; }
  .mobile-nav a { display: block; padding: 10px 4px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); }
  .nav-logo { width: 180px; }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: underline; }

/* ---------- Hero (split, Warehouse Floor style) ---------- */

.hero { background: linear-gradient(180deg, var(--hero-grad-a), var(--hero-grad-b)); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 88px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.floor-card {
  background: var(--dark);
  color: #fff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 28px 70px rgba(2, 6, 12, .3);
  position: relative;
  overflow: hidden;
}
.floor-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 52px solid rgba(10, 99, 255, .18);
  border-radius: 50%;
}
.floor-card img { width: 210px; margin-bottom: 30px; }
.floor-card strong { font-size: 28px; line-height: 1.12; display: block; letter-spacing: -.03em; margin-bottom: 14px; }
.floor-card p { color: #BAC8DC; font-size: 16px; line-height: 1.7; margin: 0; position: relative; }

/* Centered hero for subpages */
.hero-copy { text-align: center; max-width: 880px; margin: 0 auto; padding: 64px 0 72px; }
.hero-copy .eyebrow { justify-content: center; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .hero-actions { justify-content: center; }

/* ---------- Cards & grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}
.card p { color: var(--muted); margin-bottom: 0; }

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(10, 99, 255, .12);
  color: var(--blue2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.feature-list { display: grid; gap: 12px; margin-top: 26px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 700; }
.feature-list li::before {
  content: "\2713";
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(33, 182, 122, .14);
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
}

.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); }

/* ---------- Problems (Warehouse Floor) ---------- */

.problem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.problem-list { display: grid; gap: 14px; }
.problem {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
}
.problem .icon-box { margin: 0; }
.problem p { margin-bottom: 0; }

/* ---------- Process row (purchase-to-dispatch) ---------- */

.process-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-bg); }
.process b { display: block; margin-bottom: 6px; }
.process .num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.process p { margin: 0; }

/* ---------- Dark showcase section (Command Centre) ---------- */

.dark-section { background: var(--dark-section); color: #fff; }
.dark-section .lead { color: #A6B0BF; }
.dark-section .eyebrow { color: #fff; }
.dark-section .eyebrow::before { background: var(--blue2); }
.dark-section .card { background: var(--dark-card); border-color: var(--dark-line); color: #fff; box-shadow: none; }
.dark-section .card p { color: #A6B0BF; }
.dark-section .icon-box { background: rgba(45, 124, 255, .2); color: #7AB0FF; }

/* ---------- Blue section ---------- */

.blue-section { background: var(--blue); color: #fff; }
.blue-section .lead { color: #DCE9FF; }
.blue-section .eyebrow { color: #fff; }
.blue-section .eyebrow::before { background: #fff; }
.blue-section .card { border: 0; background: #fff; color: var(--dark); box-shadow: none; }
.blue-section .card p { color: #526079; }

/* ---------- Dashboard mockup ---------- */

.dashboard {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(2, 6, 12, .18);
  overflow: hidden;
}
.dashboard-top {
  height: 50px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 7px;
  background: var(--bg-alt);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #D9E1ED; }
.dashboard-body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.db-sidebar { background: var(--dark); padding: 16px 12px; color: #B9C7DC; }
.side-logo { width: 118px; margin: 4px 0 20px; }
.side-item { padding: 10px; border-radius: 8px; margin: 3px 0; font-size: 11px; font-weight: 700; }
.side-item.active { background: var(--blue); color: #fff; }
.main-panel { padding: 22px; background: var(--bg-alt); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.stat { background: var(--card-bg); border: 1px solid var(--line); border-radius: 11px; padding: 13px; }
.stat b { font-size: 22px; display: block; margin-top: 8px; }
.chart {
  height: 148px;
  margin-top: 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.chart svg { position: absolute; inset: 42px 15px 12px 15px; width: calc(100% - 30px); height: 95px; }

/* ---------- SEO copy article ---------- */

.seo-copy { max-width: 860px; margin: auto; }
.seo-copy h3 { margin-top: 35px; }
.seo-copy p { font-size: 17px; line-height: 1.78; color: var(--muted); }

/* ---------- Quote ---------- */

.quote {
  border-left: 4px solid var(--blue);
  padding-left: 22px;
  font-size: 23px;
  line-height: 1.48;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}

/* ---------- Pricing ---------- */

.price-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.price-card .amount { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 12px; }
.price-card .amount .per { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 18px 45px rgba(10, 99, 255, .14); }

/* Big price statement (home band and pricing hero) */
.price-hero { font-size: clamp(44px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 10px 0 6px; }
.price-hero .per { font-size: clamp(16px, 2vw, 22px); font-weight: 600; letter-spacing: 0; }

/* ---------- Founder note ---------- */

.founder-sig { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.founder-sig .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.founder-sig b { display: block; }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table-wrap caption { text-align: left; padding: 16px 18px 0; font-weight: 700; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg-alt); }
.table-wrap tbody th { font-weight: 700; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td.yes { color: var(--green); font-weight: 700; }
.table-wrap td.no { color: var(--muted); }
.dark-section .table-wrap { background: var(--dark-card); border-color: var(--dark-line); }
.dark-section .table-wrap th, .dark-section .table-wrap td { border-color: var(--dark-line); color: #fff; }
.dark-section .table-wrap tbody td { color: #C6CFDA; }
.dark-section .table-wrap thead th { background: rgba(255, 255, 255, .04); color: #A6B0BF; }

/* ---------- Support form ---------- */

.support-form, .thanks-panel { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--blue2); outline-offset: 1px; border-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin: 12px 0 0; }
.thanks-panel h3 { font-size: 24px; }
.thanks-panel .ticket-number {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--blue2);
  background: rgba(10, 99, 255, .1);
  border-radius: 10px;
  padding: 6px 14px;
  margin: 10px 0 14px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.footer { background: var(--dark); color: #fff; padding: 58px 0 32px; margin-top: 0; }
@media (prefers-color-scheme: dark) { .footer { background: #090D15; border-top: 1px solid var(--line); } }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 40px; }
.footer-logo { width: 210px; }
.footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .11em; color: #9EB0CA; margin-bottom: 8px; }
.footer nav a { display: block; color: #D3DEF0; font-size: 14px; margin: 11px 0; }
.footer nav a:hover { color: #fff; }
.footer .small { color: #A1B1CA; margin-top: 20px; max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 42px;
  padding-top: 22px;
  font-size: 12px;
  color: #9BABC3;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; max-width: 860px; margin-top: 34px; }
.faq-list details {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 22px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue2); font-weight: 800; font-size: 20px; line-height: 1; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* ---------- Scroll-reveal & motion system ----------
   js/reveal.js tags elements with .reveal (+ data-reveal direction) and adds
   .in when they enter the viewport; it also injects .decor parallax layers
   and the .scroll-progress bar, and drives --p per section from scroll.
   Everything here is gated on prefers-reduced-motion and on the script
   actually having run (html.reveal-ready), so content is never hidden for
   no-JS visitors or reduced-motion users. */

body { overflow-x: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready .reveal {
    opacity: 0;
    transition: opacity .7s ease-out, transform .7s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  html.reveal-ready .reveal[data-reveal="up"] { transform: translateY(26px); }
  html.reveal-ready .reveal[data-reveal="left"] { transform: translateX(-44px); }
  html.reveal-ready .reveal[data-reveal="right"] { transform: translateX(44px); }
  html.reveal-ready .reveal.in { opacity: 1; transform: none; }

  .card, .problem, .process { transition: transform .25s ease, box-shadow .25s ease; }
  .card:hover, .problem:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(7, 27, 75, .12); }
  .btn { transition: background-color .2s ease, border-color .2s ease, transform .15s ease; }
  .btn:active { transform: scale(.97); }
}

/* Parallax decor layers (injected by reveal.js; --p is scroll progress,
   roughly -1 below the viewport to +1 above it). */
.has-decor { position: relative; overflow: hidden; }
.has-decor > .container, .has-decor > .hero-copy, .has-decor > .hero-grid { position: relative; z-index: 1; }
.decor { position: absolute; pointer-events: none; will-change: transform; }
.decor-a {
  width: 560px; height: 560px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(10, 99, 255, .16), transparent 65%);
  transform: translate3d(0, calc(var(--p, 0) * 70px), 0) rotate(calc(var(--p, 0) * 10deg));
}
.decor-b {
  width: 460px; height: 460px; left: -160px; bottom: -180px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(45, 124, 255, .12), transparent 65%);
  transform: translate3d(0, calc(var(--p, 0) * -90px), 0);
}
.decor-grid {
  inset: -60px 0;
  background-image:
    linear-gradient(rgba(10, 99, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 99, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: translate3d(0, calc(var(--p, 0) * 28px), 0);
}
.dark-section .decor-a { background: radial-gradient(circle at center, rgba(10, 99, 255, .28), transparent 65%); }
.dark-section .decor-b { background: radial-gradient(circle at center, rgba(45, 124, 255, .18), transparent 65%); }
.dark-section .decor-grid, .blue-section .decor-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}
.blue-section .decor-a { background: radial-gradient(circle at center, rgba(255, 255, 255, .16), transparent 65%); }
.blue-section .decor-b { background: radial-gradient(circle at center, rgba(2, 6, 12, .18), transparent 65%); }

/* Animated logo intro (injected by reveal.js once per browsing session).
   Not a loading screen — a ~1.4s brand moment: the shield scales in over
   black with a blue glow, then the whole cover lifts away. */
.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--dark);
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity .45s ease, transform .55s cubic-bezier(.6, 0, .4, 1), visibility .55s;
}
.logo-intro::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(10, 99, 255, .35), transparent 65%);
  animation: intro-glow .95s ease-out both;
}
/* The mark is "scanned" into existence: a laser line sweeps down over a
   faint ghost of the logo, revealing the full-strength logo as it passes,
   then a quick success pop — like a barcode scan going green. */
.logo-intro .mark-wrap {
  position: relative;
  width: min(220px, 50vw);
  animation: intro-pop .4s 1.15s cubic-bezier(.34, 1.56, .64, 1) both;
}
.logo-intro img { width: 100%; height: auto; display: block; }
.logo-intro .mark-ghost { opacity: .14; }
.logo-intro .mark-scan {
  position: absolute;
  inset: 0;
  animation: intro-scan-reveal .9s .2s linear both;
}
.logo-intro .scan-line {
  position: absolute;
  left: -14%;
  right: -14%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--blue2) 30%, #BFDCFF 50%, var(--blue2) 70%, transparent);
  box-shadow: 0 0 18px 4px rgba(45, 124, 255, .75);
  animation: intro-scan-line .9s .2s linear both;
}
.logo-intro.done {
  opacity: 0;
  transform: translateY(-4vh);
  visibility: hidden;
}
@keyframes intro-scan-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}
@keyframes intro-scan-line {
  0%   { top: -4%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}
@keyframes intro-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes intro-glow {
  from { opacity: 0; transform: scale(.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scroll progress bar (injected by reveal.js) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  pointer-events: none;
}

/* ---------- Accessibility & utilities ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.footer-bottom a { color: #9BABC3; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 3px solid var(--blue2); outline-offset: 2px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; padding: 40px 0 56px; }
  .hero-copy { padding: 48px 0 56px; }
  .grid-2, .grid-3, .problem-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .dashboard-body { grid-template-columns: 1fr; }
  .db-sidebar { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { display: block; }
}
