:root {
  --pine: #0c2f2b;
  --pine-2: #12443e;
  --pine-3: #1c5a52;
  --paper: #f3f7f5;
  --surface: #ffffff;
  --ink: #0f1f1d;
  --muted: #5b6f6b;
  --line: #d8e3df;
  --lime: #c8f169;
  --lime-ink: #2f4d06;
  --coral: #ff7a59;
  --on-pine: #e6f1ee;
  --on-pine-muted: #9fbcb5;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
       max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-pine);
        font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo em { font-style: normal; font-weight: 600; color: var(--on-pine-muted); }
.mark { width: 22px; height: 22px; border-radius: 6px 6px 6px 0; background: var(--lime); position: relative; }
.mark::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--pine); top: 5px; right: 5px; }
.nav-link { color: var(--on-pine); text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; }
.nav-link:hover { opacity: 1; }

/* Hero */
.hero { color: var(--on-pine); padding: 120px 0 72px;
        background:
          radial-gradient(1200px 500px at 85% -10%, rgba(200, 241, 105, .14), transparent 60%),
          radial-gradient(900px 600px at -10% 120%, rgba(28, 90, 82, .9), transparent 60%),
          linear-gradient(160deg, var(--pine) 0%, var(--pine-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--lime); margin: 0 0 14px; letter-spacing: -0.01em; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.sub { color: var(--on-pine-muted); font-size: 1.12rem; max-width: 34em; margin: 18px 0 28px; }
.pick { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.pick select { flex: 1 1 260px; font: 500 1rem var(--body); color: var(--ink); background: var(--surface); border: 0; border-radius: 12px; padding: 14px 16px; }
.pick button { font: 700 1rem var(--body); background: var(--lime); color: var(--pine); border: 0; border-radius: 12px; padding: 14px 22px; cursor: pointer; transition: transform .15s ease; }
.pick button:hover { transform: translateY(-1px); }

.hero-visual { padding: 28px 0; }
.visual-label { margin: 0 0 18px; font-weight: 600; color: var(--on-pine); }
.visual-note { margin: 18px 0 0; color: var(--on-pine-muted); font-size: .95rem; }
.visual-note strong { color: var(--lime); }

/* Range chart */
.range { margin: 0; }
.track { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--lime), #e9d36a 55%, var(--coral)); opacity: .95; }
.range-lg .track { height: 14px; }
.dot { position: absolute; top: 50%; left: var(--x); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
       background: var(--pine); border: 3px solid var(--on-pine); animation: slide-in .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
.range-lg .dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.dot-best { background: var(--lime); border-color: var(--pine); }
.dot-worst { background: var(--coral); }
.range figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.range figcaption span:first-child { color: var(--lime); }
.range figcaption span:last-child { color: var(--coral); }
@keyframes slide-in { from { left: 0; opacity: 0; } to { left: var(--x); opacity: 1; } }

/* Sections */
.section { padding: 72px 0; }
.section-sub { color: var(--muted); margin: 0 0 28px; font-size: 1.05rem; }

.test-list { border-top: 1px solid var(--line); }
.test-row { display: grid; grid-template-columns: 1.6fr 1fr auto 28px; gap: 16px; align-items: center; padding: 20px 4px;
            border-bottom: 1px solid var(--line); text-decoration: none; animation: rise .5s ease both; animation-delay: calc(var(--i) * 50ms); }
.test-row:hover { background: var(--surface); }
.test-name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.test-name small { display: block; font-family: var(--body); font-weight: 500; font-size: .85rem; color: var(--muted); letter-spacing: 0; }
.test-range { font-weight: 600; font-variant-numeric: tabular-nums; }
.test-spread { background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.arrow { font-size: 1.3rem; color: var(--pine-3); transition: transform .2s ease; }
.test-row:hover .arrow { transform: translateX(4px); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.how { background: var(--surface); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; color: var(--muted); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--pine-3); line-height: 1; margin-bottom: 10px; }
.steps strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

.trust p { font-size: 1.12rem; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--pine-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Test page */
.hero-test { padding: 110px 0 56px; }
.hero-test h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 18em; }
.crumbs { font-size: .9rem; color: var(--on-pine-muted); margin-bottom: 16px; }
.crumbs a { color: var(--on-pine-muted); }
.crumbs span { margin: 0 6px; opacity: .6; }
.test-hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-top: 32px; }
.saving { margin: 0; font-size: 1.1rem; color: var(--on-pine); }
.saving strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--lime); letter-spacing: -0.02em; line-height: 1.05; }
.saving span { display: block; color: var(--on-pine-muted); font-size: .95rem; margin-top: 8px; }

.prices-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.city-filter { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.city-filter select { font: 500 .95rem var(--body); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

.offers { list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.offer { display: grid; grid-template-columns: 1.4fr 1fr auto auto; gap: 20px; align-items: center; padding: 16px 20px;
         border-top: 1px solid var(--line); animation: rise .45s ease both; animation-delay: calc(var(--i) * 40ms); }
.offer:first-child { border-top: 0; }
.offer[hidden] { display: none; }
.offer-best { background: linear-gradient(90deg, rgba(200, 241, 105, .35), rgba(200, 241, 105, .08)); }
.offer-lab { font-weight: 700; }
.offer-lab small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.tag { display: inline-block; margin-left: 8px; background: var(--pine); color: var(--lime); font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; vertical-align: 2px; }
.offer-bar { height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.offer-bar i { display: block; height: 100%; width: var(--w); background: var(--pine-3); border-radius: 99px; }
.offer-best .offer-bar i { background: var(--lime-ink); }
.offer-price { font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-price small { display: block; font-family: var(--body); font-weight: 600; font-size: .75rem; color: #a0640a; }
.offer-go { background: var(--pine); color: var(--on-pine); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 10px 14px; border-radius: 10px; white-space: nowrap; transition: background .15s ease; }
.offer-go:hover { background: var(--pine-3); }
.offer-best .offer-go { background: var(--lime); color: var(--pine); }
.fine { color: var(--muted); font-size: .85rem; margin-top: 14px; }

.about-test p, .prose p { font-size: 1.08rem; color: #2c3d3a; }
.prose h2 { font-size: 1.35rem; margin-top: 32px; }

.related { background: var(--surface); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.related-links a { text-decoration: none; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.related-links a:hover { border-color: var(--pine-3); }
.related-links span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* Footer */
.foot { background: var(--pine); color: var(--on-pine-muted); padding: 48px 0; font-size: .9rem; }
.foot p { max-width: 46em; }
.foot a { color: var(--on-pine); }
.foot .logo { margin-bottom: 8px; }

/* Mobile */
@media (max-width: 820px) {
  .hero { padding: 96px 0 56px; }
  .hero-grid, .test-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 16px; }
  .test-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .test-range { grid-column: 1; color: var(--muted); font-weight: 500; }
  .test-spread { grid-column: 2; grid-row: 1; }
  .arrow { display: none; }
  .offer { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 14px 16px; }
  .offer-bar { grid-column: 1 / -1; grid-row: 2; }
  .offer-go { grid-column: 1 / -1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.packages .offer { grid-template-columns: 1.4fr 1.4fr auto; }
@media (max-width: 600px) {
  .packages .offer { grid-template-columns: 1fr auto; }
}
