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

:root {
  --navy: #0b2c4a;
  --navy-deep: #081f35;
  --blue: #105090;
  --blue-bright: #1762ae;
  --blue-soft: #e8f1f8;
  --mist: #f4f7fb;
  --text: #1b2430;
  --muted: #5c6775;
  --line: #d5dee8;
  --white: #fff;
  --green: #2a8a48;
  --danger: #9b1c2c;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(11, 44, 74, 0.12);
  --header-h: 76px;
  --max: 1120px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-bright);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--navy);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo img {
  width: 200px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
}
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { color: var(--white); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-sm {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.hero {
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(23, 98, 174, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d6e6f5;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 720;
  text-wrap: balance;
}

.h1-main,
.h1-sub {
  display: block;
}

.h1-sub {
  margin-top: 0.18em;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #d7e6f4;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d5e3f0;
  max-width: 38rem;
}

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

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device {
  margin: 0;
  width: min(100%, 280px);
  aspect-ratio: 9 / 16;
  padding: 8px;
  border-radius: 32px;
  background: #061221;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.35);
}

.device video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: #0b2c4a;
}

.device-caption {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #b9cbe0;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--mist);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-navy .section-kicker,
.section-navy .footnote {
  color: #9ec0e0;
}

.section h2,
.faq-wrap h2,
.apply-intro h2,
.meet-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.section-navy h2 {
  color: var(--white);
}

.section-lead,
.meet-copy p,
.veterans-grid p,
.apply-intro p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 42rem;
}

.section-lead {
  margin-bottom: 36px;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 1px 0 rgba(11, 44, 74, 0.03);
}

.feature-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  align-items: center;
  justify-content: center;
}

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

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.income-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0 20px;
}

.income-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.income-figure {
  margin: 0 0 6px;
  font-size: clamp(2.4rem, 5vw, 3.25rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1;
}

.income-label {
  margin: 0;
  color: #c5d7ea;
  font-size: 1.02rem;
}

.footnote {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
}

.meet-grid,
.apply-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.veterans-card {
  display: grid;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 1px 0 rgba(11, 44, 74, 0.03);
}

.veterans-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  align-items: center;
  justify-content: center;
}

.veterans-icon svg {
  width: 30px;
  height: 30px;
}

.veterans-card h2 {
  margin-bottom: 12px;
}

.veterans-card p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 46rem;
}

.veterans-card .section-kicker {
  margin-bottom: 8px;
}

.veterans-card .btn {
  margin-top: 4px;
}

.meet-photo img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.meet-signoff {
  font-weight: 600;
  color: var(--navy) !important;
  margin-top: 8px;
}

.meet-copy .btn {
  margin-top: 8px;
}

@media (min-width: 720px) {
  .veterans-card {
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
    padding: 40px 44px;
  }
}

.apply-note {
  font-size: 0.95rem;
}

.interest-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 16px;
}

.form-split {
  display: grid;
  gap: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  appearance: none;
  -webkit-appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6775' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(16, 80, 144, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: var(--danger);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.faq-wrap {
  max-width: none;
}

.faq-list {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  padding: 14px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
  margin-top: -4px;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-list details p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-footer {
  background: var(--mist);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

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

.footer-brand img {
  width: 220px;
  height: auto;
  margin-bottom: 12px;
}

.footer-brand p,
.footer-legal p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-contact h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--navy);
}

.footer-contact p {
  margin: 0 0 12px;
}

.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.socials a:hover { color: var(--blue); }

.socials svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-legal {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section,
#apply,
#faq,
#veterans,
#aaron,
#income,
#role {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

@media (min-width: 720px) {
  .container { width: min(calc(100% - 48px), var(--max)); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-column: auto; }
  .income-grid { grid-template-columns: 1fr 1fr; }
  .form-split { grid-template-columns: 1fr 1fr; }
  .interest-form { padding: 32px; }
}

@media (min-width: 900px) {
  .hero {
    padding: 56px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
  .hero-media { justify-self: end; }
  .meet-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
  .meet-photo img { margin-inline: 0; }
  .apply-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature-card,
  .feature-card-wide {
    flex: 0 1 calc((100% - 32px) / 3);
    grid-column: auto;
  }
}

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: 0 16px 24px rgba(11, 44, 74, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav li a:not(.btn) {
    display: block;
    padding: 12px 8px;
  }
  .site-nav .btn { width: 100%; }
  .logo img { width: 168px; }
  .device { width: min(100%, 230px); }
}

@media (max-width: 479px) {
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 48px; }
  .hero h1 { font-size: 1.85rem; }
}
