:root {
  --bg: #f4f6f9;
  --paper: #ffffff;
  --paper-soft: #f9fbff;
  --ink: #16253b;
  --muted: #647588;
  --line: #d9e0e8;
  --navy: #0a2b53;
  --blue: #2f72bf;
  --blue-soft: #e6effa;
  --shadow: 0 16px 44px -30px rgba(10, 43, 83, 0.45);
}

/* Global tokens and defaults */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 5% 5%, var(--paper-soft) 0, transparent 28%),
    radial-gradient(circle at 95% 10%, #f2f8ff 0, transparent 18%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

/* Shared utility */
a {
  color: inherit;
}

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

/* Header */
.site-header {
  padding: 24px 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
}

.site-header .container {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 24px;
  align-items: center;
}

.logo {
  display: inline-flex;
  width: 120px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  color: #334760;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav a:hover,
nav a:focus-visible {
  color: var(--navy);
}

/* Hero */
.hero {
  padding: 84px 0 76px;
}

.hero__inner {
  display: block;
}

.hero__copy {
  max-width: 900px;
}

.hero__copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 12px 0 18px;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--navy);
}

.hero__copy p {
  margin: 0;
  max-width: 65ch;
  font-size: 1.12rem;
  color: #43566d;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  margin-top: 28px;
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: #0d3571;
}

.section {
  padding: 58px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 80ch;
  margin-bottom: 24px;
}

.section__head h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.section__head p {
  margin: 0;
  color: #3d5b7c;
  font-size: 1.05rem;
}

.section__head--muted h2 {
  max-width: 820px;
}

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

.cards article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 12px;
  padding: 20px;
}

.cards h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #24415d;
}

.cards .card-label {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cards p {
  margin: 0;
  color: #4a5d73;
  font-size: 0.96rem;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist p {
  margin: 0;
  max-width: 78ch;
  color: #41556d;
  font-size: 1.05rem;
}

.contact {
  margin: 44px auto 28px;
  background: linear-gradient(138deg, #082a56, #0e3662);
  border-radius: 18px;
  padding: 52px;
  width: min(1120px, calc(100% - 64px));
  color: #edf3ff;
}

.contact .eyebrow {
  color: #b7d4f2;
}

.contact h2 {
  margin: 8px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.button--light {
  background: #fff;
  color: #0c2d57 !important;
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--paper-soft);
}

/* Sections */
.site-footer {
  padding: 30px 0 40px;
}

.site-footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding-top: 60px;
  }

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

  .contact {
    width: min(100% - 32px, 1120px);
    padding: 32px;
  }
}

@media (max-width: 680px) {
  .site-header .container,
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  nav {
    justify-self: center;
  }
}

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

  .button {
    transition: none;
  }
}
