:root {
  color-scheme: light;
  --ink: #1c2540;
  --muted: #606b7d;
  --paper: #f7f9fd;
  --line: #e0e6f2;
  --primary: #315bea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 1;
  padding: .5rem 1rem;
  background: white;
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2.5rem, 1100px); margin-inline: auto; }
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem 1.5rem; }
.nav a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem);
  border-radius: 28px;
  background: linear-gradient(130deg, #315bea, #203783);
  color: #fff;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 1.3rem;
  color: #e2eaff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1, .page-intro h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.06em;
}
.hero p:not(.eyebrow) { max-width: 38rem; margin: 1.4rem 0 0; color: #edf2ff; font-size: clamp(1rem, 2vw, 1.17rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #2448c6; }
.hero .button:not(.secondary) { background: #fff; color: #203783; }
.hero .button:not(.secondary):hover { background: #edf2ff; }
.button.secondary { border-color: #cddaff; background: transparent; color: white; }
.button.secondary:hover { background: #ffffff14; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-heading { max-width: 44rem; margin-bottom: 1.6rem; }
.section-heading h2, .page-intro h1 { margin-top: 0; }
.section-heading h2 { margin-bottom: .5rem; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.045em; line-height: 1.15; }
.section-heading p, .card p, .page-intro p { color: var(--muted); }
.section-heading p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.card-number { color: #3453aa; font-size: .75rem; font-weight: 750; letter-spacing: .1em; }
.card h3 { margin: .9rem 0 .45rem; font-size: 1.15rem; letter-spacing: -.025em; }
.card p { margin: 0; font-size: .95rem; }
.note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: 20px; background: #eaf0ff; }
.note p { max-width: 48rem; margin: 0; }
.page-intro { padding: clamp(2.5rem, 6vw, 5rem) 0 2.5rem; border-bottom: 1px solid var(--line); }
.page-intro .eyebrow { color: #3453aa; }
.page-intro h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.page-intro p { max-width: 42rem; margin: 1rem 0 0; font-size: 1.05rem; }
.article { max-width: 760px; padding: 2.5rem 0 4.5rem; }
.article h2 { margin: 2.2rem 0 .55rem; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.article h2:first-child { margin-top: 0; }
.article p, .article ul { color: #39475c; }
.article p { margin: .5rem 0 1rem; }
.article li { margin-bottom: .5rem; }
.article a { font-weight: 650; overflow-wrap: anywhere; }
.article .callout { padding: 1.2rem 1.4rem; border-radius: 16px; background: #eaf0ff; color: var(--ink); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2rem; color: var(--muted); font-size: .88rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 650px) {
  .header { min-height: 76px; }
  .nav { gap: .3rem .9rem; }
  .nav a { font-size: .83rem; }
  .grid { grid-template-columns: 1fr; }
  .hero { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
