/* =================================================================
   SchoolOS landing styles
   Design system: Midnight Blue #0F172A, Gold #FACC15, White, Soft gray
   Mobile-first. No framework, no runtime CSS, built for Lighthouse 95+.
   ================================================================= */

:root {
  --ink:        #0F172A;
  --ink-800:    #1E293B;
  --ink-700:    #334155;
  --gold:       #FACC15;
  --gold-600:   #EAB308;
  --paper:      #FFFFFF;
  --surface:    #F8FAFC;
  --surface-2:  #F1F5F9;
  --line:       #E2E8F0;
  --line-dark:  rgba(255,255,255,.10);
  --text:       #0F172A;
  --muted:      #64748B;
  --muted-2:    #94A3B8;

  --container:  1200px;
  --gutter:     1.25rem;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 6px 18px rgba(15,23,42,.06);
  --shadow:    0 24px 60px rgba(15,23,42,.12);
  --shadow-lg: 0 30px 80px rgba(15,23,42,.18);
  --shadow-gold: 0 14px 32px rgba(250,204,21,.30);

  --fs-h1: clamp(2.25rem, 5.2vw, 3.85rem);
  --fs-h2: clamp(1.7rem, 3.3vw, 2.55rem);
  --fs-lede: clamp(1.05rem, 1.4vw, 1.2rem);
  --space: clamp(3.5rem, 7vw, 6.25rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .65rem 1rem; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
.text-gold {
  color: var(--ink);
  box-shadow: inset 0 -0.32em 0 rgba(250,204,21,.55);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  padding: .85rem 1.5rem; font-weight: 700; font-size: .98rem;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: #ffd633; transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn--outline { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--muted-2); background: var(--surface); }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow--gold { color: var(--gold); }
.section { padding-block: var(--space); }
.section--paper { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 60ch; margin-bottom: 2.75rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--fs-h2); margin-top: .7rem; }
.section__title--light { color: #fff; }
.section__lede { font-size: var(--fs-lede); color: var(--muted); margin-top: 1rem; }
.section__lede--light { color: #cbd5e1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__logo { width: 42px; height: 42px; border-radius: 11px; background: #fff; padding: 3px; box-shadow: var(--shadow-sm); object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand__tag { font-size: .7rem; color: var(--muted); }
.nav { display: none; gap: 1.6rem; }
.nav a { font-size: .95rem; font-weight: 600; color: var(--ink-700); transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.site-header__cta { display: none; gap: .6rem; }

/* hamburger */
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; background: transparent; border: 0; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: grid; gap: .25rem; padding: 0 var(--gutter);
  max-height: 0; overflow: hidden; background: #fff; border-bottom: 1px solid transparent;
  transition: max-height .3s ease, padding .3s ease, border-color .3s ease;
}
.mobile-nav a { padding: .85rem .25rem; font-weight: 600; border-bottom: 1px solid var(--surface-2); }
.mobile-nav .btn { margin: .75rem 0 1rem; }
body.nav-open .mobile-nav { max-height: 420px; padding-block: .5rem; border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 100%);
}
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
}
.hero__bg::before { top: -120px; right: -60px; width: 340px; height: 340px; background: rgba(250,204,21,.22); }
.hero__bg::after { bottom: -160px; left: -80px; width: 420px; height: 420px; background: rgba(15,23,42,.10); }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 2.75rem; align-items: center; }
.hero__title { font-size: var(--fs-h1); font-weight: 900; max-width: 16ch; }
.hero__lede { font-size: var(--fs-lede); color: var(--muted); margin-top: 1.25rem; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; max-width: 520px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow-sm); }
.stat__num { font-size: 1.9rem; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; }
.stat__label { font-size: .82rem; color: var(--muted); margin-top: .25rem; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); color: var(--ink-700);
  border-radius: var(--r-pill); padding: .5rem 1rem; font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-600); }

.hero__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: #000; box-shadow: var(--shadow-lg);
}
.hero__frame::after { /* thin top "browser" sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  border-radius: inherit;
}
.hero__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__glass {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  border-radius: var(--r); padding: .9rem 1.05rem;
}
.hero__glass-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__glass-value { font-size: 1.35rem; font-weight: 900; color: var(--ink); margin-top: .15rem; }
.hero__glass-sub { font-size: .8rem; color: var(--muted); }
.glass {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.5); box-shadow: var(--shadow);
}

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: #fff; border-block: 1px solid var(--line-dark); }
.trust__inner { padding-block: 1.75rem; text-align: center; }
.trust__intro { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.trust__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; }
.trust__list li { font-weight: 700; font-size: .92rem; color: #e2e8f0; position: relative; padding-left: 1.1rem; }
.trust__list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: .2rem; }

/* ---------- Grids / panels ---------- */
.grid { display: grid; gap: 1.5rem; }
.panel { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.panel--glass { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); }

/* Problem */
.problem-list { margin-top: 1.8rem; display: grid; gap: .8rem; }
.problem-item { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--ink-700); }
.problem-item__x { color: #ef4444; font-weight: 800; }
.audience { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: 1.1rem; }
.audience li { display: flex; flex-direction: column; gap: .15rem; }
.audience strong { color: #fff; }
.audience span { color: #cbd5e1; font-size: .92rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; }
.card p { margin-top: .55rem; color: var(--muted); }
.card--mini { padding: 1.4rem; }
.card--mini h3 { font-size: 1.05rem; }

/* ---------- Framework ---------- */
.framework { list-style: none; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.framework__step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.framework__step::before { content: ""; position: absolute; left: 0; top: 1.6rem; bottom: 1.6rem; width: 4px; border-radius: 4px; background: var(--gold); }
.framework__num { font-size: .9rem; font-weight: 800; color: var(--gold-600); letter-spacing: .1em; }
.framework__step h3 { font-size: 1.2rem; margin-top: .35rem; }
.framework__step p { margin-top: .5rem; color: var(--muted); }

/* ---------- Showcase ---------- */
.showcase { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: clamp(1rem,2.5vw,1.75rem); }
.showcase__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.showcase__tab {
  background: rgba(255,255,255,.05); color: #cbd5e1; border: 1px solid var(--line-dark);
  border-radius: var(--r-pill); padding: .6rem 1.1rem; font-weight: 600; font-size: .9rem;
  transition: all .18s ease;
}
.showcase__tab:hover { color: #fff; }
.showcase__tab.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.showcase__note { margin-top: 1.25rem; color: var(--muted-2); font-size: .9rem; text-align: center; }

/* Pipeline */
.pipeline { display: grid; gap: .75rem; }
.pipeline__stage {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--r); padding: .9rem 1.1rem;
}
.pipeline__name { font-weight: 600; color: #e2e8f0; }
.pipeline__count { font-weight: 900; font-size: 1.3rem; color: #fff; }
.pipeline__bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.pipeline__bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--gold), #fde68a); border-radius: 4px; }
.pipeline__stage--win { border-color: rgba(250,204,21,.5); background: rgba(250,204,21,.08); }

/* Dashboard */
.dash { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.kpi { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.kpi--light { background: rgba(255,255,255,.06); }
.kpi__label { font-size: .8rem; color: var(--muted-2); }
.kpi__value { font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; margin-top: .25rem; }
.kpi__trend { font-size: .8rem; margin-top: .25rem; color: var(--muted-2); }
.kpi__trend--up { color: #4ade80; }
.dash__chart { grid-column: 1 / -1; margin: 0; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 1.25rem; }
.dash__chart-title { font-size: .85rem; color: var(--muted-2); margin-bottom: 1rem; }
.bars { display: flex; align-items: flex-end; gap: .9rem; height: 150px; margin: 1.85rem 0 2.4rem; }
.bar { position: relative; flex: 1; height: 100%; }
.bar__fill { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 78%; max-width: 44px; height: var(--h); border-radius: 7px 7px 0 0; background: linear-gradient(180deg, var(--gold), var(--gold-600)); }
.bar__val { position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 800; color: #fff; white-space: nowrap; }
.bar__label { position: absolute; bottom: -1.6rem; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--muted-2); }
.dash--compact .kpi__value { font-size: 1.6rem; }

/* Chat */
.chat { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; max-width: 560px; margin-inline: auto; }
.chat__head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-dark); }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .85rem; }
.chat__name { font-weight: 700; color: #fff; font-size: .95rem; }
.chat__status { font-size: .78rem; color: #4ade80; }
.chat__body { padding: 1.25rem; display: grid; gap: .75rem; }
.bubble { max-width: 82%; padding: .7rem 1rem; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
.bubble--in { justify-self: start; background: rgba(255,255,255,.08); color: #e2e8f0; border-bottom-left-radius: 5px; }
.bubble--out { justify-self: end; background: var(--gold); color: var(--ink); font-weight: 500; border-bottom-right-radius: 5px; }
.chat--mini { background: transparent; border: 0; margin-top: 1.25rem; }
.chat--mini .bubble--in { background: rgba(255,255,255,.10); }

/* WhatsApp */
.wa { max-width: 460px; margin-inline: auto; background: #0b141a; border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.wa__head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; background: #1f2c34; }
.wa__avatar { width: 36px; height: 36px; border-radius: 50%; background: #25d366; color: #08291a; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.wa__name { color: #fff; font-weight: 700; font-size: .92rem; }
.wa__status { color: #8aa0ad; font-size: .75rem; }
.wa__body { padding: 1.1rem; display: grid; gap: .6rem; background:
  linear-gradient(rgba(11,20,26,.92), rgba(11,20,26,.92)); }
.wa__bubble { max-width: 86%; justify-self: start; background: #1f2c34; color: #e9edef; padding: .65rem .9rem; border-radius: 12px; font-size: .88rem; line-height: 1.45; }
.wa__bubble--me { justify-self: end; background: #056162; color: #e9edef; }

/* Feature blocks */
.feature .section__title { margin-top: .6rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-700); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--ink); color: var(--gold); font-size: .75rem; font-weight: 800;
  display: grid; place-items: center;
}

/* Automation stats */
.auto-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.auto-stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; text-align: center; font-size: 2rem; font-weight: 900; color: var(--ink); box-shadow: var(--shadow-sm); }
.auto-stats small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: .3rem; letter-spacing: 0; }

/* Chips & governance */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: .5rem 1rem; font-size: .88rem; font-weight: 600; color: var(--ink-700); }
.gov { list-style: none; padding: 0; margin-top: 1.3rem; display: grid; gap: 1rem; }
.gov li { color: #cbd5e1; font-size: .95rem; line-height: 1.5; }
.gov strong { display: block; color: #fff; }

/* ---------- Comparison ---------- */
.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.compare__table th, .compare__table td { padding: 1.05rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.compare__table thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.compare__table tbody th { font-weight: 700; color: var(--ink); }
.compare__table td { color: var(--muted); }
.compare__os { background: rgba(250,204,21,.07); color: var(--ink) !important; font-weight: 600; border-left: 2px solid var(--gold); }
thead .compare__os { color: var(--ink) !important; font-weight: 800; }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.25rem; box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--ink);
  padding: 1.15rem 2rem 1.15rem 0; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--gold-600); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 0 1.2rem; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta { background: var(--ink); color: #fff; padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 520px; height: 360px; background: radial-gradient(closest-side, rgba(250,204,21,.18), transparent); }
.cta__inner { position: relative; text-align: center; max-width: 820px; }
.cta__title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: .85rem; }
.cta__lede { color: #cbd5e1; font-size: var(--fs-lede); margin: 1.25rem auto 0; max-width: 60ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2.25rem; }
.cta__fine { color: var(--muted-2); font-size: .85rem; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0f1d; color: #cbd5e1; padding-block: 2.5rem; }
.site-footer__inner { display: grid; gap: 1.5rem; }
.site-footer__brand { display: flex; align-items: center; gap: .75rem; }
.site-footer__brand .brand__name { color: #fff; }
.site-footer__tag { font-size: .85rem; color: var(--muted-2); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__nav a { font-size: .92rem; font-weight: 600; transition: color .15s ease; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__copy { font-size: .82rem; color: var(--muted-2); }

/* =================================================================
   Responsive
   ================================================================= */
@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer__copy { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .site-header__cta { display: inline-flex; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .framework { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--problem { grid-template-columns: 1.5fr 1fr; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .framework { grid-template-columns: repeat(4, 1fr); }
  .grid--2 { gap: 2.5rem; }
  .grid--center { align-items: center; }
}

/* Print niceties */
@media print {
  .site-header, .nav-toggle, .mobile-nav, .vhero__video { display: none !important; }
}

/* =================================================================
   Full-width video hero + relocated value section
   ================================================================= */
.vhero { position: relative; width: 100%; height: clamp(440px, 78vh, 760px); overflow: hidden; background: var(--ink); }
.vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.5) 0%, rgba(15,23,42,.3) 42%, rgba(15,23,42,.85) 100%); }
.vhero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; color: #fff; padding-block: clamp(2.25rem, 6vh, 4rem); }
.vhero__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; max-width: 20ch; text-shadow: 0 2px 26px rgba(0,0,0,.4); }
.vhero__sub { font-size: var(--fs-lede); color: #e6edf6; margin-top: 1.1rem; max-width: 54ch; text-shadow: 0 1px 18px rgba(0,0,0,.45); }
.vhero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }

.value { display: grid; gap: 2.25rem; align-items: center; }
.value__title { font-size: var(--fs-h2); font-weight: 900; margin-top: 1rem; max-width: 20ch; }
.value__lede { font-size: var(--fs-lede); color: var(--muted); margin-top: 1.1rem; max-width: 58ch; }
.value__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.value__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) {
  .value { grid-template-columns: 1.15fr .85fr; }
}
