:root {
  --navy: #003e75;
  --navy-2: #04305a;
  --ink: #1b2b3a;
  --muted: #51606f;
  --subtle: #586573;
  --accent: #015eb4;
  --accent-2: #0178e2;
  --red: #d21437;
  --gold: #d21437;
  --bg: #ffffff;
  --panel: #f4f7fb;
  --line: #dfe6f0;
  --maxw: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.65 "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Accessibility: skip link, screen-reader-only text, visible keyboard focus, reduced motion */
.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: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 6px; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 0; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.hero :focus-visible, .stats-band :focus-visible, .cta :focus-visible, .ft :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 4px; padding: 12px 22px; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.nav.scrolled { box-shadow: 0 2px 14px rgba(8,28,64,.09); }
/* Full-width nav: logo flush to the left edge, links get the whole width. */
.nav-inner { max-width: none; margin: 0; padding: 14px 32px; display: flex; align-items: center; gap: 20px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark { color: var(--navy); font-weight: 800; letter-spacing: .06em; font-size: 18px; }
.brand-sub { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
/* Single-line header: section links stay on one row (scroll if narrow); brand, login, CTA never shrink off. */
.nav-links { display: flex; gap: 2px; margin-left: auto; flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: #2b3a4d; font-size: 13px; font-weight: 600; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); background: #eef3fb; text-decoration: none; }
.nav-links a.active { color: var(--accent); background: #e9f1fc; }
.nav-login { flex-shrink: 0; color: var(--accent); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 4px; border: 1px solid #c9d8ec; white-space: nowrap; }
.nav-login:hover { background: #eef3fb; text-decoration: none; }
.nav-cta { flex-shrink: 0; margin-left: 6px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 22px; cursor: pointer; margin-left: auto; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 520px at 82% -10%, rgba(1,120,226,.42), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 92px 0 84px;
}
/* Light-blue accent on the dark hero: red-on-navy failed contrast (2.0:1). #9ac2ec = 5.8:1. */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 800; color: #9ac2ec; margin: 0 0 14px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; max-width: 18ch; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.86); max-width: 62ch; margin: 20px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 24px 0 0; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 66ch; }
.hero-note a { color: #fff; text-decoration: underline; }

/* Stats */
.stats-band { background: var(--navy-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 26px 24px; }
.stat { text-align: center; padding: 6px 8px; }
.stat-num { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat-label { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 2px; line-height: 1.35; }

/* Sections */
.sec { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.sec.alt { background: var(--panel); }
.sec h2 { font-size: clamp(23px, 2.6vw, 32px); font-weight: 750; color: var(--navy); max-width: 24ch; }
.sec .lead { font-size: 17px; color: var(--muted); max-width: 70ch; margin: 16px 0 0; }
.bullets { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; max-width: 80ch; }
.bullets li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.bullets li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; }

/* Areas grid */
.areas { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; background: #fff; }
.sec.alt .area { background: #fff; }
.area-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.area-name { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.area-note { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
/* Plain status text, not a colored pill (no fill/border/radius): the colored badge read as an AI design tell. */
.tag { font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--subtle); }
.tag-have { color: var(--muted); }
.tag-fast { color: var(--subtle); }

/* Content-mapping table: OPM's 15 functional areas -> GSUSA coverage */
.maptable-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.maptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.maptable thead th { background: var(--navy); color: #fff; text-align: left; font-weight: 700; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 11px 14px; }
.maptable tbody td { border-top: 1px solid var(--line); padding: 10px 14px; vertical-align: top; }
.maptable tbody tr:nth-child(even) { background: #fafcff; }
.maptable .m-area { font-weight: 700; color: var(--navy); }
.maptable .m-note { color: var(--muted); }
.maptable .m-status { white-space: nowrap; font-weight: 600; color: var(--ink); }
.maptable .m-status.m-fast { color: var(--subtle); font-weight: 500; }

/* LMS screenshots (figures). Rendered only when a section provides shots. */
.shots { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shot { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); }
.shot-full { grid-column: 1 / -1; }

/* Real course video (poster + captions), rendered only when a section provides one */
.lms-video { margin: 26px 0 0; max-width: 880px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; }
.lms-video video { display: block; width: 100%; height: auto; }
.lms-video figcaption { padding: 11px 16px; font-size: 13px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

/* Recreated LMS panels (built from the real screens; swap to PNGs when saved) */
.lpanel { margin: 26px 0 0; max-width: 760px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.lpanel-chrome { display: flex; align-items: center; gap: 7px; padding: 8px 13px; background: #f6f8fb; border-bottom: 1px solid var(--line); }
.lpanel-chrome .d { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.lpanel-chrome .u { margin-left: 10px; font-size: 11.5px; color: var(--subtle); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 3px 10px; }
.lpanel-body { padding: 18px; }
.lpanel-cap { padding: 10px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.aic-head { background: var(--navy); color: #fff; padding: 11px 15px; display: flex; align-items: center; gap: 9px; }
.aic-head .g { width: 26px; height: 26px; border-radius: 6px; background: #fff; color: var(--navy); font-weight: 800; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.aic-head .st { font-size: 11px; color: #a9c9e8; }
.aic-hi { text-align: center; font-size: 14px; color: var(--ink); margin: 6px 0 14px; }
.aic-grp { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); margin: 12px 0 7px; }
.aic-i { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink); margin: 5px 0; }
.aic-i .y { color: #176c39; font-weight: 800; }
.aic-i .n { color: #b42318; font-weight: 800; }
.aic-input { margin: 14px; border: 1px solid var(--accent); border-radius: 9px; padding: 10px 13px; color: var(--subtle); font-size: 13px; }
.src-h { font-size: 18px; color: var(--navy); font-weight: 800; margin: 0 0 5px; }
.src-p { color: var(--muted); font-size: 13.5px; margin: 0 0 15px; }
.src-lab { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); border-top: 1px solid var(--line); padding-top: 11px; margin-bottom: 9px; }
.src-row { display: flex; align-items: center; gap: 9px; margin: 6px 0; font-size: 13px; flex-wrap: wrap; }
.src-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px; white-space: nowrap; }
.src-tag.pri { background: #e6f4ea; color: #176c39; }
.src-tag.off { background: #eef2f7; color: var(--subtle); }
.src-row a { color: var(--accent); text-decoration: underline; }
.src-cite { color: var(--muted); font-size: 12px; }
.an-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.an-card { border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; }
.an-card .l { font-size: 11px; color: var(--subtle); text-transform: uppercase; letter-spacing: .03em; }
.an-card .v { font-size: 20px; font-weight: 800; color: var(--navy); margin-top: 3px; }
.an-card .s { font-size: 11px; color: var(--muted); }
.an-mod { display: flex; align-items: center; gap: 10px; padding: 9px 0 4px; border-top: 1px solid var(--line); }
.an-mod .ck { width: 18px; height: 18px; border-radius: 50%; background: #176c39; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.an-mod .nm { font-size: 13.5px; color: var(--ink); font-weight: 600; flex: 1; }
.an-mod .pc { font-size: 12px; color: var(--muted); }
.an-bar { height: 5px; background: #e6efe9; border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.an-bar i { display: block; height: 100%; background: #176c39; }

/* Gallery slider: many LMS screens, one row tall, scroll/slide horizontally */
.gallery { position: relative; margin-top: 28px; }
.gal-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: thin; }
.gal-track::-webkit-scrollbar { height: 8px; }
.gal-track::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.gal-item { flex: 0 0 420px; max-width: 420px; scroll-snap-align: start; display: flex; }
.gal-item .lpanel { margin: 0; max-width: none; width: 100%; display: flex; flex-direction: column; }
.gal-btn { position: absolute; top: 44%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; z-index: 3; box-shadow: 0 2px 12px rgba(8,28,64,.14); }
.gal-btn:hover { background: #f4f7fb; }
.gal-btn:disabled { opacity: .3; cursor: default; }
.gal-prev { left: -10px; }
.gal-next { right: -10px; }
.gal-dots { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 8px; }
.gal-dot { flex: none; width: 24px; height: 24px; border: none; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gal-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.gal-dot[aria-current="true"]::before { background: var(--navy); }

/* Knowledge check + scenario panels */
.kc-lab { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.kc-q { font-size: 14.5px; color: var(--ink); font-weight: 600; margin-bottom: 14px; line-height: 1.4; }
.kc-opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; margin-bottom: 8px; font-size: 13.5px; color: var(--ink); }
.kc-radio { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; }
.kc-submit { display: inline-block; margin-top: 6px; background: #5b6675; color: #fff; font-weight: 700; font-size: 13px; padding: 8px 15px; border-radius: 7px; }
.sc-q { font-size: 14px; color: var(--ink); margin-bottom: 12px; line-height: 1.45; }
.sc-ta { border: 1px solid var(--line); border-radius: 8px; padding: 12px; color: var(--subtle); font-size: 13px; min-height: 78px; margin-bottom: 10px; }

/* Matching panel */
.mt-h { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.mt-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mt-p { flex: 0 0 92px; font-weight: 700; color: var(--navy); font-size: 13px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: #f6f8fb; }
.mt-arrow { color: var(--subtle); }
.mt-drop { flex: 1; font-size: 13px; color: var(--ink); border: 1px dashed #9fb0c4; border-radius: 7px; padding: 8px 10px; }

/* Glossary + resources panels */
.gl-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.gl-title { font-size: 16px; font-weight: 800; color: var(--navy); }
.gl-count { font-size: 12px; font-weight: 700; color: var(--subtle); background: #eef2f7; padding: 2px 9px; border-radius: 5px; }
.gl-search { border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; color: var(--subtle); font-size: 13px; margin-bottom: 6px; }
.gl-row { border-top: 1px solid var(--line); padding: 10px 0; }
.gl-term { font-weight: 700; color: var(--accent); font-size: 13.5px; }
.gl-def { color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.45; }
.rs-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 11px 0; }
.rs-txt { flex: 1; }
.rs-t { display: block; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.rs-d { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.rs-badge { font-size: 11px; font-weight: 700; color: var(--subtle); background: #eef2f7; padding: 3px 10px; border-radius: 5px; }

/* Course home panel */
.hp-title { font-size: 16px; font-weight: 800; color: var(--navy); }
.hp-code { font-size: 12px; color: var(--subtle); margin-bottom: 12px; }
.hp-navwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.hp-nav { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 7px; padding: 8px 11px; font-size: 13px; color: var(--ink); font-weight: 600; }
.hp-ct { font-size: 11px; font-weight: 700; color: var(--subtle); background: #eef2f7; padding: 1px 7px; border-radius: 999px; }
.hp-plab { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }

/* Content-table panel */
.tb { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 4px; }
.tb th { background: var(--navy); color: #fff; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; padding: 8px 11px; }
.tb td { border-top: 1px solid var(--line); padding: 9px 11px; vertical-align: top; color: var(--ink); }
.tb .tb-k { font-weight: 800; color: var(--navy); width: 66px; }
.tb .tb-v { color: var(--muted); }

/* Numbered-steps panel */
.st-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.st-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.st-t { display: block; font-weight: 700; color: var(--ink); font-size: 14px; }
.st-d { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }

/* In-slide glossary panel */
.gc-head { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.gc-li { font-size: 13.5px; color: var(--ink); margin: 7px 0; padding-left: 16px; position: relative; }
.gc-li::before { content: "•"; position: absolute; left: 0; color: var(--subtle); }
.gc-term { color: var(--accent); border-bottom: 1px dashed var(--accent); }
.gc-card { margin-top: 14px; border: 1px solid #d6b34e; background: #fdf6e3; border-radius: 8px; padding: 11px 13px; }
.gc-ct { font-weight: 800; color: var(--navy); font-size: 13.5px; }
.gc-cd { color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.45; }

/* Ladder */
.ladder { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rung { border: 1px solid var(--line); border-radius: 6px; padding: 18px; background: #fff; }
.rung-tier { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.rung-name { font-size: 18px; font-weight: 750; color: var(--navy); margin: 2px 0 8px; }
.rung p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Credibility */
.cred { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 86ch; }
.cred li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink); }
.cred li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--gold); }

/* CTA */
.cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0; scroll-margin-top: 70px; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; max-width: 20ch; }
.cta p { color: rgba(255,255,255,.85); font-size: 16px; margin: 14px 0 0; max-width: 60ch; }
.cta-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 24px; }
.cta-contact { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.7; }
.cta-contact a { color: #fff; text-decoration: underline; }
.cta-login { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: rgba(255,255,255,.82); }
.cta-login a { color: #fff; text-decoration: underline; }
.cta-dl { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: #fff; font-size: 13.5px; font-weight: 700; border: 1px solid rgba(255,255,255,.42); border-radius: 4px; padding: 9px 14px; text-decoration: none; }
.cta-dl:hover { background: rgba(255,255,255,.08); text-decoration: none; }

/* Footer */
.ft { background: #06152b; color: rgba(255,255,255,.6); padding: 28px 0; font-size: 12.5px; }
.ft p { margin: 0; }
.ft-note { margin-top: 6px; color: rgba(255,255,255,.62); }

/* Responsive */
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
  .areas, .ladder, .cta-inner, .shots { grid-template-columns: 1fr; }
  .an-stats { grid-template-columns: 1fr 1fr; }
  .gal-item { flex-basis: 84vw; max-width: 84vw; }
  .gal-prev { left: 0; } .gal-next { right: 0; }
  .bullets, .cred { grid-template-columns: 1fr; }
  .nav-links { display: none; width: 100%; flex-direction: column; order: 3; }
  .nav.open .nav-links { display: flex; }
  .nav-cta { display: none; }
  .nav.open .nav-cta { display: inline-flex; order: 4; }
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; }
  .hero { padding: 64px 0 56px; }
}
