:root {
  --navy: #102445;
  --navy-soft: #1d365d;
  --gold: #bd9845;
  --gold-soft: #f4ead0;
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #17243a;
  --muted: #5f6b7a;
  --border: #ded9cf;
  --shadow: 0 18px 45px rgba(16, 36, 69, 0.08);
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

a {
  color: var(--navy-soft);
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(222, 217, 207, 0.8);
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(12px);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.hero {
  padding: 6.5rem 0 5rem;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(189, 152, 69, 0.2),
      transparent 28%
    ),
    linear-gradient(145deg, var(--navy), #172f55 62%, #294466);
  color: var(--white);
}

.hero-grid {
  display: block;
}

.hero-grid > div {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero-copy {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  color: #e8edf5;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--gold-soft);
  border-radius: 0.65rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: var(--white);
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  background: transparent;
}

.page-header {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.page-header h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-intro {
  max-width: 70ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section {
  padding: 4.5rem 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-heading p {
  color: var(--muted);
}

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

.card,
.legal-content,
.notice,
.contact-card {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

.legal-content {
  max-width: 860px;
  margin: 2.5rem auto 4.5rem;
  padding: clamp(1.35rem, 4vw, 3.5rem);
}

.legal-content h2 {
  margin-top: 2.4rem;
  font-size: 1.65rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 1.7rem;
  font-size: 1.18rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.metadata {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--gold);
  box-shadow: none;
}

.notice strong {
  color: var(--navy);
}

.steps {
  padding-left: 1.3rem;
}

.steps li {
  padding-left: 0.4rem;
}

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

.contact-card {
  padding: 1.5rem;
}

.contact-card h2,
.contact-card h3 {
  margin-top: 0;
}

.site-footer {
  padding: 2.5rem 0;
  color: #dce4ef;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 0.65rem 1.2rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer p {
  margin: 0.4rem 0;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav,
  .container {
    width: min(100% - 1.25rem, 1120px);
  }

  .hero {
    padding: 4.5rem 0 3.5rem;
  }

  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-content {
    margin-top: 1rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}

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