:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #1e293b;
  --muted: #64748b;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--primary-dark);
}

a:hover,
a:focus-visible {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--text);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 2rem;
}

.brand img {
  display: block;
  width: 163px;
  height: auto;
}

.site-nav ul,
.footer-links,
.related-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.site-nav .cta,
.button {
  display: inline-block;
  border-radius: .5rem;
  padding: .75rem 1.15rem;
  color: var(--white);
  background: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.site-nav .cta:hover,
.site-nav .cta:focus-visible,
.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--primary-dark);
}

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 55%, #f8fafc 100%);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--primary-dark);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 900px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.35rem, 6vw, 3rem);
  letter-spacing: -.035em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2rem);
  letter-spacing: -.02em;
}

h3 {
  margin: 0 0 .6rem;
  font-size: 1.2rem;
}

.lede {
  max-width: 800px;
  margin: 0;
  color: #475569;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button.secondary {
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  background: transparent;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--white);
  background: var(--primary);
}

main section {
  padding: 4rem 0;
}

main section:nth-child(odd):not(.hero) {
  background: var(--surface);
}

.content-width {
  max-width: 850px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card,
.faq-item,
.notice {
  border: 1px solid var(--border);
  border-radius: .8rem;
  background: var(--white);
}

.card {
  padding: 1.5rem;
}

.card p {
  margin-bottom: 0;
}

.notice {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 5px solid var(--primary);
}

.check-list {
  padding-left: 1.25rem;
}

.check-list li + li {
  margin-top: .55rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  padding: 1.4rem;
}

.faq-item p {
  margin: 0;
}

.related {
  background: #eff6ff !important;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 2rem;
}

.related-links a {
  font-weight: 700;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: var(--white);
  background: var(--text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer h2 {
  font-size: 1.5rem;
}

.site-footer h3 {
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .82);
}

.footer-links li + li {
  margin-top: .55rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .site-nav a {
    display: block;
  }

  .site-nav .cta {
    text-align: center;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  main section {
    padding: 3rem 0;
  }

  .grid,
  .related-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }
}
