:root {
  --navy: #0b1a2e;
  --navy-2: #13243c;
  --ink: #122033;
  --muted: #5c6b7a;
  --paper: #f4efe4;
  --card: #fffcf6;
  --line: #e2d9c9;
  --teal: #1f8a7e;
  --teal-ink: #f4efe4;
  --copper: #b56a3c;
  --shadow: 0 18px 48px rgba(11, 26, 46, .12);
  --ldm-bar-bg: var(--card);
  --ldm-bar-ink: var(--ink);
  --ldm-strip-bg: #0a0a0a;
  --ldm-strip-ink: #f6f6f6;
  --ldm-strip-muted: #b8b8b8;
  --ldm-accent: #c9a227;
  --ldm-line: var(--line);
  color-scheme: light;
}
html[data-theme="dark"] {
  --ink: #e8eef4;
  --muted: #9aabba;
  --paper: #0b1a2e;
  --card: #13243c;
  --line: #2a3d55;
  --teal: #3dbeaf;
  --teal-ink: #07332e;
  --copper: #e0a077;
  --shadow: 0 18px 48px rgba(0, 0, 0, .35);
  --ldm-bar-bg: var(--navy);
  --ldm-bar-ink: var(--ink);
  --ldm-strip-bg: #090909;
  --ldm-accent: #d6a246;
  --ldm-line: var(--line);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.th-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: end;
}
.th-hero > div { min-width: 0; }
.th-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.th-hero h1 {
  margin: 0 0 14px;
  max-width: 18ch;
  font: 500 clamp(34px, 6vw, 58px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}
.th-hero p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 17px;
}
.th-year-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.th-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.th-form, .th-results {
  padding: 28px;
}
.th-results {
  background: var(--navy);
  color: #e8eef4;
}
html[data-theme="dark"] .th-results {
  background: #07111d;
}
.th-form h2, .th-results h2 {
  margin: 0 0 18px;
  font: 500 22px/1.2 Georgia, "Times New Roman", serif;
}
.th-field { margin-bottom: 16px; }
.th-field label, .th-check {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}
.th-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.th-form input[type="number"],
.th-form input[type="text"],
.th-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.th-form input:focus, .th-form select:focus, .th-form button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent);
  outline-offset: 1px;
}
.th-two, .th-three {
  display: grid;
  gap: 12px;
}
.th-two { grid-template-columns: 1fr 1fr; }
.th-three { grid-template-columns: 1.2fr .8fr .9fr; }
.th-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.th-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.th-advanced {
  margin: 8px 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.th-advanced summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--teal);
  padding: 10px 0;
}
.th-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 11px;
  background: var(--teal);
  color: var(--teal-ink);
  font-weight: 800;
  cursor: pointer;
}
.th-submit:hover { filter: brightness(1.05); }
.th-net-label {
  margin: 0 0 6px;
  color: #9aabba;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.th-net {
  margin: 0;
  font: 500 clamp(40px, 6vw, 62px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
  color: #7ee0d3;
}
.th-net-sub {
  margin: 8px 0 22px;
  color: #9aabba;
}
.th-periods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.th-periods div {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.th-periods span {
  display: block;
  color: #9aabba;
  font-size: 12px;
}
.th-periods strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}
.th-compare {
  margin: 0 0 18px;
}
.th-compare-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #9aabba;
}
.th-bar {
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a3d55;
}
.th-bar-net { background: #3dbeaf; }
.th-bar-tax { background: #e0a077; }
.th-rows {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.th-rows li, .th-bands li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.th-rows span, .th-bands span { color: #9aabba; }
.th-note {
  margin: 14px 0 0;
  color: #9aabba;
  font-size: 13px;
}
.th-bands {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.th-bands strong { white-space: nowrap; }
.th-proof {
  width: min(1120px, calc(100% - 32px));
  margin: -12px auto 40px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.th-disclaimer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}
.th-disclaimer a { color: var(--teal); }
.seo-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 56px;
}
.seo-content h2 {
  margin: 36px 0 12px;
  font: 500 30px/1.15 Georgia, "Times New Roman", serif;
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content p, .seo-content li { color: var(--muted); }
.seo-content details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.seo-content summary {
  cursor: pointer;
  font-weight: 800;
}
.seo-content summary:focus-visible { outline: 3px solid var(--teal); }
.ad-live {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px 12px 12px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--card);
}
.ad-live .ad-label {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ad-live .adsbygoogle {
  display: block;
  min-height: 250px;
  width: 100%;
}
.share-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.share-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.share-strip a:hover { border-color: var(--teal); color: var(--teal); }
.site-footer {
  padding: 28px max(16px, calc((100vw - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: inherit; }
.ldm-bar-btn span { margin-left: 6px; }
@media (max-width: 860px) {
  .th-shell { grid-template-columns: 1fr; }
  .th-three, .th-two { grid-template-columns: 1fr; }
  .th-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    text-align: center;
    justify-items: center;
  }
  .th-hero h1, .th-hero p { margin-left: auto; margin-right: auto; }
  .th-ad { width: min(100%, 336px); }
}
@media (max-width: 600px) {
  .th-form, .th-results { padding: 20px; }
  .th-periods { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
