:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f1ea;
  --surface: #ffffff;
  --ink: #1f2733;
  --ink-soft: #4a5564;
  --ink-faint: #79828f;
  --line: #e6e2d8;
  --accent: #3f6184;
  --accent-deep: #2f4a66;
  --accent-soft: #eaf0f6;
  --pro: #2f6f4f;
  --con: #a14d3a;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(31, 39, 51, 0.04), 0 8px 24px rgba(31, 39, 51, 0.06);
  --shadow-lg: 0 18px 48px rgba(31, 39, 51, 0.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}

.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.88);
  backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
}
.brand__text { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; letter-spacing: -0.02em; }
.brand__text strong { font-weight: 700; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-weight: 500; color: var(--ink-soft); font-size: 0.96rem; position: relative; }
.nav__link:hover { color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: 0.2s; }
.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mobile-nav .nav__link { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.96rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s; text-align: center;
}
.btn--small { padding: 10px 18px; font-size: 0.88rem; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.btn--cta { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--cta:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner { padding: 92px 24px 84px; max-width: 880px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.1rem); margin: 18px 0 0; }
.hero__lede { font-size: 1.2rem; color: var(--ink-soft); margin: 22px 0 0; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.page-hero { background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); padding: 64px 0 40px; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 10px 0 0; }
.section-head__intro { color: var(--ink-soft); margin: 14px 0 0; font-size: 1.06rem; }
.section__more { margin-top: 36px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--feature { grid-template-columns: 1fr; }

.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d7d1c3; }
.card__tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px;
}
.card__title { font-size: 1.32rem; margin: 16px 0 0; }
.card__excerpt { color: var(--ink-soft); margin: 12px 0 0; font-size: 0.98rem; flex: 1; }
.card__meta { color: var(--ink-faint); font-size: 0.84rem; margin-top: 18px; font-weight: 500; }
.card--feature { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); border: none; color: #fff; }
.card--feature .card__title, .card--feature .card__excerpt, .card--feature .card__meta { color: #fff; }
.card--feature .card__excerpt { opacity: 0.92; }
.card--feature .card__tag { background: rgba(255,255,255,0.18); color: #fff; }

/* ---------- Rank cards ---------- */
.rank-card {
  display: flex; gap: 18px; align-items: stretch; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); transition: transform 0.18s, box-shadow 0.2s, border-color 0.2s;
}
.rank-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d7d1c3; }
.rank-card__badge {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep);
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center;
}
.rank-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rank-card__title { font-size: 1.24rem; margin: 6px 0 0; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; align-items: center; gap: 2px; color: #d8a23a; font-size: 1rem; }
.star--empty { color: #d9d4c7; }
.star--half { position: relative; color: #d9d4c7; }
.star--half::before { content: "★"; position: absolute; left: 0; width: 50%; overflow: hidden; color: #d8a23a; }
.stars__num { margin-left: 8px; font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 0.92rem; }

/* ---------- Trust band ---------- */
.trust { background: var(--accent-deep); color: #fff; padding: 80px 0; }
.trust__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.trust h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 12px 0 16px; }
.trust p { color: rgba(255,255,255,0.82); margin-bottom: 24px; }
.trust .eyebrow { color: #b9cde0; }
.trust .btn--primary { background: #fff; color: var(--accent-deep); }
.trust .btn--primary:hover { background: var(--accent-soft); color: var(--accent-deep); }
.trust__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust__points li {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  padding: 16px 18px; color: rgba(255,255,255,0.85);
}
.trust__points strong { color: #fff; }

/* ---------- Signup ---------- */
.signup {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; box-shadow: var(--shadow);
}
.signup h2 { font-size: 1.7rem; margin: 0 0 8px; }
.signup p { color: var(--ink-soft); margin: 0; }
.signup__form { display: flex; flex-wrap: wrap; gap: 12px; }
.signup__form input { flex: 1; min-width: 200px; }
input, textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-status { flex-basis: 100%; margin: 4px 0 0; font-size: 0.9rem; font-weight: 500; }
.form-status.is-ok { color: var(--pro); }
.form-status.is-error { color: var(--con); }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: 22px; padding-bottom: 6px; font-size: 0.86rem; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs__sep { color: var(--line); }
.crumbs span[aria-current] { color: var(--ink-soft); }

/* ---------- Article ---------- */
.article-hero { padding: 40px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg)); }
.article-hero__inner { max-width: 820px; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 14px 0 0; }
.article-hero__lede { font-size: 1.18rem; color: var(--ink-soft); margin: 20px 0 0; max-width: 720px; }
.article-body { max-width: 760px; padding-top: 44px; padding-bottom: 72px; }
.prose p, .prose li { font-size: 1.08rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Money page ---------- */
.disclosure {
  background: var(--accent-soft); border: 1px solid #cfdcea; border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 18px 20px; font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 24px;
}
.disclosure strong { color: var(--accent-deep); }
.how-tested { font-size: 0.98rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 8px; }
.how-tested a { text-decoration: underline; text-underline-offset: 3px; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; margin: 28px 0 12px; box-shadow: var(--shadow); }
.toc__title { font-size: 1.2rem; margin: 0 0 14px; }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc__list li { border-bottom: 1px solid var(--line); }
.toc__list li:last-child { border-bottom: none; }
.toc__list a { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; color: var(--ink); font-weight: 600; }
.toc__list a:hover { color: var(--accent); }
.toc__rank { color: var(--accent); font-family: var(--serif); font-weight: 700; }
.toc__cat { margin-left: auto; font-weight: 500; font-size: 0.84rem; color: var(--ink-faint); }

.product { border-top: 1px solid var(--line); padding: 48px 0; scroll-margin-top: 90px; }
.product__header { display: flex; gap: 18px; align-items: flex-start; }
.product__rank {
  flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--accent); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; display: grid; place-items: center;
}
.product__name { font-size: 1.7rem; margin: 8px 0 12px; }
.product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product__pill { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.product__body { margin: 22px 0 6px; }
.product__body p { font-size: 1.06rem; color: var(--ink-soft); margin: 0 0 16px; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.proscons__col { border-radius: 14px; padding: 20px 22px; border: 1px solid var(--line); background: var(--surface); }
.proscons__col h3 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.proscons__col ul { list-style: none; margin: 0; padding: 0; }
.proscons__col li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-soft); font-size: 0.98rem; }
.proscons__col--pro h3 { color: var(--pro); }
.proscons__col--con h3 { color: var(--con); }
.proscons__col--pro li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--pro); font-weight: 800; }
.proscons__col--con li::before { content: "–"; position: absolute; left: 0; top: -1px; color: var(--con); font-weight: 800; }
.product__cta { margin-top: 8px; }

.endnote { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; margin-top: 40px; }
.endnote h2 { font-size: 1.35rem; margin: 0 0 10px; }
.endnote p { color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; max-width: 920px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.contact-aside { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.contact-aside h2 { font-size: 1.3rem; margin: 0 0 12px; }
.contact-aside p { color: var(--ink-soft); margin: 0 0 14px; font-size: 0.98rem; }
.contact-email { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cdd3db; padding: 60px 0 0; margin-top: 0; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-bottom: 40px; }
.site-footer .brand__text { color: #fff; font-size: 1.3rem; }
.site-footer .brand__text strong { color: #9fc0e0; }
.site-footer__tag { margin: 12px 0 14px; color: #aab2bd; }
.site-footer__disclosure { font-size: 0.86rem; color: #8b929c; max-width: 460px; line-height: 1.6; }
.site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-content: start; }
.site-footer__links a { color: #cdd3db; font-size: 0.95rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.site-footer__legal p { margin: 0; font-size: 0.85rem; color: #8b929c; }
.site-footer__cookie-notice a { color: #9fc0e0; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__cookie-notice a:hover { color: #fff; }
.site-footer__cookie-notice a + a { margin-left: 14px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .trust__inner, .signup, .contact-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav.is-open { display: flex; }
  .grid--3 { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .hero__inner { padding: 64px 24px 56px; }
  .section { padding: 56px 0; }
  .product__header { gap: 14px; }
  .product__rank { width: 48px; height: 48px; font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
