:root {
  --navy: #10224a;
  --blue: #1d4ed8;
  --sky: #e0f2fe;
  --ink: #172033;
  --muted: #526071;
  --line: #d7e0ea;
  --cream: #fff8ed;
  --green: #dcfce7;
  --amber: #fef3c7;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8fafc; font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: #175cd3; }
a:focus, button:focus, input:focus, textarea:focus { outline: 3px solid #facc15; outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--white); padding: .75rem; z-index: 100; border: 2px solid var(--navy); }
.site-shell { width: min(74rem, calc(100% - 2rem)); margin: 0 auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { color: var(--navy); font-weight: 900; text-decoration: none; letter-spacing: -.02em; }
.site-nav { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .94rem; }
.site-nav a:hover { color: var(--blue); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); padding: .55rem .8rem; border-radius: .7rem; }
main { padding: 1.35rem 0 4rem; }
.breadcrumbs { color: var(--muted); font-size: .9rem; margin: .25rem 0 1rem; }
.hero { background: linear-gradient(135deg, var(--navy), #1e3a8a); color: var(--white); border-radius: 1.25rem; padding: clamp(1.4rem, 4vw, 3rem); box-shadow: 0 20px 50px rgba(15, 23, 42, .16); margin-bottom: 1.4rem; }
.hero h1 { margin: .25rem 0 .75rem; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.04em; }
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 60rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; color: #bfdbfe; margin: 0 0 .45rem; }
.action-panel, section, .relief-card, .trust-box, .source-box { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.5rem); margin: 1rem 0; }
.hero .action-panel { color: var(--ink); margin-top: 1.5rem; background: rgba(255,255,255,.95); }
h2 { color: var(--navy); margin-top: 0; line-height: 1.18; letter-spacing: -.02em; }
.step-list { display: grid; gap: .75rem; padding-left: 1.2rem; }
.step-list li { padding-left: .4rem; }
.step-list strong, .step-list span { display: block; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resource-card { display: block; text-decoration: none; color: var(--ink); background: #f8fafc; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; min-height: 9rem; }
.resource-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.resource-card span { display: inline-block; color: var(--blue); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.resource-card strong { display: block; font-size: 1.1rem; margin: .4rem 0; color: var(--navy); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { border: 1px solid var(--line); padding: .75rem; text-align: left; vertical-align: top; }
th { background: #eff6ff; color: var(--navy); }
details { border: 1px solid var(--line); border-radius: .85rem; padding: .9rem 1rem; margin: .65rem 0; background: #f8fafc; }
summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.relief-card { background: var(--cream); border-color: #fed7aa; }
.relief-card .eyebrow { color: #9a3412; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: .8rem; padding: .8rem 1rem; font-weight: 900; text-decoration: none; border: 0; cursor: pointer; }
.button-secondary { background: var(--navy); color: var(--white); }
.fine-print { color: var(--muted); font-size: .9rem; }
.trust-box { background: #f1f5f9; }
.source-box { background: #f8fafc; }
.tool { display: grid; gap: .85rem; }
.tool label { display: grid; gap: .35rem; font-weight: 800; }
.tool input[type="text"], .tool input:not([type]), textarea { width: 100%; border: 1px solid var(--line); border-radius: .75rem; padding: .75rem; font: inherit; }
.tool label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: .6rem; font-weight: 700; }
.tool-result, textarea { display: block; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: .85rem; padding: 1rem; color: var(--navy); font-weight: 800; }
.site-footer { background: var(--navy); color: var(--white); padding: 2rem 0; }
.site-footer a { color: #bfdbfe; }
@media (max-width: 820px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; width: 100%; padding-bottom: 1rem; }
  .site-nav[data-open="true"] { display: grid; }
  .header-inner { flex-wrap: wrap; }
  .card-grid { grid-template-columns: 1fr; }
}
