:root {
  --navy: #0d2540;
  --blue: #155bb8;
  --blue-deep: #0f4d9d;
  --sky: #d9ebff;
  --sand: #f5f1e8;
  --ink: #16202b;
  --muted: #5a6674;
  --border: rgba(13, 37, 64, 0.12);
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --shadow: 0 28px 70px rgba(13, 37, 64, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max-width: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(21, 91, 184, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(13, 37, 64, 0.12), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #f9fbff 38%, #f4efe6 100%);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: var(--blue-deep);
}

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

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

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

.page {
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(13, 37, 64, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: min(320px, 50vw);
  height: auto;
}

.brand-mark {
  width: 56px;
  height: 56px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21, 91, 184, 0.12), rgba(21, 91, 184, 0.02));
  border: 1px solid rgba(21, 91, 184, 0.12);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.topnav a.primary-link {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 37, 64, 0.22);
}

.topnav a.secondary-link {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(13, 37, 64, 0.12);
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.95fr);
  gap: 28px;
  margin-top: 22px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(13, 37, 64, 0.96), rgba(21, 91, 184, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d9ebff;
}

.hero-copy h1,
.content h1 {
  margin: 14px 0 0;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.hero-copy p.lead,
.content p.lead {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 58ch;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.light {
  background: #fff;
  color: var(--navy);
}

.button.outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.quick-facts {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.quick-facts div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.quick-facts strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d9ebff;
}

.quick-facts span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.98);
}

.hero-side {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.hero-side h2,
.section-card h2,
.section-card h3,
.content h2,
.footer-card h2 {
  margin-top: 0;
  color: var(--navy);
}

.list-stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list-stack li {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(13, 37, 64, 0.09);
  background: rgba(21, 91, 184, 0.04);
}

.list-stack strong {
  display: block;
  color: var(--navy);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.section-card,
.footer-card {
  padding: 24px;
}

.section-card p:last-child,
.footer-card p:last-child {
  margin-bottom: 0;
}

.content {
  margin-top: 24px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
}

.content h2 {
  margin-top: 28px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.content h3 {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--navy);
}

.content ul {
  padding-left: 20px;
}

.content li + li {
  margin-top: 10px;
}

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(21, 91, 184, 0.08);
  border: 1px solid rgba(21, 91, 184, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

footer {
  margin-top: 24px;
  padding-bottom: 10px;
}

.footer-bottom {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-side,
  .content,
  .section-card,
  .footer-card {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 16px;
  }

  .shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar,
  .hero-copy,
  .hero-side,
  .content,
  .section-card,
  .footer-card {
    border-radius: 22px;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .brand img {
    width: min(250px, 58vw);
  }

  .action-row,
  .topnav {
    width: 100%;
  }

  .topnav a,
  .button {
    flex: 1 1 100%;
  }
}
