@font-face {
  font-family: DM Sans;
  src: url(/fonts/dm-sans.woff2) format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url(/fonts/baskervville.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url(/fonts/baskervville-italic.woff2) format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #233526;
  --forest: #263c28;
  --leaf: #556a38;
  --lime: #d2ea67;
  --paper: #faf9f3;
  --pale: #f2f2e6;
  --line: #cbd0bc;
  --muted: #536150;
  --serif: Baskervville, Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
dl,
dd,
fieldset {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.09;
  text-wrap: balance;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.047em;
}
h3 {
  font-weight: 650;
  letter-spacing: -0.025em;
}
p + p {
  margin-top: 1em;
}
h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
}
h1 {
  font-size: clamp(3.05rem, 6.4vw, 6rem);
}
em {
  font-weight: 400;
}
.wrap {
  width: min(1248px, calc(100% - clamp(36px, 8vw, 136px)));
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.5em;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.965rem;
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.primary,
.header-cta {
  background: var(--lime);
  color: #21341c;
}
.btn.primary:hover,
.btn.header-cta:hover {
  background: #c0df45;
}
.secondary {
  background: var(--forest);
  color: white;
}
.secondary:hover {
  background: #3d5335;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.155em;
  line-height: 1.4;
}
.text-link,
.quiet {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}
.text-link:hover,
.quiet:hover {
  color: var(--leaf);
}
.text-link {
  width: fit-content;
}
.quiet {
  font-size: 0.875rem;
}
.note,
.calc-note,
.limits {
  font-size: 0.865rem;
  color: var(--muted);
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem;
  background: white;
}
.js-only {
  display: none !important;
}
.js .js-only {
  display: revert !important;
}
*:focus-visible {
  outline: 3px solid #8a4c15;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
[id] {
  scroll-margin-top: 15px;
}
.top {
  border-bottom: 1px solid var(--line);
  background: #fafaf3;
  position: relative;
  z-index: 5;
}
.top-line,
.header-actions,
.desktop-nav,
.brand {
  display: flex;
  align-items: center;
}
.top-line {
  min-height: 78px;
  gap: 2.5rem;
}
.brand {
  gap: 0.48rem;
  font-family: var(--serif);
  font-size: 2.08rem;
  letter-spacing: -0.075em;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-mark {
  object-fit: contain;
}
.olive-word {
  font-style: italic;
}
.desktop-nav {
  margin-left: auto;
  gap: clamp(1.2rem, 2.2vw, 2.6rem);
}
.desktop-nav a,
.mobile-menu a {
  font-size: 0.94rem;
  font-weight: 560;
  text-decoration: none;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  text-decoration: underline;
}
.header-actions {
  gap: 0.6rem;
}
.header-cta {
  background: var(--forest);
  color: white;
  min-height: 42px;
  padding-inline: 1.35em;
}
.btn.header-cta:hover {
  background: #3f593b;
  color: white;
}
.mobile-menu {
  display: none;
}
.hero {
  background: #f2f2e4;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.47fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  padding-block: clamp(34px, 3.6vw, 60px);
}
.hero-story {
  min-height: 560px;
  align-self: stretch;
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 22px;
}
.hero-text {
  z-index: 1;
  position: relative;
}
.blade {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blade:before {
  content: '';
  width: 27px;
  height: 2px;
  background: #637d45;
}
.hero h1 {
  margin: 21px 0 18px;
  font-size: clamp(4rem, 6.25vw, 6.25rem);
  line-height: 0.97;
  letter-spacing: -0.068em;
}
.hero h1 em {
  color: var(--leaf);
}
.hero-text > p:not(.eyebrow) {
  max-width: 337px;
  font-size: 1.08rem;
  line-height: 1.52;
}
.hero-text > .text-link {
  display: inline-block;
  margin-top: 20px;
}
.hero-photo {
  position: absolute;
  z-index: 0;
  right: -3%;
  bottom: -6.5%;
  width: 60%;
  height: 63%;
  overflow: hidden;
  border-radius: 54% 54% 5% 46% / 59% 50% 5% 42%;
  transform: rotate(-8deg);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 48%;
  transform: scale(1.15) rotate(8deg);
}
.mobile-calc {
  display: none;
}
.calc {
  background: #fffef9;
  border: 1px solid #b9c1a7;
  border-radius: 20px;
  padding: clamp(23px, 2.15vw, 35px);
  box-shadow: 0 4px 0 #dce0cd;
}
.calc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calc-heading h2 {
  font-size: clamp(1.9rem, 2.5vw, 2.55rem);
  margin-top: 4px;
}
.calc-heading .eyebrow {
  font-size: 0.68rem;
  color: var(--leaf);
}
.calc-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #a9b992;
  border-radius: 50%;
  font: 1.6rem var(--serif);
  background: #edf1dc;
}
.calc-fields {
  margin-top: 25px;
}
.amount-line,
.total,
.calc-minor,
.due-line,
.limits {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.amount-line label,
.calc legend {
  font-weight: 650;
  font-size: 0.94rem;
}
.amount-line output {
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.3;
}
.calc input[type='range'] {
  width: 100%;
  margin: 5px 0 0;
  height: 26px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.calc input[type='range']::-webkit-slider-runnable-track {
  height: 5px;
  background: #b6c69b;
  border-radius: 8px;
}
.calc input[type='range']::-moz-range-track {
  height: 5px;
  background: #b6c69b;
  border-radius: 8px;
}
.calc input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--forest);
  border: 4px solid var(--lime);
  margin-top: -9px;
  box-shadow: 0 0 0 1px #455635;
}
.calc input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--forest);
  border: 4px solid var(--lime);
}
.limits {
  font-size: 0.8rem;
  margin-top: -3px;
}
.calc fieldset {
  border: 0;
  padding: 0;
  margin-top: 16px;
}
.calc legend {
  padding: 0;
  margin-bottom: 8px;
}
.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.terms label {
  position: relative;
  cursor: pointer;
}
.terms input {
  position: absolute;
  opacity: 0;
}
.terms span {
  display: block;
  text-align: center;
  border: 1px solid #bac3ae;
  border-radius: 7px;
  padding: 7px;
  font-size: 0.91rem;
  font-weight: 600;
  background: #fff;
}
.terms input:checked + span {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}
.terms input:focus-visible + span {
  outline: 3px solid #8a4c15;
  outline-offset: 3px;
}
.total {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 13px;
  font-weight: 650;
}
.total strong {
  font-size: 2rem;
  letter-spacing: -0.065em;
  line-height: 1.3;
}
.calc-minor,
.due-line {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 4px;
}
.calc-minor b,
.due-line strong {
  color: var(--ink);
  font-weight: 570;
}
.calc .btn {
  display: flex;
  margin-top: 16px;
  border: 1px solid #9fb344;
}
.calc-note {
  font-size: 0.765rem;
  line-height: 1.4;
  text-align: center;
  margin: 0.6rem 0;
}
.calc .quiet {
  display: block;
  text-align: center;
  font-size: 0.81rem;
}
.ribbon {
  background: var(--forest);
  color: #f7f8eb;
}
.ribbon-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 18px;
}
.ribbon a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.925rem;
  text-decoration: none;
}
.ribbon a:hover {
  text-decoration: underline;
}
.ribbon a + a {
  border-left: 1px solid #67775a;
}
.ribbon img {
  filter: brightness(0) saturate(100%) invert(93%) sepia(60%) saturate(582%) hue-rotate(14deg);
  width: 22px;
}
.section {
  padding-block: clamp(42px, 5.3vw, 80px);
}
.section > h2,
.section-head {
  margin-bottom: 25px;
}
.section-head,
.amount-links,
.inline-links,
.club-nav,
.tool-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head {
  justify-content: space-between;
  align-items: flex-end;
}
.section-head .eyebrow {
  margin-bottom: 8px;
}
.figure-links,
.guide-grid,
.links-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.figure-card,
.guide-card,
.link-card {
  color: inherit;
  text-decoration: none;
  display: block;
}
.figure-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fffefa;
  transition: box-shadow 0.18s;
}
.figure-card:hover,
.guide-card:hover {
  box-shadow: 0 3px 0 #aab591;
}
.card-art {
  background: #e7ebd8;
  aspect-ratio: 2.65;
  overflow: hidden;
}
.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-copy,
.link-card {
  padding: 22px;
}
.card-copy h3,
.guide-card h3,
.link-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.72rem;
  line-height: 1.15;
}
.card-copy p,
.link-card p {
  margin: 10px 0 19px;
}
.amount-links {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  gap: 21px;
}
.amount-links span {
  color: var(--muted);
}
.comparison-zone {
  background: #edf0e2;
  padding-block: clamp(42px, 5vw, 78px);
}
.comparison-grid {
  gap: 1px;
  border: 1px solid #c0c9ae;
  border-radius: 12px;
  overflow: hidden;
  background: #c0c9ae;
}
.comparison-grid article {
  padding: 20px 22px;
  background: #f7f8ef;
}
.comparison-grid h3 {
  font-size: 1.18rem;
  margin: 0 0 12px;
}
.comparison-grid article > span {
  display: block;
  font-size: 0.87rem;
}
.comparison-grid article > strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
}
.comparison-grid dl {
  margin-top: 12px;
  font-size: 0.9rem;
}
.comparison-grid dl > div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.note {
  margin-top: 12px;
}
.club-banner {
  background: var(--forest);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 6vw, 88px);
  border-radius: 18px;
  overflow: hidden;
}
.club-banner > div {
  padding: clamp(25px, 4.3vw, 66px);
}
.club-banner h2 {
  margin: 15px 0;
}
.club-banner h2 em {
  color: var(--lime);
}
.club-banner p:not(.eyebrow) {
  max-width: 33em;
}
.club-banner .btn {
  margin-top: 22px;
}
.club-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.guide-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.guide-card h3 {
  margin: 14px 0 8px;
}
.guide-card p {
  font-size: 0.95rem;
}
.guide-grid + p {
  margin-top: 20px;
}
.questions {
  border-top: 1px solid var(--line);
  max-width: 930px;
}
.questions details,
.formula {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 12px 0;
  font-weight: 650;
}
.questions details p,
.formula p {
  max-width: 70ch;
  padding-bottom: 15px;
}
.inline-links,
.club-nav {
  margin: 20px 0;
}
.page-intro {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  padding: 15px 0;
  color: var(--muted);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 28%);
  align-items: center;
  gap: clamp(25px, 6vw, 100px);
  padding: 16px 0 42px;
}
.intro-grid h1 {
  font-size: clamp(2.65rem, 5.4vw, 5.1rem);
}
.intro-grid p {
  max-width: 63ch;
  margin: 14px 0 18px;
  line-height: 1.55;
}
.intro-grid > img {
  width: 100%;
  height: clamp(132px, 17vw, 220px);
  object-fit: cover;
  border-radius: 55% 45% 48% 52% / 50% 55% 45% 50%;
}
.tool-layout,
.reading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 62px);
  padding-block: clamp(32px, 5vw, 68px);
}
.tool-layout + .section,
.section + .section {
  padding-top: 0;
}
.paper,
.prefs {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
  padding: clamp(20px, 3vw, 40px);
}
.paper h2,
.prose h2,
.prefs h2,
.club-content > section > h2,
.tool-layout h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 15px;
}
.tool-layout .calc h2 {
  margin-bottom: 0;
}
.paper + .paper {
  margin-top: 22px;
}
.tool-actions {
  gap: 8px;
  margin-top: 15px;
}
.tool,
.link-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 0.9rem;
}
.tools [role='status'],
.prefs [role='status'],
form [role='status'] {
  margin: 14px 0;
}
.money-input {
  display: flex;
  gap: 8px;
  align-items: center;
}
.budget-fields {
  display: grid;
  gap: 14px;
  margin-block: 18px;
}
.budget-fields label,
.search label,
.compare-select {
  display: block;
  font-weight: 650;
}
.budget-fields input,
.search input,
.compare-select select,
.tools input {
  display: block;
  padding: 10px 12px;
  border: 1px solid #94a287;
  border-radius: 6px;
  background: white;
  width: 100%;
  font-size: 1rem;
}
.compare-select select {
  margin: 8px 0 18px;
  max-width: 16em;
}
.prose {
  max-width: 72ch;
}
.prose h3 {
  margin: 22px 0 8px;
}
.prose ul {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.5em;
}
.reading {
  grid-template-columns: minmax(0, 730px) minmax(190px, 280px);
  justify-content: space-between;
}
.prose > section + section,
.prose > .note {
  margin-top: 34px;
}
.reading aside {
  border-left: 1px solid var(--line);
  align-self: start;
  padding-left: 24px;
}
.reading aside h2 {
  font: 650 1rem var(--sans);
  letter-spacing: 0;
  margin: 0 0 0.6rem;
}
.reading aside h2:not(:first-child) {
  margin-top: 20px;
}
.reading aside a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.wide-copy {
  max-width: 66ch;
}
.help-results,
.site-map nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
.help-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 550;
}
.help-results + p {
  margin: 24px 0;
}
.search {
  max-width: 39em;
  margin: 18px 0;
}
.search input {
  margin-top: 5px;
}
.search [role='status'] {
  font-size: 0.87rem;
  margin-top: 6px;
}
.club-content > .section {
  width: 100%;
  padding-bottom: 0;
}
.club-nav {
  margin: 0 0 22px;
}
.notebook-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.notebook-row button {
  margin-left: 12px;
}
.prefs {
  margin-bottom: 25px;
}
footer {
  background: #203222;
  color: #f2f4e7;
  padding: 48px 0 20px;
}
footer .brand-mark {
  filter: brightness(0) invert(1);
}
footer .brand {
  width: fit-content;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 20px;
}
footer h2 {
  font: 650 1rem var(--sans);
  margin: 0.4rem 0 0.8rem;
  letter-spacing: 0;
}
footer p {
  margin: 13px 0;
}
footer .footer-grid > div > a:not(.brand),
footer p,
.smallprint,
.site-map {
  font-size: 0.885rem;
  color: #e0e5d6;
}
footer .footer-grid > div > a:not(.brand) {
  display: table;
  margin-bottom: 6px;
}
.site-map {
  border-block: 1px solid #5e7058;
  margin-top: 25px;
}
.site-map nav {
  padding-bottom: 16px;
}
.site-map nav a {
  margin: 0.25rem 0;
}
.smallprint {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 16px;
}
@media (min-width: 1500px) {
  .hero-story {
    min-height: 570px;
  }
  .hero-photo {
    height: 68%;
  }
}
@media (max-width: 1050px) {
  .top-line {
    gap: 1.35rem;
  }
  .desktop-nav {
    gap: 1rem;
  }
  .hero-grid {
    grid-template-columns: 1.15fr minmax(350px, 1fr);
    gap: 25px;
  }
  .hero-story {
    min-height: 535px;
    padding-top: 12px;
  }
  .hero-photo {
    height: 46%;
    width: 68%;
    right: 1%;
    bottom: -5%;
  }
  .hero-text > p:not(.eyebrow) {
    max-width: 315px;
  }
  .ribbon a {
    font-size: 0.86rem;
  }
  .intro-grid {
    grid-template-columns: 1fr 24%;
  }
}
@media (max-width: 820px) {
  .top-line {
    min-height: 66px;
    justify-content: space-between;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    width: 43px;
    height: 43px;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 50%;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary span {
    width: 16px;
    height: 2px;
    background: var(--forest);
  }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-block: 1px solid var(--line);
    padding: 10px 4vw 15px;
    background: var(--paper);
    box-shadow: 0 5px 0 #20322214;
  }
  .mobile-menu nav a {
    display: block;
    padding: 10px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero-story {
    min-height: 520px;
  }
  .hero h1 {
    font-size: 3.7rem;
  }
  .hero-text > p:not(.eyebrow) {
    max-width: 270px;
  }
  .hero-photo {
    width: 78%;
    height: 40%;
  }
  .calc {
    padding: 19px;
  }
  .ribbon-inner {
    width: 96%;
  }
  .ribbon a {
    gap: 6px;
  }
  .footer-grid {
    column-gap: 15px !important;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand {
    font-size: 1.67rem;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .header-cta {
    font-size: 0.82rem;
    min-height: 39px;
    padding-inline: 13px;
  }
  .hero-grid {
    display: block;
    padding-block: 0 26px;
  }
  .hero-story {
    min-height: 345px;
    padding: 26px 0;
  }
  .hero h1 {
    font-size: clamp(3.15rem, 10.8vw, 4.8rem);
    margin: 14px 0 10px;
  }
  .hero-text > p:not(.eyebrow) {
    font-size: 0.96rem;
    max-width: min(61%, 330px);
  }
  .hero-text {
    width: 100%;
  }
  .hero-text > .text-link {
    display: none;
  }
  .hero-photo {
    width: 40%;
    height: 64%;
    right: -3%;
    bottom: 7%;
    border-radius: 60% 48% 16% 47% / 60% 55% 20% 43%;
  }
  .mobile-calc {
    display: inline-flex;
    min-height: 41px;
    margin-top: 12px;
    padding: 0.55em 1.12em;
  }
  .calc {
    padding: 22px;
  }
  .calc-fields {
    margin-top: 18px;
  }
  .ribbon-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 7px;
  }
  .ribbon a {
    justify-content: flex-start;
    min-height: 38px;
    gap: 12px;
  }
  .ribbon a + a {
    border-left: 0;
  }
  .figure-links,
  .guide-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    aspect-ratio: 3;
  }
  .card-copy {
    padding: 18px;
  }
  .guide-card {
    display: grid;
    grid-template-columns: 98px 1fr;
    gap: 14px;
    align-items: start;
  }
  .guide-card img {
    height: 82px;
    object-fit: cover;
  }
  .guide-card h3 {
    font-size: 1.4rem;
    margin: 0 0 8px;
  }
  .guide-card p {
    font-size: 0.9rem;
  }
  .club-banner {
    grid-template-columns: 1fr;
  }
  .club-banner > img {
    height: 205px;
    object-position: 50% 56%;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    position: relative;
    padding: 6px 0 26px;
    gap: 0;
  }
  .intro-grid > img {
    display: none;
  }
  .intro-grid p {
    margin: 12px 0 16px;
  }
  .crumb {
    font-size: 0.78rem;
    padding-block: 12px;
  }
  .tool-layout,
  .reading {
    grid-template-columns: 1fr;
  }
  .reading aside {
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-grid article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0 10px;
    padding: 13px 16px;
  }
  .comparison-grid h3 {
    grid-row: 1/3;
    margin: 0;
  }
  .comparison-grid article > strong {
    font-size: 1.7rem;
  }
  .comparison-grid dl {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 6px;
    margin-top: 5px;
  }
  .comparison-grid dl > div {
    justify-content: space-between;
  }
  .help-results {
    grid-template-columns: 1fr;
  }
  .club-nav {
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 27px !important;
  }
  .site-map nav {
    grid-template-columns: 1fr;
  }
  .smallprint {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 365px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hero-story {
    min-height: 335px;
  }
  .hero-text > p:not(.eyebrow) {
    max-width: 64%;
  }
  .eyebrow {
    font-size: 0.66rem;
  }
  .hero-photo {
    width: 37%;
    right: -2%;
  }
  .header-actions {
    gap: 4px;
  }
  .header-cta {
    font-size: 0.78rem;
    padding-inline: 9px;
  }
  .brand {
    gap: 3px;
    font-size: 1.54rem;
  }
  .mobile-menu summary {
    width: 38px;
    height: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .calc-minor {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .top,
  footer,
  .ribbon,
  .btn,
  .intro-grid > img,
  .hero-photo,
  .hero-text,
  .tools,
  .js-only,
  .reading aside,
  .club-nav,
  .section .inline-links,
  .amount-links,
  .quiet,
  .skip,
  .crumb,
  .formula,
  .comparison-zone + .club-banner,
  .paper .eyebrow {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .hero-grid,
  .tool-layout,
  .reading,
  .intro-grid {
    display: block;
  }
  .hero-story {
    display: none;
  }
  .hero,
  .page-intro,
  .paper,
  .calc {
    background: white;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .tool-layout,
  .section,
  .page-intro {
    padding-block: 16px;
  }
  .calc {
    border: 1px solid #aaa;
    padding: 15px;
  }
  .calc:before {
    content: 'PrestOliva España · prestoliva.es · Simulación orientativa';
    font-size: 11pt;
  }
  .comparison-grid,
  .calc {
    break-inside: avoid;
  }
  .calc-note {
    color: #000;
  }
  .sources a[href^='http']:after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
  }
  .intro-grid h1 {
    font-size: 28pt;
  }
  .hero-story + .calc {
    margin: 10px 0;
  }
  h2 {
    font-size: 19pt;
  }
  .js .calc-fields.js-only {
    display: none !important;
  }
  a {
    color: #000;
  }
}
.help-route {
  border-block: 1px solid var(--line);
  margin: 18px 0;
}
.help-route > div {
  padding: 4px 0 12px;
}
.help-route .tool {
  min-height: 42px;
}
@media (min-width: 821px) and (max-width: 1000px) {
  .desktop-nav {
    gap: 0.68rem;
  }
  .top-line {
    gap: 0.85rem;
  }
  .desktop-nav a {
    font-size: 0.86rem;
  }
}
@media (max-width: 700px) {
  .top-line {
    gap: 8px;
  }
  .header-cta {
    white-space: nowrap;
  }
  .hero h1 {
    letter-spacing: -0.055em;
  }
  .hero-text > p:not(.eyebrow) {
    max-width: 61%;
  }
}
.editorial-diagram {
  margin: 0 0 26px;
}
.editorial-diagram img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.editorial-diagram figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}
.discount {
  margin-top: 30px;
}
.discount select {
  margin: 16px 10px;
  padding: 6px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
}
.discount-output {
  border-block: 1px solid var(--line);
  padding: 10px 0;
}
.discount-output p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 5px 0;
}
.discount-output strong {
  white-space: nowrap;
}
@media (max-width: 400px) {
  .hero-photo {
    height: 49%;
    bottom: 6%;
  }
}
.print-summary {
  display: none;
}
@media print {
  :root.js .js-only,
  .quote-page > :not(.print-summary) {
    display: none !important;
  }
  .quote-page .print-summary {
    display: block;
    margin: 16mm 10mm;
    max-width: 165mm;
  }
  .print-summary h2 {
    font-size: 32pt;
    margin: 12mm 0 4mm;
  }
  .print-summary dl {
    border-block: 1.5pt solid #263c28;
    margin: 9mm 0;
  }
  .print-summary dl div {
    display: flex;
    justify-content: space-between;
    padding: 2.5mm 0;
    border-bottom: 0.4pt solid #aeb5a6;
  }
  .print-summary dd {
    font-weight: 650;
  }
  .print-summary dl div:last-child {
    font-size: 16pt;
    border: 0;
  }
}
