:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --blue: #1d4ed8;
  --line: #cbd5e1;
  --paper: #f8fafc;
  --white: #fff;
  --focus: #b45309;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 12px 16px; transform: translateY(-160%); background: var(--white); color: var(--ink); border: 2px solid var(--focus); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; min-height: 48px; align-items: center; color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.primary-nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.primary-nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 10px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.primary-nav a { color: var(--ink); }
.primary-nav a:hover, .site-footer nav a:hover { background: #eff6ff; color: #1e40af; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 11px 20px; border: 2px solid var(--blue); border-radius: 8px; background: var(--blue); color: var(--white); font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; }
.button:hover { background: #1e40af; border-color: #1e40af; }
.hero { padding-block: clamp(48px, 8vw, 88px); background: linear-gradient(125deg, #0f172a 0%, #172b4d 100%); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr); align-items: center; gap: clamp(28px, 6vw, 72px); }
.eyebrow { margin: 0 0 12px; color: #bfdbfe; font-size: 14px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-dark { color: #1e40af; }
h1 { max-width: 780px; margin: 0 0 20px; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -.04em; }
.hero-copy { max-width: 650px; margin: 0 0 28px; color: #e2e8f0; font-size: clamp(18px, 2vw, 21px); }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-light:hover { background: #e2e8f0; border-color: #e2e8f0; }
.portal-card { padding: clamp(24px, 4vw, 36px); border: 1px solid #64748b; border-radius: 16px; background: rgb(255 255 255 / 7%); }
.portal-card .button { background: #bfdbfe; border-color: #bfdbfe; color: var(--ink); }
.portal-card .button:hover { background: #dbeafe; border-color: #dbeafe; }
.portal-label { margin: 0 0 8px; color: #bfdbfe; font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.portal-card h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; }
.portal-card > p:not(.portal-label) { margin: 0 0 22px; color: #e2e8f0; }
.section { padding-block: clamp(48px, 7vw, 72px); }
.section-title { margin: 0 0 26px; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; letter-spacing: -.025em; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.service-card h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
.service-card p { min-height: 78px; margin: 0 0 18px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.support-band { background: #eaf1fb; }
.support-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 34px; }
.support-inner h2 { margin: 0 0 4px; font-size: 25px; }
.support-inner p { margin: 0; color: var(--muted); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; min-height: 54px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 48px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.service-hero { padding-block: clamp(48px, 8vw, 84px) 44px; }
.service-hero h1 { font-size: clamp(36px, 5vw, 52px); }
.lead { max-width: 720px; margin: 0 0 26px; color: var(--muted); font-size: 20px; }
.service-info { max-width: 1120px; margin-inline: auto; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.service-info h2, .related h2 { margin: 0 0 8px; font-size: 24px; }
.service-info p, .related p { max-width: 760px; color: var(--muted); }
.related { padding-block: 42px 58px; }
.related > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.related a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 650; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 24px; padding-block: 26px; }
.footer-inner > p:first-child { margin: 0; font-weight: 700; }
.footer-inner nav { justify-content: flex-end; }
.legal-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }

 .legal-content { max-width: 800px; padding-block: 42px 64px; overflow-wrap: anywhere; }
.legal-content h1, .legal-content h2, .legal-content h3 { line-height: 1.25; }
.legal-content h1 { font-size: clamp(30px, 4vw, 42px); }
.document-meta { color: var(--muted); font-size: 14px; }
.legal-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.legal-content th, .legal-content td { min-width: 120px; padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.legal-links { grid-column: 1 / -1; justify-content: flex-start; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding-block: 12px; }
  .primary-nav { gap: 8px 10px; }
  .primary-nav a { padding-inline: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .portal-card { max-width: 520px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .support-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: flex-start; }
  .legal-note { grid-column: auto; }
  .service-info { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
