:root {
  color-scheme: light;
  --green-950: #0b2f6b;
  --green-800: #135fba;
  --green-650: #2f80ed;
  --green-100: #e8f2ff;
  --green-50: #f4f9ff;
  --ink: #10233f;
  --muted: #58708f;
  --line: #d7e7fa;
  --white: #ffffff;
  --danger: #1c6dd0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 6%, rgba(47, 128, 237, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--green-50), #ffffff 22rem);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--green-800); }
a:hover { color: var(--green-950); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1080px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--green-950);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"] { color: var(--green-800); }

main {
  width: min(860px, calc(100% - 32px));
  margin: 54px auto 72px;
}

.hero, .document {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(19, 95, 186, 0.1);
}

.hero { padding: clamp(28px, 6vw, 64px); }
.document { padding: clamp(24px, 5vw, 52px); }

.eyebrow {
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--green-950);
  line-height: 1.25;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
  margin-top: 2.2rem;
  padding-top: 0.4rem;
  font-size: 1.35rem;
}

h3 { font-size: 1.05rem; }
p, li { max-width: 74ch; }
ul, ol { padding-left: 1.4rem; }

.updated, .lede { color: var(--muted); }
.updated { margin: 0 0 28px; font-size: 0.94rem; }
.lede { font-size: 1.08rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.card {
  display: block;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  border-color: var(--green-650);
  box-shadow: 0 12px 28px rgba(19, 95, 186, 0.12);
  transform: translateY(-2px);
}
.card strong { display: block; color: var(--green-950); margin-bottom: 6px; }
.card span { color: var(--muted); font-size: 0.94rem; }

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--green-100);
  border-left: 4px solid var(--green-650);
  border-radius: 10px;
}

.danger-notice {
  background: #eef6ff;
  border-left-color: var(--danger);
}

.button {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(19, 95, 186, 0.2);
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--green-950);
  transform: translateY(-1px);
}

footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { justify-content: flex-start; }
  main { margin-top: 28px; }
  .cards { grid-template-columns: 1fr; }
}
