:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: #1f2937;
  background: #f8fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: #37308a; text-underline-offset: 3px; }
a:hover { color: #1d4ed8; }
.site-header { background: #fff; border-bottom: 1px solid #e5e7eb; }
.site-header-inner, .site-footer-inner, .page-main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: #302878; font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 20px; }
.primary-nav a { color: #374151; text-decoration: none; font-size: .95rem; font-weight: 600; }
.primary-nav a:hover { color: #37308a; }
.primary-nav .nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: #3b3189; color: #fff; font-weight: 700; text-decoration: none; padding: 11px 17px; }
.primary-nav .nav-cta:hover, .button:hover { background: #292269; color: #fff; }
.page-main { padding: 36px 0 64px; min-height: 60vh; }
.breadcrumbs { color: #64748b; font-size: .9rem; margin-bottom: 18px; }
.breadcrumbs a { color: inherit; }
.hero { padding: clamp(28px, 6vw, 62px); background: linear-gradient(135deg, #f2f0ff, #eff6ff); border: 1px solid #e3e5f5; border-radius: 18px; }
.eyebrow { color: #4b4397; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { color: #1f2450; line-height: 1.2; }
h1 { max-width: 800px; margin: 10px 0 16px; font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -.04em; }
h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { margin: 0 0 8px; font-size: 1.1rem; }
p { margin: 0 0 16px; }
.lead { max-width: 760px; color: #475569; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button-secondary { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c7cbe0; border-radius: 9px; background: #fff; color: #302878; font-weight: 700; text-decoration: none; padding: 10px 16px; }
.section { margin-top: 44px; }
.section-intro { max-width: 760px; color: #64748b; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.card { height: 100%; padding: 22px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 8px 24px rgb(31 36 80 / 4%); }
.card p { color: #64748b; }
.card-link { display: inline-block; margin-top: 6px; font-weight: 700; }
.notice { margin-top: 22px; padding: 17px 19px; border-left: 4px solid #766bc4; border-radius: 8px; background: #f1f0fb; color: #3d3c59; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding: 18px; border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; }
.step::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: #e9e7fb; color: #302878; font-weight: 800; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 17px 19px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.faq-list summary { color: #1f2450; font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 12px 0 0; color: #566174; }
.calculator { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.calculator-form, .calculator-results { padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { color: #25304b; font-weight: 700; }
.field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; color: #1f2937; font: inherit; font-size: 16px; }
.field input:focus { outline: 3px solid #d9d5ff; border-color: #6257ad; }
.result-grid { display: grid; gap: 14px; }
.result-item { padding: 16px; border-radius: 10px; background: #f6f7fb; }
.result-item strong { display: block; color: #302878; font-size: 1.4rem; }
.form-error { min-height: 1.5em; color: #b42318; font-weight: 600; }
.site-footer { padding: 28px 0; color: #e8e8f5; background: #201c4a; }
.site-footer a { color: #e8e8f5; }
.site-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; }
.footer-note { margin: 8px 0 0; color: #cbc9df; font-size: .9rem; }
.skip-link { position: absolute; left: -9999px; top: 0; padding: 8px; background: #fff; }
.skip-link:focus { left: 8px; z-index: 2; }
.support-resources { width: min(1120px, calc(100% - 40px)); margin: 26px auto; padding: 24px; background: #f6f5ff; border: 1px solid #e5e2ff; border-radius: 14px; }
.support-resources h2 { font-size: 1.25rem; }
.support-resources-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }

@media (max-width: 760px) {
  .site-header-inner { align-items: flex-start; flex-direction: column; padding: 15px 0; gap: 12px; }
  .primary-nav { justify-content: flex-start; gap: 9px 15px; }
  .primary-nav a { font-size: .9rem; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .calculator { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
