:root {
  --navy: #061a48;
  --navy-2: #0a2f7d;
  --blue: #1277ff;
  --cyan: #12d7d2;
  --gold: #ffbf2f;
  --ink: #10213f;
  --muted: #5d6b82;
  --pale: #f1f7ff;
  --line: #d8e3f2;
  --white: #fff;
  --shadow: 0 18px 50px rgba(7, 30, 77, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(216,227,242,.9); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 900; letter-spacing: .08em; color: var(--navy); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 1.5rem; font-size: .94rem; font-weight: 650; }
nav a:hover { color: var(--blue); }
.menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 8px; padding: .45rem .75rem; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; padding: 7rem 7vw 6rem; color: white; overflow: hidden; background: radial-gradient(circle at 78% 28%, rgba(18,119,255,.45), transparent 25%), radial-gradient(circle at 85% 60%, rgba(18,215,210,.18), transparent 26%), linear-gradient(135deg, #031334 0%, #092766 60%, #061a48 100%); }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 .7rem; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .dark-section .eyebrow { color: var(--cyan); }
h1 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; letter-spacing: -.055em; max-width: 900px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
h3 { margin: 0 0 .6rem; font-size: 1.32rem; line-height: 1.2; }
.lead { max-width: 690px; margin: 1.6rem 0 0; color: #d9e8ff; font-size: 1.18rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.25rem; border: 0; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #005bd8); color: white; font-weight: 800; cursor: pointer; box-shadow: 0 10px 28px rgba(18,119,255,.28); }
.button.secondary { background: transparent; border: 1px solid rgba(255,255,255,.36); box-shadow: none; }
.button.small { padding: .6rem .9rem; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 3rem 0 0; }
.proof-strip div { padding-top: 1rem; border-top: 2px solid rgba(18,215,210,.5); }
.proof-strip dt { font-weight: 850; }
.proof-strip dd { margin: .15rem 0 0; color: #a9bee1; font-size: .82rem; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual img { position: relative; z-index: 2; width: min(440px, 80vw); filter: drop-shadow(0 28px 40px rgba(0,0,0,.25)); }
.pulse-ring { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(18,215,210,.35); border-radius: 50%; }
.ring-two { width: 540px; height: 540px; border-color: rgba(18,119,255,.3); }

.section { padding: 7rem 7vw; }
.intro { text-align: center; max-width: 1100px; margin: 0 auto; }
.intro p:last-child { margin: 1.5rem auto 0; max-width: 850px; color: var(--muted); font-size: 1.15rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 520px; color: var(--muted); }
.dark-section { color: white; background: var(--navy); }
.dark-section .section-heading > p { color: #b8c7e3; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.journey-grid article { min-height: 280px; padding: 2rem; background: linear-gradient(155deg, #08225d, #061a48); }
.journey-grid span { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 3rem; border-radius: 50%; background: var(--cyan); color: var(--navy); font-weight: 900; }
.journey-grid p { color: #b8c7e3; }
.card-grid, .course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.info-card, .course-card { padding: 1.8rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.info-card p, .course-card p { color: var(--muted); }
.card-label { color: var(--blue) !important; font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.pathway { margin-top: 1.4rem; padding: .9rem; border-radius: 10px; background: var(--pale); color: var(--navy-2); font-size: .82rem; font-weight: 700; }
.status { display: inline-block; padding: .3rem .65rem; border-radius: 999px; background: #fff4d2; color: #765000; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.pale-section { background: var(--pale); }
.catalog-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0 7vw; color: white; background: #25447c; }
.catalog-band div { display: grid; justify-items: center; padding: 2.2rem 1rem; background: var(--navy); }
.catalog-band strong { font-size: 2.5rem; line-height: 1; color: var(--cyan); }
.catalog-band span { margin-top: .6rem; color: #c5d4ed; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.catalog-band.data-unavailable { opacity: .65; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; }
.filter { padding: .55rem .95rem; border: 1px solid #bfd0e8; border-radius: 999px; background: white; color: var(--navy); cursor: pointer; }
.filter.active { background: var(--navy); border-color: var(--navy); color: white; }
.course-card { box-shadow: none; }
.course-meta { display: flex; justify-content: space-between; color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.course-card h3 { margin-top: 1rem; }
.course-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.course-card dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.course-card dd { margin: .15rem 0 0; font-weight: 750; }
.source-status { font-size: .76rem; }
.blueprint-button { width: 100%; padding: .65rem .8rem; border: 1px solid #b8cbea; border-radius: 8px; color: var(--navy-2); background: #f6f9fe; font-weight: 800; cursor: pointer; }
.blueprint-button:hover { border-color: var(--blue); }
.module-list ol { display: grid; gap: .45rem; margin: 1rem 0 0; padding-left: 1.2rem; }
.module-list li { padding-left: .25rem; color: var(--navy); }
.module-list li span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.readiness-section { background: #f8fafc; }
.readiness-summary { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; padding: 1.3rem 1.5rem; border-left: 5px solid var(--gold); background: white; box-shadow: var(--shadow); }
.readiness-summary div { min-width: 120px; }
.readiness-summary strong { display: block; color: var(--navy); font-size: 2.1rem; line-height: 1; }
.readiness-summary span, .gate-category { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.readiness-summary p { margin: 0; color: var(--muted); }
.gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gate-card { padding: 1.3rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.gate-card > div { display: flex; justify-content: space-between; gap: .5rem; }
.gate-card h3 { margin-top: .8rem; font-size: 1.05rem; }
.gate-card p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.gate-status { padding: .2rem .5rem; border-radius: 999px; background: #fff4d2; color: #765000; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.gate-status.complete { background: #dbf8e7; color: #126136; }
.assurance { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; color: white; background: linear-gradient(120deg, #0a2f7d, #075c9f); }
.assurance p { color: #d7e8ff; }
.assurance ul { display: grid; gap: .8rem; align-content: center; list-style: none; padding: 0; }
.assurance li { padding: .9rem 1rem .9rem 3rem; position: relative; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.07); }
.assurance li::before { content: "✓"; position: absolute; left: 1rem; color: var(--cyan); font-weight: 900; }
.join-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
form { display: grid; gap: 1rem; padding: 2rem; border-radius: 16px; background: white; box-shadow: var(--shadow); }
label { display: grid; gap: .35rem; color: var(--navy); font-weight: 750; }
input, select, textarea { width: 100%; padding: .75rem; border: 1px solid #b9c9df; border-radius: 8px; background: white; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
#form-status { min-height: 1.5rem; margin: 0; color: var(--navy-2); font-weight: 700; }
.privacy-note { margin: 0; padding: .75rem; border-radius: 8px; background: var(--pale); color: var(--muted); font-size: .78rem; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 7vw; color: #b6c5df; background: #020c22; font-size: .85rem; }
footer .brand { color: white; }
.loading, .error, .empty { grid-column: 1 / -1; }
.error { color: #a6192e; }

.portal-body { background: #f3f7fd; }
.portal-nav { display: flex; }
.text-button { border: 0; color: var(--navy); background: transparent; font-weight: 800; cursor: pointer; }
.portal-shell { width: min(1220px, 90vw); margin: 0 auto; padding: 4rem 0 7rem; }
.portal-intro { max-width: 900px; margin-bottom: 3rem; }
.portal-intro h1 { color: var(--navy); font-size: clamp(2.7rem, 6vw, 5.4rem); }
.portal-intro > p { max-width: 800px; color: var(--muted); font-size: 1.08rem; }
.pilot-notice { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: white; }
.pilot-notice strong { color: var(--navy); }
.pilot-notice span { color: var(--muted); }
.auth-layout, .dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.portal-card { margin-bottom: 1.5rem; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.portal-card h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.portal-card form { padding: 0; box-shadow: none; }
.check-label { grid-template-columns: 20px 1fr; align-items: start; color: var(--muted); font-size: .84rem; font-weight: 600; }
.check-label input { margin-top: .25rem; }
.form-message { min-height: 1.4rem; margin: 0; color: var(--navy-2); font-weight: 750; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.participant-chip { padding: .5rem .85rem; border-radius: 999px; color: white; background: var(--navy); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
.course-preview { min-height: 190px; margin: 1rem 0; padding: 1.2rem; border-radius: 12px; background: var(--pale); }
.course-preview:empty { display: none; }
.course-kicker { color: var(--blue); font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.result-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.result-row div { display: grid; }
.result-row span { color: var(--muted); font-size: .78rem; }
.result-row b { color: var(--blue); font-size: 1.3rem; }
.assessment-card { margin-top: 2rem; }
#question-list { display: grid; gap: 1rem; }
.question-card { margin: 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: 12px; }
.question-card legend { padding: 0 .4rem; color: var(--navy); font-weight: 850; }
.question-card legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: .6rem; border-radius: 50%; color: white; background: var(--blue); }
.answer-option { grid-template-columns: 20px 1fr; align-items: start; margin-top: .65rem; padding: .7rem; border-radius: 8px; color: var(--ink); background: #f8fafc; font-weight: 550; cursor: pointer; }
.answer-option input { margin-top: .28rem; }
.score-card { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 2rem; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; }
.score-card .eyebrow { color: var(--cyan); }
.score-orb { display: grid; place-items: center; width: 160px; height: 160px; border: 2px solid var(--cyan); border-radius: 50%; }
.score-orb strong { font-size: 2.6rem; line-height: 1; }
.score-orb span { font-size: .7rem; text-transform: uppercase; }
.feedback-form { margin-top: 1.5rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-visual { min-height: 360px; }
  .journey-grid, .card-grid, .course-grid, .gate-grid { grid-template-columns: repeat(2, 1fr); }
  .assurance, .join-section { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1rem 5vw 1.5rem; background: white; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .menu-button { display: block; }
  .portal-nav { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; border: 0; background: transparent; }
}

@media (max-width: 640px) {
  .hero, .section { padding-left: 5vw; padding-right: 5vw; }
  .proof-strip, .journey-grid, .card-grid, .course-grid, .score-grid, .gate-grid, .catalog-band { grid-template-columns: 1fr; }
  .readiness-summary { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 300px; }
  .hero-visual img { width: 280px; }
  .pulse-ring { width: 280px; height: 280px; }
  .ring-two { width: 340px; height: 340px; }
  footer { display: grid; }
  .auth-layout, .dashboard-grid, .score-card { grid-template-columns: 1fr; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .pilot-notice { grid-template-columns: 1fr; }
}
