@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("assets/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --ink: var(--family-ink);
  --text: var(--family-muted);
  --red: var(--family-red);
  --deep-red: var(--family-red-dark);
  --line: var(--family-line);
  --rose: var(--family-soft);
  --paper: #fff;
  --shell: 1184px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 "DM Sans", system-ui, sans-serif;
}
h1, h2, h3 {
  font-family: Nunito, system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 850; }
h3 { font-size: 1.3rem; font-weight: 850; }
p { margin: 0; }
a { color: var(--deep-red); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid var(--deep-red); outline-offset: 4px; }
section[id] { scroll-margin-block-start: 1.5rem; }
.shell { width: min(var(--shell), 100% - 4rem); margin-inline: auto; }

.site-header { border-block-end: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-row { min-height: 77px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font: 930 1.68rem/1 Nunito, system-ui, sans-serif;
  letter-spacing: -.065em;
}
.wordmark span:last-child { color: var(--red); }
.mark { position: relative; width: 1.18rem; height: 1.18rem; margin-inline-end: .55rem; background: var(--red); border-radius: .28rem; }
.mark::before, .mark::after { content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); background: #fff; }
.mark::before { width: .62rem; height: .18rem; }
.mark::after { width: .18rem; height: .62rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.55rem); }
nav a { color: var(--ink); font-weight: 660; text-decoration: none; }
nav a:hover { color: var(--deep-red); text-decoration: underline; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .67rem 1.05rem;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: .65rem;
  color: #fff;
  font: 730 .98rem/1.27 "DM Sans", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--deep-red); border-color: var(--deep-red); }
.button-outline { color: var(--deep-red); background: var(--paper); border-color: #c9868d; }
.button-outline:hover { color: var(--deep-red); background: var(--rose); }
.button-small { min-height: 40px; font-size: .9rem; }
.quiet-link { font-weight: 700; padding-block: .45rem; }

.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: center; gap: clamp(1.5rem, 3.5vw, 3.65rem); padding-block: clamp(2.8rem, 6vw, 5.6rem); }
.eyebrow { color: var(--deep-red); font-weight: 820; font-size: .88rem; letter-spacing: .09em; text-transform: uppercase; }
.short-line { display: inline-block; width: 1.6rem; height: 2px; background: var(--red); vertical-align: middle; margin-inline-end: .55rem; }
.hero h1 { font-size: clamp(3rem, 5.65vw, 5.2rem); font-weight: 900; line-height: .99; letter-spacing: -.063em; margin: 1.1rem 0; }
.hero h1 em { display: block; font-style: normal; color: var(--red); white-space: nowrap; }
.intro { color: var(--text); font-size: clamp(1.06rem, 1.53vw, 1.2rem); line-height: 1.55; max-width: 36ch; }
.hero-actions { margin-top: 1.55rem; display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.25rem; row-gap: .35rem; }
.hero-note { margin-top: .6rem; color: var(--text); font-size: .9rem; }
.hero-image { display: block; width: 100%; height: auto; border-radius: .95rem; border: 1px solid #eee2db; background: #f6ebe3; }

.coverage { border-block-start: 1px solid var(--line); padding-block: 2rem 3.6rem; }
.coverage h2 { font-size: clamp(1.6rem, 2.9vw, 2.15rem); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.coverage article { border: 1px solid var(--line); border-radius: .8rem; padding: 1.14rem 1.18rem; }
.coverage h3 { display: flex; align-items: center; gap: .58rem; margin-bottom: .5rem; }
.coverage h3 span { width: .65rem; height: .65rem; flex: 0 0 auto; border: 2px solid var(--red); border-radius: 50%; }
.coverage p, .next-card > p:not(.eyebrow) { color: var(--text); }

.comparison { padding: clamp(1.25rem, 3.5vw, 3rem); border-radius: 1rem; background: var(--rose); border: 1px solid var(--family-line); }
.comparison-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem; align-items: end; margin-bottom: 1.6rem; }
.comparison-heading h2 { margin-top: .45rem; }
.comparison-heading > p { color: var(--text); max-width: 43ch; }
.cost-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .8rem; align-items: end; }
.amount-field label { display: block; font-weight: 700; margin-bottom: .26rem; }
.amount-input { display: flex; align-items: center; border: 1px solid #a5aaa5; border-radius: .65rem; background: #fff; }
.amount-input span { font-size: .93rem; color: var(--text); padding-inline-start: .7rem; }
.amount-input input { color: var(--ink); width: 100%; min-width: 0; min-height: 44px; padding: .45rem .55rem; border: 0; border-radius: .65rem; background: transparent; font: 720 1rem "DM Sans", system-ui, sans-serif; }
.demo-note { color: var(--text); margin-top: .55rem; font-size: .9rem; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.3rem; }
.result-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); padding: 1.05rem; border-radius: .75rem; }
.result-card.featured { box-shadow: inset 0 0 0 1px var(--red); border-color: var(--red); }
.category { color: var(--deep-red); font-size: .94rem; font-weight: 780; line-height: 1.25; }
.plan { font-size: 1.55rem; margin-block: .62rem .32rem; }
.category-description { color: var(--text); }
.card-stats { margin-block: .85rem 0; }
.card-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem .6rem; flex-wrap: wrap; padding-block: .53rem; border-block-start: 1px solid var(--line); }
dt { color: var(--text); font-size: .93rem; }
dd { margin: 0; font-weight: 770; font-variant-numeric: tabular-nums; white-space: nowrap; }
details { margin-block: .95rem 1.25rem; max-width: 74ch; }
summary { padding-block: .46rem; color: var(--deep-red); font-weight: 740; cursor: pointer; }
details p { margin-top: .5rem; color: var(--text); }

.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: clamp(2.4rem, 5vw, 4rem); }
.next-card { display: flex; align-items: flex-start; flex-direction: column; border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1.25rem, 2.7vw, 2rem); }
.next-card h2 { font-size: clamp(1.55rem, 2.8vw, 2.12rem); margin-block: .45rem .65rem; }
.next-card .button { margin-top: auto; }
.next-card > p:not(.eyebrow) { margin-bottom: 1.1rem; max-width: 47ch; }
.site-footer { border-block-start: 1px solid var(--line); padding-block: 1.4rem; }
.site-footer .wordmark { font-size: 1.33rem; }
.site-footer .mark { transform: scale(.85); transform-origin: left center; margin-inline-end: .28rem; }
.site-footer a:last-child { color: var(--text); font-size: .92rem; }
.skip-link { position: fixed; z-index: 2; inset: .5rem auto auto .5rem; padding: .5rem .75rem; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 951px) {
  .category-description { min-block-size: 3.1em; }
}
@media (max-width: 950px) {
  .cost-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cost-form button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 2.5rem); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; padding-block: 2.45rem 2.15rem; }
  .hero h1 { font-size: clamp(2.85rem, 9vw, 4.75rem); }
  .intro { max-width: 43ch; }
  .comparison-heading { grid-template-columns: 1fr; gap: .7rem; }
}
@media (max-width: 640px) {
  .header-row { min-height: 0; flex-wrap: wrap; gap: .7rem; padding-block: .85rem .7rem; }
  .header-row nav { border-top: 1px solid var(--line); padding-top: .63rem; width: 100%; order: 1; justify-content: space-between; gap: .7rem; font-size: .91rem; }
  .coverage-grid, .results, .next-grid { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .coverage { padding-block: 1.55rem 2.25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-note { margin-top: .18rem; }
  .comparison { margin-inline: -.2rem; }
  .cost-form { grid-template-columns: 1fr; gap: .65rem; }
  .cost-form button { justify-self: stretch; }
  .footer-row { flex-wrap: wrap; gap: .7rem 1.25rem; }
}
@media (max-width: 365px) {
  .shell { width: calc(100% - 1.65rem); }
  .hero h1 { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
