/* Auto Dividend Guide — production CSS, 2026-08-18 */
:root {
  --paper: #f7f5ef;
  --surface: #ffffff;
  --ink: #17212b;
  --ink-soft: #435160;
  --muted: #64707b;
  --border: #d8d7d0;
  --border-strong: #b8bab5;
  --accent: #0f6b63;
  --accent-dark: #0a514c;
  --accent-soft: #e6f1ef;
  --info: #285b78;
  --info-soft: #eaf1f5;
  --warning: #8a5a00;
  --warning-soft: #fff3d6;
  --danger: #9c2f27;
  --danger-soft: #fbe9e7;
  --success: #26633e;
  --success-soft: #e9f4ed;
  --radius-sm: 6px;
  --radius-md: 10px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --content: 1180px;
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 0.15em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #0b5fff; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(247,245,239,.98);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: min(calc(100% - 32px), var(--content)); margin: 0 auto; min-height: 68px;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.independence { color: var(--muted); font-size: 13px; margin-left: 2px; font-weight: 600; }
.nav-toggle { display: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm); }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 650; }
.site-nav a { color: var(--ink-soft); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav .official-link { color: white; background: var(--accent); padding: 9px 14px; border-radius: var(--radius-sm); }
.site-nav .official-link:hover { background: var(--accent-dark); text-decoration: none; }

main { display: block; }
.container { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; }
.reading { max-width: var(--reading); }
.hero { padding: 64px 0 44px; border-bottom: 1px solid var(--border); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; color: var(--accent-dark); margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -0.035em; margin-top: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4.35rem); max-width: 980px; margin-bottom: 20px; font-weight: 780; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); margin-bottom: 16px; font-weight: 760; }
h3 { font-size: 1.22rem; margin-bottom: 8px; font-weight: 740; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.31rem); max-width: 840px; color: var(--ink-soft); margin: 0 0 24px; }
.status-line { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); font-weight: 700; color: var(--ink); }
.status-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--radius-sm); text-decoration: none; font-weight: 750; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.button-secondary:hover { background: var(--surface); }
.hero-note { font-size: 14px; color: var(--muted); max-width: 800px; }

.quick-facts { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.quick-facts div { padding: 20px 20px 20px 0; border-right: 1px solid var(--border); }
.quick-facts div + div { padding-left: 20px; }
.quick-facts div:last-child { border-right: 0; }
.quick-facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 800; }
.quick-facts dd { margin: 5px 0 0; font-size: 1.28rem; font-weight: 760; font-variant-numeric: tabular-nums; }

.jumpbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.jumpbar-inner { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; display: flex; gap: 6px 20px; flex-wrap: wrap; padding: 12px 0; }
.jumpbar a { color: var(--ink-soft); font-size: 14px; font-weight: 680; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.jumpbar a:hover { color: var(--ink); text-decoration: underline; }

.section { padding: 68px 0; border-bottom: 1px solid var(--border); }
.section-intro { max-width: 780px; color: var(--ink-soft); margin-bottom: 28px; }
.section-kicker { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 48px; align-items: start; }

.answer-panel { border-left: 4px solid var(--accent); background: var(--surface); padding: 22px 24px; }
.answer-panel strong:first-child { display: block; margin-bottom: 6px; }
.callout { padding: 18px 20px; border: 1px solid var(--border); border-left-width: 4px; background: var(--surface); }
.callout.info { border-left-color: var(--info); }
.callout.warning { border-left-color: var(--warning); background: var(--warning-soft); }
.callout.danger { border-left-color: var(--danger); background: var(--danger-soft); }
.callout.success { border-left-color: var(--success); background: var(--success-soft); }
.callout p:last-child { margin-bottom: 0; }
.source-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.source-note a { color: inherit; }

.utility { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 28px; }
.utility h3 { font-size: 1.35rem; }
.field-group { border: 0; padding: 0; margin: 0 0 22px; }
.field-group legend, .field-label { display: block; font-weight: 750; margin-bottom: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { min-height: 44px; min-width: 72px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 680; }
.choice-row input:focus-visible + span { outline: 3px solid #0b5fff; outline-offset: 3px; }
.choice-row input:checked + span { background: var(--ink); color: white; border-color: var(--ink); }
.input-wrap { display: flex; align-items: stretch; max-width: 420px; }
.input-prefix { display: grid; place-items: center; min-width: 44px; border: 1px solid var(--border-strong); border-right: 0; background: #f1f0ea; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-weight: 750; }
input[type="number"] { min-height: 48px; width: 100%; border: 1px solid var(--border-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 9px 12px; color: var(--ink); background: white; }
.form-help { color: var(--muted); font-size: 14px; margin: 7px 0 0; }
.result { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--info); background: var(--info-soft); min-height: 58px; }
.result[hidden] { display: none; }
.result strong { font-size: 1.12rem; }
.estimate-amount { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; font-weight: 780; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 5px 0 8px; }
.range-track { margin: 18px 0 6px; height: 12px; background: #e6e5df; border-radius: 999px; overflow: hidden; position: relative; }
.range-fill { height: 100%; width: 60%; margin-left: 20%; background: var(--accent); }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.criteria { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.criteria li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.criteria-mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 850; background: var(--accent-soft); color: var(--accent-dark); }
.criteria .no { background: var(--danger-soft); color: var(--danger); }

.timeline { margin: 32px 0 0; padding: 0; list-style: none; position: relative; }
.timeline:before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 10px; width: 2px; background: var(--border-strong); }
.timeline li { position: relative; padding: 0 0 28px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: 2px; top: 3px; width: 20px; height: 20px; border: 3px solid var(--paper); background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 1px var(--accent); }
.timeline-date { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.timeline h3 { margin: 3px 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); }

.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.verify-item { background: var(--surface); padding: 22px; }
.verify-item dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.verify-item dd { margin: 7px 0 0; font-weight: 720; overflow-wrap: anywhere; }

.details-list { border-top: 1px solid var(--border-strong); }
details { border-bottom: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; padding: 19px 40px 19px 0; font-weight: 740; position: relative; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 24px; font-weight: 450; }
details[open] summary:after { content: "−"; }
details .detail-body { max-width: 780px; padding: 0 40px 20px 0; color: var(--ink-soft); }
details .detail-body p:last-child { margin-bottom: 0; }

.inline-data { width: 100%; border-collapse: collapse; font-size: 15px; }
.inline-data th, .inline-data td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.inline-data th { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.inline-data td:first-child { font-weight: 700; }

.trust-strip { padding: 28px 0; background: var(--ink); color: white; }
.trust-strip .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.trust-strip p { margin: 0; color: #d8e0e7; }
.trust-strip a { color: white; }

.site-footer { padding: 40px 0 54px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--ink-soft); }
.disclaimer { max-width: 780px; margin-top: 16px; }

.subpage-hero { padding: 56px 0 32px; border-bottom: 1px solid var(--border); }
.prose { max-width: 790px; padding: 52px 0 72px; }
.prose h2 { margin-top: 42px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }

@media (max-width: 900px) {
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-facts div:nth-child(2) { border-right: 0; }
  .quick-facts div:nth-child(3), .quick-facts div:nth-child(4) { border-top: 1px solid var(--border); }
  .quick-facts div:nth-child(3) { padding-left: 0; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .trust-strip .container, .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { width: min(calc(100% - 24px), var(--content)); min-height: 62px; }
  .independence { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 62px; background: var(--paper); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 46px; padding: 6px 8px; }
  .site-nav .official-link { margin-top: 5px; justify-content: center; }
  .container, .jumpbar-inner { width: min(calc(100% - 24px), var(--content)); }
  .hero { padding: 42px 0 34px; }
  h1 { font-size: clamp(2.12rem, 10vw, 3rem); }
  .hero-actions .button { width: 100%; }
  .quick-facts { margin-top: 28px; grid-template-columns: 1fr; }
  .quick-facts div, .quick-facts div + div { border-right: 0; border-top: 1px solid var(--border); padding: 15px 0; }
  .quick-facts div:first-child { border-top: 0; }
  .jumpbar { display: none; }
  .section { padding: 50px 0; }
  .utility { padding: 22px 18px; }
  .choice-row span { min-width: 66px; }
  .verify-grid { grid-template-columns: 1fr; }
  summary { padding-right: 34px; }
  details .detail-body { padding-right: 0; }
}

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

/* Utility classes kept deliberately small and systematic. */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.inverse-heading { color: white; margin-bottom: 8px; }
.button-on-dark { border-color: #8fa1ae; color: white; }
.button-on-dark:hover { background: rgba(255,255,255,.08); }
.footer-brand { color: var(--ink); }
