:root {
  color: #172033;
  background: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f8fafc;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .65rem 1rem;
  border-radius: .6rem;
  color: #fff;
  background: #1d4ed8;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .06);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: .9rem 1.25rem;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-logo img {
  display: block;
  width: auto;
  height: 3.8rem;
  aspect-ratio: 1920 / 581;
}

.site-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem .9rem;
}

.site-nav a {
  padding: .45rem .25rem;
  color: #334155;
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #1d4ed8;
}

.site-nav .nav-cta,
.site-nav .nav-cta:hover {
  padding: .65rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.site-nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  margin-left: auto;
  padding: .55rem .8rem;
  border: 1px solid #cbd5e1;
  border-radius: .7rem;
  color: #1e3a8a;
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  border-color: #2563eb;
  color: #1d4ed8;
}

.site-nav-toggle__icon,
.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-nav-toggle__icon {
  position: relative;
}

.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  position: absolute;
  left: 0;
  content: '';
}

.site-nav-toggle__icon::before {
  top: -.35rem;
}

.site-nav-toggle__icon::after {
  top: .35rem;
}

.site-nav-mobile {
  display: none;
}

.site-nav-mobile[hidden] {
  display: none;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  color: #64748b;
  font-size: .9rem;
}

.breadcrumb a {
  color: #475569;
}

.page-hero {
  margin: 1.25rem 0 2.5rem;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #172554 0%, #1e40af 55%, #4f46e5 100%);
  box-shadow: 0 20px 45px rgba(30, 64, 175, .2);
}

.eyebrow {
  margin: 0 0 .8rem;
  color: #bfdbfe;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.15rem, 5vw, 4.1rem);
  line-height: 1.08;
}

.page-hero .lead {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .7rem 1.05rem;
  border-radius: .75rem;
  font-weight: 700;
}

.button-primary {
  color: #1e3a8a;
  background: #fff;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.content-section {
  margin: 2.75rem 0;
}

.content-section h2 {
  margin: 0 0 .8rem;
  color: #172554;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.content-section h3 {
  margin: 0 0 .45rem;
  color: #1e293b;
  font-size: 1.15rem;
  line-height: 1.3;
}

.content-section p {
  max-width: 800px;
  margin: 0 0 1rem;
  color: #475569;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin-top: 1rem;
  color: #dbeafe;
  font-size: .92rem;
}

.article-meta span + span::before {
  margin-right: 1rem;
  content: '•';
  color: #93c5fd;
}

.article-page .content-section {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.article-page .content-section p,
.article-page .content-section .link-list {
  max-width: 860px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.author-box {
  padding: 1.5rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: #f8fbff;
}

.author-box p:last-child {
  margin-bottom: 0;
}

.source-list {
  max-width: 860px;
}

.notice {
  max-width: 860px;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #2563eb;
  border-radius: .75rem;
  color: #1e3a8a;
  background: #eff6ff;
  line-height: 1.65;
}

.faq-list {
  max-width: 900px;
  margin-top: 1.25rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}

.faq-list details + details {
  margin-top: .75rem;
}

.faq-list summary {
  cursor: pointer;
  color: #1e3a8a;
  font-weight: 750;
}

.faq-list summary::marker {
  color: #2563eb;
}

.faq-list details p {
  margin: .85rem 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.panel {
  padding: 1.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.panel p,
.panel ul {
  margin-bottom: 0;
}

.panel ul,
.link-list {
  padding-left: 1.15rem;
  color: #475569;
}

.panel li,
.link-list li {
  margin: .35rem 0;
}

.cta-band {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.25rem;
  color: #eff6ff;
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.cta-band h2 {
  margin-top: 0;
  color: #fff;
}

.cta-band p {
  color: #dbeafe;
}

.site-footer {
  padding: 2.5rem 1.25rem;
  color: #cbd5e1;
  background: #0f172a;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #bfdbfe;
}

@media (max-width: 1100px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: .7rem 1rem;
  }

  .site-logo img {
    height: 3.1rem;
  }

  .site-nav {
    display: none;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-mobile {
    flex-basis: 100%;
    display: grid;
    gap: .25rem;
    padding-top: .75rem;
    border-top: 1px solid #e2e8f0;
  }

  .site-nav-mobile a {
    display: block;
    padding: .7rem .75rem;
    border-radius: .6rem;
    color: #334155;
    font-size: .98rem;
    font-weight: 650;
  }

  .site-nav-mobile a:hover,
  .site-nav-mobile a:focus-visible {
    color: #1d4ed8;
    background: #eff6ff;
    text-decoration: none;
  }

  .site-nav-mobile .nav-cta,
  .site-nav-mobile .nav-cta:hover {
    margin-top: .35rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    text-align: center;
  }

  .site-nav a {
    font-size: .88rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding-bottom: 2.5rem;
  }

  .article-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-meta span + span::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
