:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f2efe8;
  --text: #1f2933;
  --muted: #5f6b7a;
  --line: #e4ded2;
  --brand: #253c78;
  --brand-dark: #172755;
  --accent: #c47f2c;
  --success-bg: #eef8f0;
  --success-border: #b7d9be;
  --shadow: 0 20px 50px rgba(31, 41, 51, 0.10);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--brand-dark); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  background: var(--brand);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--surface-muted);
}

.nav-toggle { display: none; }

.hero,
.page-hero {
  padding: 82px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(196, 127, 44, 0.18), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(37, 60, 120, 0.16), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1, h2, h3 { line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.06em; margin: 0 0 18px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin: 0 0 18px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }

.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--muted); max-width: 760px; }

.disclosure-banner {
  display: inline-block;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: 14px;
  padding: 12px 14px;
  color: #245530;
  font-weight: 650;
}

.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.button:hover { color: white; background: var(--brand-dark); }
.button-secondary { background: white; color: var(--brand); border: 1px solid var(--line); box-shadow: none; }
.button-secondary:hover { color: var(--brand-dark); background: var(--surface-muted); }

.profile-panel,
.panel,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-panel { padding: 28px; }
.profile-panel dl,
.stacked-dl { margin: 0; }
.profile-panel div,
.stacked-dl dt { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.profile-panel dt,
.stacked-dl dt { color: var(--muted); font-size: 0.86rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.profile-panel dd,
.stacked-dl dd { margin: 4px 0 0; font-weight: 700; }

.section { padding: 70px 0; }
.section-muted { background: var(--surface-muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.card, .panel { padding: 24px; }
.card p, .panel p { color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
}

.prose { max-width: 780px; }
.prose p { font-size: 1.05rem; color: var(--muted); }
.prose li { margin-bottom: 8px; }

.article-list { display: grid; gap: 18px; }
.article-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.article-list h2 { margin-bottom: 10px; font-size: 1.45rem; }
.article-list p { margin: 0; color: var(--muted); }

.site-footer {
  background: #17202d;
  color: #d9e1ec;
  padding: 52px 0 24px;
}
.site-footer h2 { color: white; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer a { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); margin-top: 28px; padding-top: 18px; color: #aeb8c4; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--text);
    font-weight: 800;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .hero-grid,
  .two-col,
  .card-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero,
  .page-hero { padding: 56px 0; }
}
