@import url("/tokens.css");

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--green);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a95521;
  outline-offset: 5px;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
}
h1,
h2 {
  font-weight: 400;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(46px, 5.8vw, 82px);
  font-family: Georgia, "Times New Roman", serif;
}
h2 {
  font-size: clamp(32px, 3.1vw, 45px);
  font-family: Georgia, "Times New Roman", serif;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1216px;
  padding: 0 40px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 650;
  line-height: 1.5;
  color: var(--green);
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.text-link svg {
  width: 17px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 13px 23px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #285649;
  color: white;
}
.fine-print {
  font-size: 11px;
  line-height: 1.6;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 5;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 89px;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.9px;
  white-space: nowrap;
}
.brand-light {
  font-weight: 400;
}
.brand-icon {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: var(--green);
  color: var(--lime);
  position: relative;
  font: 600 26px/35px Georgia;
  text-align: center;
  letter-spacing: -4px;
  padding-right: 9px;
}
.brand-icon span {
  font: 18px/1 sans-serif;
  position: absolute;
  right: 4px;
  top: 2px;
  letter-spacing: 0;
}
.header-inner nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
}
.header-inner nav a {
  text-decoration: none;
  position: relative;
}
.header-inner nav a[aria-current]:after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  bottom: -9px;
  left: 0;
  right: 0;
}
.header-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-decoration: none;
}
.header-link svg {
  width: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 506px;
  padding-top: 66px;
  padding-bottom: 61px;
  gap: 40px;
}
.hero h1 {
  margin: 21px 0 23px;
  line-height: 1.02;
}
.hero h1 em {
  font-weight: 400;
  color: var(--green);
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #658844;
  margin-right: 7px;
}
.hero-trust {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  font-size: 10px;
  color: var(--muted);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust svg {
  width: 13px;
  height: 13px;
}
.hero-visual {
  height: 350px;
  position: relative;
  isolation: isolate;
}
.orbit {
  position: absolute;
  width: 365px;
  height: 365px;
  border: 1px solid #dddfd0;
  border-radius: 50%;
  left: 40px;
  top: -5px;
  z-index: -1;
}
.orbit-two {
  width: 290px;
  height: 290px;
  left: 77px;
  top: 32px;
  border-style: dashed;
}
.illustration-card {
  width: 300px;
  height: 183px;
  border-radius: 12px;
  position: absolute;
  padding: 24px;
  box-shadow: 0 18px 24px -20px #17362d88;
}
.card-back {
  background: #d4dcc1;
  color: #445339;
  top: 23px;
  left: 100px;
  transform: rotate(12deg);
  font-size: 13px;
}
.illustration-line {
  display: block;
  width: 80px;
  height: 5px;
  border-radius: 3px;
  background: #b3bfa0;
  margin-top: 35px;
}
.illustration-line.short {
  width: 60px;
  margin-top: 8px;
}
.card-front {
  left: 30px;
  top: 104px;
  transform: rotate(-9deg);
  background: var(--green);
  color: var(--lime);
  overflow: hidden;
}
.card-front:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid #88a28433;
  right: -50px;
  top: 40px;
  border-radius: 50%;
}
.illustration-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.illustration-chip {
  width: 30px;
  height: 24px;
  display: block;
  border: 1px solid #b6c68e88;
  border-radius: 5px;
  margin-top: 16px;
  background: linear-gradient(
    90deg,
    transparent 45%,
    #b6c68e55 46%,
    #b6c68e55 50%,
    transparent 51%
  );
}
.illustration-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 15px;
}
.illustration-bottom strong {
  font-weight: 500;
}
.card-circles {
  width: 47px;
  height: 25px;
  position: relative;
}
.card-circles:before,
.card-circles:after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #c4d39799;
}
.card-circles:after {
  left: 15px;
}
.visual-spark {
  position: absolute;
  top: 5px;
  left: 28px;
  font-size: 44px;
  color: #b47743;
}
.floating-note {
  position: absolute;
  right: 4px;
  bottom: 5px;
  padding: 14px 19px;
  background: #fffef8;
  border: 1px solid var(--border);
  border-radius: 7px;
  box-shadow: 0 10px 30px #293a2210;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: rotate(3deg);
}
.floating-note svg {
  background: var(--lime);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  padding: 4px;
}
.principles {
  border-block: 1px solid var(--border);
  background: #eeeee4;
}
.principles .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.principles span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.principles b {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--green);
}
.principles svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.calculator-section {
  padding-top: 76px;
  padding-bottom: 78px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 33px;
}
.section-heading h2 {
  margin-top: 9px;
}
.section-heading > p {
  font-size: 12px;
  line-height: 1.8;
}
.calculator-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.spending-panel {
  background: #fffefb;
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: 10px;
  box-shadow: 0 3px 0 #242f2210;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.panel-heading h3 {
  font-size: 17px;
}
.quiet-button {
  border: 0;
  background: none;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px;
}
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 19px;
}
.presets button {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: transparent;
  padding: 8px 9px;
  font-size: 10px;
}
.presets button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.presets button:hover {
  border-color: var(--green);
}
.preset-note {
  margin-top: 8px;
  font-size: 10px;
}
.spend-row {
  padding: 16px 0 8px;
  border-bottom: 1px solid #eeede5;
}
.spend-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.spend-heading label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 550;
}
.category-icon {
  display: flex;
  color: var(--green);
}
.category-icon svg {
  width: 16px;
  height: 16px;
}
.money-input {
  display: flex;
  align-items: center;
  border: 1px solid #dedfd5;
  border-radius: 5px;
  padding-left: 9px;
  color: #7a8177;
  background: #fff;
  flex-shrink: 0;
  font-size: 12px;
}
.money-input input {
  width: 74px;
  min-height: 32px;
  background: transparent;
  padding: 4px 7px 4px 3px;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
}
.money-input input::-webkit-inner-spin-button {
  appearance: none;
}
.money-input:has(input[aria-invalid="true"]) {
  border: 2px solid #a84626;
}
.spend-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 5px;
  display: block;
  margin: 16px 0 8px;
  background: linear-gradient(
    to right,
    var(--green) var(--fill),
    #e7e9df var(--fill)
  );
  cursor: pointer;
}
.spend-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--green);
}
.spend-slider::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--green);
}
.category-help {
  font-size: 10px;
  color: var(--muted);
}
.category-help summary {
  padding: 4px 0;
  width: fit-content;
}
.category-help p {
  margin: 5px 0 7px;
  font-size: 11px;
}
.spending-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.spending-total span {
  font-size: 12px;
}
.spending-total output {
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.baseline-control {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.baseline-control label {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
select {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 9px 12px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  width: 100%;
}
.private-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  margin-top: 18px;
}
.private-note svg {
  width: 12px;
  height: 12px;
}
.error-note {
  padding: 12px 14px;
  border: 1px solid #d5b197;
  background: #fff1e6;
  color: #83381f;
  font-size: 12px;
  border-radius: 5px;
  margin-top: 15px;
}
.empty-state {
  padding: 40px 28px;
  border: 1px dashed #9bab99;
  background: #f0f3e9;
  border-radius: 10px;
  color: var(--green);
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0 16px;
}
.results-heading p {
  font-size: 10px;
  margin-top: 4px;
}
.live-badge {
  background: #e8eddf;
  color: #4c6648;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}
.live-badge .status-dot {
  width: 4px;
  height: 4px;
  margin-right: 3px;
}
.result-assumptions {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 19px;
}
.top-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.result-card {
  border: 1px solid var(--border);
  background: #fffefb;
  border-radius: 9px;
  padding: 20px;
  min-width: 0;
}
.result-card.first {
  grid-column: 1/-1;
  background: var(--green);
  color: white;
  border-color: var(--green);
  padding: 25px 27px;
  position: relative;
  overflow: hidden;
}
.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.result-card .eyebrow {
  font-size: 8px;
  letter-spacing: 0.12em;
}
.rank {
  font-family: Georgia, serif;
  color: #566d58;
  font-size: 20px;
  line-height: 1;
}
.first .rank {
  color: #b5ca9d;
}
.first .eyebrow {
  color: var(--lime);
}
.result-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.issuer {
  display: block;
  font-size: 9px;
  letter-spacing: 0.035em;
  margin-bottom: 4px;
  color: var(--muted);
}
.first .issuer {
  color: #ccd6c4;
}
.result-name h3 {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.2;
}
.first h3 {
  font-size: 23px;
}
.result-name h3 a {
  text-decoration: none;
}
.first a:hover {
  color: var(--lime);
}
.result-value {
  margin-top: 21px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.result-value strong {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.first .result-value {
  flex-direction: row;
  align-items: baseline;
  gap: 14px;
}
.first .result-value strong {
  font-size: 61px;
  color: var(--lime);
}
.result-value > span {
  font-size: 10px;
  color: var(--muted);
}
.first .result-value > span {
  color: #d5dece;
}
.result-delta {
  font-size: 10px;
  margin-top: 8px;
  color: var(--green);
}
.first .result-delta {
  color: var(--lime);
  margin-top: 4px;
  font-size: 12px;
}
.result-facts {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  border-block: 1px solid var(--border);
  padding: 10px 0;
  margin-top: 18px;
  font-size: 9px;
}
.first .result-facts {
  border-color: #ffffff25;
  color: #e6ebdf;
  font-size: 11px;
}
.result-card .fine-print {
  margin-top: 13px;
  font-size: 10px;
}
.first .fine-print {
  color: #d3dccd;
  font-size: 11px;
}
.result-card .text-link {
  margin-top: 13px;
  font-size: 10px;
}
.first .text-link {
  color: var(--lime);
}
.card-mark {
  width: 51px;
  height: 33px;
  display: block;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #00000012;
}
.card-mark:after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -17px;
  width: 45px;
  height: 45px;
  border: 1px solid #ffffff50;
  border-radius: 50%;
}
.chip {
  position: absolute;
  left: 8px;
  top: 11px;
  width: 11px;
  height: 8px;
  border-radius: 2px;
  background: #d4d8bcaa;
}
.card-lines {
  position: absolute;
  bottom: 5px;
  left: 8px;
  width: 19px;
  height: 1px;
  background: #ffffff88;
}
.blue {
  background: #538c9d;
}
.copper {
  background: #ab7547;
}
.navy {
  background: #335775;
}
.red {
  background: #9b524d;
}
.teal {
  background: #39857c;
}
.silver {
  background: #737f83;
}
.math-details {
  border-bottom: 1px solid var(--border);
  margin-top: 13px;
}
.math-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 12px;
  font-weight: 550;
  list-style: none;
}
.math-details > summary::-webkit-details-marker {
  display: none;
}
.math-details[open] > summary > span {
  transform: rotate(45deg);
}
.math-content {
  padding: 0 0 17px;
}
.math-content label {
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}
.math-content select {
  max-width: 300px;
}
.table-scroll {
  overflow-x: auto;
  width: 100%;
  margin: 15px 0 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
  line-height: 1.6;
}
caption {
  text-align: left;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
th,
td {
  padding: 11px 9px;
  border-bottom: 1px solid var(--border);
}
th {
  font-weight: 550;
}
thead th {
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
td:last-child {
  font-variant-numeric: tabular-nums;
}
tfoot {
  background: #eaeedf;
}
.results-footnote {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 19px;
}
.editorial-strip {
  background: #e7ecdd;
  border-block: 1px solid #dfe5d6;
}
.editorial-inner {
  display: grid;
  grid-template-columns: 0.65fr 1.3fr 1fr;
  align-items: center;
  gap: 25px;
  padding-top: 47px;
  padding-bottom: 48px;
}
.editorial-inner h2 {
  font-size: 34px;
  line-height: 1.15;
}
.editorial-inner p {
  font-size: 12px;
}
.editorial-inner > .eyebrow {
  font-size: 10px;
}
.editorial-inner .text-link {
  margin-top: 14px;
  font-size: 11px;
}
.guides-section {
  padding-top: 72px;
  padding-bottom: 70px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.guide-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fffefb;
  transition: transform 0.2s;
}
.guide-card:hover {
  transform: translateY(-4px);
}
.guide-art {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.art-0 {
  background: #e6e9d6;
  color: var(--green);
}
.art-1 {
  background: #eee3d6;
  color: #795131;
}
.art-2 {
  background: #dce7e2;
  color: #2a6259;
}
.art-index {
  position: absolute;
  bottom: 13px;
  right: 16px;
  font-size: 10px !important;
  font-family: inherit !important;
}
.art-0 > span:first-child {
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
  letter-spacing: -7px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.art-0 .serif {
  font-size: 28px;
  font-style: italic;
  letter-spacing: -2px;
}
.small-percent {
  font-family: Georgia, serif;
  font-size: 33px;
  letter-spacing: 0;
  align-self: start;
  margin-top: 18px;
}
.art-1 > svg {
  width: 94px;
  height: 94px;
  stroke-width: 0.8;
  transform: rotate(-12deg);
}
.cap-diagram {
  height: 105px;
  display: flex;
  align-items: end;
  gap: 9px;
  border-bottom: 1px solid #2a625966;
  padding: 0 10px;
  position: relative;
}
.cap-diagram:after {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  border-top: 1px dashed #2a625988;
}
.cap-diagram i {
  display: block;
  width: 23px;
  background: #689183;
  border-radius: 3px 3px 0 0;
  height: 29px;
}
.cap-diagram i:nth-child(2) {
  height: 49px;
}
.cap-diagram i:nth-child(3) {
  height: 65px;
}
.cap-diagram i:nth-child(4) {
  height: 81px;
}
.cap-diagram i:nth-child(5) {
  height: 99px;
  background: linear-gradient(to top, #689183 81px, #b6ccbd 81px);
}
.guide-card-copy {
  padding: 23px;
}
.guide-card .eyebrow {
  font-size: 8px;
  letter-spacing: 0.09em;
}
.guide-card .eyebrow > span {
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.guide-card h3 {
  font:
    25px/1.2 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 12px 0 26px;
  max-width: 250px;
}
.guide-card .text-link {
  font-size: 10px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 70px;
  padding-bottom: 80px;
}
.faq-section h2 {
  margin: 10px 0 17px;
}
.faq-section > div > p:last-child {
  font-size: 12px;
}
.faq-section details {
  border-bottom: 1px solid var(--border);
}
.faq-section summary {
  padding: 19px 0;
  font-size: 13px;
  font-weight: 500;
}
.faq-section details p {
  font-size: 12px;
  padding: 0 0 20px;
}
.site-footer {
  background: #eeeee5;
  border-top: 1px solid var(--border);
  padding: 36px 0 29px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 35px;
}
.footer-top > .brand {
  font-size: 17px;
}
.footer-top > p {
  font-size: 11px;
}
.footer-top nav {
  margin-left: auto;
  display: flex;
  gap: 23px;
  font-size: 10px;
}
.footer-top nav a {
  text-decoration: none;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  border-top: 1px solid #d8dbce;
  margin-top: 27px;
  padding-top: 20px;
}
.footer-bottom p {
  font-size: 9px;
  line-height: 1.8;
}
.footer-bottom p:last-child {
  text-align: right;
}
.page-intro {
  padding-top: 65px;
  padding-bottom: 45px;
}
.page-intro h1 {
  margin: 15px 0 23px;
}
.page-intro > p:not(.eyebrow) {
  font-size: 17px;
}
.page-intro .intro-note {
  font-size: 12px !important;
  max-width: 660px;
  margin-top: 20px;
}
.page-intro .button {
  margin-top: 24px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 50px;
}
.catalog-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fffefb;
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
  gap: 10px;
}
.catalog-heading .card-mark {
  width: 76px;
  height: 48px;
}
.pill {
  background: #edf0e5;
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 9px;
  white-space: nowrap;
}
.catalog-card .issuer {
  font-size: 10px;
}
.catalog-card h2 {
  font-family: inherit;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  margin-top: 3px;
}
.catalog-card h2 a {
  text-decoration: none;
}
.catalog-card > p {
  font-size: 12px;
  margin: 16px 0 25px;
}
.catalog-bottom {
  margin-top: auto;
}
.freshness {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.catalog-bottom .text-link {
  margin-top: 20px;
  font-size: 11px;
}
.stale {
  background: #ffe5d2;
  color: #813d24;
  padding: 9px;
  border-radius: 4px;
}
.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 65px;
}
.bottom-cta h2 {
  font-size: 32px;
}
.guides-index {
  padding-bottom: 90px;
}
.detail-intro {
  padding-top: 40px;
  padding-bottom: 35px;
}
.breadcrumb {
  display: inline-block;
  font-size: 11px;
  margin-bottom: 25px;
  text-decoration: none;
  color: var(--muted);
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.detail-heading h1 {
  font-size: 60px;
  margin: 12px 0 15px;
}
.detail-heading p:not(.eyebrow) {
  font-size: 17px;
  margin-bottom: 15px;
}
.detail-card-display {
  width: 220px;
  padding: 20px;
  flex-shrink: 0;
}
.detail-card-display .card-mark {
  width: 180px;
  height: 112px;
  border-radius: 10px;
  transform: rotate(-8deg);
}
.detail-card-display .chip {
  width: 28px;
  height: 22px;
  left: 20px;
  top: 40px;
}
.detail-card-display .card-lines {
  left: 20px;
  bottom: 20px;
  width: 70px;
}
.detail-card-display .card-mark:after {
  width: 130px;
  height: 130px;
  right: -20px;
  bottom: -70px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(230px, 1fr);
  gap: 70px;
  padding-bottom: 80px;
}
.prose {
  font-size: 15px;
  line-height: 1.9;
  max-width: 740px;
}
.prose .lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--green);
  margin-bottom: 30px;
}
.prose h2 {
  font-size: 30px;
  margin: 36px 0 15px;
  letter-spacing: -0.035em;
}
.prose p {
  margin: 15px 0;
}
.prose ul,
.prose ol {
  padding-left: 23px;
  color: var(--muted);
}
.prose li {
  padding-left: 5px;
  margin-bottom: 10px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: var(--green);
}
.prose table {
  font-size: 12px;
}
.prose thead th {
  font-size: 10px;
}
.prose .sources {
  font-size: 12px;
}
.callout {
  background: #e9eede;
  border-left: 3px solid #7b9160;
  padding: 20px 24px;
  margin: 25px 0;
}
.callout p {
  margin: 5px 0;
  font-size: 13px;
}
.article-aside {
  align-self: start;
  background: #e8edde;
  padding: 28px;
  border-radius: 8px;
  margin-top: 10px;
  position: sticky;
  top: 30px;
}
.article-aside h2 {
  font-size: 28px;
  margin: 14px 0;
}
.article-aside > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  margin: 16px 0;
}
.article-aside .button {
  width: 100%;
  font-size: 11px;
  gap: 8px;
  padding: 12px;
}
.article-aside > a:last-child {
  display: block;
  font-size: 10px;
  margin-top: 20px;
}
.article-intro {
  padding-top: 45px;
  padding-bottom: 35px;
}
.article-intro h1 {
  max-width: 850px;
  font-size: 60px;
  margin-top: 18px;
}
.article-byline {
  font-size: 11px;
  margin-top: 22px;
}
.article-end {
  margin-top: 40px;
}
.standalone {
  max-width: 820px;
  margin: auto;
  padding-bottom: 75px;
}
.calculation-steps {
  padding: 22px 25px 22px 45px !important;
  background: #e9eede;
}
.calculation-steps li:last-child {
  margin-bottom: 0;
}
@media (min-width: 1300px) {
  .hero-visual {
    margin-left: 25px;
  }
}
@media (max-width: 1020px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero {
    gap: 12px;
  }
  .hero-visual {
    transform: scale(0.87);
    transform-origin: center;
  }
  .header-link {
    display: none;
  }
  .calculator-layout {
    grid-template-columns: 345px minmax(0, 1fr);
    gap: 22px;
  }
  .spending-panel {
    padding: 21px;
  }
  .top-results {
    grid-template-columns: 1fr;
  }
  .result-card:not(.first) {
    padding: 19px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 15px;
  }
  .result-card:not(.first) .result-top {
    grid-column: 1/-1;
    margin-bottom: 7px;
  }
  .result-card:not(.first) .result-name {
    align-self: center;
  }
  .result-card:not(.first) .result-name h3 {
    font-size: 14px;
  }
  .result-card:not(.first) .result-value {
    margin-top: 0;
    text-align: right;
  }
  .result-card:not(.first) .result-value strong {
    font-size: 30px;
  }
  .result-card:not(.first) .result-value > span {
    font-size: 8px;
  }
  .result-card:not(.first) .result-delta,
  .result-card:not(.first) .result-facts,
  .result-card:not(.first) .fine-print,
  .result-card:not(.first) .text-link {
    grid-column: 1/-1;
  }
  .result-card:not(.first) .result-facts {
    margin-top: 10px;
  }
  .first .result-value {
    display: block;
  }
  .first .result-value > span {
    display: block;
  }
  .result-name .card-mark {
    width: 42px;
    height: 28px;
  }
  .first .result-name .card-mark {
    width: 51px;
    height: 33px;
  }
  .live-badge {
    display: none;
  }
  .editorial-inner {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-inner > .eyebrow {
    grid-column: 1/-1;
  }
  .article-layout {
    gap: 35px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-trust {
    gap: 10px;
    font-size: 9px;
  }
  .guide-card-copy {
    padding: 18px;
  }
  .guide-card h3 {
    font-size: 23px;
  }
  .guide-card .eyebrow > span {
    display: block;
    margin-top: 4px;
  }
}
@media (max-width: 740px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 17px;
    padding-bottom: 17px;
    gap: 17px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-icon {
    width: 31px;
    height: 31px;
    font-size: 24px;
    line-height: 31px;
  }
  .header-inner nav {
    gap: 18px;
    font-size: 11px;
  }
  .hero {
    display: block;
    position: relative;
    min-height: auto;
    padding-top: 43px;
    padding-bottom: 39px;
    overflow: hidden;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: 59px;
    max-width: 440px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-visual {
    display: none;
  }
  .hero-trust {
    font-size: 10px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .principles .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-block: 20px;
  }
  .principles span {
    font-size: 10px;
  }
  .principles b {
    font-size: 18px;
  }
  .calculator-section {
    padding-top: 44px;
    padding-bottom: 46px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .calculator-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
  }
  .spending-panel {
    padding: 23px;
  }
  .presets button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .presets {
    gap: 7px;
  }
  .spend-row {
    padding: 15px 0 8px;
  }
  .spend-heading label {
    font-size: 13px;
  }
  .money-input input {
    font-size: 15px;
    width: 87px;
    min-height: 36px;
  }
  .category-help {
    font-size: 11px;
  }
  .spend-slider {
    margin-block: 17px 11px;
    height: 5px;
  }
  .spend-slider::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
  }
  .spend-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
  }
  .private-note {
    font-size: 11px;
  }
  .results-heading {
    margin-top: 0;
  }
  .results-heading p {
    font-size: 11px;
  }
  .live-badge {
    display: block;
  }
  .result-assumptions {
    font-size: 12px;
  }
  .first .result-value {
    display: flex;
  }
  .first .result-value strong {
    font-size: 55px;
  }
  .first .result-value > span {
    font-size: 10px;
    max-width: 105px;
  }
  .result-card.first {
    padding: 24px;
  }
  .result-card:not(.first) .result-name h3 {
    font-size: 16px;
  }
  .math-details > summary {
    padding: 19px 0;
  }
  .math-details table {
    min-width: 460px;
  }
  .results-footnote {
    font-size: 11px;
  }
  .editorial-inner {
    display: block;
    padding-top: 31px;
    padding-bottom: 35px;
  }
  .editorial-inner h2 {
    margin: 14px 0 20px;
    font-size: 34px;
  }
  .editorial-inner > div {
    max-width: 390px;
  }
  .editorial-inner p {
    font-size: 13px;
  }
  .guides-section {
    padding-top: 43px;
    padding-bottom: 45px;
  }
  .guides-section .section-heading > .text-link {
    margin-top: 18px;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .guide-art {
    height: 170px;
  }
  .guide-card-copy {
    padding: 22px;
  }
  .guide-card h3 {
    max-width: none;
    font-size: 27px;
    margin-bottom: 21px;
  }
  .guide-card .eyebrow > span {
    display: inline;
  }
  .guide-card .eyebrow {
    font-size: 9px;
  }
  .guide-card .text-link {
    font-size: 12px;
  }
  .faq-section {
    display: block;
    padding-bottom: 48px;
  }
  .faq-section > div:first-child {
    margin-bottom: 18px;
  }
  .faq-section summary {
    font-size: 13px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer-top > p {
    margin-left: auto;
    font-size: 10px;
  }
  .footer-top nav {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
    gap: 25px;
    font-size: 11px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .footer-bottom p {
    font-size: 10px;
  }
  .footer-bottom p:last-child {
    text-align: left;
  }
  .page-intro {
    padding-top: 42px;
    padding-bottom: 30px;
  }
  .page-intro h1 {
    font-size: 48px;
  }
  .page-intro > p:not(.eyebrow) {
    font-size: 15px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .catalog-card {
    padding: 25px;
  }
  .catalog-card > p {
    font-size: 13px;
  }
  .catalog-heading {
    margin-bottom: 22px;
  }
  .freshness {
    font-size: 10px;
  }
  .bottom-cta {
    display: block;
    padding-bottom: 45px;
  }
  .bottom-cta h2 {
    margin-bottom: 22px;
  }
  .guides-index {
    padding-bottom: 50px;
  }
  .detail-heading h1 {
    font-size: 45px;
  }
  .detail-card-display {
    display: none;
  }
  .detail-intro {
    padding-top: 28px;
    padding-bottom: 22px;
  }
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 50px;
  }
  .article-aside {
    position: static;
    align-self: stretch;
  }
  .prose {
    font-size: 14px;
  }
  .prose .lead {
    font-size: 19px;
  }
  .prose h2 {
    font-size: 29px;
  }
  .prose table {
    font-size: 11px;
    min-width: 400px;
  }
  .article-intro {
    padding-top: 32px;
    padding-bottom: 25px;
  }
  .article-intro h1 {
    font-size: 44px;
  }
  .article-intro .breadcrumb {
    margin-bottom: 18px;
  }
  .standalone {
    padding-bottom: 45px;
  }
  .article-aside h2 {
    font-size: 30px;
  }
  .article-aside .button {
    width: auto;
  }
  .article-aside > a:last-child {
    font-size: 12px;
  }
}
@media (max-width: 390px) {
  .header-inner {
    justify-content: center;
  }
  .header-inner nav {
    gap: 32px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-trust {
    font-size: 9px;
    gap: 11px;
  }
  .presets button {
    font-size: 10px;
    padding: 7px;
  }
  .spending-panel {
    padding: 19px;
  }
  .spend-heading label {
    font-size: 12px;
  }
  .money-input input {
    width: 72px;
  }
  .first h3 {
    font-size: 20px;
  }
  .first .result-value {
    gap: 10px;
  }
  .first .result-value strong {
    font-size: 50px;
  }
  .live-badge {
    font-size: 8px;
  }
  .footer-top > p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Keep the estimate reachable before and after the long mobile input form. */
.estimate-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0 4px;
  padding: 16px;
  background: #e9eede;
  border-radius: 6px;
}
.estimate-preview span {
  display: block;
  font-size: 11px;
}
.estimate-preview strong {
  display: block;
  font-size: 16px;
  color: var(--green);
}
.estimate-preview a,
.edit-spending-link {
  font-size: 12px;
  white-space: nowrap;
}
.profile-context {
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.tie-notice {
  background: #e9eede;
  padding: 12px 15px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 14px;
}
.result-card.first > .freshness {
  color: #d4dfd0;
}
.result-card > .freshness {
  display: block;
  margin: 12px 0;
}
.mobile-results-link {
  display: none;
}
button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
@media (max-width: 700px) {
  .mobile-results-link {
    display: flex;
    margin-top: 18px;
  }
  .money-input input,
  select {
    font-size: 16px;
  }
  .quiet-button,
  .presets button {
    min-height: 44px;
  }
}
