*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f2744;
  --navy-mid: #1a3a5c;
  --blue: #1d6fc4;
  --blue-light: #3b8fd6;
  --teal: #0e9f8e;
  --teal-light: #12c3ae;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-lg: 20px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0 24px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 0;
}
.nav-icon {
  width: 32px; height: 32px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; padding: 8px 0; }
.nav-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a7a 100%);
  padding: 64px 24px 72px;
  text-align: center;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--teal-light); }
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* inner-page hero (shorter) */
.hero.page {
  padding: 40px 24px 56px;
  text-align: left;
}
.hero.page .hero-inner { max-width: 760px; margin: 0 auto; }
.hero.page h1 { margin-bottom: 10px; }
.hero.page p { margin: 0; max-width: none; }

/* ── SEP ALERT ── */
.sep-alert {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.sep-alert-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.sep-alert-text { font-size: 14px; color: #92400e; }
.sep-alert-text strong { display: block; font-size: 15px; color: #78350f; margin-bottom: 2px; }

/* ── MAIN LAYOUT ── */
.main {
  max-width: 960px;
  margin: -32px auto 0;
  padding: 0 16px 80px;
}

/* ── AD SLOT ── */
.ad-slot {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-400);
  font-size: 12px;
  margin: 24px 0;
}

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.card-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num.done { background: var(--teal); }
.card-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
}
.card-header p {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}
.card-body { padding: 28px; }

/* ── HOW THIS ESTIMATE WORKS ── */
.how-estimate {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.how-estimate h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.how-estimate > p.lede {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 18px;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 700px) { .how-grid { grid-template-columns: 1fr; } }
.how-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
}
.how-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.how-item p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}
.how-item a { color: var(--blue); }
.how-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── FORM ── */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field-grid.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 700px) { .field-grid.three { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}
label .hint {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 12px;
  margin-left: 4px;
}
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,196,.12);
}
.input-prefix { position: relative; }
.input-prefix .prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 15px;
  pointer-events: none;
}
.input-prefix input { padding-left: 28px; }

.field-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.4;
}

.toggle-group {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.toggle-group button {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: all .15s;
}
.toggle-group button.active {
  background: var(--blue);
  color: var(--white);
}
.toggle-group button:not(:last-child) {
  border-right: 1.5px solid var(--gray-200);
}

.ages-container { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.age-row { display: flex; align-items: center; gap: 10px; }
.age-row label { font-size: 13px; color: var(--gray-600); font-weight: 500; min-width: 110px; margin: 0; }
.age-row input { max-width: 100px; }
.add-member-btn {
  background: none;
  border: 1.5px dashed var(--gray-300);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  margin-top: 4px;
  width: fit-content;
}
.add-member-btn:hover { border-color: var(--blue); background: #f0f6ff; }
.remove-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  transition: color .15s;
}
.remove-btn:hover { color: var(--red); }

.cobra-toggle {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.cobra-toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.cobra-toggle-header span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}
.cobra-toggle-body { margin-top: 12px; display: none; }
.cobra-toggle-body.open { display: block; }
.cobra-estimate-result {
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--blue);
  margin-top: 10px;
  display: none;
}
.cobra-estimate-result strong { font-size: 15px; }

.income-tip {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #166534;
  margin-bottom: 20px;
}
.income-tip strong { display: block; font-size: 14px; margin-bottom: 2px; }

.calc-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(29,111,196,.35);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.calc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(29,111,196,.45);
}

/* ── RESULTS ── */
#results { display: none; }
#results.visible { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.results-header { text-align: center; margin-bottom: 24px; }
.results-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.results-header p { color: var(--gray-500); font-size: 14px; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 580px) { .comparison-grid { grid-template-columns: 1fr; } }

.result-card {
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.result-card.cobra {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
}
.result-card.aca {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
}
.result-card.aca.winner {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,159,142,.15);
}
.result-card.cobra.winner {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,196,.15);
}
.winner-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.result-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.result-card.cobra .result-card-label { color: #92400e; }
.result-card.aca .result-card-label { color: #166534; }
.result-card h3 { font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 4px; }
.result-amount {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.result-card.cobra .result-amount { color: #c05621; }
.result-card.aca .result-amount { color: #166534; }
.result-per { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.result-breakdown {
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.breakdown-row .lbl { color: var(--gray-600); }
.breakdown-row .val { font-weight: 600; color: var(--gray-800); }
.breakdown-row .val.green { color: var(--green); }
.breakdown-row .val.amber { color: var(--amber); }

.recommendation {
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.recommendation.aca-wins {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid var(--teal);
}
.recommendation.cobra-wins {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid var(--blue);
}
.recommendation.tossup {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1.5px solid #fbbf24;
}
.rec-icon { font-size: 28px; flex-shrink: 0; }
.rec-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--gray-800); }
.rec-body p { font-size: 14px; color: var(--gray-600); line-height: 1.5; }

.medicaid-alert, .result-note {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: none;
}
.medicaid-alert {
  background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
  border: 1.5px solid #a855f7;
}
.medicaid-alert h3 { font-size: 16px; font-weight: 700; color: #6b21a8; margin-bottom: 6px; }
.medicaid-alert p { font-size: 14px; color: #7c3aed; }
.result-note.cliff {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  display: block;
}
.result-note.gap {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  display: block;
}
.result-note.info {
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  display: block;
}
.result-note h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--gray-800); }
.result-note p { font-size: 14px; color: var(--gray-700); }

.savings-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.savings-banner-text { color: var(--white); }
.savings-banner-text p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.savings-banner-text strong { font-size: 22px; font-weight: 800; color: var(--teal-light); }
.savings-banner-text span { font-size: 15px; color: rgba(255,255,255,.9); }

.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 620px) { .tips-grid { grid-template-columns: 1fr; } }
.tip-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}
.tip-card-icon { font-size: 24px; margin-bottom: 8px; }
.tip-card h4 { font-size: 14px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.tip-card p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 24px;
}
.cta-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-section p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.cta-btn:hover { transform: translateY(-1px); }
.cta-btn.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(14,159,142,.4);
}
.cta-btn.primary:hover { box-shadow: 0 6px 20px rgba(14,159,142,.5); }
.cta-btn.secondary {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.cta-btn.secondary:hover { background: rgba(255,255,255,.18); }

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .15s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-chevron {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: transform .2s, background .15s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--blue); color: var(--white); }
.faq-answer {
  padding: 0 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s;
}
.faq-item.open .faq-answer { max-height: 900px; padding: 0 20px 18px; }

.related-guides {
  margin-top: 32px;
}
.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) { .guide-cards { grid-template-columns: 1fr; } }
.guide-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.guide-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.guide-card h3 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.guide-card p { font-size: 13px; color: var(--gray-600); }

footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 12px;
  line-height: 1.6;
}
footer a { color: rgba(255,255,255,.8); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin: 12px 0;
}
.footer-address { color: rgba(255,255,255,.5); margin-top: 8px; }

.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }
.mt-20 { margin-top: 20px; }
.hidden { display: none !important; }

.disclaimer {
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── ARTICLE PAGES ── */
.article-wrap {
  max-width: 760px;
  margin: -32px auto 0;
  padding: 0 16px 80px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}
@media (max-width: 640px) {
  .article-card { padding: 24px 18px; }
  .card-body { padding: 20px 16px; }
  .card-header { padding: 16px 18px; }
}
.article-card h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.article-meta {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.article-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-800);
  margin: 28px 0 10px;
}
.article-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 20px 0 8px;
}
.article-card p {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.7;
}
.article-card ul, .article-card ol {
  margin: 0 0 16px 22px;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.7;
}
.article-card li { margin-bottom: 6px; }
.article-card a { color: var(--blue); }
.article-card .callout {
  background: var(--gray-50);
  border-left: 3px solid var(--teal);
  padding: 14px 16px;
  margin: 18px 0;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--gray-700);
}
.address-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0 20px;
  font-size: 15px;
  line-height: 1.6;
}
.toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.toc strong { display: block; margin-bottom: 8px; font-size: 13px; color: var(--gray-600); }
.toc a { display: block; font-size: 14px; margin: 4px 0; color: var(--blue); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
table.data th, table.data td {
  border: 1px solid var(--gray-200);
  padding: 8px 10px;
  text-align: left;
}
table.data th { background: var(--gray-50); font-weight: 700; }

@media (max-width: 640px) {
  nav { padding: 4px 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
}
