@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --navy: #183b67;
  --navy-deep: #122c4e;
  --blue: #397bc5;
  --blue-soft: #eaf2fa;
  --bg: #ffffff;
  --bg-muted: #f6f8fb;
  --text: #172b45;
  --text-soft: #66758a;
  --line: #e5eaf0;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Manrope", "Inter", "Segoe UI", sans-serif;
  --header: 72px;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(24, 59, 103, 0.07);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.35rem, 5.4vw, 3.7rem);
  letter-spacing: -0.038em;
  line-height: 1.06;
}

h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: #d6e6f5;
}

.visually-hidden {
  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: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--blue);
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 32px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.note {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.011em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: #c9d4e3;
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--blue-soft);
  color: var(--navy);
}

.btn-nav {
  min-height: 42px;
  padding: 0 16px;
}

.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.config-alert {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
}

.config-alert strong {
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.logo-mark {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--blue);
  flex: none;
}

.logo-word {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.desktop-nav ul a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
}

.desktop-nav ul a:hover {
  color: var(--navy);
}

.desktop-nav .btn-primary,
.desktop-nav .btn-primary:hover,
.mobile-nav .btn-primary,
.mobile-nav .btn-primary:hover {
  color: #fff;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header));
  overflow: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 4px 20px 20px;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 16px;
}

.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

dialog.form-window {
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

dialog.form-window::backdrop {
  background: rgba(23, 43, 69, 0.55);
}

dialog.form-window iframe {
  width: 100%;
  height: 600px;
  max-height: calc(100vh - 32px);
  border: 0;
  display: block;
  background: #fff;
}

.form-window-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  padding: 28px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-copy {
  max-width: 38rem;
}

.hero-sub {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.35;
}

.hero-text {
  max-width: 38rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow);
}

.split,
.who-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.lead {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
}

.photo {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.split-photo img,
.who-photo img {
  aspect-ratio: 4 / 3;
}

.wide-figure {
  margin: 0 0 28px;
}

.photo-wide {
  aspect-ratio: 16 / 9;
  object-position: center 40%;
}

figcaption {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(23, 43, 69, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: #c5d7ec;
  box-shadow: var(--shadow);
}

.info-card p:last-child {
  margin: 0;
  color: var(--text-soft);
}

.info-card-soft {
  background: var(--bg-muted);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--navy);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.index-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.steps {
  list-style: none;
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 28px;
}

.step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: #d5dee8;
}

.step:last-child {
  padding-bottom: 0;
}

.step:last-child::before {
  display: none;
}

.step-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}

.step-body p:last-child {
  margin: 0;
  color: var(--text-soft);
}

.fit-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 650;
}

.tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--blue-soft);
  color: var(--navy);
}

.tick svg {
  width: 16px;
  height: 16px;
}

.apply-band {
  background: var(--blue-soft);
  padding: 72px 0;
}

.apply-inner,
.final-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.apply-inner p,
.final-inner p {
  margin-bottom: 22px;
}

.apply-actions .btn,
.final-inner .btn {
  width: 100%;
}

.apply-note {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.apply-note a {
  font-weight: 650;
}

.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  padding: 18px 36px 18px 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--text);
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  position: relative;
}

.faq-question::before,
.faq-question::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--navy);
}

.faq-question::before {
  transform: translateY(-50%);
}

.faq-question::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  padding: 0 28px 18px 0;
  color: var(--text-soft);
  max-width: 65ch;
}

.faq-answer p:last-child {
  margin: 0;
}

.final-cta {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.final-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand p {
  max-width: 28rem;
  margin-top: 14px;
}

.logo-on-dark .logo-word {
  color: #fff;
}

.logo-on-dark .logo-mark {
  background: #eaf2fa;
}

.footer-heading {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-mail {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover,
.footer-mail:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-base {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-base p {
  margin: 0;
  font-size: 0.92rem;
}

.legal {
  padding: 48px 0 88px;
}

.legal-inner {
  max-width: 760px;
}

.legal-meta {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 32px;
}

.legal p,
.legal li {
  color: #3e5168;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 6px;
}

.legal .btn {
  margin-top: 8px;
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

section[id] {
  scroll-margin-top: 84px;
}

@media (min-width: 700px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn,
  .apply-actions .btn,
  .final-inner .btn {
    width: auto;
  }

  .card-grid.cols-4,
  .card-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .container {
    width: min(1120px, calc(100% - 64px));
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    right: calc(33.333% - 22px);
    height: 1px;
    background: #d5dee8;
  }

  .step {
    display: block;
    padding: 0;
  }

  .step::before {
    display: none;
  }

  .step-marker {
    margin-bottom: 18px;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
  }

  .section {
    padding: 104px 0;
  }

  .hero {
    padding: 42px 0 104px;
  }

  .hero-grid,
  .split,
  .who-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }

  .who-photo {
    order: -1;
  }

  .hero-photo::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 36px;
    top: 36px;
    bottom: 0;
    background: var(--blue-soft);
    border-radius: 16px;
  }

  .hero-photo img {
    position: relative;
    z-index: 1;
    width: calc(100% - 36px);
    margin-left: 36px;
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }

  .apply-band,
  .final-cta {
    padding: 104px 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
}

@media (min-width: 1100px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal.will-reveal {
    opacity: 1;
    transform: none;
  }
}
