:root {
  color-scheme: light;
  --navy-950: #03122d;
  --navy-900: #061b42;
  --navy-800: #0a2b63;
  --silver-700: #505968;
  --silver-500: #7a8391;
  --silver-300: #c5cbd3;
  --silver-200: #dfe3e8;
  --silver-100: #f1f3f6;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(3, 18, 45, 0.1);
  --page-top: #ffffff;
  --page-bottom: #f8f9fb;
  --header-background: rgba(255, 255, 255, 0.92);
  --surface-background: rgba(255, 255, 255, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.78);
  --panel-start: rgba(255, 255, 255, 0.95);
  --panel-end: rgba(241, 243, 246, 0.9);
  --footer-background: rgba(255, 255, 255, 0.72);
  --button-background: #061b42;
  --button-hover: #0a2b63;
  --button-text: #ffffff;
  --theme-switch-background: rgba(0, 0, 0, 0.04);
  --theme-switch-border: rgba(0, 0, 0, 0.12);
  --theme-switch-inactive: #4a5568;
  --theme-switch-active: #03110f;
  --shell: 1160px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy-950: #f4f7fb;
  --navy-900: #7fb6f5;
  --navy-800: #9ac9ff;
  --silver-700: #bac4d2;
  --silver-500: #929eaf;
  --silver-300: #53637a;
  --silver-200: #2a3b52;
  --silver-100: #15263d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --page-top: #071426;
  --page-bottom: #0a182b;
  --header-background: rgba(7, 20, 38, 0.94);
  --surface-background: rgba(13, 30, 52, 0.9);
  --surface-soft: rgba(16, 36, 61, 0.88);
  --panel-start: rgba(14, 32, 55, 0.98);
  --panel-end: rgba(9, 23, 42, 0.96);
  --footer-background: rgba(7, 20, 38, 0.9);
  --button-background: #12477f;
  --button-hover: #1b5d9f;
  --button-text: #ffffff;
  --theme-switch-background: rgba(255, 255, 255, 0.08);
  --theme-switch-border: rgba(255, 255, 255, 0.18);
  --theme-switch-inactive: #9aacc0;
  --theme-switch-active: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --navy-950: #f4f7fb;
    --navy-900: #7fb6f5;
    --navy-800: #9ac9ff;
    --silver-700: #bac4d2;
    --silver-500: #929eaf;
    --silver-300: #53637a;
    --silver-200: #2a3b52;
    --silver-100: #15263d;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    --page-top: #071426;
    --page-bottom: #0a182b;
    --header-background: rgba(7, 20, 38, 0.94);
    --surface-background: rgba(13, 30, 52, 0.9);
    --surface-soft: rgba(16, 36, 61, 0.88);
    --panel-start: rgba(14, 32, 55, 0.98);
    --panel-end: rgba(9, 23, 42, 0.96);
    --footer-background: rgba(7, 20, 38, 0.9);
    --button-background: #12477f;
    --button-hover: #1b5d9f;
    --button-text: #ffffff;
    --theme-switch-background: rgba(255, 255, 255, 0.08);
    --theme-switch-border: rgba(255, 255, 255, 0.18);
    --theme-switch-inactive: #9aacc0;
    --theme-switch-active: #ffffff;
  }
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 10%, rgba(10, 43, 99, 0.07), transparent 30rem),
    linear-gradient(180deg, var(--page-top) 0%, var(--page-bottom) 100%);
  color: var(--navy-950);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--button-background);
  color: var(--button-text);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.shell,
.nav-shell,
.footer-shell {
  width: calc(100% - 3rem);
  max-width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--silver-200);
  background: var(--header-background);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-900);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--silver-700);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--silver-100);
  color: var(--navy-900);
  outline: none;
}

.nav-links a[aria-current="page"] {
  background: var(--button-background);
  color: var(--button-text);
  box-shadow: 0 8px 22px rgba(6, 27, 66, 0.18);
}

.theme-switch {
  position: relative;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--theme-switch-border);
  border-radius: 999px;
  background: var(--theme-switch-background);
  isolation: isolate;
}

.js .theme-switch { display: flex; }

.theme-switch__indicator {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  z-index: 0;
  width: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00b4d8, #7c3aed);
  pointer-events: none;
  transform: translateX(26px);
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme="dark"] .theme-switch__indicator {
  transform: translateX(0);
}

:root[data-theme="light"] .theme-switch__indicator {
  transform: translateX(26px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-switch__indicator {
    transform: translateX(0);
  }
}

.theme-switch__option {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 26px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--theme-switch-inactive);
  cursor: pointer;
  transition: color 200ms ease;
}

.theme-switch__option svg {
  width: 14px;
  height: 14px;
  display: block;
}

.theme-switch__option[aria-pressed="true"] {
  color: var(--theme-switch-active);
}

.theme-switch__option:hover {
  color: var(--navy-950);
}

.theme-switch__option:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}

main { flex: 1; }

.banner-section {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(25, 85, 160, 0.42);
  background: #020d20;
}

.banner-image {
  width: 100%;
  height: auto;
}

.hero {
  min-height: 410px;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  max-width: 800px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--navy-800);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1,
h2 {
  color: var(--navy-950);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 6.35rem);
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: var(--silver-700);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--button-background);
  color: var(--button-text);
  box-shadow: 0 12px 30px rgba(6, 27, 66, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible { background: var(--button-hover); }

.button-secondary {
  border-color: var(--silver-300);
  background: var(--surface-soft);
  color: var(--navy-900);
}

.quick-links { padding-block: 1rem clamp(5rem, 9vw, 8rem); }
.section-heading { margin-bottom: 2rem; }

.section-heading h2,
.placeholder-card h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  min-height: 290px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--silver-200);
  border-radius: 1.5rem;
  background: var(--surface-background);
  box-shadow: 0 16px 40px rgba(3, 18, 45, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--silver-300);
  box-shadow: 0 24px 54px rgba(3, 18, 45, 0.11);
  outline: none;
}

.card-number {
  margin-bottom: auto;
  color: var(--silver-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.card-title {
  margin: 2rem 0 0.65rem;
  color: var(--navy-950);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.card-copy {
  max-width: 32rem;
  color: var(--silver-700);
}

.card-link {
  margin-top: 1.4rem;
  color: var(--navy-800);
  font-weight: 800;
}

.page-hero { padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 7vw, 5.5rem); }

.page-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.page-hero > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--silver-700);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.placeholder-section { padding-bottom: clamp(5rem, 10vw, 9rem); }

.placeholder-card {
  min-height: 350px;
  padding: clamp(2rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--silver-200);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, var(--panel-start), var(--panel-end));
  box-shadow: var(--shadow);
}

.placeholder-card > p:last-of-type {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--silver-700);
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.contact-card {
  min-height: 220px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--silver-200);
  border-radius: 1.35rem;
  background: var(--surface-background);
  box-shadow: 0 16px 38px rgba(3, 18, 45, 0.06);
}

.contact-card p { color: var(--silver-700); }

.contact-card .contact-label {
  margin-bottom: 2.8rem;
  color: var(--navy-950);
  font-size: 1.15rem;
  font-weight: 800;
}

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

.footer-shell {
  min-height: 100px;
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--silver-700);
  font-size: 0.82rem;
}

.footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

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

.footer-shell a:hover,
.footer-shell a:focus-visible {
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-meta {
  color: var(--silver-700);
}

.footer-meta a {
  color: var(--navy-800);
  font-weight: 800;
}

.footer-divider {
  margin-inline: 0.4rem;
  color: var(--silver-300);
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 170px; }
}

@media (max-width: 680px) {
  .shell,
  .nav-shell,
  .footer-shell { width: calc(100% - 2rem); }

  .nav-shell {
    min-height: 0;
    padding-block: 0.8rem;
    flex-direction: column;
    gap: 0.65rem;
  }

  .brand { font-size: 0.9rem; }

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

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
  }

  .nav-links a {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

  .hero { padding-block: 3.8rem 5rem; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .page-hero { padding-top: 4rem; }

  .footer-shell {
    min-height: 130px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-shell nav { justify-content: center; }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
