:root {
  color-scheme: light;
  --ink: #14213b;
  --muted: #66728a;
  --paper: #f5f7fb;
  --line: #e4e8f0;
  --blue: #1c4b92;
  --teal: #a9f0e8;
  --orange: #ffb36d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 4% 2%, rgb(169 240 232 / 24%), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration-color: #b6c7df;
  text-underline-offset: 0.18em;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

a:hover {
  color: #177f78;
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid #36a99a;
  outline-offset: 4px;
  border-radius: 4px;
}

.page-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

header a:first-child,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
}

header a:last-child:not(:first-child) {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgb(20 33 59 / 7%);
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 4px 14px rgb(20 33 59 / 5%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

header a:last-child:not(:first-child):hover {
  border-color: #b6e8e2;
  color: #177f78;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: var(--teal);
  font-size: 16px;
  letter-spacing: -0.08em;
}

main {
  position: relative;
  overflow: hidden;
  margin: 14px 0 30px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 20px 54px rgb(25 42 72 / 8%);
}

main::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #67d8ca, var(--teal) 55%, var(--orange));
  content: "";
}

h1, h2 { line-height: 1.2; }

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 760;
  letter-spacing: -0.055em;
}

h1::after {
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 17px;
  border-radius: 999px;
  background: linear-gradient(90deg, #58cbbb, #a9f0e8);
  content: "";
}

h2 {
  margin: 32px 0 10px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  font-size: clamp(19px, 3vw, 22px);
  font-weight: 740;
  letter-spacing: -0.035em;
}

p, ul { max-width: 72ch; margin: 0 0 16px; }

ul { padding-left: 24px; }

li { padding-left: 3px; margin-bottom: 7px; }

.effective-date,
.muted {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 5px 11px;
  border: 1px solid #e4edf4;
  border-radius: 999px;
  background: #f2f7fb;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.docs {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.doc-link {
  display: block;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfe;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.doc-link:hover {
  transform: translateY(-2px);
  border-color: #b6e8e2;
  background: white;
  box-shadow: 0 10px 24px rgb(25 42 72 / 7%);
  color: var(--ink);
}

.doc-link strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.download { color: var(--muted); font-size: 14px; }

footer {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}

main > :last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 820px); }
  header { min-height: 68px; gap: 10px; }
  header a:last-child:not(:first-child) { min-height: 36px; padding: 0 11px; font-size: 12px; }
  main { margin-top: 8px; padding: 25px 21px 28px; border-radius: 20px; }
  h2 { margin-top: 27px; padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
