:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --muted-soft: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #0f4c81;
  --accent-strong: #0b3b63;
  --success: #0f766e;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(15, 76, 129, 0.06), transparent 220px),
    var(--bg);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.footer,
.hero,
.content-card,
.info-card,
.support-box,
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
}

.brand,
.nav a,
.footer a,
.footer p,
.info-card a,
.inline-link {
  text-decoration: none;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav a:hover,
.nav a.active {
  background: #eff6ff;
  color: var(--accent);
}

main {
  padding: 24px 0;
}

.hero,
.content-card {
  border-radius: var(--radius-lg);
}

.hero {
  padding: 56px;
}

.eyebrow,
.content-meta {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

p,
li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-copy {
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats,
.card-grid,
.support-panel,
.summary-grid {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text);
}

.stat span {
  color: var(--muted-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.info-card p {
  margin-top: 12px;
}

.info-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.content-card {
  padding: 42px;
}

.content-header {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.content-header h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.content-section + .content-section {
  margin-top: 28px;
}

.content-section p + p {
  margin-top: 12px;
}

.content-section ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

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

.summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 0;
}

.notice,
.support-box {
  padding: 22px;
  border-radius: var(--radius-md);
}

.notice strong,
.support-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.inline-link {
  color: var(--accent);
  font-weight: 800;
}

.support-panel {
  grid-template-columns: 1.1fr 0.9fr;
}

.footer {
  margin-top: 4px;
}

.footer p {
  color: var(--text);
  font-weight: 800;
}

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

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 20px, 1100px);
    padding-top: 14px;
  }

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

  .hero,
  .content-card {
    padding: 26px;
  }

  .hero-stats,
  .card-grid,
  .support-panel,
  .summary-grid {
    grid-template-columns: 1fr;
  }
}
