:root {
  --night: #070C2B;
  --navy: #101A52;
  --indigo: #3A2BA3;
  --violet: #6C58F0;
  --ice: #F4F5FC;
  --white: #FFFFFF;
  --ink: #131838;
  --muted: #5B6188;
  --line: #E2E4F2;
  --tan: #E0B36C;
  --tan-soft: #F6E7CC;
  --link: #4535C9;
  --grad: linear-gradient(135deg, #070C2B 0%, #121C5C 42%, #3A2BA3 82%, #5A45DE 100%);
  --grad-soft: linear-gradient(135deg, #EEF0FF 0%, #F6F2FF 100%);
  --grad-band: linear-gradient(120deg, #2A2393 0%, #4C3BD6 55%, #7B63F5 100%);
  --head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(19, 24, 56, 0.06), 0 12px 32px -12px rgba(19, 24, 56, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ice); color: var(--ink); font: 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 30; border-radius: 8px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 800; }
.state-head h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: 1.2rem; max-width: 60ch; }
.section-lede { color: var(--muted); max-width: 62ch; font-size: 1.08rem; }
.note { color: var(--muted); font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tan); color: var(--night);
  font: 700 1rem/1 var(--body);
  padding: 16px 24px; border-radius: 999px; border: 0;
  text-decoration: none;
  box-shadow: 0 8px 22px -10px rgba(224, 179, 108, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: #EBC283; color: var(--night); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(224, 179, 108, 1); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 11px 18px; font-size: 0.95rem; }
.btn-quiet { background: var(--white); color: var(--indigo); box-shadow: inset 0 0 0 1.5px #CFCBF6; }
.btn-quiet:hover { background: var(--grad-soft); color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--violet); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--night);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.top-in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.mark { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font: 800 1.02rem/1.05 var(--head); letter-spacing: -0.01em; }
.mark:hover { color: var(--white); }
.mark-icon { width: 38px; height: 34px; flex: none; filter: drop-shadow(0 6px 14px rgba(224, 179, 108, 0.35)); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: #DCDDF5; text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 8px 14px; border-radius: 999px; transition: background 0.15s ease, color 0.15s ease; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* Gradient bands */
.hero, .head-band, .proof { background: var(--grad); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .head-band::before {
  content: ""; position: absolute; right: -10%; bottom: -40%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, rgba(124, 99, 245, 0.45), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero::after, .head-band::after {
  content: ""; position: absolute; left: -15%; top: -30%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(closest-side, rgba(56, 120, 255, 0.22), transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero a:not(.btn), .head-band a:not(.btn), .proof a { color: var(--tan-soft); }
.hero a:not(.btn):hover, .head-band a:not(.btn):hover, .proof a:hover { color: var(--white); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-in { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.hero .lede { color: #C9CCF0; }
.picker { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.0; margin-bottom: 0.4em; }
.picker span { display: block; }
.picker-select {
  font: inherit; color: var(--tan); background-color: transparent;
  border: 0; border-bottom: 4px solid var(--tan);
  padding: 0 1.1em 0.04em 0; margin-top: 0.1em; max-width: 100%;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--tan) 50%), linear-gradient(135deg, var(--tan) 50%, transparent 50%);
  background-position: calc(100% - 0.55em) 58%, calc(100% - 0.3em) 58%;
  background-size: 0.25em 0.25em; background-repeat: no-repeat;
}
.picker-select:hover { color: #F1CC8E; }
.picker-select option { color: var(--ink); background: var(--white); font-size: 1rem; }
.hero-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; font-weight: 600; }
.hero-card { position: relative; }
.hero-in > *, .state-head > *, .feature > *, .proof-in > * { min-width: 0; }
.hero-card template { display: none; }

/* Credential card */
.cred { background: var(--white); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(3, 6, 30, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.6); max-width: 460px; width: 100%; margin-left: auto; }
.cred-band { background: var(--grad-band); color: var(--white); padding: 26px 28px 22px; position: relative; overflow: hidden; }
.cred-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,0.25), transparent); }
.cred-slot { position: absolute; top: 13px; left: 50%; width: 58px; height: 9px; border-radius: 5px; background: rgba(7, 12, 43, 0.55); transform: translateX(-50%); box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); }
.cred-state { font: 800 2.1rem/1 var(--head); letter-spacing: -0.025em; margin: 14px 0 6px; }
.cred-prog { margin: 0; font-weight: 600; font-size: 0.98rem; color: #E4E1FF; }
.cred-facts { margin: 0; padding: 18px 28px 4px; }
.cred-facts div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.cred-facts div:last-child { border-bottom: 0; }
.cred-facts dt { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.cred-facts dd { margin: 2px 0 0; font-size: 0.99rem; line-height: 1.45; }
.cred-reg { padding: 0 28px; font-size: 0.86rem; color: var(--muted); margin: 0 0 16px; }
.cred > .btn { margin: 0 28px 26px; width: calc(100% - 56px); justify-content: center; }
.hero-card .cred { animation: rise 0.4s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }

/* Sections */
.band { padding: 80px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 88px; }
.split > div { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 36px 36px 30px; position: relative; overflow: hidden; }
.icon { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-band); display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 10px 24px -12px rgba(58, 43, 163, 0.9); }
.icon img { width: 30px; height: 30px; }

.proof { padding: 80px 0; }
.proof-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.proof-lead { font: 700 clamp(1.5rem, 2.8vw, 2.1rem)/1.15 var(--head); letter-spacing: -0.02em; color: var(--white); }
.proof p { color: #C9CCF0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.stats li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); padding: 20px 18px; }
.stats strong { display: block; font: 800 1.8rem/1 var(--head); color: var(--white); letter-spacing: -0.02em; margin-bottom: 6px; }
.stats span { font-size: 0.9rem; color: #C9CCF0; line-height: 1.3; display: block; }

/* Page heads */
.head-band { padding-bottom: 72px; }
.page-head { padding-top: 64px; }
.page-head .lede { color: #C9CCF0; }
.crumbs { padding-top: 26px; font-size: 0.92rem; color: #AEB2DD; }
.crumbs a { color: #D5D7F6; }
.state-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; padding-top: 20px; }
.state-head .lede { color: #C9CCF0; }

/* Prose */
.prose { padding-top: 64px; padding-bottom: 24px; }
.prose > section, .prose > .note { max-width: 820px; }
.state-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: 64px; padding-bottom: 24px; }
.state-body .prose { padding: 0; }
.state-body .prose > section { max-width: none; }
.rail { position: sticky; top: 100px; }
.rail-card { position: relative; overflow: hidden; background: var(--grad); color: var(--white); border-radius: var(--r-lg); padding: 28px 26px 26px; box-shadow: 0 30px 60px -30px rgba(7, 12, 43, 0.8); }
.rail-shape { position: absolute; right: -10px; top: -6px; width: 130px; height: 130px; background: rgba(255, 255, 255, 0.1); -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat; }
.rail-kicker { font-size: 0.86rem; font-weight: 600; color: var(--tan); margin: 0 0 6px; position: relative; }
.rail-title { font: 800 1.5rem/1.1 var(--head); letter-spacing: -0.02em; margin: 0 0 18px; position: relative; }
.rail-list { list-style: none; padding: 0; margin: 0 0 12px; position: relative; }
.rail-list a, .rail-list .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #E4E5FA; text-decoration: none; font-size: 0.95rem; line-height: 1.3; }
.rail-list a:hover { color: var(--white); }
.rail-list strong { color: var(--white); font-weight: 700; white-space: nowrap; }
.rail-note { font-size: 0.85rem; color: #AEB2DD; margin: 0 0 18px; position: relative; }
.rail-card .btn { position: relative; width: 100%; justify-content: center; }
.prose section { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px 36px 20px; margin-bottom: 22px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.checks { list-style: none; padding: 0; margin: 0 0 12px; }
.checks li { padding: 10px 0 10px 40px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 8px; background: var(--grad-band); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 18px; width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.steps { padding-left: 0; list-style: none; counter-reset: s; margin: 0 0 12px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 16px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-band); color: #fff; font: 700 1rem/34px var(--head); text-align: center; }

/* Course listings */
.courses { display: grid; gap: 22px; margin-top: 28px; }
.course { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 26px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: box-shadow 0.2s ease; }
.course:hover { box-shadow: 0 1px 2px rgba(19,24,56,0.06), 0 22px 44px -16px rgba(19,24,56,0.28); }
.course img { border-radius: var(--r-md); background: var(--grad-soft); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.course h3 { margin-top: 4px; }
.course-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.course-price { font-size: 1rem; background: var(--grad-soft); border-radius: 12px; padding: 12px 16px; }
.course-actions { margin: 0; }

/* FAQ and sources */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 44px 16px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-soft); color: var(--indigo); font: 700 1.2rem/28px var(--head); text-align: center; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: #2E3358; }
.sources ul { padding-left: 1.1em; font-size: 0.95rem; }
.sources li { margin-bottom: 6px; overflow-wrap: anywhere; }
.others { padding-bottom: 88px; padding-top: 24px; }
.others p { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { text-decoration: none; background: var(--white); color: var(--ink); padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.95rem; }
.others a:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--indigo); }

/* State list: every card the same size, same structure */
.state-list { list-style: none; padding: 0; margin: 40px 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.state-list li { display: flex; }
.state-list a { flex: 1; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 24px 24px 20px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.state-list a:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(19,24,56,0.06), 0 22px 40px -16px rgba(58,43,163,0.4); }
.si-shape { width: 72px; height: 72px; margin-bottom: 18px; background: var(--grad-band); -webkit-mask: var(--shape) left bottom / contain no-repeat; mask: var(--shape) left bottom / contain no-repeat; transition: transform 0.2s ease; }
.state-list a:hover .si-shape { transform: scale(1.06); }
.si-name { font: 700 1.3rem/1.15 var(--head); letter-spacing: -0.015em; }
.si-prog { font-size: 0.95rem; color: var(--muted); margin: 4px 0 20px; }
.si-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.si-price { font-weight: 700; color: var(--indigo); background: var(--grad-soft); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.cred-shape { position: absolute; right: 24px; bottom: 18px; width: 76px; height: 76px; background: rgba(255, 255, 255, 0.28); -webkit-mask: var(--shape) right bottom / contain no-repeat; mask: var(--shape) right bottom / contain no-repeat; }
.cred-band .cred-state, .cred-band .cred-prog { padding-right: 92px; position: relative; z-index: 1; }

/* Free courses */
.free-list { padding-top: 56px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.free { display: flex; flex-direction: column; gap: 24px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; }
.free > div:last-child { display: flex; flex-direction: column; flex: 1; }
.free > div:last-child > p:last-child { margin: auto 0 0; padding-top: 6px; }
.free h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.free-art { width: 128px; height: 128px; border-radius: 28px; background: var(--grad); display: grid; place-items: center; overflow: hidden; box-shadow: 0 16px 30px -16px rgba(58, 43, 163, 0.9); }
.free-art img { width: 88px; height: 88px; object-fit: contain; }
.free-photo img { width: 100%; height: 100%; object-fit: cover; }
.free details { margin: 0 0 18px; }
.free summary { cursor: pointer; color: var(--link); font-weight: 600; }
.free ol { margin: 10px 0 0; padding-left: 1.3em; color: #2E3358; }
.note-block { padding-bottom: 88px; }
.note-block p { max-width: 820px; }

/* Footer */
.foot { background: var(--night); color: #B7BAE0; padding: 56px 0 64px; font-size: 0.95rem; }
.foot a { color: #E3E4FB; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.foot-name { font: 800 1.2rem/1.1 var(--head); color: var(--white); display: flex; align-items: center; gap: 12px; }
.foot-name .mark-icon { width: 32px; height: 29px; filter: none; }
.foot-small { font-size: 0.86rem; color: #8D91BE; }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.foot-links li { margin-bottom: 10px; break-inside: avoid; }

@media (max-width: 960px) {
  .hero-in, .state-head, .split, .foot-in, .proof-in { grid-template-columns: 1fr; gap: 36px; }
  .cred { margin-left: 0; max-width: none; }
  .top-in { flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 12px; }
  .nav { order: 3; width: 100%; margin-left: -14px; overflow-x: auto; padding-bottom: 8px; }
  .nav a { white-space: nowrap; }
  .course { grid-template-columns: 1fr; }
  .course img { max-width: 420px; }
  .state-body { grid-template-columns: 1fr; }
  .free-list { grid-template-columns: 1fr; }
  .rail { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 44px 0 64px; }
  .band { padding: 56px 0; }
    .prose section, .split > div { padding: 26px 22px 16px; }
  .free { padding: 24px 22px; }
  .free-art { width: 96px; height: 96px; border-radius: 22px; }
  .free-art img { width: 64px; height: 64px; }
  .top .btn-small { display: none; }
  .stats { gap: 8px; }
  .stats li { padding: 14px 12px; }
  .stats strong { font-size: 1.35rem; }
                .foot-links { columns: 1; }
  .cred-band .cred-state, .cred-band .cred-prog { padding-right: 64px; }
  .cred-shape { width: 56px; height: 56px; right: 18px; }
  .cred > .btn { margin: 0 22px 22px; width: calc(100% - 44px); }
  .cred-facts { padding: 14px 22px 4px; }
  .cred-reg { padding: 0 22px; }
  .cred-band { padding: 26px 22px 20px; }
  .state-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .state-list a { padding: 18px 16px 16px; border-radius: var(--r-md); }
  .si-shape { width: 48px; height: 48px; margin-bottom: 12px; }
  .si-name { font-size: 1.1rem; }
  .si-prog { font-size: 0.86rem; margin-bottom: 14px; }
  .si-foot { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-card .cred { animation: none; }
  .btn, .course, .state-list a, .si-shape { transition: none; }
}

.sec-h { display: flex; align-items: center; gap: 14px; }
.sec-h .icon { width: 44px; height: 44px; border-radius: 13px; margin: 0; flex: none; }
.sec-h .icon img { width: 24px; height: 24px; }

/* Photos and illustrations */
.hero-card.has-photo { padding: 0 0 0 0; }
.hero-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 30%; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); filter: saturate(1.05); }
.hero-card.has-photo .cred { position: relative; margin-top: -22%; margin-left: -64px; max-width: 360px; }
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.feature-art { background: var(--grad-soft); border-radius: 32px; padding: 24px; box-shadow: var(--shadow); }
.feature-img { border-radius: 20px; }
.page-head { position: relative; }
.head-photo, .head-illo { float: right; width: min(38%, 420px); margin: 0 0 24px 48px; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); object-fit: cover; aspect-ratio: 4 / 3; }
.head-illo { background: #EEF2FF; padding: 14px; object-fit: contain; }
.head-band .page-head::after { content: ""; display: table; clear: both; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { width: 100%; }
  .hero-card.has-photo .cred { margin-top: -18%; max-width: none; width: calc(100% - 32px); margin-left: 16px; }
  .head-photo, .head-illo { float: none; width: 100%; max-width: 520px; margin: 0 0 28px; }
}
.band + .state-body { padding-top: 8px; }
