:root {
  --navy: #16294b;
  --navy-deep: #0f1e3a;
  --panel: #17305b;
  --blue: #4a9be0;
  --blue-strong: #2e6fb5;
  --blue-tint: #e8f1fb;
  --green: #2e9e6b;
  --green-tint: #eff7f2;
  --green-line: #cfe7dc;
  --muted: #5d6e88;
  --faint: #93a3ba;
  --line: #e3eaf3;
  --bg-top: #f6f9fc;
  --bg-bottom: #e8f0f8;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-card: 0 24px 60px -20px rgba(16, 41, 75, .18), 0 2px 6px rgba(16, 41, 75, .05);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-strong); }

.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 16px 0;
}

.site-header .shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img { width: 38px; height: 38px; }

.brand-name {
  max-width: 150px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.program { text-align: center; }

.program-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8fb3dd;
}

.program-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.track-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.track-link:hover { background: rgba(255, 255, 255, .08); }

.track-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.helpline { text-align: right; line-height: 1.3; }
.helpline span { display: block; font-size: 11px; color: #8fb3dd; }
.helpline strong { font-size: 16px; font-weight: 700; }

/* ---------- stepper ---------- */

.stepper {
  display: flex;
  list-style: none;
  margin: 40px auto 32px;
  padding: 0;
  max-width: 880px;
}

.step {
  position: relative;
  flex: 1;
  text-align: center;
}

.step + .step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(-50% + 26px);
  right: calc(50% + 26px);
  height: 1px;
  background: var(--line);
}

.step-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}

.step-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
}

.step.is-done .step-node { background: var(--green); border-color: var(--green); color: #fff; }
.step.is-done .step-label { color: var(--green); }
.step.is-current .step-node { background: var(--navy); border-color: var(--navy); color: #fff; }
.step.is-current .step-label { color: var(--navy); }

/* ---------- card ---------- */

main { flex: 1; padding-bottom: 56px; }
main .shell { position: relative; }

.card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 56px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-strong);
}

.display {
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.lede {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-top: 44px;
}

/* ---------- listed rows ---------- */

.row-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.row-card + .row-card { margin-top: 14px; }

.row-index {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-strong);
  font-size: 20px;
  font-weight: 700;
}

.row-title { font-size: 17px; font-weight: 700; }
.row-text { margin-top: 4px; font-size: 15px; color: var(--muted); }
.row-text a { color: var(--blue-strong); font-weight: 600; }

/* ---------- dark panel ---------- */

.panel {
  align-self: start;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--panel);
  color: #fff;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.panel-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue);
  font-size: 26px;
  font-weight: 700;
}

.panel-title {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.panel-text {
  font-size: 15px;
  line-height: 1.6;
  color: #b9cde5;
}

.panel-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fb3dd;
}

.panel-figure {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.panel-figure strong { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.panel-figure span { font-size: 13px; color: #a9c0dc; text-align: right; }
.panel-figure.is-total strong { font-size: 38px; }
.panel-note { margin-top: 18px; font-size: 12px; color: #8fa8c6; line-height: 1.5; }

/* ---------- buttons ---------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #3d8ad0; }

.btn-quiet {
  display: block;
  margin-top: 16px;
  color: #cfe0f3;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.btn-quiet:hover { color: #fff; }

/* ---------- footnote ---------- */

.footnote {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footnote strong { color: var(--navy); }

/* ---------- footer ---------- */

.site-footer {
  padding: 28px 0 40px;
  font-size: 12.5px;
  color: var(--faint);
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--faint); text-decoration: none; margin-left: 18px; }
.site-footer a:hover { color: var(--muted); }

.watermark {
  position: absolute;
  right: 44px;
  bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(93, 110, 136, .35);
  pointer-events: none;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .site-header .shell { grid-template-columns: 1fr auto; }
  .program { display: none; }
  .card { padding: 32px 24px; }
  .split { grid-template-columns: 1fr; }
  .step-label { font-size: 11px; }
  .watermark { display: none; }
}

/* ---------- application form ---------- */

.card-dark {
  background: linear-gradient(140deg, #17305b 0%, #101f3d 100%);
  color: #fff;
}

.card-dark .eyebrow { color: #8fb3dd; }
.card-dark .lede { color: #b9cde5; }
.card-dark .back-link { color: #cfe0f3; }

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.note-box {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
}

.note-title { font-size: 15px; font-weight: 700; color: #8fb3dd; }
.note-text { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #b9cde5; }

.form-panel {
  position: relative;
  color: var(--navy);
  padding: 36px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 18px 44px -18px rgba(4, 14, 32, .55);
}

.pill {
  position: absolute;
  top: -15px;
  right: 26px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.field + .field { margin-top: 18px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.field label .optional { font-weight: 500; color: var(--faint); }

.field input,
.field select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74, 155, 224, .18);
}

.field .hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field .error { margin-top: 6px; font-size: 13px; font-weight: 600; color: #c8384c; }
.field.has-error input,
.field.has-error select { border-color: #c8384c; }

.consent {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent .error { margin-top: 6px; }

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  text-align: center;
  color: var(--faint);
}

@media (max-width: 860px) {
  .apply-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-panel { padding: 26px 20px; }
}

/* ---------- prose & notices ---------- */

.prose h2 {
  margin: 34px 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.prose p, .prose li { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--navy); }
.prose .muted { color: var(--faint); }

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  font-size: 15px;
  line-height: 1.6;
}

.notice-warn { background: #fdf4e7; border: 1px solid #f0dcbb; color: #7a5a22; }
.notice-warn strong { color: #6a4c15; }

/* ---------- status screen ---------- */

.status-hero { text-align: center; }
.status-hero .display, .status-hero .lede { margin-left: auto; margin-right: auto; }

.status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.status-icon.is-waiting::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
}

.status-icon.is-approved { background: var(--green); }
.status-icon.is-rejected { background: #c8384c; }

.ref-pill {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #f1f5fa;
  font-size: 14px;
  color: var(--muted);
}

.ref-pill strong { margin-left: 6px; color: var(--navy); letter-spacing: .02em; }

.outline-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.box-title { font-size: 17px; font-weight: 700; margin-bottom: 20px; }

.tl-item { display: flex; gap: 16px; }
.tl-item + .tl-item { margin-top: 20px; }

.tl-node {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f1f5fa;
  color: var(--faint);
  font-size: 15px;
  font-weight: 700;
}

.tl-node.is-done { background: var(--green); color: #fff; }
.tl-node.is-current { background: var(--blue); color: #fff; }

.panel-badge.is-sms { font-size: 15px; letter-spacing: .04em; }

.panel-check {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  font-weight: 600;
  color: #8fd0b0;
}

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--faint);
}

.btn-inline { width: auto; padding: 14px 26px; font-size: 15px; }

.track-form { max-width: 420px; margin-top: 36px; }

/* ---------- approved result ---------- */

.result-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--green-line);
  border-radius: var(--r-lg);
  background: var(--green-tint);
}

.result-banner .status-icon { margin: 0; flex: none; }
.result-banner .display { font-size: clamp(30px, 3.6vw, 44px); }
.result-banner .lede { font-size: 17px; }
.result-text { flex: 1; }

.approved-badge {
  flex: none;
  align-self: flex-start;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.approved-badge span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fb3dd;
}

.approved-badge strong { font-size: 16px; letter-spacing: .02em; }

.card-match { display: flex; align-items: center; gap: 16px; }

.card-chip {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue-strong);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

.card-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--muted);
}

.card-line strong { color: var(--navy); letter-spacing: .08em; }

.green-box {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--green-line);
  border-radius: var(--r-md);
  background: var(--green-tint);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.actions strong { color: var(--navy); }

.btn-outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.btn-outline:hover { background: #f6f9fc; }

@media (max-width: 860px) {
  .result-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .approved-badge { align-self: stretch; }
}

.resume-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid #cfe0f3;
  border-radius: var(--r-md);
  background: var(--blue-tint);
  color: var(--blue-strong);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
