:root {
  --navy: #071726;
  --ink: #122033;
  --muted: #5d6b7c;
  --paper: #f6f4ed;
  --surface: #ffffff;
  --line: #d9d4c7;
  --gold: #e4a93a;
  --green: #2f5948;
  --blue: #2c88b8;
  --shadow: 0 20px 55px rgba(7, 23, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 23, 38, 0.97);
  color: white;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  font-weight: 950;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 850;
}

.site-nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: white;
}

.button.ghost {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.page {
  min-height: 100vh;
}

.section,
.hero,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: clamp(20px, 3.4vw, 44px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px) 0 34px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(40px, 5.7vw, 66px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy p,
.page-hero p,
.section-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-media,
.media-frame {
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: clamp(300px, 35vw, 470px);
  object-fit: cover;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.path-grid,
.service-grid,
.faq-grid,
.split-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.service-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.panel,
.path-card,
.faq-item {
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface);
}

.path-card strong,
.panel h3,
.faq-item strong {
  display: block;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
}

.path-card p,
.panel p,
.faq-item p,
li {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.path-card .button {
  margin-top: 18px;
}

.section {
  padding: clamp(34px, 6vw, 72px) 0;
}

.section h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sitemap-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.dark-band .section h2,
.dark-band .panel h3,
.dark-band .path-card strong,
.dark-band .faq-item strong {
  color: white;
}

.dark-band .section-lead,
.dark-band .panel p,
.dark-band .path-card p,
.dark-band li {
  color: rgba(255, 255, 255, 0.74);
}

.dark-band .path-grid,
.dark-band .service-grid,
.dark-band .split-grid {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.dark-band .panel,
.dark-band .path-card {
  background: rgba(255, 255, 255, 0.06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.step {
  padding: 20px;
  background: white;
}

.step span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 950;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.notice {
  margin-top: 22px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  background: rgba(228, 169, 58, 0.16);
  color: var(--muted);
  font-weight: 750;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.login-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-card p {
  color: var(--muted);
  font-size: 18px;
}

.login-box {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.login-box label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-box input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.status-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.status-row {
  padding: 18px;
  background: white;
}

.status-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.status-row span {
  color: var(--muted);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.page-hero .hero-media img {
  height: clamp(300px, 38vw, 500px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 850;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .page-hero,
  .login-shell,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-media {
    order: 2;
  }

  .path-grid,
  .service-grid,
  .faq-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand > span:not(.mark) {
    display: none;
  }

  .brand .mark {
    display: grid;
  }

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }

  .nav-wrap > .button {
    min-height: 40px;
    padding-inline: 14px;
    width: auto;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-copy p,
  .page-hero p,
  .section-lead {
    font-size: 17px;
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .nav-wrap > .button {
    width: auto;
  }

  .hero-media img {
    height: 260px;
  }
}
