:root {
  --ink: #14212b;
  --muted: #55636e;
  --line: #e3e8ec;
  --bg: #f5f8f7;
  --brand: #0a7a4f;
  --brand-dark: #075c3b;
  --brand-soft: #e6f4ed;
  --accent: #ffc44d;
  --warn: #fdf3e1;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 43, 0.06), 0 4px 16px rgba(20, 33, 43, 0.06);
  --wrap: 1140px;
  --read: 740px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0.2em 0 0.4em; }
h2 { font-size: 1.55rem; margin: 2em 0 0.6em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.nav .cta { background: var(--brand); color: #fff; }
.nav .cta:hover { background: var(--brand-dark); color: #fff; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .menu-toggle { display: inline-block; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 600; }
  .nav { display: none; width: 100%; flex-direction: column; margin: 0; }
  .nav.open { display: flex; }
}

/* Disclosure bar */
.disclosure { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.disclosure .wrap { padding-top: 8px; padding-bottom: 8px; }

/* Breadcrumbs */
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa6ae; }
.crumbs a { color: var(--muted); }

/* Byline */
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--muted); padding: 10px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.byline strong { color: var(--ink); }

/* Layout with sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.layout aside { position: sticky; top: 84px; }
.layout aside > * + * { margin-top: 16px; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } .layout aside { position: static; } }

/* Cards and boxes */
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.box + .box { margin-top: 16px; }
.box h3, .box h2 { margin-top: 0; }
.takeaways { background: var(--brand-soft); border: 0; }
.takeaways h2 { font-size: 1.1rem; margin: 0 0 8px; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 0.95rem; }
.toc li { margin: 4px 0; }
.note { background: var(--warn); border-radius: var(--radius); padding: 14px 18px; font-size: 0.95rem; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow 0.15s, border-color 0.15s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfd8de; color: var(--ink); }
.card strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 0.93rem; }
.card .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand-dark); margin-bottom: 6px; }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-align: center; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-soft), #fff); padding: 56px 0 40px; }
.hero h1 { max-width: 820px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; font-size: 0.92rem; color: var(--muted); }
.stats b { display: block; font-size: 1.4rem; color: var(--ink); }
section.band { padding: 40px 0; }
section.band.alt { background: var(--bg); }
section.band h2 { margin-top: 0; }

/* Stars */
.stars { --pct: 0%; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, var(--accent) var(--pct), #d6dde2 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.score small { font-weight: 500; color: var(--muted); }

/* Listicle */
.picks { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 18px 0 28px; }
.picks th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.picks td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.picks td:first-child { font-weight: 700; }
.picks .rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.85rem; margin-right: 8px; }
@media (max-width: 640px) { .picks .hide-sm { display: none; } }

.offer { border: 1px solid var(--line); border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 90px; }
.offer header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.offer header h3 { margin: 0; font-size: 1.3rem; }
.offer .badge { background: var(--brand); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.offer .kind { font-size: 0.85rem; color: var(--muted); }
.offer header .score { margin-left: auto; }
.offer .body { padding: 18px 22px; }
.offer .body p { margin-top: 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }
.proscons h4 { margin: 0 0 6px; font-size: 0.95rem; }
.proscons ul { margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.proscons li { padding-left: 24px; position: relative; margin: 6px 0; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.cons li::before { content: "✕"; position: absolute; left: 0; color: #b4472f; font-weight: 800; }
.offer footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 22px; background: var(--bg); font-size: 0.88rem; color: var(--muted); }
.offer footer .btn { margin-left: auto; }

.partner { border: 2px dashed #b9d9c9; border-radius: var(--radius); padding: 16px 20px; background: #fbfdfc; }
.partner .label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.partner.sold { border-style: solid; border-color: var(--brand); }

.criteria { counter-reset: c; list-style: none; padding: 0; }
.criteria li { counter-increment: c; padding-left: 38px; position: relative; margin: 10px 0; }
.criteria li::before { content: counter(c); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 4px; }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 16px 0; }
.table th, .table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { background: var(--bg); font-size: 0.85rem; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }

/* Calculator */
.calc { background: var(--bg); border-radius: var(--radius); padding: 22px; }
.calc .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.calc label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.calc input, .calc select { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #c9d3d9; border-radius: 8px; background: #fff; }
.calc .result { margin-top: 20px; background: #fff; border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); }
.calc .big { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 20px 0; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--brand); }
.plan .price { font-size: 2.2rem; font-weight: 800; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }

/* Footer */
.foot { background: #0f1a22; color: #c6d0d6; margin-top: 64px; padding: 44px 0 28px; font-size: 0.92rem; }
.foot a { color: #e6edf1; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: 0.95rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 6px 0; }
.foot .legal { border-top: 1px solid #24323c; margin-top: 30px; padding-top: 18px; font-size: 0.82rem; color: #93a1aa; }

.prose p, .prose li { max-width: var(--read); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
dl.glossary dt { font-weight: 800; margin-top: 18px; scroll-margin-top: 90px; }
dl.glossary dd { margin: 4px 0 0; }

/* Photos and provider logos */
.photo { margin: 22px 0 26px; }
.photo img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: var(--radius); background: var(--bg); }
.photo figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.photo figcaption a { color: var(--muted); }
.plogo { display: inline-block; vertical-align: middle; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line); padding: 2px; margin-right: 10px; }
.offer header .plogo { margin-right: 0; padding: 4px; border-radius: 10px; }
.picks td:first-child { white-space: nowrap; }
@media (max-width: 640px) { .picks td:first-child { white-space: normal; } }
