:root {
  --ink: #171713;
  --paper: #f5f5ef;
  --white: #ffffff;
  --acid: #d8ff4f;
  --acid-dark: #a8ca2d;
  --coral: #ff6b57;
  --blue: #4968f2;
  --teal: #1f7a6b;
  --muted: #62625c;
  --line: #d4d4ca;
  --soft: #eaeae2;
  --max-width: 1180px;
  --text-width: 730px;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(23, 23, 19, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.page-width {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 239, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 74px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--acid);
  font-size: 12px;
  font-weight: 900;
}

.primary-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 750;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
}

.primary-nav .nav-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
}

.primary-nav .nav-cta:hover {
  background: var(--acid);
  color: var(--ink);
  text-decoration: none;
}

.menu-button {
  display: none;
  min-width: 52px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  background: var(--acid);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--white);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: var(--blue);
}

.button--outline {
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  background: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  font-size: 14px;
  font-weight: 850;
}

.breadcrumbs {
  display: flex;
  margin-bottom: 42px;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.breadcrumbs a {
  color: var(--muted);
}

.home-hero {
  padding: 72px 0 92px;
}

.home-title {
  display: grid;
  max-width: 900px;
  margin-bottom: 48px;
  gap: 20px;
}

.home-title h1 {
  max-width: 850px;
  font-size: 76px;
}

.home-title h1 span {
  color: var(--blue);
}

.home-title > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
}

.current-terms {
  display: grid;
  max-width: 760px;
  margin-top: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.current-terms div {
  min-width: 0;
  padding: 14px 18px 14px 0;
}

.current-terms div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.current-terms strong,
.current-terms span {
  display: block;
}

.current-terms strong {
  font-size: 22px;
}

.current-terms span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.calculator {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.calculator-intro {
  display: grid;
  padding: 26px 30px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
}

.calculator-intro h2 {
  max-width: 600px;
  font-size: 34px;
}

.calculator-intro > p:last-child {
  max-width: 390px;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.calculator-form {
  display: grid;
  min-width: 0;
  padding: 32px;
  gap: 30px;
}

.calculator fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.calculator legend,
.range-label label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.eligibility-fieldset {
  display: grid;
  gap: 10px;
}

.eligibility-fieldset legend {
  margin-bottom: 12px;
}

.toggle-row {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.toggle-row:hover {
  border-color: var(--ink);
}

.toggle-row > span:first-child {
  min-width: 0;
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row strong {
  font-size: 14px;
  line-height: 1.25;
}

.toggle-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
}

.toggle-control {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--soft);
}

.toggle-control::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
  transition: transform 160ms ease;
}

.toggle-row input:checked + .toggle-control {
  background: var(--acid);
}

.toggle-row input:checked + .toggle-control::after {
  transform: translateX(18px);
}

.toggle-row input:focus-visible + .toggle-control {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.range-field {
  min-width: 0;
}

.range-label,
.range-ends {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.range-label output {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.range-field input[type="range"] {
  width: 100%;
  height: 22px;
  margin: 10px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.range-ends {
  color: var(--muted);
  font-size: 11px;
}

.field-help {
  max-width: 650px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.plan-fieldset legend {
  margin-bottom: 10px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.segmented-control label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.segmented-control label + label {
  border-left: 1px solid var(--ink);
}

.segmented-control input {
  position: absolute;
  opacity: 0;
}

.segmented-control span {
  display: grid;
  min-height: 44px;
  padding: 8px 12px;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.segmented-control input:checked + span {
  background: var(--ink);
  color: var(--white);
}

.segmented-control input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.calculator-result {
  display: flex;
  min-width: 0;
  padding: 34px 30px;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--ink);
  background: var(--acid);
}

.result-status {
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 6px 9px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.result-status[data-tone="pass"] {
  background: var(--coral);
}

.result-label {
  max-width: 280px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.result-total {
  margin: 4px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.result-breakdown {
  display: grid;
  margin-bottom: 18px;
  gap: 7px;
}

.result-breakdown div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: rgba(23, 23, 19, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.result-breakdown strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.result-math {
  margin: 0 0 22px;
  border-top: 1px solid rgba(23, 23, 19, 0.35);
}

.result-math div {
  display: flex;
  padding: 9px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(23, 23, 19, 0.25);
}

.result-math dt,
.result-math dd {
  margin: 0;
  font-size: 13px;
}

.result-math dd {
  flex: 0 0 auto;
  font-weight: 900;
}

.result-copy {
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.5;
}

.result-formula {
  margin-bottom: 18px;
  color: rgba(23, 23, 19, 0.72);
  font-size: 11px;
  line-height: 1.45;
}

.amazon-action {
  display: grid;
  gap: 9px;
}

.amazon-action .button {
  width: 100%;
}

.affiliate-note,
.calculator-disclaimer,
.form-hint {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.calculator-result .affiliate-note {
  color: rgba(23, 23, 19, 0.7);
}

.calculator-disclaimer {
  padding: 12px 30px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.image-story {
  padding: 88px 0;
  background: var(--ink);
  color: var(--white);
}

.image-story-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 56px;
}

.image-story-copy {
  display: grid;
  gap: 20px;
}

.image-story-copy .eyebrow,
.image-story-copy .text-link {
  color: var(--acid);
}

.image-story-copy h2 {
  font-size: 44px;
}

.image-story-copy > p:not(.eyebrow) {
  color: #cdcdc5;
}

.image-story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.entry-section,
.latest-section {
  padding: 96px 0;
}

.entry-section > h2,
.latest-section h2 {
  max-width: 750px;
  margin: 10px 0 34px;
}

.entry-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.entry-grid > .related-grid {
  display: contents;
}

.related-card {
  display: grid;
  min-height: 190px;
  padding: 24px;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.related-card:hover {
  box-shadow: 7px 7px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.related-card:nth-child(4n + 1) {
  border-top: 7px solid var(--blue);
}

.related-card:nth-child(4n + 2) {
  border-top: 7px solid var(--coral);
}

.related-card:nth-child(4n + 3) {
  border-top: 7px solid var(--teal);
}

.related-card:nth-child(4n + 4) {
  border-top: 7px solid var(--acid-dark);
}

.related-kicker,
.related-card > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.related-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.08;
}

.truth-band {
  padding: 64px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.truth-grid > div {
  min-width: 0;
  padding: 8px 30px;
}

.truth-grid > div:first-child {
  padding-left: 0;
}

.truth-grid > div + div {
  border-left: 1px solid var(--ink);
}

.truth-grid span {
  display: block;
  margin-bottom: 30px;
  font-size: 12px;
  font-weight: 900;
}

.truth-grid h2 {
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 20px;
}

.truth-grid p {
  font-size: 14px;
  line-height: 1.5;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.story-card {
  min-width: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
}

.story-card > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.story-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.story-card:hover .story-image {
  transform: scale(1.025);
}

.story-card > div {
  display: grid;
  padding: 20px 0 24px;
  gap: 10px;
}

.story-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
}

.story-card h3 a {
  text-decoration: none;
}

.story-card h3 a:hover {
  text-decoration: underline;
}

.story-card > div > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-header,
.tool-header,
.hub-header {
  padding: 64px 0 40px;
}

.article-header .eyebrow,
.tool-header .eyebrow,
.hub-header .eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
}

.article-header h1,
.tool-header h1,
.hub-header h1 {
  max-width: 980px;
}

.article-dek,
.tool-header > p:last-child,
.hub-header > p:last-child {
  max-width: 790px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 21px;
}

.review-line {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 12px;
}

.review-line span:first-child {
  color: var(--teal);
  font-weight: 850;
}

.article-visual,
.hub-visual {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  aspect-ratio: 16 / 7;
}

.article-visual img,
.hub-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-answer-band {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
}

.quick-answer-inner {
  padding-top: 34px;
  padding-bottom: 34px;
}

.quick-answer-inner > p:last-child {
  max-width: 960px;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
}

.article-layout {
  display: grid;
  padding: 72px 0;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 84px;
}

.article-body,
.article-aside,
.article-section,
.simple-body {
  min-width: 0;
}

.article-section {
  padding: 0 0 56px;
}

.article-section + .article-section {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.article-section h2,
.faq-section h2 {
  margin-bottom: 24px;
  font-size: 36px;
}

.article-section > p + p {
  margin-top: 18px;
}

.article-section a,
.simple-body a,
.sources a {
  color: #2946c4;
}

.fact-grid {
  display: grid;
  margin: 28px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.fact {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.fact dt,
.fact dd {
  margin: 0;
}

.fact dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.fact dd {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
}

.check-list {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 32px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 17px;
  left: 2px;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--teal);
  border-left: 3px solid var(--teal);
  content: "";
  transform: rotate(-45deg);
}

.callout {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 7px solid var(--coral);
  background: var(--white);
}

.callout-label {
  display: block;
  margin-bottom: 7px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.callout p {
  font-weight: 700;
  line-height: 1.45;
}

.article-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.decision-panel {
  display: grid;
  padding: 24px;
  gap: 14px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
}

.decision-panel h2 {
  font-family: inherit;
  font-size: 21px;
  line-height: 1.15;
}

.decision-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.article-aside > .amazon-action {
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--acid);
}

.faq-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.faq-section .eyebrow {
  margin-bottom: 12px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  padding: 18px 36px 18px 0;
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
}

.faq-list details p {
  max-width: 680px;
  padding: 0 24px 20px 0;
  color: var(--muted);
}

.sources {
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}

.sources h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 18px;
}

.sources p,
.sources li {
  color: var(--muted);
  font-size: 13px;
}

.sources ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.sources li + li {
  margin-top: 7px;
}

.related-section {
  padding: 0 0 96px;
}

.related-section h2 {
  margin: 10px 0 28px;
}

.tool-wrap {
  padding-bottom: 80px;
}

.tool-explainer {
  display: grid;
  padding: 80px 0;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 60px;
  border-top: 1px solid var(--ink);
}

.tool-explainer > div {
  display: grid;
  gap: 18px;
}

.tool-explainer h2 {
  font-size: 42px;
}

.tool-explainer img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.formula-section {
  display: grid;
  padding: 76px 0;
  gap: 34px;
  border-top: 1px solid var(--ink);
}

.formula-section h2 {
  margin-top: 10px;
}

.formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 0.7fr);
  align-items: stretch;
  gap: 12px;
}

.formula span {
  display: grid;
  min-height: 90px;
  padding: 16px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.formula b {
  align-self: center;
}

.date-tool {
  display: grid;
  margin-bottom: 80px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.date-form-panel {
  display: flex;
  min-width: 0;
  padding: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.date-form-panel label {
  font-size: 14px;
  font-weight: 850;
}

.date-form-panel input {
  width: 100%;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}

.date-result {
  display: grid;
  min-width: 0;
  padding: 40px;
  align-content: center;
  gap: 0;
  border-left: 1px solid var(--ink);
  background: var(--blue);
  color: var(--white);
}

.date-result .eyebrow {
  margin-bottom: 16px;
  color: var(--acid);
}

.date-result > div {
  display: flex;
  padding: 14px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.date-result span {
  font-size: 13px;
}

.date-result strong {
  text-align: right;
}

.date-result > p:last-child {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.hub-hero {
  display: grid;
  padding: 64px 0 72px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--ink);
}

.hub-hero .hub-header {
  max-width: 620px;
  padding: 0;
}

.hub-hero .hub-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.hub-hero .hub-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-list {
  padding: 26px 0 96px;
}

.hub-list-heading {
  display: flex;
  padding: 0 0 20px;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
}

.hub-list-heading > p:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hub-index-card {
  display: grid;
  padding: 28px 0;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.hub-index-image {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
}

.hub-index-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.hub-index-card:hover .hub-index-thumbnail {
  transform: scale(1.025);
}

.hub-index-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 28px;
}

.hub-index-meta {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.hub-index-meta span:first-child {
  color: var(--muted);
}

.hub-index-copy h2 {
  grid-column: 1;
  font-size: 29px;
}

.hub-index-copy h2 a {
  text-decoration: none;
}

.hub-index-copy h2 a:hover {
  text-decoration: underline;
}

.hub-index-copy > p {
  max-width: 720px;
  grid-column: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hub-index-copy > .text-link {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  font-size: 12px;
  white-space: nowrap;
}

.simple-page {
  padding: 64px 0 100px;
}

.simple-page > .eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
}

.simple-page > h1 {
  max-width: 880px;
}

.simple-visual {
  position: relative;
  margin: 48px 0 64px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.simple-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simple-body {
  max-width: var(--text-width);
}

.simple-body .article-section:last-child {
  padding-bottom: 0;
}

.not-found {
  min-height: 65vh;
  padding: 100px 0;
}

.not-found h1 {
  max-width: 780px;
  margin: 14px 0 24px;
}

.not-found > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.site-footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.footer-grid,
.footer-bottom {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  padding-bottom: 52px;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(120px, 0.8fr));
  gap: 44px;
}

.wordmark--footer {
  color: var(--white);
}

.footer-grid > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid > div:first-child > p {
  max-width: 300px;
  color: #bdbdb6;
  font-size: 14px;
}

.footer-grid h2 {
  margin-bottom: 7px;
  color: var(--acid);
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-grid a:not(.wordmark) {
  color: #dcdcd6;
  font-size: 13px;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-disclosure {
  margin-top: 12px;
  font-size: 11px !important;
}

.footer-bottom {
  display: flex;
  padding-top: 20px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #44443d;
  color: #9f9f98;
  font-size: 11px;
}

@media (max-width: 980px) {
  h1,
  .home-title h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .primary-nav {
    gap: 16px;
  }

  .calculator-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 44px;
  }

  .hub-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 40px;
  }

  .story-grid,
  .story-grid--hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  h1,
  .home-title h1 {
    font-size: 43px;
  }

  h2,
  .article-section h2,
  .faq-section h2,
  .tool-explainer h2 {
    font-size: 32px;
  }

  .page-width,
  .header-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 32px, var(--max-width));
  }

  .header-inner {
    min-height: 66px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 18px 16px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .primary-nav[data-open="true"] {
    display: flex;
  }

  .primary-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav .nav-cta {
    margin-top: 14px;
    justify-content: center;
    border-bottom: 1px solid var(--ink);
  }

  .home-hero {
    padding: 48px 0 64px;
  }

  .home-title {
    margin-bottom: 34px;
  }

  .home-title > p:not(.eyebrow),
  .article-dek,
  .tool-header > p:last-child,
  .hub-header > p:last-child {
    font-size: 18px;
  }

  .current-terms {
    grid-template-columns: 1fr;
  }

  .current-terms div,
  .current-terms div + div {
    padding: 11px 0;
    border-left: 0;
  }

  .current-terms div + div {
    border-top: 1px solid var(--line);
  }

  .calculator-intro {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calculator-intro h2 {
    font-size: 27px;
  }

  .calculator-intro > p:last-child {
    justify-self: start;
  }

  .calculator-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calculator-form {
    padding: 22px 18px;
    gap: 26px;
  }

  .calculator-result {
    padding: 26px 18px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .result-total {
    font-size: 48px;
  }

  .calculator-disclaimer {
    padding: 11px 18px;
  }

  .image-story {
    padding: 64px 0;
  }

  .image-story-inner,
  .tool-explainer {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .image-story-copy h2 {
    font-size: 35px;
  }

  .entry-section,
  .latest-section {
    padding: 68px 0;
  }

  .entry-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .truth-band {
    padding: 20px 0;
  }

  .truth-grid {
    grid-template-columns: 1fr;
  }

  .truth-grid > div,
  .truth-grid > div:first-child {
    padding: 24px 0;
  }

  .truth-grid > div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .truth-grid span {
    margin-bottom: 16px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .story-grid,
  .story-grid--hub {
    grid-template-columns: 1fr;
  }

  .hub-hero {
    padding: 42px 0 54px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hub-hero .hub-visual {
    aspect-ratio: 16 / 10;
  }

  .hub-list {
    padding-top: 20px;
    padding-bottom: 68px;
  }

  .hub-index-card {
    padding: 22px 0;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .hub-index-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hub-index-copy h2 {
    font-size: 22px;
  }

  .hub-index-copy > p {
    font-size: 13px;
  }

  .hub-index-copy > .text-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    white-space: normal;
  }

  .article-header,
  .tool-header,
  .hub-header,
  .simple-page {
    padding-top: 42px;
  }

  .breadcrumbs {
    margin-bottom: 28px;
  }

  .article-visual,
  .hub-visual,
  .simple-visual {
    aspect-ratio: 4 / 3;
  }

  .hub-hero .hub-visual {
    aspect-ratio: 16 / 10;
  }

  .quick-answer-inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .quick-answer-inner > p:last-child {
    font-size: 22px;
  }

  .article-layout {
    padding: 56px 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .article-aside {
    position: static;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .related-section {
    padding-bottom: 68px;
  }

  .tool-wrap {
    padding-bottom: 60px;
  }

  .tool-explainer,
  .formula-section {
    padding: 60px 0;
  }

  .formula {
    grid-template-columns: 1fr;
  }

  .formula b {
    justify-self: center;
  }

  .date-tool {
    margin-bottom: 60px;
    grid-template-columns: 1fr;
  }

  .date-form-panel,
  .date-result {
    padding: 26px 18px;
  }

  .date-result {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .date-result > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .date-result strong {
    text-align: left;
  }

  .hub-visual {
    margin-bottom: 54px;
  }

  .simple-visual {
    margin: 36px 0 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  h1,
  .home-title h1 {
    font-size: 37px;
  }

  .wordmark {
    font-size: 16px;
  }

  .wordmark-mark {
    width: 34px;
    height: 31px;
  }

  .segmented-control {
    grid-template-columns: 1fr;
  }

  .segmented-control label + label {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .related-card {
    min-height: 170px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
