:root {
  --green: #1f3d2b; --green-2: #2f5d40; --leaf: #5c8f4e; --sand: #f6f1e7; --line: #e2d9c7;
  --ink: #18201b; --muted: #5d665f; --gold: #f0b429; --white: #fff; --red: #b3261e; --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--sand); }
a { color: var(--green-2); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .45em; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }

/* header */
.top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; height: 54px; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 750; color: var(--green); text-decoration: none; font-size: 17px; margin-right: auto; white-space: nowrap; }
.mark { width: 28px; height: 28px; flex: none; display: block; }
.top-rating { font-size: 14px; font-weight: 700; white-space: nowrap; }
.top-rating .g { color: var(--gold); }
.dim { color: var(--muted); font-weight: 500; }
.top-call { border: 1.5px solid var(--green); color: var(--green); padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 14px; }

/* hero: mobile first */
.hero { display: grid; }
.visual { position: relative; height: 172px; overflow: hidden; background: var(--green); }
.visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.visual img.fade { opacity: .25; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 12, .4) 0%, rgba(8, 20, 12, .72) 40%, rgba(8, 20, 12, .93) 100%); }
.vcopy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 36px; color: var(--white); text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 14px rgba(0, 0, 0, .45); }
.stars { margin: 0 0 4px; font-size: 13px; font-weight: 650; }
.stars span { color: var(--gold); letter-spacing: 1px; }
h1 { font-size: 26px; letter-spacing: -.01em; margin: 0; }
.sub, .proof, .rq { display: none; }

.panel { padding: 0 12px 8px; margin-top: -26px; position: relative; z-index: 2; }
.card { background: var(--white); border-radius: var(--r); padding: 14px 14px 10px; box-shadow: 0 12px 34px rgba(31, 61, 43, .16); border: 1px solid var(--line); }
.progress { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bar { flex: 1; height: 4px; background: #eee7da; border-radius: 4px; overflow: hidden; }
.stepno { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.bar span { display: block; height: 100%; width: 33%; background: var(--leaf); transition: width .3s; }
.card h2 { font-size: 19px; margin-bottom: 10px; }
.step[hidden] { display: none; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 0.92; cursor: pointer; background: var(--green); box-shadow: inset 0 0 0 2px transparent; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .88) 100%); }
.tile span { position: absolute; left: 7px; right: 7px; bottom: 6px; z-index: 1; color: var(--white); font-weight: 750; font-size: 13px; line-height: 1.15; text-align: left; text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 0 10px rgba(0, 0, 0, .5); }
.tile:hover img { transform: scale(1.05); }
.tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--gold); }
.tile.other { background: var(--sand); border: 1.5px dashed #c9bda5; }
.tile.other::after { display: none; }
.tile.other span:not(.plus) { color: var(--ink); text-shadow: none; }
.tile .plus { position: absolute; top: 28%; left: 0; right: 0; text-align: center; font-size: 30px; color: var(--green); font-weight: 400; bottom: auto; }

.back { border: 0; background: none; color: var(--muted); padding: 0; margin: -4px 0 6px; font-size: 14px; cursor: pointer; }
label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 10px; }
.lbl { font-weight: 650; font-size: 14px; margin: 2px 0 6px; }
.opt { color: var(--muted); font-weight: 400; }
input, textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 16px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
input:focus, textarea:focus { border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(92, 143, 78, .2); }
textarea { resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.chip { font-size: 14.5px; border: 1.5px solid var(--line); background: var(--sand); border-radius: 999px; padding: 9px 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.chip:focus-visible, .tile:focus-visible, .go:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--red); font-size: 14px; margin: 0 0 8px; }
.err:empty { display: none; }
.go { display: block; width: 100%; text-align: center; font-weight: 750; font-size: 17px; background: var(--gold); color: var(--ink); border: 0; border-radius: 12px; padding: 14px; cursor: pointer; text-decoration: none; }
.go:hover { filter: brightness(1.04); }
.go[disabled] { opacity: .6; cursor: wait; }
.consent { font-size: 11.5px; color: var(--muted); margin: 8px 0 2px; line-height: 1.35; }
.alt { font-size: 13.5px; color: var(--muted); margin: 10px 0 2px; text-align: center; }
.done { text-align: center; padding: 8px 0; }
.done .check { width: 52px; height: 52px; border-radius: 50%; background: var(--leaf); color: var(--white); font-size: 28px; display: grid; place-items: center; margin: 0 auto 10px; }
.done h2 { color: var(--green); }
.small { font-size: 14px; color: var(--muted); }

.trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 10px 0 0; }
.trust li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 6px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.25; }
.trust strong { display: block; color: var(--green); font-size: 15px; }

/* desktop: everything above the fold */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr minmax(420px, 460px); gap: 0; height: calc(100vh - 54px); min-height: 600px; max-height: 820px; }
  .visual { height: auto; }
  .vcopy { top: 0; bottom: 0; padding: 48px 48px 40px; display: flex; flex-direction: column; justify-content: flex-end; }
  .shade { background: linear-gradient(90deg, rgba(8, 20, 12, .86) 0%, rgba(8, 20, 12, .6) 50%, rgba(8, 20, 12, .25) 100%), linear-gradient(0deg, rgba(8, 20, 12, .6) 0%, rgba(8, 20, 12, 0) 45%); }
  h1 { font-size: clamp(36px, 3.6vw, 52px); max-width: 620px; margin-bottom: 10px; }
  .stars { font-size: 15px; }
  .sub { display: block; font-size: 19px; max-width: 520px; margin: 0 0 18px; }
  .proof { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
  .proof li { background: rgba(8, 20, 12, .55); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 12px; font-size: 14px; backdrop-filter: blur(4px); }
  .proof li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
  .rq { display: block; margin: 0; max-width: 480px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 14px 16px; text-shadow: none; }
  .rq blockquote { margin: 0 0 6px; font-size: 15px; }
  .rq blockquote::before { content: "★★★★★"; display: block; color: var(--gold); font-size: 12px; letter-spacing: 1px; }
  .rq figcaption { font-size: 13px; color: var(--muted); }
  .panel { margin: 0; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; background: var(--sand); }
  .card { padding: 20px 20px 12px; }
  .card h2 { font-size: 22px; }
  .tile span { font-size: 14px; }
}

/* sections below the fold */
main > section:not(.hero) { max-width: 1120px; margin: 0 auto; padding: 36px 16px; }
main > section h2 { font-size: clamp(22px, 3vw, 30px); }
.how ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .how ol { grid-template-columns: repeat(3, 1fr); } }
.how li { counter-increment: s; background: var(--white); border-radius: var(--r); padding: 16px; border: 1px solid var(--line); }
.how li::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; margin-bottom: 6px; }
.how li strong { display: block; }
.gallery { display: grid; gap: 14px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.pair { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.pair .imgs { display: grid; grid-template-columns: 1fr 1fr; }
.pair .imgs > div { position: relative; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pair .tag { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .6); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.pair p { margin: 0; padding: 10px 14px 14px; font-size: 15px; }
main > section.reviews { background: var(--green); color: var(--white); max-width: none; }
.reviews > * { max-width: 1088px; margin-left: auto; margin-right: auto; }
.reviews .src { color: #c9d8cc; font-size: 14px; margin-bottom: 16px; }
.quotes { display: grid; gap: 12px; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes figure { margin: 0; background: rgba(255, 255, 255, .08); border-radius: var(--r); padding: 16px; }
.quotes blockquote { margin: 0 0 8px; font-size: 16px; }
.quotes blockquote::before { content: "★★★★★"; display: block; color: var(--gold); font-size: 13px; letter-spacing: 1px; margin-bottom: 4px; }
.quotes figcaption { color: #c9d8cc; font-size: 13.5px; }
.stat { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.quotes .stat { background: rgba(240, 180, 41, .14); }
.stat p { margin: 0 0 12px; color: #e7efe9; }
.stat .big { font-size: 46px; font-weight: 800; color: var(--gold); margin: 0; line-height: 1; }
.grid { display: grid; gap: 12px; }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid > div { background: var(--white); border-radius: var(--r); padding: 16px; border: 1px solid var(--line); }
.grid p { margin: 0; color: #3c463f; font-size: 15px; }
footer { padding: 24px 16px 40px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer p { margin: 4px auto; max-width: 720px; }
.legal { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; }

.picked { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--sand); border-radius: 10px; padding: 7px 10px; margin-bottom: 10px; font-size: 14px; }
.pk { font-weight: 650; color: var(--green); }
.pk::before { content: "✓ "; color: var(--leaf); }
.change { border: 0; background: none; color: var(--green-2); text-decoration: underline; font-size: 14px; cursor: pointer; padding: 2px 0; }
input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.chips.need .chip { border-color: var(--red); }
.sum { font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.next { text-align: left; margin: 0 auto 10px; padding-left: 20px; max-width: 340px; font-size: 14.5px; color: #3c463f; }
.next li { margin-bottom: 4px; }

#quote { scroll-margin-top: 66px; }
.hint { margin: -6px 0 10px; font-size: 13.5px; color: var(--muted); }
.assure { margin: 8px 0 0; font-size: 13px; color: var(--green); font-weight: 600; text-align: center; }
.top-quote { display: none; background: var(--gold); color: var(--ink); padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: 14px; white-space: nowrap; }
body.formoff .top-quote { display: inline-block; }
@media (max-width: 520px) { body.formoff .top-rating { display: none; } }
