/* a2zcheck — site styles. System fonts only (fast, and no third-party font requests for GDPR). */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --green: #16A34A;
  --green-bright: #22C55E;
  --green-soft: #DCFCE7;
  --blue: #1D4ED8;
  --amber: #B45309;
  --amber-soft: #FEF3C7;
  --red: #B91C1C;

  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F7;
  --text: #0F172A;
  --muted: #475569;
  --border: #DDE3EC;
  --link: #1D4ED8;
  --heading: #0B2545;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1120;
    --surface: #111B2E;
    --surface-2: #17233A;
    --text: #E5EAF2;
    --muted: #9AA8BD;
    --border: #243350;
    --link: #7AA7FF;
    --heading: #F1F5FB;
    --green-soft: #0F2F1E;
    --amber-soft: #33240C;
    --amber: #F4B860;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  --bg: #0A1120; --surface: #111B2E; --surface-2: #17233A; --text: #E5EAF2; --muted: #9AA8BD;
  --border: #243350; --link: #7AA7FF; --heading: #F1F5FB; --green-soft: #0F2F1E; --amber-soft: #33240C; --amber: #F4B860;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); margin: 2.2em 0 .6em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); }
.brand svg { width: 38px; height: 38px; flex: none; }
.wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.wordmark .w-a { color: var(--heading); }
.wordmark .w-c { color: var(--green); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); }
.country-switch { display: flex; align-items: center; gap: 6px; }
.country-switch img { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px var(--border); }
.country-switch select {
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 8px; cursor: pointer;
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; font: inherit; color: var(--text); cursor: pointer; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .nav-toggle { display: inline-block; }
  .nav { order: 4; flex-basis: 100%; display: none; margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .country-switch { order: 3; }
  .wordmark { font-size: 1.2rem; }
}

/* Country banner */
.geo-banner { background: var(--amber-soft); border-bottom: 1px solid var(--border); font-size: .95rem; }
.geo-banner .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.geo-banner button, .geo-banner a.btn { font-size: .9rem; padding: 6px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 10px 18px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; }
.btn-buy { background: var(--green); color: #fff; }
.btn-buy:hover { background: #15803D; }
.btn-alt, .btn-ghost { background: transparent; color: var(--heading); border-color: var(--border); }
.btn-alt:hover, .btn-ghost:hover { border-color: var(--green); }
.btn-dark { background: var(--navy); color: #fff; }
.buy { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.buy .also { font-size: .82rem; color: var(--muted); }
.buy .also a { font-weight: 600; }
.buy-row { flex-direction: row; flex-wrap: wrap; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #E8EEF7; padding: 56px 0 64px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 .tick { color: var(--green-bright); }
.hero p { font-size: 1.15rem; max-width: 60ch; color: #C9D6E8; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card a.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card a.card-link:hover h3 { color: var(--link); }
.card .card-img { background: var(--surface-2); aspect-ratio: 400 / 260; display: grid; place-items: center; }
.card .card-img img { width: 82%; }
.card .card-body { padding: 16px 18px 20px; }
.card h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.kicker { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; font-weight: 700; color: var(--green); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; margin-bottom: 8px; }
.step h3 { margin: 4px 0; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Page head */
.crumbs { font-size: .88rem; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head { padding: 8px 0 8px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 75ch; }
.meta-line { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.disclosure { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; color: var(--muted); margin: 14px 0; }
.notice { background: var(--amber-soft); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; margin: 16px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--text); }
.toc a:hover { border-color: var(--green); }

/* Quick picks */
.picks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pick { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.pick img { width: 96px; }
.pick h3 { font-size: 1rem; margin: 4px 0 8px; }
.pick h3 a { color: var(--heading); text-decoration: none; }
.pick .btn { padding: 7px 12px; font-size: .88rem; }

/* Awards and score */
.award { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 3px 8px; border-radius: 999px; }
.score { display: inline-grid; place-items: center; min-width: 48px; height: 48px; border-radius: 50%; font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--green); }
.score.s-good { background: #2F855A; }
.score.s-ok { background: #64748B; }
.score small { font-size: .6rem; font-weight: 600; opacity: .85; display: block; line-height: 1; margin-top: -8px; }

/* Comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 900px; font-size: .93rem; }
.cmp th, .cmp td { padding: 12px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.cmp thead th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); position: sticky; top: 0; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody tr:hover { background: var(--surface-2); }
.cmp .cell-product { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 210px; box-shadow: 1px 0 0 var(--border); }
.cmp tbody tr:hover .cell-product { background: var(--surface-2); }
.cmp .cell-product a { display: flex; gap: 10px; align-items: center; color: var(--heading); text-decoration: none; font-weight: 700; }
.cmp .cell-product img { width: 84px; flex: none; }
.cmp .cell-product .award { margin-top: 6px; }
.cmp .cell-buy { min-width: 170px; }
.cmp .cell-buy .btn { padding: 8px 12px; font-size: .86rem; }
.table-note { font-size: .86rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 760px) {
  .table-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
  table.cmp { min-width: 0; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
  .cmp tbody tr:last-child > * { border-bottom: 1px solid var(--border); }
  .cmp tbody tr > *:last-child { border-bottom: 0 !important; }
  .cmp .cell-product { position: static; box-shadow: none; background: var(--surface-2); }
  .cmp td { display: grid; grid-template-columns: 38% 1fr; gap: 10px; }
  .cmp td::before { content: attr(data-label); font-weight: 700; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
  .cmp .cell-buy { display: block; }
  .cmp .cell-buy::before { display: none; }
}

/* Reviews */
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 22px 0; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.review h3 { margin-top: 4px; }
.review-top { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: start; }
.review-top img { width: 100%; background: var(--surface-2); border-radius: var(--radius-sm); }
.review .verdict { font-size: 1.05rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.proscons h4 { margin: 0 0 6px; font-size: .95rem; }
.proscons ul { margin: 0; padding-left: 0; list-style: none; }
.proscons li { padding-left: 24px; position: relative; margin-bottom: 4px; font-size: .95rem; }
.pros li::before { content: "+"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.cons li::before { content: "\2212"; position: absolute; left: 4px; color: var(--red); font-weight: 800; }
details.specs { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin: 12px 0; }
details.specs summary { cursor: pointer; font-weight: 700; }
dl.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0 4px; font-size: .93rem; }
dl.spec-list dt { color: var(--muted); font-weight: 600; }
dl.spec-list dd { margin: 0; }
@media (max-width: 760px) {
  .review-top, .proscons { grid-template-columns: 1fr; }
  .review-top img { max-width: 320px; }
  dl.spec-list { grid-template-columns: 1fr; gap: 0; }
  dl.spec-list dd { margin-bottom: 8px; }
}

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); }
.faq details p { margin: 10px 0 0; }

/* Country chooser */
.chooser { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 28px 0; }
.country-card { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--heading); font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow); position: relative; }
.country-card img { width: 56px; height: 38px; border-radius: 4px; box-shadow: 0 0 0 1px var(--border); }
.country-card small { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); }
.country-card:hover, .country-card.is-suggested { border-color: var(--green); }
.country-card .suggest { position: absolute; top: -10px; right: 14px; }

/* Prose (legal/about) */
.prose { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px clamp(18px, 4vw, 40px); margin: 20px 0 40px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer { margin-top: 64px; background: var(--navy); color: #C9D6E8; padding: 44px 0 24px; font-size: .93rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.site-footer h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .wordmark .w-a { color: #fff; }
.site-footer .wordmark .w-c { color: var(--green-bright); }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 16px; font-size: .84rem; color: #9FB0C8; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

section { scroll-margin-top: 90px; }
.brand + .country-switch { margin-left: auto; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.review .buy { align-items: flex-start; }
.review > p { max-width: 80ch; }
.cmp td .score { justify-self: start; }
