:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --text: #1c1b19;
  --muted: #5f5c55;
  --border: #e4e0d7;
  --accent: #c8102e;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9ec;
  --ok: #17733f;
  --ok-soft: #e6f4ec;
  --warn: #8a5a00;
  --warn-soft: #fdf3dc;
  --no: #a1261d;
  --no-soft: #fbe8e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --max: 1080px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412; --surface: #1d1c1a; --surface-2: #262522; --text: #f1efe9; --muted: #aaa69c;
    --border: #34322e; --accent: #ff5a6e; --accent-ink: #1a0005; --accent-soft: #3a1b20;
    --ok: #5fd28e; --ok-soft: #173525; --warn: #f2c25c; --warn-soft: #3a2e12; --no: #ff8a7e; --no-soft: #3d1c19;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 2.2rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .4rem; }
p { margin: 0 0 1rem; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header / footer */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.logo-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: .95rem; }
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .nav-cta { color: var(--accent); font-weight: 600; }

.site-footer { margin-top: 4rem; border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .92rem; padding: 2rem 0 2.5rem; }
.site-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: var(--text); margin: 0 0 .5rem; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .25rem 0; }
.site-footer a { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); }

/* Hero + checker */
.hero { padding: 2.5rem 0 1rem; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; color: var(--muted); }
.badge b { color: var(--text); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.checker { margin: 1.5rem 0 0; }
.checker form { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .checker form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
select, input[type="email"], input[type="text"] {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select:focus, input:focus, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.checker .opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: var(--muted); }
.checker .opts label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.checker .opts .mini { width: auto; min-height: 40px; padding: 6px 10px; font: inherit; font-size: .95rem; color: var(--text); background-color: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.checker .opts select.mini { padding-right: 32px; }
.checker .opts input.mini { appearance: auto; -webkit-appearance: auto; min-width: 150px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; border: 0; border-radius: 10px;
  padding: 12px 22px; min-height: 48px; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); }
.btn:hover { filter: brightness(1.06); }
.btn.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: .92rem; }

/* Results */
.results { margin-top: 18px; display: grid; gap: 12px; }
.results:empty { display: none; }
.verdict { border-radius: 12px; padding: 16px 18px; border: 1px solid var(--border); background: var(--surface); }
.verdict h3 { margin: 0 0 .35rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.verdict .days { font-size: 1.6rem; font-weight: 800; }
.verdict ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.verdict li { margin: .2rem 0; }
.verdict.ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.verdict.ok .days, .verdict.ok h3 .tag { color: var(--ok); }
.verdict.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.verdict.warn .days, .verdict.warn h3 .tag { color: var(--warn); }
.verdict.no { background: var(--no-soft); border-color: color-mix(in srgb, var(--no) 35%, transparent); }
.verdict.no .days, .verdict.no h3 .tag { color: var(--no); }
.verdict .src { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* Content */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile { display: block; color: var(--text); text-decoration: none; }
.tile:hover { border-color: var(--accent); }
.tile h3 { margin-top: 0; }
.tile p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; }
.prose ol li, .prose ul li { margin: .35rem 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.1rem 3rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.callout.info { border-color: var(--warn); background: var(--warn-soft); }
.crumbs { font-size: .9rem; color: var(--muted); margin: 1.5rem 0 .5rem; }
.crumbs a { color: var(--muted); }
.updated { font-size: .88rem; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.app-list { display: grid; gap: 12px; }
.app { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--surface-2); }
.app h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.app .why { color: var(--muted); margin: 0; font-size: .95rem; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.pill.must { background: var(--accent-soft); color: var(--accent); }
.pill.nice { background: var(--surface-2); color: var(--muted); }

.country-index { columns: 3 200px; column-gap: 24px; padding: 0; list-style: none; }
.country-index li { break-inside: avoid; padding: 3px 0; }
.country-index a { color: var(--text); text-decoration: none; }
.country-index a:hover { color: var(--accent); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.no { background: var(--no); }

/* Monetization blocks */
.promo { display: grid; gap: 14px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 700px) { .promo { grid-template-columns: 1fr auto; } }
.promo h3 { margin: 0 0 .2rem; }
.promo p { margin: 0; color: var(--muted); }
.ad-slot { margin: 2rem 0; min-height: 100px; }
.ad-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.disclosure { font-size: .8rem; color: var(--muted); }

.price-card { text-align: center; max-width: 420px; margin: 0 auto; }
.price { font-size: 2.6rem; font-weight: 800; margin: .3rem 0; }
.checklist { list-style: none; padding: 0; text-align: left; }
.checklist li { padding-left: 1.6rem; position: relative; margin: .45rem 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

.signup { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
