/* AE Graduates 2027. Implemented from the Claude Design file "AE Graduates 2027.dc.html". */

:root {
  --ink: #141A18;
  --ink-2: #1E2522;
  --ink-3: #1A211F;
  --ink-4: #2E3834;
  --teal: #00A7B5;
  --teal-hover: #4FC6CF;
  --teal-active: #008C98;
  --blue: #0077B3;
  --mist: #F4F7F8;
  --tint: #E8F6F7;
  --line: #DDE3E2;
  --line-2: #C9D3D1;
  --text: #1E2522;
  --text-2: #3E4845;
  --text-3: #46504D;
  --muted: #8E9A96;
  --on-dark: #C3CCC9;
  --on-dark-2: #DCE2E0;
  --error: #B3261E;
  --error-bg: #FCEEEE;

  --font-body: 'Sofia Pro', Figtree, system-ui, sans-serif;
  --font-head: 'Futura PT', Futura, Jost, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(18px, 4vw, 40px);
  --section-pad: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: #fff; }
button, a, input, textarea, summary, label { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 10px 16px;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* Pages: with JS only the active page shows; without JS they all stack. */
.js .page:not(.is-active) { display: none; }

.site { background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
main:focus { outline: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); width: 100%; }

/* ---------- Shared pieces ---------- */

.cut { --cut: 22px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.cut-8 { --cut: 8px; } .cut-10 { --cut: 10px; } .cut-12 { --cut: 12px; } .cut-14 { --cut: 14px; }
.cut-16 { --cut: 16px; } .cut-18 { --cut: 18px; } .cut-24 { --cut: 24px; }

.mono { font-family: var(--font-mono); }
.num { font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--blue); }
.on-dark .num, .num--teal { color: var(--teal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 9px; height: 10px; flex: none; background: currentColor;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}
.on-dark .eyebrow { color: var(--teal); }
.eyebrow--white { color: #fff !important; }

.label-caps { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }

h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.on-dark .h2 { color: #fff; }
.lede { margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; max-width: 680px; }
.on-dark .lede { color: var(--on-dark); }

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.stack-44 { display: flex; flex-direction: column; gap: 44px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

.section { position: relative; overflow: hidden; background: #fff; }
.section > .wrap { position: relative; padding-block: var(--section-pad); }
.section--dark { background: var(--ink); color: #fff; }
.section--mist { background: var(--mist); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
}
.section--mist.grid-bg::before {
  background-image: linear-gradient(rgba(30,37,34,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(30,37,34,.05) 1px, transparent 1px);
}

.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr)); gap: var(--gap, 20px); }
.split { --min: 420px; --gap: clamp(32px, 5vw, 72px); align-items: start; }

.ph-duotone { line-height: 1; }
.icon-teal { color: var(--teal); }

/* Buttons */
.btn {
  min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent; background: none; cursor: pointer;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn i { font-size: 17px; }
.btn--primary { border: 0; padding: 0 24px; background: var(--teal); color: var(--ink); --cut: 10px; }
.btn--primary:hover { background: var(--teal-hover); color: var(--ink); }
.btn--primary:active { background: var(--teal-active); }
.btn--outline-light { border-color: #fff; color: #fff; }
.btn--outline-light:hover { border-color: var(--teal); color: var(--teal); }
.btn--outline-dark { border-color: var(--text); color: var(--text); background: #fff; }
.btn--outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { min-height: 56px; padding: 0 28px; border: 0; background: #fff; color: var(--ink); --cut: 10px; }
.btn--white:hover { background: #E1F1F8; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; gap: 8px; --cut: 8px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.link-arrow:hover { color: #fff; }

.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(0,167,181,.5); padding: 5px 9px; }
.chip { font-family: var(--font-mono); font-size: 12px; color: var(--blue); background: #fff; border: 1px solid var(--line-2); padding: 5px 10px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.check-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); }
.check-list i { color: var(--teal); font-size: 16px; margin-top: 3px; flex: none; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 14px; background: var(--mist); padding: 30px 26px 32px; }
.card--dark { background: var(--ink-2); }
.card--white { background: #fff; }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.card__top i { font-size: 30px; color: var(--teal); }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 23px; line-height: 1.18; color: var(--text); }
.card--dark .card__title { color: #fff; }
.card__body { font-size: 15.5px; line-height: 1.6; color: var(--text-3); margin: 0; }
.card--dark .card__body { color: var(--on-dark); }
.card__foot { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-top: auto; }

/* ---------- Header ---------- */

.banner { background: var(--teal); color: var(--ink); }
.banner .wrap {
  min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding-block: 6px; font-size: 14px; font-weight: 500; text-align: center;
}
.banner a {
  font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}

.header { position: sticky; top: 0; z-index: 40; background: rgba(20,26,24,.97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: clamp(18px, 2vw, 24px); width: auto; }
.brand span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); border-left: 1px solid rgba(255,255,255,.2); padding-left: 14px;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav__link {
  padding: 6px 0; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 500; color: #fff; white-space: nowrap;
}
.nav__link:hover { color: var(--teal); }
.nav__link[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.header__compact { display: none; gap: 10px; align-items: center; }
.menu-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer;
}
.menu-btn i { font-size: 22px; }
.mobile-nav { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.08); padding: 8px var(--gutter) 18px; }
.mobile-nav a {
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 16px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 21px; color: #fff;
}
.mobile-nav a[aria-current="page"] { color: var(--teal); }

@media (max-width: 999.98px) {
  .nav { display: none; }
  .header__compact { display: flex; }
}
@media (min-width: 1000px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Home ---------- */

.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: min(88vh, 820px); display: flex; flex-direction: column; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__shade-x { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20,26,24,.96) 0%, rgba(20,26,24,.88) 38%, rgba(20,26,24,.35) 72%, rgba(20,26,24,.15) 100%); }
.hero__shade-y { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(20,26,24,.95) 0%, rgba(20,26,24,0) 35%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero > .wrap {
  position: relative; z-index: 1; flex: 1;
  padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 6vw, 72px);
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 1120px; }
.hero .eyebrow { color: var(--teal); }
.corners { position: relative; padding: clamp(18px, 2.6vw, 32px) clamp(12px, 2vw, 26px); margin-left: calc(-1 * clamp(12px, 2vw, 26px)); }
.corners > span { position: absolute; width: 22px; height: 22px; pointer-events: none; border: 0 solid var(--teal); }
.corners > span:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corners > span:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corners > span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corners > span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hero h1 { font-size: clamp(30px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.01em; }
.hero__word { display: inline-block; color: var(--teal); transition: opacity .35s ease, transform .35s ease; }
.hero__word.is-out { opacity: 0; transform: translateY(14px); }
.hero__lede { margin: 0; font-size: 19px; line-height: 1.65; color: var(--on-dark-2); text-wrap: pretty; max-width: 560px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1px; background: rgba(255,255,255,.14); max-width: 960px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 6px; background: rgba(26,33,31,.92); padding: 16px 18px; }
.facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: #fff; }

.journey .card__top i, .card__top i { font-size: 30px; }

.pillar { gap: 16px; padding: 32px 28px 34px; }
.pillar > i { font-size: 36px; color: var(--teal); }
.pillar .card__title { font-size: 26px; }
.pillar__proof { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); margin-top: auto; }

.numbered { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.numbered li { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.numbered li > span:last-child { font-size: 17px; line-height: 1.55; color: var(--text); }

.steps-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 3px solid var(--teal); margin: 0; padding: 0; list-style: none; }
.steps-strip li { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 8px 0; }
.steps-strip h3 { font-size: 21px; line-height: 1.2; color: #fff; }
.steps-strip p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-dark); }

/* ---------- Sub-page heroes ---------- */

.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__mark { position: absolute; right: -6%; top: -20%; height: 150%; width: auto; max-width: none; opacity: .07; pointer-events: none; }
.page-hero > .wrap {
  position: relative; padding-block: clamp(56px, 8vw, 104px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: end;
}
.page-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
.page-hero__lede { margin: 0; font-size: 19px; line-height: 1.65; color: var(--on-dark); text-wrap: pretty; max-width: 680px; }

/* ---------- Programme ---------- */

.prog-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); margin: 0; padding: 0; list-style: none; }
.prog-stats li { display: flex; flex-direction: column; gap: 10px; background: var(--ink-3); padding: 20px 18px 22px; }
.prog-stats li span:last-child { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.2; color: #fff; }

.modules { --min: 140px; --gap: 8px; margin: 0; padding: 0; list-style: none; }
.modules li { display: flex; flex-direction: column; gap: 8px; background: var(--mist); padding: 16px 14px 18px; border-top: 3px solid var(--teal); }
.modules li.sim { border-top-color: var(--blue); }
.modules li span:last-child { font-size: 14.5px; line-height: 1.4; font-weight: 500; color: var(--text); }

.sim { gap: 16px; padding: 34px 30px 36px; }
.sim .card__top i { font-size: 34px; }
.sim .card__title { font-size: 28px; }
.sim .tags { padding-top: 6px; }

.support { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.support li { display: flex; gap: 16px; align-items: flex-start; background: var(--mist); padding: 20px 22px; }
.support li > i { font-size: 28px; color: var(--teal); flex: none; }
.support li > span { display: flex; flex-direction: column; gap: 4px; }
.support strong { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--text); }
.support li > span > span { font-size: 15px; line-height: 1.55; color: var(--text-3); }

.ladder { --min: 180px; --gap: 12px; align-items: end; margin: 0; padding: 0; list-style: none; }
.ladder li { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: #fff; padding: 22px 20px; }
.ladder li:nth-child(1) { min-height: 130px; background: var(--teal); }
.ladder li:nth-child(2) { min-height: 164px; }
.ladder li:nth-child(3) { min-height: 198px; }
.ladder li:nth-child(4) { min-height: 232px; }
.ladder li:nth-child(5) { min-height: 266px; background: var(--ink); }
.ladder .lvl { font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--blue); }
.ladder .name { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--text); }
.ladder .desc { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.ladder li:nth-child(1) .lvl, .ladder li:nth-child(1) .desc { color: var(--ink); }
.ladder li:nth-child(5) .lvl { color: var(--teal); }
.ladder li:nth-child(5) .name { color: #fff; }
.ladder li:nth-child(5) .desc { color: var(--on-dark); }

/* ---------- Work ---------- */

.stories { display: flex; flex-direction: column; gap: 20px; }
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); background: var(--mist); }
.story__side { position: relative; background: var(--ink-2); color: #fff; padding: 32px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden; min-height: 220px; }
.story__side > * { position: relative; }
.story__side .num { color: var(--teal); }
.story__side h2 { display: flex; flex-direction: column; gap: 10px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; }
.story__side h2 i { font-size: 52px; color: var(--teal); }
.story__body { padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; }
.story__body p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; max-width: 680px; }
.story__body .label-caps { font-size: 11px; }
.story__touch { display: flex; flex-direction: column; gap: 6px; }

.stack-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.stack-list li { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-2); color: #fff; padding: 14px 18px; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.stack-list i { color: var(--teal); font-size: 20px; }

/* ---------- People ---------- */

.perks { --gap: 36px 28px; margin: 0; padding: 0; list-style: none; }
.perks li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--blue); padding-top: 18px; }
.perks i { font-size: 30px; color: var(--teal); }
.perks strong { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--text); }
.perks span { font-size: 15px; line-height: 1.55; color: var(--text-3); }

/* ---------- Privacy notice ---------- */

.legal { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { font-size: 24px; color: var(--text); margin-top: 22px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */

.inline-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.faq { display: flex; flex-direction: column; max-width: 900px; border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 2vw, 22px); line-height: 1.3; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after { content: "\002B"; font-family: var(--font-mono); font-weight: 500; font-size: 26px; line-height: 1; color: var(--teal); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 0 26px; max-width: 720px; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }

/* ---------- Apply ---------- */

.apply-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.apply-hero > .wrap { position: relative; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(40px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.apply-hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1; letter-spacing: -.015em; }
.apply-hero p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-dark); max-width: 640px; }

.apply-body { background: var(--mist); }
.apply-body > .wrap {
  padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start;
}
.fsteps { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.fsteps ol { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fsteps button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: transparent; border: 0;
  padding: 14px 16px; cursor: pointer; font-family: inherit; font-size: 15.5px; font-weight: 500; color: var(--text);
}
.fsteps button:hover:not(:disabled) { background: #E3EEF0; }
.fsteps button:disabled { cursor: default; }
.fsteps .mark { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--line); color: var(--text-3); font-family: var(--font-mono); font-weight: 600; font-size: 13px; flex: none; }
.fsteps button.past .mark { background: var(--ink-2); color: #fff; }
.fsteps button[aria-current="step"] { background: #fff; font-weight: 700; }
.fsteps button[aria-current="step"] .mark { background: var(--teal); color: var(--ink); }
.saved { display: flex; gap: 8px; align-items: center; padding: 14px 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.saved i { font-size: 16px; color: var(--blue); }

.form-panel { grid-column: span 2; min-width: min(100%, 520px); background: #fff; padding: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .form-panel { grid-column: auto; } .fsteps { position: static; } }
.form { display: flex; flex-direction: column; gap: 32px; }
.form__head { display: flex; flex-direction: column; gap: 8px; }
.form__head .eyebrow::before { display: none; }
.form__head h2 { font-size: clamp(26px, 3vw, 36px); color: var(--text); }
.form__step { display: flex; flex-direction: column; gap: 28px; border: 0; padding: 0; margin: 0; min-width: 0; }

.alert { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--error); background: var(--error-bg); padding: 16px 18px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.alert i { font-size: 22px; color: var(--error); flex: none; }
.alert:focus { outline: 3px solid var(--teal); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { display: flex; flex-direction: column; gap: 4px; padding: 0; }
legend.field__label { margin-bottom: 8px; }
.field__label > span:first-child { font-weight: 600; font-size: 16px; color: var(--text); }
.field__hint { font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.optional { font-weight: 400; color: var(--text-3); }
.field__error { display: flex; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--error); margin: 0; }
.field__error i { font-size: 18px; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; font-family: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 2px solid var(--muted); border-radius: 0; outline: none;
}
textarea.input { resize: vertical; line-height: 1.55; }
.input:focus, .input:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,167,181,.35); outline: none; }
.field.has-error .input { border-color: var(--error); }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.wordcount { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.wordcount.good { color: var(--blue); }
.wordcount.over { color: var(--error); }

.options { display: flex; gap: 8px; flex-wrap: wrap; }
.option {
  position: relative; min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--line-2); background: #fff; color: var(--text); font-size: 15.5px; font-weight: 500; cursor: pointer;
}
.option:hover { border-color: var(--blue); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--text); display: flex; align-items: center; justify-content: center; flex: none; }
.option .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.option:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.option:has(input:checked) .dot::after { background: var(--blue); }
.option:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  min-height: 170px; padding: 28px 20px; border: 2px dashed var(--muted); background: var(--mist);
}
.dropzone.is-hot { border-color: var(--blue); background: var(--tint); }
.field.has-error .dropzone { border-color: var(--error); }
.dropzone > i { font-size: 44px; color: var(--blue); }
.dropzone > span { font-size: 16px; line-height: 1.5; color: var(--text); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-btn {
  min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 10px; background: var(--ink-2); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; --cut: 10px;
}
.file-btn:hover { background: var(--blue); }
.dropzone:has(input:focus-visible) .file-btn { outline: 3px solid var(--teal); outline-offset: 2px; }
.file-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 2px solid var(--blue); background: var(--tint); }
.file-card > i { font-size: 36px; color: var(--blue); flex: none; }
.file-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-card__name { font-weight: 600; font-size: 16px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-card__meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.file-card button {
  min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--text);
  color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
}
.file-card button:hover { border-color: var(--error); color: var(--error); }

.privacy { display: flex; flex-direction: column; gap: 10px; background: var(--mist); padding: 22px 22px 24px; }
.privacy h3 { display: flex; gap: 10px; align-items: center; font-size: 19px; color: var(--text); }
.privacy h3 i { font-size: 22px; color: var(--blue); }
.privacy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

.checkbox { position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.5; color: var(--text); }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox .box { width: 26px; height: 26px; flex: none; border: 2px solid var(--text); background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.checkbox .box i { font-size: 16px; opacity: 0; }
.checkbox:has(input:checked) .box { background: var(--blue); }
.checkbox:has(input:checked) .box i { opacity: 1; }
.checkbox:has(input:focus-visible) .box { outline: 3px solid var(--teal); outline-offset: 2px; }

.form__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.form__nav .btn--primary { margin-left: auto; }

.done { display: flex; flex-direction: column; gap: 22px; }
.done__badge { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--teal); --cut: 12px; }
.done__badge i { font-size: 32px; color: var(--ink); }
.done h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; color: var(--text); }
.done .lede { color: var(--text-2); }
.done ol { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.done li { display: flex; gap: 14px; align-items: flex-start; background: var(--mist); padding: 16px 18px; font-size: 16px; line-height: 1.55; color: var(--text); }
.text-btn { background: none; border: 0; padding: 0 8px; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.text-btn:hover { color: var(--blue); }

/* ---------- CTA + footer ---------- */

.cta { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 80px 80px;
}
.cta__mark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); height: 170%; width: auto; max-width: none; opacity: .16; pointer-events: none; }
.cta > .wrap { position: relative; padding-block: clamp(64px, 8vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta__copy { display: flex; flex-direction: column; gap: 16px; max-width: 700px; }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; }
.cta p { margin: 0; font-size: 17px; line-height: 1.6; color: #E1F1F8; }

.footer { background: var(--ink); color: var(--on-dark); }
.footer > .wrap { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 40px; }
.footer__cols { --min: 200px; --gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__col:first-child { gap: 14px; }
.footer__col img { width: 170px; height: auto; }
.footer__col h2 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: #fff; }
.footer__col p { margin: 0; line-height: 1.6; }
.footer__col a { color: var(--on-dark); }
.footer__col a:hover { color: var(--teal); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- Phones ---------- */

@media (max-width: 600px) {
  .banner .wrap { font-size: 13px; }
  .banner a { display: none; } /* the header already has Apply */
  .brand span { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .prog-stats { grid-template-columns: 1fr; }
  .prog-stats li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 18px; }
  .prog-stats li span:first-child { white-space: nowrap; }
  .prog-stats li span:last-child { text-align: right; }
  .ladder li:nth-child(n) { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__word { transition: none; }
}

.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
