:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #555b66;
  --line: #dedbd2;
  --accent: #ffb000;       /* hi-vis amber */
  --accent-ink: #16181d;
  --link: #0b5cad;
  --good: #1f7a3d;
  --warn: #9a5b00;
  --header: #16181d;
  --header-ink: #f6f5f1;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #1a1d23;
    --ink: #eceae4;
    --muted: #a3a8b2;
    --line: #2c3038;
    --link: #79b8ff;
    --good: #5fd08a;
    --warn: #ffc65c;
    --header: #0b0c0f;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-stretch: 100%;
}
a { color: var(--link); }
h1, h2, h3 { font-stretch: 85%; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 850; margin: .2em 0 .3em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 800; margin: 1.6em 0 .6em; }
h3 { font-size: 1.2rem; font-weight: 800; margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.section { padding: 8px 16px 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px; z-index: 10; }

/* header */
.site-header { background: var(--header); color: var(--header-ink); border-bottom: 4px solid var(--accent); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-stretch: 90%; font-size: 1.15rem; }
.brand b { color: var(--accent); }
.brand-mark { background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: .8rem; padding: 4px 6px; border-radius: 4px; letter-spacing: .04em; }
nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
nav a { color: var(--header-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover { color: var(--accent); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink) !important; font-weight: 800; text-decoration: none; padding: 10px 16px; border-radius: 8px; border: 2px solid var(--accent); line-height: 1.2; }
.btn:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.site-header .btn-ghost { color: var(--header-ink) !important; }
.btn-sm { padding: 6px 12px; font-size: .9rem; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }

/* hero */
.hero { background: var(--header); color: var(--header-ink); padding: 40px 0 48px; }
.hero .lede { color: #cfd2d8; max-width: 680px; }
.hero .btn-ghost { color: var(--header-ink) !important; border-color: #3a3f48; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0; }
.hl { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 24px 0 20px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.updated { font-size: .9rem; color: var(--muted); }
.intro { font-size: 1.08rem; max-width: 760px; }
.note { color: var(--muted); font-size: .92rem; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cat-card { text-decoration: none; color: var(--ink); border-top: 4px solid var(--accent); display: flex; flex-direction: column; gap: 6px; }
.cat-card:hover { transform: translateY(-2px); transition: transform .15s; }
.cat-card p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.cat-meta { font-size: .85rem; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.tool-list { display: grid; gap: 14px; }
.tool-head { display: flex; gap: 12px; align-items: flex-start; }
.tool-title { flex: 1; min-width: 0; }
.tool-title a { color: var(--ink); text-decoration: none; }
.tool-title a:hover { text-decoration: underline; }
.tagline { margin: 4px 0 0; color: var(--muted); }
.rank { background: var(--ink); color: var(--bg); font-weight: 900; border-radius: 6px; padding: 4px 8px; font-stretch: 85%; }
.score { display: flex; align-items: baseline; background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 4px 10px; font-weight: 900; white-space: nowrap; }
.score-num { font-size: 1.3rem; }
.score-of { font-size: .8rem; margin-left: 2px; }
.score-big .score-num { font-size: 2.4rem; }
.score-big { padding: 8px 16px; align-self: flex-start; }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 8px; }
.verdict div { background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.verdict dt { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.verdict dd { margin: 2px 0 0; }
.price { margin: 8px 0; }
.verified { color: var(--good); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.unverified { color: var(--warn); font-size: .85rem; font-weight: 700; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tag-sponsored { background: #fff1cc; border-color: var(--accent); color: #6b4a00; }
.added { font-size: .85rem; color: var(--muted); margin: 0 0 4px; }

/* tool page */
.tool-hero { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; }
.tool-body { display: grid; gap: 14px; }
.tool-body h2 { margin-top: 0; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 220px 1fr 28px; gap: 10px; align-items: center; }
.bar { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar span { display: block; height: 100%; background: var(--accent); }
.mini-score { background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .8rem; border-radius: 4px; padding: 1px 6px; }
.alts li, .compact li { margin-bottom: 8px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }

/* newsletter */
.newsletter-box { background: var(--header); color: var(--header-ink); border-radius: var(--radius); padding: 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-left: 6px solid var(--accent); }
.newsletter-box h2 { margin: 0 0 6px; }
.newsletter-box p { margin: 0; color: #cfd2d8; max-width: 560px; }

.trust-list { padding-left: 20px; }
.trust-list li { margin-bottom: 8px; }
.prose { max-width: 780px; }

/* footer */
.site-footer { background: var(--header); color: #cfd2d8; margin-top: 40px; padding: 32px 0 20px; font-size: .95rem; }
.site-footer a { color: #cfd2d8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-h { font-weight: 800; color: var(--header-ink); margin: 0 0 8px; }
.footer-brand { color: var(--header-ink); }
.fine { font-size: .82rem; color: #8b909a; margin-top: 20px; }

@media (max-width: 720px) {
  .verdict { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 1fr 60px 24px; }
  .bar-label small { display: none; }
  .tool-hero { flex-direction: column; }
  nav { gap: 12px; }
  .header-row nav a:not(.btn) { font-size: .88rem; }
}

/* Canada / US */
.start-price { margin: 10px 0 0; font-weight: 800; font-size: 1.05rem; }
.cad { font-weight: 600; color: var(--muted); }
.tag-ca { background: #fde8e8; border-color: #e2a3a3; color: #8a1c1c; vertical-align: middle; }
.ca-line { font-weight: 600; }
.region-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 16px 0; }
.region { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.region p { margin: 0; }
.region-h { font-weight: 800; margin-bottom: 4px !important; }
.region-ca { border-left-color: #d52b1e; }
.region-us { border-left-color: #3c3b6e; }
@media (prefers-color-scheme: dark) {
  .tag-ca { background: #3a1d1d; border-color: #7a3434; color: #ffb4b4; }
  .region-us { border-left-color: #7d7cc9; }
}
