:root {
  --ink: #14213d;
  --muted: #4f5d75;
  --paper: #f7f8fc;
  --surface: #ffffff;
  --accent: #2d6a9f;
  --accent-dark: #1e4b73;
  --border: #dce3ef;
  --focus: #f0b429;
  --max-width: 1040px;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(20, 33, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
}

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

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

.site-header {
  background: var(--ink);
  color: #ffffff;
  border-bottom: 4px solid var(--accent);
}

.nav-wrap,
.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-nav a {
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

main {
  min-height: calc(100vh - 190px);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at top right, rgba(45, 106, 159, 0.18), transparent 34rem),
    var(--paper);
}

.hero h1,
.page-title h1 {
  max-width: 800px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.12;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-block;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  background: var(--accent);
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-dark);
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
}

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

.card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

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

.page-title {
  padding: 3rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.content {
  max-width: 820px;
  padding: 2.75rem 0 4rem;
}

.content h2 {
  margin-top: 2.25rem;
  line-height: 1.25;
}

.content h3 {
  margin-top: 1.6rem;
  line-height: 1.3;
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  background: #eaf4fb;
}

.small {
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer {
  padding: 2rem 0;
  color: #d9e4f2;
  background: var(--ink);
}

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

.site-footer a {
  color: #ffffff;
}

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

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

  .hero {
    padding: 3.4rem 0 2.8rem;
  }
}