:root {
  --navy: #071936;
  --navy-2: #102b55;
  --blue: #1769ff;
  --cyan: #31c5e7;
  --orange: #ff9f2e;
  --ink: #12213a;
  --muted: #64748b;
  --line: #dce5f0;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(7, 25, 54, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.topbar { height: 82px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--navy); }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-weight: 850; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 7px 25px rgba(49, 197, 231, .28); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 2px; color: #9fb0c9; font-size: 12px; }
.help-link { padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; }
.help-link:hover { background: #fff; color: var(--navy); }
.hero { position: relative; overflow: hidden; min-height: 470px; padding: 82px max(24px, calc((100vw - 1180px) / 2)) 150px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; color: #fff; background: radial-gradient(circle at 84% 25%, rgba(49,197,231,.19), transparent 25%), radial-gradient(circle at 10% 92%, rgba(23,105,255,.28), transparent 30%), linear-gradient(135deg, #071936, #0b2347 65%, #073755); }
.hero::after { content: ""; position: absolute; inset: auto -8% -150px 44%; height: 320px; border-radius: 50%; background: rgba(255,255,255,.035); transform: rotate(-7deg); }
.eyebrow { display: inline-flex; width: max-content; padding: 7px 11px; border-radius: 999px; color: #bcecff; background: rgba(49,197,231,.12); border: 1px solid rgba(49,197,231,.25); letter-spacing: .09em; font-size: 11px; font-weight: 800; }
.hero h1 { max-width: 700px; margin: 22px 0 18px; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(42px, 5vw, 68px); }
.hero-copy > p { max-width: 650px; margin: 0; color: #c3cee0; line-height: 1.7; font-size: 17px; }
.trust-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; color: #dce8f7; font-size: 13px; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--cyan); }
.course-cards { display: grid; align-content: center; gap: 12px; z-index: 1; }
.course-card { width: 100%; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 3px 14px; align-items: center; padding: 19px; text-align: left; color: #fff; cursor: pointer; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.065); backdrop-filter: blur(8px); transition: .2s ease; }
.course-card:hover, .course-card.active { border-color: rgba(49,197,231,.75); background: rgba(49,197,231,.11); transform: translateY(-2px); }
.course-card .course-badge { grid-row: 1 / 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--navy); background: linear-gradient(135deg, #fff, #bcecff); font-size: 12px; font-weight: 900; }
.course-card strong { font-size: 16px; }
.course-card small { color: #aebdd2; }
.course-card b { grid-column: 3; grid-row: 1 / 3; color: #fff; font-size: 15px; }
.form-shell { position: relative; z-index: 2; max-width: 1040px; margin: -85px auto 70px; padding: 48px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.form-intro { max-width: 700px; margin-bottom: 30px; }
.step-pill { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.form-intro h2 { margin: 8px 0 8px; font-size: 34px; letter-spacing: -.025em; }
.form-intro p { margin: 0; color: var(--muted); line-height: 1.6; }
.alert { margin: 20px 0; padding: 16px 18px; border-radius: 14px; }
.alert-error { color: var(--danger); background: #fff1f0; border: 1px solid #ffccc7; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
fieldset { margin: 0; padding: 30px 0; border: 0; border-top: 1px solid var(--line); }
legend { padding: 0 0 18px; color: var(--navy); font-size: 17px; font-weight: 850; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-cards label { cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards span { min-height: 78px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: #fbfdff; transition: .2s ease; }
.radio-cards b { color: var(--navy); }
.radio-cards small { margin-top: 5px; color: var(--muted); }
.radio-cards input:checked + span { border-color: var(--blue); background: #f0f6ff; box-shadow: 0 0 0 3px rgba(23,105,255,.1); }
.radio-cards input:focus-visible + span { outline: 3px solid rgba(23,105,255,.25); }
.field-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field > span { color: #34445d; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; color: var(--ink); border: 1px solid #cbd7e5; border-radius: 11px; outline: none; background: #fff; transition: .16s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,255,.1); }
.check-row, .consent { display: flex; gap: 10px; align-items: flex-start; color: #46566d; font-size: 13px; line-height: 1.5; }
.check-row { align-items: center; }
.check-row input, .consent input { width: 18px; height: 18px; accent-color: var(--blue); }
.consent { margin: 2px 0 26px; padding: 15px; border-radius: 12px; background: var(--soft); }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.submit-row small, .submit-row strong { display: block; }
.submit-row small { margin-bottom: 5px; color: var(--muted); }
.submit-row strong { color: var(--navy); font-size: 13px; }
.primary-button, .secondary-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none; font-weight: 800; }
.primary-button { color: #fff; background: linear-gradient(135deg, var(--blue), #0757db); box-shadow: 0 10px 28px rgba(23,105,255,.24); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(23,105,255,.34); }
.secondary-button { color: var(--navy); background: #edf3fa; }
footer { padding: 0 24px 36px; text-align: center; color: var(--muted); font-size: 12px; }
footer p { max-width: 760px; margin: 0 auto; line-height: 1.6; }
.honeypot { position: absolute !important; left: -10000px !important; }
.success-page { min-height: 100vh; padding: 32px; display: grid; place-items: center; background: radial-gradient(circle at 50% 0, rgba(49,197,231,.18), transparent 28%), var(--navy); }
.success-card { width: min(620px, 100%); padding: 55px; text-align: center; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.success-icon { width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center; color: #087a55; background: #dff7ec; border-radius: 50%; font-size: 30px; font-weight: 900; }
.success-card h1 { margin: 16px 0 12px; font-size: 42px; letter-spacing: -.035em; }
.success-card p { color: var(--muted); line-height: 1.65; }
.code-box { margin: 24px 0; padding: 18px; border-radius: 14px; background: var(--soft); border: 1px dashed #9db0c8; }
.code-box small, .code-box strong { display: block; }
.code-box small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.code-box strong { margin-top: 6px; color: var(--navy); font-size: 23px; letter-spacing: .04em; }
.success-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
  .hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .form-shell { margin-left: 18px; margin-right: 18px; padding: 34px 26px; }
}
@media (max-width: 620px) {
  .topbar { height: 72px; padding: 0 16px; }
  .brand strong { font-size: 13px; }
  .brand small, .help-link { font-size: 11px; }
  .help-link { padding: 9px 11px; }
  .hero { min-height: auto; padding: 50px 18px 130px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 15px; }
  .course-card { grid-template-columns: auto 1fr; }
  .course-card b { grid-column: 2; grid-row: 3; margin-top: 6px; }
  .form-shell { margin-top: -78px; padding: 29px 20px; border-radius: 22px; }
  .form-intro h2 { font-size: 28px; }
  .grid.two, .radio-cards { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .success-page { padding: 18px; }
  .success-card { padding: 36px 22px; }
  .success-card h1 { font-size: 34px; }
}
