
/* Self-hosted fonts (latin subset, variable where available) — no third-party
   font requests, faster first paint, no IP transfer to Google. */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/lexend-var.woff2') format('woff2'); }
@font-face { font-family: 'Teko'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/teko-var.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/spacemono-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/spacemono-700.woff2') format('woff2'); }

:root {
  /* Technical field-notebook identity: blueprint ink, signal green, warm alert. */
  --ink: #10272E; --ink-soft: #34515A;
  --cream: #F3F7F8; --paper: #FFFFFF;
  --orange: #F0A33A; --flame: #D84A5B; --coral: #D84A5B;
  --teal: #12B886; --yellow: #FFD166; --deep: #062D3A; --mint: #DFF7F0;
  --bg: var(--cream); --card: var(--paper);
  --text: #38525A; --muted: #647980; --gray: #647980;
  --border: rgba(16,39,46,.18); --shadow: rgba(16,39,46,.12);
  --edge: var(--ink);            /* card borders + offset shadows */
  --heading: var(--ink);
  --accent: var(--flame);
  /* legacy aliases so every existing rule keeps working */
  --blue: var(--orange); --blue-dk: var(--flame);
  --dark: var(--ink); --light: #FFFFFF;
}
[data-theme="dark"] {
  --bg: #101D22; --card: #17272D; --paper: #14242A; --light: #17272D;
  --text: #dfe5e9; --muted: #9fb0ba; --gray: #9fb0ba;
  --border: rgba(255,251,238,.16); --shadow: rgba(0,0,0,.45);
  --edge: #0a0f14; --heading: #eef2f5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: 'Lexend', system-ui, sans-serif; color: var(--text); line-height: 1.65; background: var(--bg); }
img { max-width: 100%; }
a { color: var(--flame); }
h1, h2, h3, h4, .logo, .stat b, .price, .path-role {
  font-family: 'Teko', 'Arial Narrow', sans-serif;
  text-transform: uppercase; font-weight: 600; line-height: 1.02; letter-spacing: .012em;
  color: var(--heading);
}
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 4px; }

/* Skip link — visually hidden until keyboard-focused */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--yellow); color: var(--ink); padding: 10px 18px; border-radius: 0 0 12px 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }

/* NAV — compact technical wordmark and a persistent route to the diagnostic. */
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; text-transform: none; }
.logo-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; background: var(--ink); color: var(--yellow); border: 2px solid var(--edge); border-radius: 9px; font-family: 'Space Mono', monospace; font-size: .68rem; font-weight: 700; letter-spacing: -.04em; }
.logo-name { max-width: 150px; font-family: 'Lexend', sans-serif; font-size: .72rem; font-weight: 600; line-height: 1.08; letter-spacing: -.015em; color: var(--heading); }
.logo-name strong { display: block; color: var(--flame); font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--flame); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-family: 'Space Mono', monospace; font-size: .72rem; font-weight: 700; color: var(--heading); text-decoration: none; border: 2px solid var(--edge); border-radius: 999px; padding: 4px 10px; transition: background .2s; }
.lang-switch:hover { background: var(--yellow); color: var(--ink); }
.theme-toggle { background: none; border: 2px solid var(--edge); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 1rem; transition: border-color .2s, transform .2s; color: inherit; }
.theme-toggle:hover { border-color: var(--orange); transform: rotate(15deg); }
.menu-btn { display: none; background: none; border: 2px solid var(--edge); border-radius: 10px; color: var(--heading); font-size: 1.3rem; cursor: pointer; padding: 2px 10px; }

/* BUTTONS — pills, ink edge, offset shadow on hover */
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-family: 'Lexend', sans-serif; border: 2px solid var(--edge); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn-sm { padding: 8px 20px; }
.btn-block { width: 100%; margin-top: 18px; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--edge); }
.btn-outline { border: 2px solid var(--edge); color: var(--heading); background: transparent; }
.btn-outline:hover { background: var(--yellow); color: var(--ink); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--edge); }
.btn-outline-light { border: 2px solid var(--cream); color: var(--cream); background: transparent; }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--teal); }
.btn-light { background: var(--yellow); color: var(--ink); }
.btn-light:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(0,0,0,.35); }

/* HERO BANDS — ink, cream type, playful blobs */
.hero, .page-hero, .course-hero { background: var(--ink); color: var(--cream); text-align: center; padding: 88px 6% 78px; position: relative; overflow: hidden; }
.hero::after, .page-hero::after, .course-hero::after {
  content: ""; position: absolute; right: -130px; top: -150px; width: 360px; height: 360px;
  border-radius: 50%; background: rgba(10,195,167,.16); pointer-events: none;
}
.hero::before, .page-hero::before, .course-hero::before {
  content: ""; position: absolute; left: -90px; bottom: -120px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,180,0,.14); pointer-events: none;
}
.hero h1, .page-hero h1, .course-hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); margin-bottom: 14px; color: var(--cream); }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero p, .page-hero p { max-width: 720px; margin: 0 auto 30px; color: rgba(255,251,238,.82); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.jump-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; position: relative; }
.jump-row a { font-family: 'Space Mono', monospace; font-size: .78rem; letter-spacing: .04em; color: var(--cream); text-decoration: none; border: 2px solid rgba(255,251,238,.45); padding: 6px 16px; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.jump-row a:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* NEW HOME — the signature element is a request trace from contract to ops. */
.home-hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(44px, 7vw, 110px); align-items: center; padding: clamp(72px, 9vw, 120px) max(6%, calc((100vw - 1280px)/2)); color: var(--cream); background-color: var(--deep); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; position: relative; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -240px; top: -210px; border: 80px solid rgba(18,184,134,.1); border-radius: 50%; pointer-events: none; }
.home-hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { font-family: 'Space Mono', monospace; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #9ed8c7; margin-bottom: 22px; }
.eyebrow > span { width: 28px; height: 2px; background: var(--teal); }
.home-hero h1 { max-width: 760px; color: #fff; font-size: clamp(3.7rem, 7.2vw, 6.8rem); line-height: .86; margin-bottom: 26px; }
.home-hero h1 em { display: block; color: var(--yellow); font-style: normal; }
.home-lede { max-width: 680px; color: rgba(243,247,248,.78); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.75; }
.home-actions { justify-content: flex-start; margin-top: 30px; }
.hero-note { margin-top: 18px; color: rgba(243,247,248,.56); font-family: 'Space Mono', monospace; font-size: .66rem; letter-spacing: .04em; }
.trace-panel { position: relative; z-index: 1; border: 1px solid rgba(223,247,240,.26); border-radius: 18px; background: rgba(7,35,43,.82); box-shadow: 18px 18px 0 rgba(18,184,134,.12); overflow: hidden; }
.trace-head, .trace-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; font-family: 'Space Mono', monospace; font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,247,248,.58); }
.trace-head { border-bottom: 1px solid rgba(223,247,240,.16); }
.trace-status { display: inline-flex; align-items: center; gap: 7px; color: #9ee7cd; }
.trace-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(18,184,134,.13); }
.trace-body { padding: 25px 24px 15px; }
.trace-node { min-height: 82px; display: grid; grid-template-columns: 28px 18px 1fr; gap: 13px; align-items: start; position: relative; }
.trace-key { color: rgba(243,247,248,.38); font-family: 'Space Mono', monospace; font-size: .62rem; padding-top: 3px; }
.trace-dot { width: 13px; height: 13px; margin-top: 3px; border: 3px solid var(--deep); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); position: relative; z-index: 2; }
.trace-node:nth-child(2) .trace-dot { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.trace-node:nth-child(3) .trace-dot { background: var(--flame); box-shadow: 0 0 0 2px var(--flame); }
.trace-node:nth-child(4) .trace-dot { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.trace-node b { display: block; color: #fff; font-family: 'Space Mono', monospace; font-size: .86rem; }
.trace-node small { display: block; margin-top: 3px; color: rgba(243,247,248,.55); font-family: 'Space Mono', monospace; font-size: .65rem; }
.trace-line { position: absolute; left: 49px; top: 22px; width: 1px; height: 53px; background: repeating-linear-gradient(to bottom, rgba(223,247,240,.35), rgba(223,247,240,.35) 3px, transparent 3px, transparent 7px); }
.trace-foot { justify-content: start; border-top: 1px solid rgba(223,247,240,.16); }
.trace-foot b { color: #dff7f0; margin-right: auto; font-size: .62rem; }
.proof-strip { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-inline: 1px solid var(--border); }
.proof-strip > div { min-height: 102px; display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 26px 18px; border-right: 1px solid var(--border); background: var(--card); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip b { color: var(--heading); font-family: 'Teko', sans-serif; font-size: 2.5rem; line-height: 1; }
.proof-strip span { max-width: 130px; color: var(--muted); font-family: 'Space Mono', monospace; font-size: .62rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.home-section { max-width: 1280px; padding-top: 92px; padding-bottom: 92px; }
.section-intro { max-width: 780px; margin-bottom: 42px; }
.section-intro .section-kicker { color: var(--flame); margin-bottom: 11px; }
.section-intro h2 { text-align: left; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: .92; margin: 0 0 14px; }
.section-intro > p:last-child { max-width: 690px; color: var(--muted); }
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--edge); border-radius: 18px; overflow: hidden; background: var(--card); }
.intent-card { min-height: 300px; display: flex; flex-direction: column; padding: 27px 24px; border-right: 1px solid var(--border); }
.intent-card:last-child { border-right: 0; }
.intent-card:hover { background: var(--mint); }
.intent-tag { align-self: flex-start; color: var(--flame); font-family: 'Space Mono', monospace; font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intent-card h3 { margin: 32px 0 12px; font-size: 2rem; }
.intent-card p { color: var(--muted); font-size: .9rem; }
.intent-link { margin-top: auto; padding-top: 20px; color: var(--heading); font-weight: 700; font-size: .82rem; text-decoration: none; }
.intent-link:hover { color: var(--flame); }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--edge); }
.offer-card { min-height: 280px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.offer-card:nth-child(2n) { border-right: 0; }
.offer-topline { display: flex; justify-content: space-between; gap: 14px; color: var(--flame); font-family: 'Space Mono', monospace; font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.offer-topline span:last-child { color: var(--muted); }
.offer-card h3 { max-width: 480px; margin: 34px 0 12px; font-size: 2.45rem; }
.offer-card p { max-width: 560px; color: var(--muted); font-size: .92rem; }
.offer-card .view-link { margin-top: auto; padding-top: 24px; }
.cert-section { position: relative; }
.cert-routes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert-route { min-height: 210px; display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 26px; border: 2px solid var(--edge); border-radius: 16px; background: var(--card); }
.cert-code { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: 'Space Mono', monospace; font-size: .66rem; font-weight: 700; text-align: center; }
.cert-route h3 { margin: 4px 0 10px; font-size: 2rem; }
.cert-route p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.cert-bootcamp-note { margin-top: 18px; display: grid; grid-template-columns: 160px 1fr auto; gap: 22px; align-items: center; padding: 20px 24px; border: 1px dashed var(--edge); border-radius: 14px; }
.cert-bootcamp-note > span { color: var(--flame); font-family: 'Space Mono', monospace; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cert-bootcamp-note p { color: var(--muted); font-size: .84rem; }
.cert-bootcamp-note a { color: var(--heading); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.method-band { background: var(--deep); color: rgba(243,247,248,.75); }
.section-intro-light h2 { color: #fff; }
.section-intro-light > p:last-child { color: rgba(243,247,248,.62); }
.section-intro-light .section-kicker { color: #8ee2c6; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.method-card { min-height: 250px; padding: 28px; background: var(--deep); }
.method-card > span { color: #8ee2c6; font-family: 'Space Mono', monospace; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.method-card h3 { margin: 42px 0 12px; color: #fff; font-size: 2.2rem; }
.method-card p { color: rgba(243,247,248,.6); font-size: .9rem; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.diagnostic-card { display: flex; flex-direction: column; padding: 30px; border: 2px solid var(--edge); border-radius: 18px; background: var(--card); box-shadow: 7px 7px 0 var(--mint); }
.diagnostic-card:nth-child(2) { box-shadow-color: var(--yellow); }
.diagnostic-card h3 { margin: 30px 0 12px; font-size: 2.4rem; }
.diagnostic-card > p { color: var(--muted); font-size: .92rem; }
.diagnostic-card ul { list-style: none; margin: 20px 0 28px; }
.diagnostic-card li { padding: 8px 0; border-bottom: 1px dashed var(--border); color: var(--text); font-size: .86rem; }
.diagnostic-card li::before { content: "→ "; color: var(--teal); font-weight: 700; }
.diagnostic-card .btn { align-self: flex-start; margin-top: auto; }
.roadmap-note { margin-top: 22px; padding: 18px 22px; border-left: 4px solid var(--orange); background: color-mix(in srgb, var(--yellow) 17%, var(--card)); color: var(--muted); font-size: .84rem; }
.roadmap-note span { display: block; margin-bottom: 5px; color: var(--heading); font-family: 'Space Mono', monospace; font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.home-cta .section-kicker { color: #8ee2c6; }

@media (max-width: 1080px) {
  .home-hero { grid-template-columns: 1fr; }
  .trace-panel { max-width: 650px; }
  .intent-grid { grid-template-columns: repeat(2, 1fr); }
  .intent-card { border-bottom: 1px solid var(--border); }
  .intent-card:nth-child(2) { border-right: 0; }
  .intent-card:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 760px) {
  .home-hero { min-height: auto; grid-template-columns: minmax(0,1fr); padding-top: 64px; padding-bottom: 70px; }
  .home-hero h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .trace-panel { width: 100%; box-shadow: 10px 10px 0 rgba(18,184,134,.12); }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .home-section { padding-top: 68px; padding-bottom: 68px; }
  .intent-grid, .offer-grid, .cert-routes, .method-grid, .diagnostic-grid { grid-template-columns: 1fr; }
  .intent-card { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--border) !important; }
  .intent-card:last-child { border-bottom: 0 !important; }
  .offer-card { border-right: 0; }
  .cert-route { grid-template-columns: 58px 1fr; gap: 14px; }
  .cert-code { width: 50px; height: 50px; }
  .cert-bootcamp-note { grid-template-columns: 1fr; gap: 8px; }
  .method-card { min-height: 220px; }
  .logo-name { max-width: 128px; font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* STATS — dark band, colored Teko figures */
.stats { display: flex; justify-content: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; padding: 40px 6%; background: var(--ink); border-top: 1px solid rgba(255,251,238,.14); }
.stat { text-align: center; }
/* Default cream so any stat beyond the four themed ones stays visible on ink */
.stat b { font-size: 3.2rem; display: block; line-height: .9; color: var(--cream); }
.stat:nth-child(1) b { color: var(--yellow); }
.stat:nth-child(2) b { color: var(--teal); }
.stat:nth-child(3) b { color: var(--orange); }
.stat:nth-child(4) b { color: var(--coral); }
.stat:nth-child(5) b { color: var(--mint); }
.stat span { font-family: 'Space Mono', monospace; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,251,238,.75); }

/* SECTIONS */
.section { padding: 76px 6%; max-width: 1200px; margin: 0 auto; }
.section-alt { width: 100%; max-width: none; background: var(--paper); border-block: 1px solid var(--border); }
.section-alt > *, .section-alt .grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-alt { padding-left: 6%; padding-right: 6%; }
.section h2 { text-align: center; font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.sub { text-align: center; color: var(--muted); margin-bottom: 44px; }

/* GRIDS */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* CARDS — paper, 2px ink edge, offset color shadow on hover */
.track-card, .course-card, .format-card, .path-card, .plan, .side-box, .course-main, .enroll-form {
  background: var(--card); border: 2px solid var(--edge); border-radius: 20px;
}
.track-card { padding: 28px; transition: transform .2s, box-shadow .2s; }
.track-card:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--orange); }
.track-card .icon { font-size: 2rem; }
.track-card h3 { font-size: 2rem; margin: 10px 0 8px; }
.track-card ul { list-style: none; margin-top: 8px; }
.track-card li { padding: 5px 0; color: var(--muted); font-size: .93rem; }
.track-card li::before { content: "✓ "; color: var(--teal); font-weight: 800; }
.track-card li.more::before { content: ""; }
.badge { display: inline-block; background: var(--yellow); color: var(--ink); font-family: 'Space Mono', monospace; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-top: 14px; border: 2px solid var(--edge); }
[data-theme="dark"] .badge { background: var(--yellow); color: var(--ink); }

/* COURSE CARDS */
.course-card { padding: 26px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--orange); }
.grid .course-card:nth-child(3n+2):hover { box-shadow: 8px 8px 0 var(--teal); }
.grid .course-card:nth-child(3n):hover { box-shadow: 8px 8px 0 var(--yellow); }
.course-card-head { display: flex; justify-content: space-between; align-items: center; }
.course-id { font-family: 'Space Mono', monospace; font-weight: 700; color: var(--flame); font-size: .8rem; }
.dur { font-family: 'Space Mono', monospace; color: var(--flame); font-weight: 700; white-space: nowrap; font-size: .8rem; }
.course-card h3 { font-size: 1.5rem; line-height: 1.05; }
.course-card h3 a { color: inherit; text-decoration: none; }
.course-card h3 a:hover { color: var(--flame); }
.muted { color: var(--muted); font-size: .9rem; }
.center { text-align: center; margin-top: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; font-family: 'Space Mono', monospace; font-size: .72rem; color: var(--text); border: 1.5px solid var(--edge); padding: 3px 12px; border-radius: 999px; background: transparent; }
.chip-link { text-decoration: none; transition: background .2s, color .2s; }
.chip-link:hover { background: var(--orange); color: var(--ink); }
.chip-accent { background: rgba(231,62,1,.1); color: var(--flame); border-color: var(--flame); }
[data-theme="dark"] .chip-accent { background: rgba(231,62,1,.18); color: #ffb4a1; }
.chip-cert { background: var(--mint); color: var(--ink); border-color: var(--edge); }
[data-theme="dark"] .chip-cert { background: #0e3d37; color: #9df0e2; }
.view-link { color: var(--flame); font-weight: 700; text-decoration: none; font-size: .92rem; margin-top: auto; }
.view-link:hover { text-decoration: underline; }
.track-section { margin-bottom: 56px; }
.track-heading { font-size: 2.3rem; margin-bottom: 18px; border-left: 6px solid var(--orange); padding-left: 14px; }

/* PATHS */
.path-card { padding: 26px; transition: transform .2s, box-shadow .2s; }
.path-card:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--teal); }
.path-card h4 { margin-bottom: 12px; font-size: 1.6rem; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.steps li:last-child { border-bottom: none; }
.steps a { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; color: var(--muted); text-decoration: none; font-size: .93rem; }
.steps a::before { content: counter(step); background: var(--orange); color: var(--ink); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: 'Space Mono', monospace; font-size: .72rem; font-weight: 700; flex-shrink: 0; margin-right: 10px; vertical-align: middle; }
.steps a b { font-weight: 600; color: var(--text); }
.steps a:hover b { color: var(--flame); }
.step-meta { font-family: 'Space Mono', monospace; color: var(--muted); font-size: .74rem; white-space: nowrap; }
.path-more summary { cursor: pointer; list-style: none; font-family: 'Space Mono', monospace; font-size: .78rem; font-weight: 700; color: var(--flame); padding: 10px 0 2px; }
.path-more summary::-webkit-details-marker { display: none; }
.path-more summary::before { content: "▸ "; }
.path-more[open] summary::before { content: "▾ "; }
.path-more summary:hover { text-decoration: underline; }

/* FORMATS */
.format-card { text-align: center; padding: 32px 20px; transition: transform .2s, box-shadow .2s; }
.format-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -20px var(--shadow); }
.format-card .icon { font-size: 2.2rem; }
.format-card h4 { margin: 10px 0 6px; font-size: 1.7rem; }
.format-card p { font-size: .88rem; color: var(--muted); }

/* PRICING */
.pricing { align-items: stretch; }
.plan { padding: 38px 30px; text-align: center; position: relative; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--yellow); }
.plan.featured { box-shadow: 8px 8px 0 var(--orange); }
.buy-box { border-color: var(--teal); box-shadow: 6px 6px 0 var(--mint); }
.buy-price { font-family: 'Teko', sans-serif; font-size: 2.4rem; line-height: 1; color: var(--ink); margin: 6px 0 10px; }
.buy-note { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.price-box { border-color: var(--edge); }
.table-wrap { overflow-x: auto; }
.cmp-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.cmp-table th, .cmp-table td { border: 1.5px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.cmp-table tr:first-child th { background: var(--card); font-family: 'Space Mono', monospace; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.reg-row { scroll-margin-top: 90px; }
.mono-tag { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.mono-tag a { color: inherit; text-decoration: none; }
.reg-quote { border-left: 3px solid var(--orange); padding-left: 12px; font-style: italic; margin: 10px 0; }
.service-price { margin-top: 16px; font-family: 'Teko', sans-serif; font-size: 2rem; line-height: 1; }
.service-price small { display: block; margin-top: 6px; font-family: 'Space Mono', monospace; font-size: .38em; letter-spacing: .04em; opacity: .8; }
.price-rows { list-style: none; margin: 10px 0 12px; padding: 0; }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.price-rows li:last-child { border-bottom: 0; }
.price-rows span { color: var(--muted); font-size: .84rem; line-height: 1.3; }
.price-rows b { font-family: 'Teko', sans-serif; font-size: 1.6rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.price-from { font-family: 'Space Mono', monospace; font-size: .5em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-right: 2px; }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--ink); font-family: 'Space Mono', monospace; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 16px; border-radius: 999px; border: 2px solid var(--edge); white-space: nowrap; }
.plan h3 { font-size: 2rem; }
.price { font-size: 3.2rem; color: var(--orange); margin: 12px 0 2px; }
.price small { font-size: .95rem; font-weight: 400; color: var(--muted); font-family: 'Lexend', sans-serif; }
.per { font-family: 'Space Mono', monospace; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; text-align: left; margin-bottom: 26px; flex-grow: 1; }
.plan li { padding: 7px 0; font-size: .92rem; color: var(--muted); border-bottom: 1px dashed var(--border); }
.plan li::before { content: "✓ "; color: var(--teal); font-weight: 800; }
.plan li.na::before { content: "✕ "; color: var(--border); }
.plan li.na { opacity: .5; }
.self-paced-cta { margin-top: auto; }
.self-paced-interest { margin-top: 16px; padding: 18px; text-align: left; background: var(--paper); border: 2px solid var(--edge); border-radius: 14px; box-shadow: 5px 5px 0 var(--mint); }
.self-paced-interest h4 { margin: 0 0 6px; font-size: 1.25rem; }
.self-paced-interest p { margin: 0 0 14px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.self-paced-interest form { display: grid; gap: 10px; }
.self-paced-interest label { display: grid; gap: 6px; color: var(--heading); font-size: .78rem; font-weight: 700; }
.self-paced-interest .btn { margin-top: 2px; }
.self-paced-cta-compact { margin-top: 16px; }
.self-paced-cta-compact .self-paced-interest { padding: 14px; box-shadow: 4px 4px 0 var(--mint); }
[hidden] { display: none !important; }
.pricing-note { text-align: center; font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .05em; color: var(--muted); margin-top: 26px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 2px solid var(--edge); border-radius: 16px; margin-bottom: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: 6px 6px 0 var(--yellow); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--heading); padding: 16px 0; position: relative; padding-right: 34px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: 'Space Mono', monospace; font-weight: 700; font-size: 1.2rem; color: var(--flame); }
.faq-item[open] summary::after { content: "–"; }
.faq-item > p { color: var(--muted); font-size: .95rem; padding: 0 0 18px; }

/* START FREE + RESOURCES cards */
.free-card, .res-card { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; position: relative; }
.free-card:hover, .res-card:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--teal); }
.free-card .icon, .res-card .icon { font-size: 2rem; }
.free-card h3, .res-card h3 { font-size: 1.7rem; }
.free-card p, .res-card p { color: var(--muted); font-size: .93rem; }
.free-card .view-link { margin-top: auto; }
.coming-badge { position: absolute; top: -14px; right: 18px; background: var(--yellow); color: var(--ink); font-family: 'Space Mono', monospace; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--edge); }
.form-note { font-size: .78rem; margin-top: 8px; }

/* VALUE LADDER */
.ladder { align-items: stretch; }
.rung { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; margin-top: calc((3 - var(--rung)) * 14px); }
.rung:hover { transform: translate(-4px,-4px); }
.rung:nth-child(1):hover { box-shadow: 8px 8px 0 var(--teal); }
.rung:nth-child(2):hover { box-shadow: 8px 8px 0 var(--yellow); }
.rung:nth-child(3):hover { box-shadow: 8px 8px 0 var(--orange); }
.rung:nth-child(4) { box-shadow: 8px 8px 0 var(--flame); }
.rung-tag { align-self: flex-start; font-family: 'Space Mono', monospace; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--mint); color: var(--ink); border: 1.5px solid var(--edge); border-radius: 999px; padding: 3px 12px; }
[data-theme="dark"] .rung-tag { background: #0e3d37; color: #9df0e2; }
.rung h3 { font-size: 1.6rem; }
.rung p { color: var(--muted); font-size: .9rem; }
.rung-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; }
.rung-price { font-family: 'Teko', sans-serif; font-size: 1.5rem; text-transform: uppercase; color: var(--flame); }
.pricing-more { text-align: center; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.pricing-more a { font-weight: 700; text-decoration: none; }
.pricing-more a:hover { text-decoration: underline; }
@media (max-width: 900px) { .rung { margin-top: 0; } }

/* ABOUT */
.about-card { max-width: 860px; margin: 0 auto; background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 30px 34px; display: flex; gap: 26px; align-items: flex-start; box-shadow: 8px 8px 0 var(--yellow); }
.about-avatar { flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%; background: var(--ink); color: var(--yellow); border: 2px solid var(--edge); display: inline-flex; align-items: center; justify-content: center; font-family: 'Teko', sans-serif; font-size: 2.2rem; font-weight: 700; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 8px; }
.about-role { color: var(--flame); font-size: .72em; }
.about-text p { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.about-link { color: var(--flame); font-weight: 700; text-decoration: none; font-size: .92rem; }
.about-link:hover { text-decoration: underline; }
.about-links { display: flex; gap: 18px; flex-wrap: wrap; }
.about-compact { padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 640px) { .about-card { flex-direction: column; align-items: center; text-align: center; } }

/* QUIZ */
.quiz-section { max-width: 760px; }
.quiz-box { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 34px; box-shadow: 8px 8px 0 var(--teal); }
.quiz-progress { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 999px; transition: width .25s ease; }
.quiz-step { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.quiz-q { font-size: 1.9rem; margin-bottom: 18px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.quiz-opt { text-align: left; font-family: 'Lexend', sans-serif; font-size: .98rem; padding: 13px 18px; background: var(--bg); color: var(--text); border: 2px solid var(--edge); border-radius: 14px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.quiz-opt:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--orange); }
.quiz-opt.sel { background: var(--yellow); color: var(--ink); font-weight: 600; }
.quiz-result .qr-days { font-family: 'Space Mono', monospace; font-size: .8rem; color: var(--muted); margin: 4px 0 16px; }
.quiz-result h2 { font-size: 2rem; }
.quiz-result .path-card { padding: 22px; }
.qr-also { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.qr-actions { justify-content: flex-start; margin: 22px 0 26px; }
.quiz-form { max-width: none; padding: 26px; box-shadow: 6px 6px 0 var(--yellow); }
.quiz-form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.quiz-email-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.quiz-email-row input[type="email"] { flex: 1 1 220px; }
.quiz-email-row .btn { flex-shrink: 0; }

/* DEVELOPER READINESS — compact interactive lead product */
.dev-check-hero { padding-bottom: 96px; }
.check-badge { display: inline-block; width: auto; margin: 0 auto 18px !important; padding: 5px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-family: 'Space Mono', monospace; font-size: .66rem !important; letter-spacing: .08em; text-transform: uppercase; }
.developer-check { max-width: 900px; margin-top: -44px; position: relative; z-index: 2; }
.check-shell { min-height: 520px; background: var(--card); border: 2px solid var(--edge); border-radius: 22px; box-shadow: 10px 10px 0 var(--teal); overflow: hidden; }
.check-start { min-height: 520px; display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-content: center; padding: clamp(32px, 7vw, 72px); }
.check-start h2 { text-align: left; margin: 0 0 12px; font-size: clamp(2.5rem, 5vw, 4rem); }
.check-start p { max-width: 590px; color: var(--muted); }
.check-start .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
.check-question { padding: clamp(26px, 6vw, 58px); }
.check-progress { height: 7px; background: var(--border); border-radius: 999px; overflow: hidden; }
.check-progress span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .25s ease; }
.check-meta { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0 24px; color: var(--muted); font-family: 'Space Mono', monospace; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.check-meta span:last-child { color: var(--flame); font-weight: 700; }
.check-question h2 { max-width: 720px; text-align: left; font-family: 'Lexend', sans-serif; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.35; text-transform: none; }
.check-options { display: grid; gap: 10px; margin: 28px 0 20px; }
.check-option { width: 100%; padding: 14px 17px; border: 2px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: .92rem; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, background .15s; }
.check-option:hover:not(:disabled) { border-color: var(--teal); transform: translateX(3px); }
.check-option.correct { border-color: var(--teal); background: color-mix(in srgb, var(--mint) 76%, var(--card)); }
.check-option.wrong { border-color: var(--flame); background: color-mix(in srgb, var(--flame) 8%, var(--card)); }
.check-option:disabled { color: var(--text); cursor: default; opacity: .82; }
.check-feedback { margin: 20px 0; padding: 18px 20px; border-left: 4px solid var(--teal); background: var(--bg); }
.check-feedback b { display: block; margin-bottom: 4px; font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.check-feedback .is-correct { color: var(--teal); }
.check-feedback .is-wrong { color: var(--flame); }
.check-feedback p { color: var(--muted); font-size: .9rem; }
.check-result { padding: clamp(28px, 6vw, 56px); }
.result-head { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: center; margin-bottom: 38px; }
.score-ring { width: 126px; height: 126px; display: grid; place-content: center; text-align: center; border: 10px solid var(--mint); outline: 2px solid var(--edge); border-radius: 50%; background: var(--deep); color: #fff; }
.score-ring strong { font-family: 'Teko', sans-serif; font-size: 2.8rem; line-height: .9; }
.score-ring span { font-family: 'Space Mono', monospace; font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: #9ee7cd; }
.result-head h2 { text-align: left; margin: 5px 0 7px; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.result-head p:last-child { color: var(--muted); }
.check-result > h3, .study-plan h3, .check-email h3 { font-size: 1.8rem; margin-bottom: 12px; }
.domain-scores { display: grid; gap: 14px; margin-bottom: 34px; }
.domain-row > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: .82rem; }
.domain-row > div span { font-family: 'Space Mono', monospace; color: var(--muted); }
.domain-row > i { display: block; height: 9px; border-radius: 999px; background: var(--border); overflow: hidden; }
.domain-row > i span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.study-plan { padding: 25px; border: 2px solid var(--edge); border-radius: 16px; background: var(--mint); }
[data-theme="dark"] .study-plan { background: #0e3d37; }
.study-plan p { color: var(--muted); margin-bottom: 18px; }
.study-plan .hero-actions { justify-content: flex-start; }
.check-email { margin-top: 26px; padding: 25px; border: 1px dashed var(--edge); border-radius: 16px; }
.check-email > p { color: var(--muted); font-size: .88rem; }
.check-restart { display: block; margin: 24px auto 0; border: 0; background: none; color: var(--flame); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.check-restart:hover { text-decoration: underline; }
.check-disclaimer { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-family: 'Space Mono', monospace; font-size: .65rem; line-height: 1.6; text-align: center; }
@media (max-width: 620px) {
  .check-start { grid-template-columns: 1fr; }
  .check-start .btn { grid-column: 1; }
  .result-head { grid-template-columns: 1fr; }
  .score-ring { width: 108px; height: 108px; }
}

/* WAITLIST + GIFT */
.waitlist-products { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 18px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text); cursor: pointer; }
.check-row input { width: auto; accent-color: var(--flame); }
.wl-email { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--heading); }
.gift-box { max-width: 640px; margin: 0 auto; text-align: center; background: var(--mint); border: 2px solid var(--edge); border-radius: 20px; padding: 32px; box-shadow: 8px 8px 0 var(--teal); }
[data-theme="dark"] .gift-box { background: #0e3d37; }
.gift-box h2 { font-size: 1.9rem; margin-bottom: 8px; }
.gift-box p { color: var(--muted); margin-bottom: 18px; }
.posture { max-width: 720px; margin: 0 auto 36px; text-align: center; font-family: 'Space Mono', monospace; font-size: .8rem; color: var(--muted); }
.men-offer .icon { font-size: 2rem; }
.men-text { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

/* CHECKLIST (lead magnet, printable) */
.chk { max-width: 820px; }
.chk-card { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 28px 32px; margin-bottom: 22px; box-shadow: 6px 6px 0 var(--mint); }
.chk-card h2 { font-size: 1.9rem; margin-bottom: 12px; }
.chk-list { list-style: none; }
.chk-list li { padding: 7px 0; border-bottom: 1px dashed var(--border); }
.chk-list li:last-child { border-bottom: none; }
.chk-list label { display: flex; align-items: baseline; gap: 12px; cursor: pointer; color: var(--text); font-size: .96rem; }
.chk-list input { width: auto; accent-color: var(--teal); }
/* Scoped-service pages: dense, scannable claim lists. */
.posture-list { max-width: 820px; margin: 0 auto; list-style: none; }
.posture-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px dashed var(--border); color: var(--text); font-size: .98rem; }
.posture-list li:last-child { border-bottom: none; }
.posture-list li::before { content: "▸"; position: absolute; left: 4px; color: var(--teal); }
@media print {
  .nav, .footer, .skip-link, .hero-actions, .cookie-banner, .cta, .no-print { display: none !important; }
  .chk-hero { background: none; color: #000; padding: 0 0 20px; }
  .chk-hero h1, .chk-hero p { color: #000; }
  .chk-card { box-shadow: none; break-inside: avoid; }
  body { background: #fff; }
}
@media (max-width: 640px) { .waitlist-products { grid-template-columns: 1fr; } }

/* COURSE DETAIL PAGE */
.breadcrumb { padding: 18px 6%; font-family: 'Space Mono', monospace; font-size: .78rem; color: var(--muted); max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: var(--flame); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.course-hero .chip-row { justify-content: center; margin-bottom: 18px; position: relative; }
.course-hero h1 { max-width: 900px; margin: 0 auto 12px; position: relative; }
.course-ref { font-family: 'Space Mono', monospace; color: var(--yellow); font-size: .55em; }
.lede { color: rgba(255,251,238,.82); font-size: 1.08rem; margin-bottom: 28px; position: relative; }
.course-hero .btn, .hero .btn { position: relative; }
.course-layout { max-width: 1200px; margin: -35px auto 0; padding: 0 6% 80px; display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; position: relative; }
.course-main { padding: 34px; box-shadow: 8px 8px 0 var(--mint); }
.course-main h2, .course-side h3 { font-size: 2rem; }
.module-list, .module { list-style: none; }
.module { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.module:last-child { border-bottom: none; }
.module-num { flex-shrink: 0; background: var(--mint); color: var(--ink); border: 1.5px solid var(--edge); font-family: 'Space Mono', monospace; font-weight: 700; font-size: .72rem; padding: 4px 10px; border-radius: 999px; height: fit-content; white-space: nowrap; }
.module h4 { font-size: 1.5rem; margin-bottom: 6px; }
.topic-list { list-style: none; }
.topic-list li { padding: 4px 0 4px 20px; position: relative; font-size: .93rem; color: var(--muted); }
.topic-list li::before { content: "▸"; position: absolute; left: 2px; color: var(--orange); }
.topic-list.big li { font-size: 1rem; padding: 6px 0 6px 22px; }
.course-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.side-box { padding: 22px; }
.side-box h3 { font-size: 1.5rem; margin-bottom: 8px; }
.side-box p { color: var(--muted); font-size: .93rem; }
.side-warn { box-shadow: 6px 6px 0 var(--yellow); }
.prereq-chip { display: block; background: rgba(224,145,58,.16); color: var(--heading); font-family: 'Space Mono', monospace; font-size: .78rem; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--edge); margin-top: 8px; text-decoration: none; }
.prereq-chip:hover { text-decoration: underline; }

/* FORM */
.enroll-form { max-width: 760px; margin: 0 auto; padding: 40px; box-shadow: 8px 8px 0 var(--teal); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; color: var(--heading); gap: 6px; }
.form-grid .full { grid-column: 1 / -1; }
.hidden { position: absolute; left: -9999px; }
input, select, textarea { width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: 12px; font-size: .95rem; background: var(--card); color: var(--text); font-family: inherit; }
select { text-overflow: ellipsis; }
.form-grid label, .course-main, .course-side, .path-card, .plan, .grid > * { min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }
textarea { resize: vertical; }

/* CTA / FOOTER */
.cta { background: var(--ink); color: var(--cream); text-align: center; padding: 74px 6%; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -110px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; background: rgba(10,195,167,.18); pointer-events: none; }
.cta h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 10px; color: var(--cream); position: relative; }
.cta p { margin-bottom: 28px; opacity: .9; position: relative; }
.cta .btn { position: relative; }
.footer { background: var(--ink); color: rgba(255,251,238,.75); text-align: center; padding: 44px 6%; font-family: 'Space Mono', monospace; font-size: .8rem; border-top: 1px solid rgba(255,251,238,.14); }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: 'Lexend', sans-serif; font-size: .92rem; font-weight: 600; color: var(--cream); margin-bottom: 10px; }
.footer-brand strong { color: var(--yellow); }
.footer-brand .logo-mark { color: var(--yellow); border-color: rgba(255,255,255,.32); }
.footer-links { list-style: none; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.footer-links a { color: rgba(255,251,238,.75); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.footer-link-btn { background: none; border: none; padding: 0; cursor: pointer; font: inherit; color: rgba(255,251,238,.75); }
.footer-link-btn:hover { color: var(--yellow); }
.footer-contact { margin-bottom: 10px; }
.footer-contact a { color: var(--yellow); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { max-width: 720px; margin: 0 auto 12px; font-size: .68rem; opacity: .6; line-height: 1.6; }
.footer-copy { opacity: .7; }

/* Cookie consent banner — shown only when analytics is configured */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 560px; margin: 0 auto; background: var(--card); color: var(--text); border: 2px solid var(--edge); border-radius: 16px; box-shadow: 8px 8px 0 var(--yellow); padding: 18px 22px; }
.cookie-banner p { font-size: .88rem; margin-bottom: 12px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 900px) {
  .course-layout { grid-template-columns: 1fr; }
  .course-side { position: static; }
}
/* With 5 nav links + actions the bar overflows below ~900px, so the burger
   takes over earlier than the rest of the mobile layout. */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-right { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 18px 6%; gap: 14px; box-shadow: 0 12px 24px rgba(0,0,0,.18); border-bottom: 2px solid var(--edge); }
  .nav-right.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-links a { color: var(--heading); }
  .nav-actions { justify-content: space-between; width: 100%; }
  .steps a { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .path-row { grid-template-columns: 1fr; gap: 4px; }
  .steps a { flex-wrap: wrap; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
}

/* COURSE FACT STRIP + enriched course-page pieces */
.fact-strip { max-width: 1200px; margin: 26px auto 0; padding: 0 6%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.fact { background: var(--card); border: 2px solid var(--edge); border-radius: 14px; padding: 12px 16px; }
.fact .f-k { display: block; font-family: 'Space Mono', monospace; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact .f-v { font-family: 'Teko', sans-serif; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; color: var(--heading); }
.course-layout { margin-top: 22px; }
.outcome-callout { background: var(--mint); border: 2px solid var(--edge); border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; box-shadow: 6px 6px 0 var(--teal); }
.outcome-callout h2 { font-size: 2rem; margin-bottom: 4px; }
.outcome-callout p { margin: 0; font-size: 1.03rem; }
.case-callout { background: var(--card); border: 2px solid var(--edge); border-radius: 16px; padding: 16px 24px 18px; margin-bottom: 32px; box-shadow: 6px 6px 0 var(--orange); }
.case-callout h2 { font-size: 1.15rem; text-transform: uppercase; font-family: 'Teko', sans-serif; letter-spacing: .04em; margin-bottom: 2px; color: var(--flame); }
.case-callout p { margin: 0; font-size: .98rem; }
[data-theme="dark"] .case-callout h2 { color: #ffb4a1; }
[data-theme="dark"] .outcome-callout { background: #0e3d37; }
.module-objective { margin: 8px 0 10px; font-size: .95rem; color: var(--muted); }
.module-objective strong { color: var(--heading); font-family: 'Space Mono', monospace; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.cert-box { box-shadow: 6px 6px 0 var(--yellow); }
.cert-box p b { color: var(--heading); }
.where-box .w-row { display: flex; justify-content: space-between; gap: 8px; font-family: 'Space Mono', monospace; font-size: .74rem; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.where-box .w-row:last-child { border-bottom: none; }
.fmt-desc { display: block; font-family: 'Lexend', sans-serif; font-size: .8rem; color: var(--muted); }
.more-h { font-size: 1.9rem; margin-top: 36px; margin-bottom: 12px; }
.prog-hint { font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: .06em; text-transform: none; color: var(--flame); vertical-align: middle; margin-left: .6em; }
.prog-note { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin: -4px 0 22px; }
.meta-line { font-family: 'Space Mono', monospace; font-size: .66rem; letter-spacing: .06em; color: var(--muted); padding: 12px 2px 0; }

/* REFERENCES — official documentation cited per module */
.refs { margin-top: 36px; }
.refs h2 { font-size: 1.9rem; margin-bottom: 14px; }
.ref-group { background: var(--card); border: 2px solid var(--edge); border-radius: 16px;
  padding: 14px 20px 16px; margin-bottom: 14px; box-shadow: 6px 6px 0 var(--teal); }
.ref-group-h { font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.ref-list { list-style: none; margin: 0; padding: 0; }
.ref-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.ref-list li:last-child { border-bottom: none; }
.ref-list a { color: var(--flame); text-decoration: none; border-bottom: 1.5px solid transparent;
  overflow-wrap: anywhere; }
.ref-list a:hover, .ref-list a:focus-visible { border-bottom-color: var(--flame); }
.ref-src { flex-shrink: 0; margin-left: auto; font-family: 'Space Mono', monospace; font-size: .58rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  border: 1.5px solid var(--edge); color: var(--ink); white-space: nowrap; }
.ref-src-docs { background: var(--mint); }
.ref-src-standard { background: var(--yellow); }
.ref-src-blog { background: var(--card); }
[data-theme="dark"] .ref-group { box-shadow: 6px 6px 0 #0a5f52; }
[data-theme="dark"] .ref-src { color: var(--heading); border-color: var(--border); }
[data-theme="dark"] .ref-src-docs { background: #0e3d37; }
[data-theme="dark"] .ref-src-standard { background: #4a3a00; }
[data-theme="dark"] .ref-src-blog { background: #232e38; }
@media (max-width: 560px) {
  .ref-src { margin-left: 0; }
}
@media (max-width: 900px) {
  .fact-strip { grid-template-columns: repeat(3, 1fr); }
}
