:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-tint: #eef4ff;
  --ink: #0a2540;
  --ink-soft: #425466;
  --ink-mute: #4f6075;
  --line: #e3e8ee;
  --line-strong: #cdd5df;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-deep: #1e3a8a;
  --accent-soft: #eff6ff;
  --accent-soft-2: #dbeafe;
  --star: #f59e0b;
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 4px 12px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 10px rgba(10, 37, 64, 0.06), 0 16px 40px rgba(10, 37, 64, 0.08);
  --focus: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

* { box-sizing: border-box; }
*:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
p a, li a, blockquote a, .lede a, .section-lede a, .faq-item a, .footer-sub a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(37, 99, 235, 0.45);
}
p a:hover, li a:hover, blockquote a:hover, .lede a:hover, .faq-item a:hover {
  text-decoration-color: var(--accent);
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: "Source Serif 4", "Source Serif Pro", Charter, "Iowan Old Style", Georgia, serif;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
  line-height: 1.18;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -0.025em; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 1.5em; }
h3 { font-size: 1.18rem; margin-top: 1.2em; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul, ol { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }
.section-lede { color: var(--ink-mute); max-width: 62ch; font-size: 1.04rem; margin-bottom: 32px; font-family: Inter, sans-serif; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: white; padding: 10px 14px; z-index: 100; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--accent-ink); text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white; font-weight: 800; font-size: 16px; font-family: Inter, sans-serif;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1rem; font-family: Inter, sans-serif; }
.brand-tag { font-size: .78rem; color: var(--ink-mute); margin-top: 2px; font-weight: 500; }
.nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 2px; font-size: .92rem;
}
.nav-list a {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-soft); font-weight: 500;
}
.nav-list a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .85rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-mute); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-mute); }
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 64px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(37, 99, 235, 0.13), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(30, 58, 138, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 700; color: var(--accent-ink);
  background: white; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 24px; border: 1px solid var(--accent-soft-2);
  font-family: Inter, sans-serif;
  box-shadow: var(--shadow-xs);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
.hero h1 { max-width: 22ch; margin-bottom: .35em; }
.hero-lede {
  font-size: 1.18rem; max-width: 62ch; color: var(--ink-soft);
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trial-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--accent-soft, #eaf2ff);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-family: Inter, sans-serif;
  font-size: .98rem;
  color: var(--ink);
  max-width: 760px;
  line-height: 1.55;
}
.hero-trial-note strong { color: var(--accent); }
.hero-trial-note--centered { margin-left: auto; margin-right: auto; margin-top: 28px; text-align: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  background: var(--accent); color: white;
  border-radius: 10px; font-weight: 600; font-size: .96rem;
  border: 1px solid transparent;
  font-family: Inter, sans-serif;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 2px rgba(10,37,64,0.06), 0 6px 16px rgba(37, 99, 235, 0.22);
}
.btn:hover { background: var(--accent-ink); color: white; transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: white; color: var(--ink); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- Hero stats ---------- */
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin: 36px 0 0; max-width: 760px;
}
.hero-stats > div {
  background: white; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.hero-stats dt {
  font-size: .72rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  font-family: Inter, sans-serif;
}
.hero-stats dd {
  margin: 8px 0 0; font-size: 2rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
}
.hero-stats .stat-sub { display: block; font-size: .78rem; color: var(--ink-mute); font-weight: 500; margin-top: 2px; font-family: Inter, sans-serif; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.trust-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 28px; justify-content: center;
}
.trust-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-mute); font-weight: 600;
}
.trust-source {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: .92rem; color: var(--ink-soft); font-weight: 500;
}
.trust-source strong { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Two-col ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 24px; }
.two-col article { background: white; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-xs); }
.two-col article h3 { margin-top: 0; }
.section-alt .two-col article { background: var(--bg); }

/* ---------- Capabilities ---------- */
.capabilities {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.capabilities li {
  background: white; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-xs);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.section-alt .capabilities li { background: var(--bg); }
.capabilities li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--accent-soft-2); }
.capabilities h3 { margin: 0 0 .4em; color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.capabilities p { margin: 0; font-size: .95rem; }

/* ---------- Articles ---------- */
.article { padding: 64px 0; }
.article-head { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lede { font-size: 1.1rem; color: var(--ink-soft); margin-top: .5em; }

/* ---------- Reviews grid + card ---------- */
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px; margin-top: 24px;
  align-items: stretch;
}
.review-card {
  background: white; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-soft-2); }
.section-alt .review-card { background: var(--bg); }

/* Card header: author LEFT, rating RIGHT — bulletproof against long names */
.review-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 16px; min-width: 0;
}
.review-author {
  display: flex; gap: 12px; align-items: center;
  flex: 1 1 0; min-width: 0;
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--bg-soft); flex-shrink: 0;
  border: 2px solid white; box-shadow: 0 0 0 1px var(--line);
}
.avatar-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-soft-2) 100%);
  color: var(--accent-ink); font-weight: 700; font-size: 1rem;
  font-family: Inter, sans-serif;
}
.review-author-text { min-width: 0; flex: 1; }
.review-name {
  margin: 0; font-weight: 600; color: var(--ink); font-size: .98rem;
  line-height: 1.3; word-break: break-word; overflow-wrap: anywhere;
  font-family: Inter, sans-serif;
}
.review-meta {
  margin: 2px 0 0; font-size: .82rem; color: var(--ink-mute);
  word-break: break-word; overflow-wrap: anywhere;
}
.review-rating-block {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; flex-shrink: 0; text-align: right; max-width: 45%;
}
.stars-row { display: inline-flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; gap: 1px; font-size: .95rem; line-height: 1; flex-shrink: 0; }
.star { color: var(--line-strong); }
.star.on { color: var(--star); }
.rating-num {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; font-family: Inter, sans-serif;
}
.source-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2); padding: 3px 9px; border-radius: 999px;
  max-width: 100%; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: Inter, sans-serif;
}
.source-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.review-title {
  font-size: 1.05rem; margin: 4px 0 12px; color: var(--ink);
  font-weight: 600; line-height: 1.35; word-break: break-word; overflow-wrap: anywhere;
  font-family: Inter, sans-serif;
}
.review-text {
  font-size: .96rem; margin: 0 0 16px; padding: 0; color: var(--ink-soft);
  border: none; line-height: 1.6;
  word-break: break-word; overflow-wrap: anywhere; hyphens: auto;
  display: -webkit-box; -webkit-line-clamp: 7; line-clamp: 7;
  -webkit-box-orient: vertical; overflow: hidden;
  font-family: Inter, sans-serif;
}
.review-text-full {
  display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible;
}
.review-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--ink-mute); flex-wrap: wrap;
  font-family: Inter, sans-serif;
}
.review-link { font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.review-link:hover { color: var(--accent); }

/* ---------- Section CTA ---------- */
.section-cta { text-align: center; margin-top: 40px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 48px; font-size: .95rem; flex-wrap: wrap; }
.pagination a {
  font-weight: 600; color: var(--ink);
  padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: white; box-shadow: var(--shadow-xs);
}
.pagination a:hover { background: var(--bg-soft); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.pagination-meta { color: var(--ink-mute); padding: 0 8px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 28px; box-shadow: var(--shadow-xs);
}
.section-alt .faq-item { background: var(--bg); }
.faq-item h2, .faq-item h3 { font-size: 1.12rem; margin: 0 0 .5em; font-weight: 600; }
.faq-item p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0a1f3a 0%, #050d1c 100%);
  color: #b6c2d4; padding: 64px 0 28px; margin-top: 80px;
}
.site-footer p { color: #95a3ba; }
.site-footer a { color: #dfe7f2; }
.site-footer a:hover { color: white; text-decoration: underline; }
.site-footer h2, .site-footer h3 { color: white; font-family: Inter, sans-serif; font-weight: 700; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.footer-title { color: white; font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; letter-spacing: -0.01em; font-family: Inter, sans-serif; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-mark { box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.footer-sub { font-size: .92rem; max-width: 52ch; line-height: 1.6; }
.footer-nav { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; font-size: .92rem; }
.footer-nav li { margin-bottom: 10px; break-inside: avoid; }
.footer-meta { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-meta a { color: #95a3ba; }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { columns: 1; }
  .nav-list { font-size: .88rem; gap: 2px; }
  .brand-tag { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .header-inner { padding: 12px 20px; }
  .review-rating-block { max-width: 40%; }
}

/* ---------- Comparison hub grid ---------- */
.compare-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.compare-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-xs);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.section-alt .compare-card { background: var(--bg); }
.compare-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--accent-soft-2); }
.compare-card h3 { margin-top: 0; }
.compare-card .badge {
  display: inline-block; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent-ink); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; margin: 0 0 12px; font-weight: 600;
  font-family: Inter, sans-serif;
  border: 1px solid var(--accent-soft-2);
}

/* ---------- Comparison detail table ---------- */
.compare-table-wrap { overflow-x: auto; margin: 0 0 24px; border-radius: var(--r); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; }
.compare-table th, .compare-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top; font-size: .95rem;
}
.compare-table thead th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.compare-table tbody th { background: var(--bg); color: var(--ink); width: 28%; font-weight: 600; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

.compare-crosslinks { list-style: none; padding: 0; margin: 0 0 1em; }
.compare-crosslinks li { padding: 4px 0; }
.muted { color: var(--ink-mute); font-size: .9rem; }

/* ---------- Methodology disclosure ---------- */
.methodology-note {
  background: var(--bg-soft); border-left: 3px solid var(--accent);
  padding: 16px 20px; margin: 0 0 24px; border-radius: 6px;
  font-size: .92rem; color: var(--ink);
}
.methodology-note-label {
  font-family: Inter, sans-serif; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700; color: var(--accent-ink);
  margin: 0 0 6px;
}
.methodology-note p { margin: 0 0 6px; }

/* ---------- Rating distribution bars ---------- */
.rating-distribution { margin: 16px 0 24px; padding: 0; }
.rating-distribution-row {
  display: grid; grid-template-columns: 64px 1fr; align-items: center;
  gap: 12px; margin: 0 0 6px;
}
.rating-distribution-row dt { font-weight: 600; font-family: Inter, sans-serif; font-size: .9rem; }
.rating-distribution-row dd {
  margin: 0; display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border-radius: 4px; position: relative; overflow: hidden;
}
.rating-distribution-bar {
  display: inline-block; height: 22px; background: var(--accent-soft-2);
  border-radius: 4px 0 0 4px; flex-shrink: 0;
}
.rating-distribution-value { font-size: .88rem; padding: 0 10px; white-space: nowrap; }
