:root {
  color-scheme: light;
  --ink: #163931;
  --muted: #536e65;
  --paper: #faf9f4;
  --line: #dce6dd;
  --mint: #e0efe5;
  --lime: #dcf4ad;
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #256b59; outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: #fffdf8; border-block-end: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 15px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.18rem; text-decoration: none; white-space: nowrap; font-weight: 750; }
.brand strong { color: #377365; }
.settings { display: flex; gap: 12px; }
.settings label, .model-controls, #zip-form { display: grid; gap: 5px; min-width: 0; }
label, .eyebrow, .art-label { font-size: .76rem; font-weight: 730; }
.settings select { min-width: 9rem; max-width: 15rem; }
select, input { min-height: 42px; border-radius: 10px; border: 1px solid #bdcec4; padding: 7px 10px; background: white; min-width: 0; }
.hero { display: grid; grid-template-columns: 1.07fr .93fr; gap: 24px; align-items: center; padding: 44px 0 39px; }
.hero-copy { min-width: 0; }
.badge, .market-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; background: var(--mint); border: 1px solid #ccdfd1; padding: 6px 12px; border-radius: 100px; color: #285145; font-weight: 750; font-size: .77rem; }
.badge { margin: 0 0 14px; }
.badge > span:first-child, .art-label > span { width: 7px; height: 7px; background: #36735f; border-radius: 50%; flex: none; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.28rem, 4.3vw, 4.1rem); line-height: 1.04; letter-spacing: -.051em; font-weight: 800; overflow-wrap: break-word; }
h1 em { font-style: normal; color: #397565; }
.hero-text { color: var(--muted); max-width: 47ch; font-size: 1.04rem; line-height: 1.6; margin-block: 16px 21px; }
.primary, .store-link, button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; min-height: 42px; border-radius: 10px; padding: 9px 14px; background: var(--ink); color: white; font-weight: 720; border: 1px solid transparent; text-decoration: none; }
.primary:hover, .store-link:hover, button:hover { background: #26584c; }
.hero-visual { position: relative; background: radial-gradient(ellipse at 59% 46%, #f1f9df 0, #dbeee2 56%, #d6e8dc 100%); border: 1px solid #cbded1; border-radius: 22px; padding: 15px 17px 13px; min-width: 0; }
.hero-visual svg { display: block; width: 100%; max-height: 275px; }
.art-label { display: flex; align-items: center; gap: 6px; letter-spacing: .14em; direction: ltr; }
.art-footer { display: flex; justify-content: space-between; gap: 10px; color: #3b6759; font-size: .76rem; font-weight: 750; }
.comparison { background: #fffdf8; border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-block-end: 34px; scroll-margin-block-start: 12px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-block-end: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .11em; color: #397565; margin-block-end: 3px; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.15; letter-spacing: -.032em; }
.market-tag { text-align: center; }
.controls { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: 12px; padding: 14px; background: #f1f5ef; border: 1px solid #e5ece4; border-radius: 13px; }
.zip-controls { display: flex; gap: 6px; }
.zip-controls input { flex: 1; width: 0; }
.zip-controls button { flex: none; }
.error { font-size: .77rem; color: #9a2826; }
.context-line, .footnote { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.context-line { margin: 11px 1px; }
.footnote { margin-block-start: 14px; }
.offer-list { display: grid; gap: 8px; }
.offer { display: grid; grid-template-columns: minmax(145px, 1.45fr) repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 13px; padding: 12px; background: white; }
.offer.best { background: #f2f9e9; border-color: #a9c994; }
.seller { display: flex; align-items: center; gap: 9px; min-width: 0; }
.seller-mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #e0efe5; color: #204f42; font-weight: 800; font-size: .91rem; }
.seller strong { display: block; overflow-wrap: anywhere; }
.seller small, .metric span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.25; }
.best-tag { display: inline-block; margin-block-start: 4px; background: var(--lime); border-radius: 6px; padding: 2px 6px; font-size: .68rem; font-weight: 760; }
.metric { min-width: 0; }
.metric strong { display: block; margin-block-start: 4px; font-size: .95rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric.total strong { font-size: 1.14rem; }
.store-link { background: white; color: var(--ink); border-color: #b8cfc4; min-height: 38px; font-size: .81rem; text-align: center; }
.store-link:hover { color: white; }
.empty { border: 1px dashed #b7cec2; border-radius: 13px; padding: 18px; background: #f6faf4; }
.empty p { margin-block: 4px 12px; color: var(--muted); line-height: 1.45; }
.site-footer { background: #f0f3eb; border-block-start: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 850px) {
  .offer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seller { grid-column: 1 / 3; }
  .offer:not(:has(.store-link)) .seller { grid-column: 1 / -1; }
  .store-link { grid-column: 3; grid-row: 1; justify-self: end; }
  .hero { gap: 16px; }
}
@media (max-width: 630px) {
  .shell { width: calc(100% - 24px); }
  .header-inner { flex-direction: column; align-items: stretch; gap: 9px; padding-block: 9px 12px; }
  .settings { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px; }
  .settings select { width: 100%; min-width: 0; max-width: none; }
  .hero { grid-template-columns: 1fr; padding-block: 24px 18px; gap: 14px; }
  .hero-text { font-size: .98rem; margin-block: 12px 15px; }
  .hero-visual { padding: 9px 12px; }
  .hero-visual svg { max-height: 140px; }
  .comparison { padding: 13px; border-radius: 15px; }
  .controls { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; padding: 8px; }
  #zip-form { grid-column: 1 / -1; }
  .section-title { align-items: start; }
  .market-tag { max-width: 45%; }
  .offer { padding: 10px; gap: 9px; }
  .metric.total strong { font-size: 1rem; }
  .store-link { padding-inline: 8px; font-size: .75rem; }
  .footer-inner { flex-wrap: wrap; gap: 6px 12px; }
}
