/* RDX Academy — course landing pages shared stylesheet
   Palette + tokens lifted from launch/course-access-hub.html (RDX dark SOC theme). */

:root {
  --bg: #090c14;
  --surface: #0d111c;
  --panel: #121826;
  --raised: #1a2134;
  --elevated: #212a44;
  --border: #20283b;
  --border-2: #2c3650;

  --ink: #eef1fa;
  --ink-2: #c2cadf;
  --muted: #828ca8;
  --faint: #586079;

  --accent: #5b8cff;
  --accent-strong: #6f9bff;
  --accent-soft: rgba(91, 140, 255, .12);
  --accent-line: rgba(91, 140, 255, .40);

  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, .12);

  --ok: #34d39a;
  --ok-soft: rgba(52, 211, 154, .12);
  --ok-line: rgba(52, 211, 154, .34);

  --warn: #f3b13d;
  --warn-soft: rgba(243, 177, 61, .13);

  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  --r: 11px;
  --r-lg: 14px;
  --r-xl: 18px;
  --pill: 999px;

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-2); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 12, 20, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline, #1a2030);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.topbar nav a { color: var(--ink-2); margin-left: 22px; font-size: .92rem; font-weight: 600; }
.topbar nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .topbar nav { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--pill);
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #06101f; box-shadow: 0 8px 26px rgba(91, 140, 255, .35); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent-line); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.eyebrow { color: var(--accent-strong); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.kicker { color: var(--cyan); font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(91, 140, 255, .16), transparent 60%),
    radial-gradient(760px 420px at 8% 0%, rgba(34, 211, 238, .10), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 84px 0 72px;
}
.hero h1 { max-width: 18ch; }
.hero .lead { font-size: 1.28rem; max-width: 62ch; margin-bottom: 28px; }
.trust { margin-top: 26px; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.trust b { color: var(--ink); }
.trust span { position: relative; }
.trust span:not(:last-child)::after { content: "·"; color: var(--faint); margin-left: 16px; }

/* ---------- Problem ---------- */
.band-light { background: linear-gradient(180deg, #0d111c, #0b0f18); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-light p { color: var(--ink-2); max-width: 64ch; }
.band-light strong { color: var(--ink); }

/* ---------- Promise ---------- */
.promise { background: linear-gradient(135deg, rgba(91,140,255,.14), rgba(34,211,238,.08)); border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); }
.promise blockquote { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--ink); max-width: 62ch; line-height: 1.4; }
.promise blockquote span { color: var(--accent-strong); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }

.outcomes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .outcomes { grid-template-columns: 1fr; } }
.outcomes li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 16px 16px 44px; position: relative; color: var(--ink-2); font-size: .98rem; }
.outcomes li::before { content: "✓"; position: absolute; left: 14px; top: 15px; color: var(--ok); font-weight: 800; }
.outcomes li b { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps .card { padding-top: 52px; position: relative; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 22px; width: 30px; height: 30px; border-radius: var(--pill); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-strong); font-weight: 800; display: grid; place-items: center; }

/* ---------- Modules ---------- */
.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.modules li { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 18px; }
.modules .num { font-family: var(--mono); color: var(--accent-strong); font-weight: 700; min-width: 26px; }
.modules .mtitle { color: var(--ink); font-weight: 700; }
.modules .mdesc { color: var(--muted); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--pill); margin-left: 8px; vertical-align: middle; }
.tag-cyan { background: var(--cyan-soft); color: var(--cyan); border: 1px solid rgba(34,211,238,.34); }
.tag-warn { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(243,177,61,.34); }

/* ---------- Who / two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.two-col li { margin-bottom: .5rem; }

/* ---------- Credential ---------- */
.cred { display: flex; gap: 22px; align-items: center; background: var(--panel); border: 1px solid var(--accent-line); border-radius: var(--r-xl); padding: 28px; }
.cred .badge { flex: 0 0 auto; width: 92px; height: 92px; border-radius: var(--pill); display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent), var(--raised); border: 1px solid var(--accent-line); color: var(--accent-strong); font-family: var(--mono); font-weight: 800; font-size: 1.3rem; }
@media (max-width: 620px) { .cred { flex-direction: column; text-align: center; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), 0 18px 40px rgba(91,140,255,.14); }
.price .plan { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.price .amt { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 6px 0 14px; }
.price ul { list-style: none; margin: 0 0 18px; padding: 0; color: var(--ink-2); font-size: .95rem; }
.price li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.price .btn { margin-top: auto; }
.beta { margin-top: 18px; text-align: center; color: var(--cyan); background: var(--cyan-soft); border: 1px solid rgba(34,211,238,.3); border-radius: var(--r); padding: 12px 16px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.final { background: radial-gradient(900px 400px at 50% -20%, rgba(91,140,255,.18), transparent 60%), var(--surface); border-top: 1px solid var(--border); text-align: center; }
.final h2 { max-width: 22ch; margin-inline: auto; }
.final .micro { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* ---------- Footer ---------- */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer a { color: var(--ink-2); }

/* ---------- Dual-path selector ---------- */
.pathgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
@media (max-width: 860px) { .pathgrid { grid-template-columns: 1fr; } }
.path { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; }
.path.team { border-color: rgba(34,211,238,.34); background: linear-gradient(180deg, rgba(34,211,238,.06), transparent), var(--panel); }
.path .ptag { align-self: flex-start; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--pill); padding: 4px 12px; margin-bottom: 14px; }
.path.ind .ptag { color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.path.team .ptag { color: var(--cyan); background: var(--cyan-soft); border: 1px solid rgba(34,211,238,.34); }
.path h3 { font-size: 1.3rem; margin-bottom: 6px; }
.path .psub { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.path ul { margin: 0 0 20px; padding-left: 1.1rem; color: var(--ink-2); font-size: .96rem; }
.path li { margin-bottom: .45rem; }
.path .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Business band + chips ---------- */
.band-biz { background: linear-gradient(180deg, rgba(34,211,238,.07), rgba(34,211,238,.02)), var(--surface); border-top: 1px solid rgba(34,211,238,.28); border-bottom: 1px solid rgba(34,211,238,.28); }
.band-biz .kicker { color: var(--cyan); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: var(--raised); border: 1px solid var(--border-2); border-radius: var(--pill); padding: 8px 16px; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.chip.cyan { border-color: rgba(34,211,238,.34); color: var(--cyan); background: var(--cyan-soft); }
.outcomes.pkg li::before { color: var(--cyan); }

/* ---------- Founder ---------- */
.founder { display: flex; gap: 22px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: 28px; }
.founder .fbadge { flex: 0 0 auto; width: 76px; height: 76px; border-radius: var(--pill); display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent), var(--raised); border: 1px solid var(--accent-line); color: var(--accent-strong); font-family: var(--mono); font-weight: 800; font-size: 1.25rem; }
.founder p:last-child { margin-bottom: 0; }
@media (max-width: 620px) { .founder { flex-direction: column; } }

/* ---------- Business CTA ---------- */
.biz-cta { background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(91,140,255,.08)); border: 1px solid rgba(34,211,238,.34); border-radius: var(--r-xl); padding: 36px; text-align: center; }
.biz-cta h2 { margin-bottom: .4em; }
.biz-cta p { max-width: 60ch; margin-inline: auto; }
.biz-cta .btn-row { justify-content: center; margin-top: 22px; }
.biz-cta .micro { color: var(--muted); font-size: .88rem; margin: 16px 0 0; }

/* ---------- Forms (B2B lead capture) ---------- */
.form { max-width: 760px; margin-top: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--r);
  color: var(--ink); font: inherit; font-size: 1rem; padding: 12px 14px; width: 100%; color-scheme: dark;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { color: var(--muted); font-size: .9rem; margin-top: 16px; }
.formerr { background: var(--warn-soft); border: 1px solid rgba(243,177,61,.4); color: var(--warn); border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }

/* ---------- Confirmation (thank-you) ---------- */
.confirm { text-align: center; max-width: 60ch; margin: 0 auto; }
.confirm .check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: var(--pill); display: grid; place-items: center; background: var(--ok-soft); border: 1px solid var(--ok-line); color: var(--ok); font-size: 2.4rem; }
.confirm .next { text-align: left; display: inline-block; margin: 18px auto 0; color: var(--ink-2); }

/* ===================== Federal capabilities page ===================== */
:root { --gold: #F2B705; --gold-soft: rgba(242,183,5,.12); --gold-line: rgba(242,183,5,.40); }

.hero.gov { background:
    radial-gradient(1100px 520px at 82% -10%, rgba(242,183,5,.10), transparent 60%),
    radial-gradient(820px 460px at 6% 0%, rgba(34,211,238,.10), transparent 55%),
    var(--bg); }
.hero.gov .eyebrow { color: var(--gold); }
.ribbon { display:flex; flex-wrap:wrap; gap:8px 10px; margin-top:24px; }
.ribbon .rtag { font-family: var(--mono); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase;
  border:1px solid var(--border-2); border-radius: var(--pill); padding:6px 13px; color: var(--ink-2); }
.ribbon .rtag.on { border-color: var(--ok-line); color: var(--ok); background: var(--ok-soft); }
.ribbon .rtag.pend { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); }

.snapshot { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; margin-top:8px; }
@media (max-width:860px){ .snapshot { grid-template-columns: 1fr 1fr; } }
@media (max-width:520px){ .snapshot { grid-template-columns: 1fr; } }
.snap { background: var(--panel); border:1px solid var(--border); border-radius: var(--r); padding:14px 16px; }
.snap .k { color: var(--muted); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; font-family:var(--mono); }
.snap .v { color: var(--ink); font-weight:700; margin-top:4px; }
.snap .v small { color: var(--cyan); font-weight:700; }
.snap .v .ph { color: var(--gold); font-weight:700; }

.capgrid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
@media (max-width:980px){ .capgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .capgrid { grid-template-columns: 1fr; } }
.cap { background: var(--panel); border:1px solid var(--border); border-radius: var(--r-lg); padding:20px; }
.cap .ct { color: var(--cyan); font-family: var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; }
.cap h3 { font-size:1.05rem; margin:8px 0 6px; }
.cap p { margin:0; color: var(--ink-2); font-size:.93rem; }

.align { columns:2; column-gap:28px; list-style:none; margin:14px 0 0; padding:0; }
@media (max-width:680px){ .align { columns:1; } }
.align li { break-inside:avoid; padding:7px 0 7px 26px; position:relative; color:var(--ink-2); }
.align li::before { content:"▸"; position:absolute; left:4px; top:7px; color:var(--gold); font-weight:800; }

.band-gov { background: linear-gradient(180deg, rgba(242,183,5,.06), rgba(242,183,5,.015)), var(--surface);
  border-top:1px solid var(--gold-line); border-bottom:1px solid var(--gold-line); }
.band-gov .kicker { color: var(--gold); }

/* NAICS code groups */
.naicsgrid { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:8px; }
@media (max-width:900px){ .naicsgrid { grid-template-columns: 1fr; } }
.ngrp { background: var(--panel); border:1px solid var(--border); border-radius: var(--r-lg); padding:20px 22px; }
.ngrp > h3 { font-family: var(--mono); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--cyan); margin-bottom:12px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.ncode { display:flex; gap:12px; padding:9px 0; border-bottom:1px solid var(--border); align-items:baseline; }
.ncode:last-child { border-bottom:0; }
.ncode .num { font-family: var(--mono); color: var(--accent-strong); font-weight:700; min-width:54px; }
.ncode .d { color: var(--ink-2); font-size:.9rem; }
.ncode .d b { color: var(--ink); font-weight:600; }
.ncode .prime { display:inline-block; font-family:var(--mono); font-size:.6rem; letter-spacing:.08em; color:#06101f; background: var(--accent-strong); border-radius:4px; padding:1px 6px; margin-left:6px; vertical-align:middle; font-weight:800; }

/* ---------- Index (course chooser) ---------- */
.course-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 860px) { .course-cards { grid-template-columns: 1fr; } }
.course-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease; }
.course-card:hover { border-color: var(--accent-line); transform: translateY(-2px); text-decoration: none; }
.course-card .cred-pill { align-self: flex-start; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--accent-strong); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--pill); padding: 4px 12px; margin-bottom: 16px; }
.course-card h3 { font-size: 1.35rem; color: var(--ink); }
.course-card p { color: var(--ink-2); flex: 1; }
.course-card .go { color: var(--accent-strong); font-weight: 700; margin-top: 10px; }
