/* HOA Software Guide — comparison-guide design (from approved mockup) */
:root {
  --navy: #031e43;
  --navy-2: #062957;
  --green: #25a83f;
  --green-dark: #14812b;
  --blue: #076cec;
  --orange: #ff9d00;
  --text: #071a3d;
  --muted: #61708a;
  --line: #dbe3ed;
  --surface: #f6f8fb;
  --white: #fff;
  --shadow: 0 16px 50px rgba(2, 26, 61, .15);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --focus: 0 0 0 3px rgba(7, 108, 236, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3 { line-height: 1.2; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.container, .shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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; }
.text-small { font-size: 13px; }
.text-muted { color: var(--muted); }
.center-link { display: block; text-align: center; margin-top: 16px; }
.text-link { color: var(--green); font-weight: 800; font-size: 13px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 6px; border: 1px solid transparent; font-weight: 800; font-size: 14px; cursor: pointer; transition: .2s; }
.button:hover { transform: translateY(-1px); text-decoration: none; }
.button-primary { background: linear-gradient(90deg, var(--green), #38bd4c); color: #fff; }
.button-outline { border-color: #aebccc; background: #fff; color: var(--text); }
.button-blue { background: var(--blue); color: #fff; }
.button-navy { background: var(--navy); color: #fff; }
.blue-outline { border-color: #3182f7; color: #1267dc; }
.button-compact { min-height: 40px; padding: 0 16px; font-size: 13px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3, 30, 67, .97); border-bottom: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 168px; }
.brand .brand-text { color: #fff; font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.brand .brand-text span { color: #35bd4a; }
.main-nav { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.main-nav a { color: #fff; font-size: 14px; font-weight: 700; }
.main-nav a[aria-current="page"] { color: #4fd166; }
.main-nav .caret { opacity: .7; margin-left: 3px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-button { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: transparent; color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.mobile-toggle { display: none; margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
.announcement { background: var(--navy); color: #cfe0f5; text-align: center; font-size: 13px; padding: 7px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.announcement a { color: #4fd166; font-weight: 700; }
.signal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #35bd4a; margin-right: 7px; vertical-align: middle; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(112deg, #021a3c 0%, #03234d 58%, #062f5e 100%); color: #fff; padding: 38px 0 32px; }
.hero-pattern { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, .22) 49%, transparent 51%); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 46%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.35fr; gap: 30px; align-items: center; }
.eyebrow { text-transform: uppercase; color: #35bd4a; font-size: 12px; font-weight: 900; letter-spacing: .06em; margin: 0 0 10px; }
.eyebrow.centered { text-align: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 18px; max-width: 570px; }
.hero-lead { max-width: 580px; font-size: 17px; color: #e2ebf5; }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.trust-points > div { display: flex; gap: 9px; }
.check { display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #42c857; border-radius: 50%; color: #42c857; font-size: 11px; flex: 0 0 auto; }
.trust-points p { margin: 0; font-size: 12px; }
.trust-points strong, .trust-points small { display: block; }
.trust-points small { font-size: 10px; color: #cbd7e7; margin-top: 4px; }
.filter-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.filter-tab { min-height: 48px; color: #fff; background: transparent; border: 0; border-right: 1px solid rgba(255, 255, 255, .2); font-size: 12px; font-weight: 800; cursor: pointer; }
.filter-tab:last-child { border-right: 0; }
.filter-tab.active { background: rgba(255, 255, 255, .12); }
.search-box { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 0 10px; color: var(--muted); }
.search-box > span { font-size: 20px; }
.search-box input { height: 48px; flex: 1; border: 0; outline: 0; padding: 0 10px; color: var(--text); }
.search-box button { border: 0; background: none; font-size: 22px; color: var(--navy); cursor: pointer; }

/* Hero comparison card */
.comparison-card { background: rgba(8, 43, 84, .85); border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.comparison-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 13px; }
.comparison-heading h2 { font-size: 18px; margin: 0; }
.comparison-heading a { font-size: 12px; color: #9dd6ff; }
.comparison-scroll { overflow-x: auto; }
.comparison-card table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; color: var(--text); border-radius: 8px 8px 0 0; overflow: hidden; }
.comparison-card th, .comparison-card td { padding: 11px 12px; border: 1px solid #dce3eb; font-size: 12px; vertical-align: top; }
.comparison-card thead th { text-align: center; height: 84px; }
.comparison-card tbody th { width: 140px; background: #f8fafc; text-align: left; }
.comparison-card td b { display: inline-block; margin-top: 5px; }
.software-logo { display: grid; place-items: center; margin: 0 auto 6px; width: 42px; height: 42px; border-radius: 8px; color: #fff; font-weight: 900; font-size: 20px; background: var(--navy-2); }
.software-logo.large { width: 52px; height: 52px; }
.stars { color: var(--orange); letter-spacing: 1px; }
.dots { color: #2ca845; letter-spacing: 2px; }
.comparison-cta { height: 52px; background: linear-gradient(90deg, #24a63e, #37bc48); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; border-radius: 0 0 6px 6px; color: #fff; }
.comparison-cta:hover { text-decoration: none; }

/* Stats strip */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-icon { color: var(--green); font-size: 40px; line-height: 1; }
.stat p { margin: 0; }
.stat strong, .stat small { display: block; }
.stat strong { font-size: 22px; }
.stat small { max-width: 160px; font-size: 12px; color: var(--muted); }

/* Sections */
.section { padding: 44px 0; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: 30px; margin: 0; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.split-heading > a { color: var(--green); font-weight: 800; font-size: 13px; }
.mini-heading h2 { text-transform: uppercase; font-size: 14px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { position: relative; border: 1px solid #d8e0e9; border-radius: 10px; padding: 22px; box-shadow: 0 8px 25px rgba(7, 26, 61, .07); background: #fff; display: flex; flex-direction: column; }
.badge { position: absolute; top: 0; left: 0; padding: 7px 12px; border-radius: 9px 0 6px 0; color: #fff; font-size: 11px; font-weight: 900; }
.badge.green { background: #258d3b; }
.badge.blue { background: #0e6cdf; }
.badge.navy { background: var(--navy); }
.product-card h3 { text-align: center; margin: 10px 0 0; font-size: 21px; }
.product-card .rating { text-align: center; margin: 6px 0; }
.product-card > p:not(.rating) { color: #33445e; font-size: 14px; }
.product-card ul { list-style: none; padding: 0; margin: 16px 0; }
.product-card li { font-size: 13px; margin: 8px 0; display: flex; align-items: flex-start; gap: 8px; }
.product-card li .ico { flex: none; margin-top: 2px; }
.product-card .card-actions { margin-top: auto; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Categories */
.categories-section { padding-top: 8px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.category-grid a { height: 120px; border: 1px solid var(--line); border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 5px 20px rgba(7, 26, 61, .04); font-weight: 700; }
.category-grid a:hover { border-color: var(--green); text-decoration: none; transform: translateY(-2px); transition: .16s; }
.category-grid span { font-size: 34px; color: var(--green); line-height: 1; margin-bottom: 12px; }
.category-grid strong { font-size: 13px; }

/* Trust section */
.trust-section { padding: 10px 0 22px; }
.trust-section h2 { text-align: center; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.trust-grid > div { display: flex; gap: 18px; padding: 0 28px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { font-size: 34px; color: var(--navy); }
.trust-grid p { margin: 0; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid small { color: #51627c; font-size: 12px; margin-top: 7px; }

/* Article/guide cards */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.article-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.article-card:hover { box-shadow: 0 14px 34px rgba(7, 26, 61, .1); }
.article-card img { width: 100%; height: 140px; object-fit: cover; }
.article-card > div { padding: 13px; }
.article-meta { display: flex; justify-content: space-between; font-size: 10px; margin: 0; }
.article-meta span { color: var(--green); font-weight: 900; text-transform: uppercase; }
.article-meta time { color: #75829a; }
.article-card h3 { font-size: 16px; line-height: 1.3; margin: 10px 0; }
.article-card > div > p:last-child { font-size: 12px; color: #53627a; }

/* Footer */
.site-footer { background: #021a3c; color: #fff; padding: 30px 0 12px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 44px; }
.footer-brand img { width: 155px; margin-bottom: 12px; }
.footer-brand .brand-text { color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 12px; display: inline-block; }
.footer-brand .brand-text span { color: #35bd4a; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; margin: 0 0 12px; }
.footer-grid p, .footer-grid a { font-size: 12px; color: #d5e0ed; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin: 6px 0; }
.socials { display: flex; gap: 9px; margin-top: 14px; }
.socials a { width: 27px; height: 27px; border: 1px solid #8091a8; border-radius: 50%; display: grid; place-items: center; }
.footer-button { border-color: var(--green) !important; color: #59d56c !important; margin-top: 16px !important; }
.copyright { text-align: center; color: #9fafc2; font-size: 11px; padding-top: 18px; }
.source-note { color: #9fafc2; font-size: 11px; }

/* Toast */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; background: #fff; color: var(--text); padding: 14px 18px; border-radius: 8px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- Interior pages (reviews, compare, landings): generic styling on the new system ---- */
main { display: block; }
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 34px 0; }
.page-hero h1 { font-size: clamp(28px, 3.5vw, 40px); margin: 8px 0 12px; }
.page-hero p { color: var(--muted); max-width: 70ch; font-size: 16px; }
.breadcrumbs { font-size: 12px; color: var(--muted); }
.breadcrumbs a { color: var(--green); font-weight: 700; }
.section-block { padding: 36px 0; }
.section-head { margin-bottom: 16px; }
.section-head h2 { font-size: 26px; margin: 0 0 6px; }
.section-sub { color: var(--muted); }
.data-table, .research-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; margin: 12px 0; }
.data-table th, .data-table td, .research-table th, .research-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th, .research-table thead th { background: var(--surface); font-size: 13px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; box-shadow: 0 8px 25px rgba(7, 26, 61, .06); }
.callout, .source-list { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--surface); }
.meta-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.evidence-badge, .badge-pill { display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: #e7f6ea; color: var(--green-dark); }
.facet-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.facet-chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--surface); color: var(--navy); border: 1px solid var(--line); }

/* Search dialog (kept from engine) */
.search-dialog { border: 0; border-radius: 14px; padding: 22px; width: min(560px, 92vw); box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(3, 30, 67, .5); }
.search-input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; margin-top: 6px; }
.search-results a { display: block; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.icon-button.plain { border: 0; color: var(--muted); }

@media (max-width: 980px) {
  .main-nav, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .nav-wrap.open { flex-wrap: wrap; padding-bottom: 18px; }
  .nav-wrap.open .main-nav { display: flex; order: 3; width: 100%; flex-direction: column; align-items: flex-start; gap: 15px; }
  .nav-wrap.open .nav-actions { display: flex; order: 4; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 25px; }
  .stat:nth-child(2) { border-right: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .trust-grid > div:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .container, .shell { width: min(100% - 24px, 1180px); }
  .hero h1 { font-size: 36px; }
  .trust-points, .filter-tabs { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .stat:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .card-actions { grid-template-columns: 1fr; }
}

/* ---- Professional polish: skip link, real logos, SVG icons ---- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; box-shadow: var(--shadow); }
.brand img { width: 176px; height: auto; display: block; }
.footer-brand img { width: 170px; }

/* Vendor logo tile — real favicon on a clean white chip, normalized */
.logo-tile { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.logo-tile img { width: 68%; height: 68%; object-fit: contain; }
.logo-tile.sm { width: 44px; height: 44px; }
.logo-tile.lg { width: 60px; height: 60px; margin: 0 auto; }
.logo-tile.fallback { background: var(--navy-2); color: #fff; font-weight: 800; font-size: 18px; }
.comparison-card .logo-tile { margin: 0 auto 8px; }

/* Inline SVG icon system (line icons, inherit color) */
.ico { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.stat-icon .ico { width: 30px; height: 30px; }
.category-grid .ico { width: 30px; height: 30px; }
.trust-grid .ico-lg { width: 30px; height: 30px; }
.check .ico { width: 12px; height: 12px; stroke-width: 3; }
.product-card li .ico { width: 15px; height: 15px; color: var(--green); margin-right: 8px; vertical-align: -.15em; stroke-width: 2.4; }
.tick { color: var(--green); }

/* ============================================================
   Interior pages — review, compare, landings, hubs (new design)
   ============================================================ */
.button-dark { background: var(--navy); color: #fff; }
.button-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.narrow { max-width: 760px; margin-inline: auto; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { margin: 0; border: 0; }
.section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 75ch; font-size: 16px; margin: 6px 0 20px; }
.mobile-scroll-hint { font-size: 12px; color: var(--muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; align-items: start; }
.content-prose { max-width: 760px; font-size: 16px; }
.content-prose h2 { font-size: 25px; margin: 34px 0 12px; color: var(--navy); }
.content-prose h3 { font-size: 19px; margin: 24px 0 8px; color: var(--navy); }
.content-prose p, .content-prose li { color: #2a3b55; }
.content-prose ul, .content-prose ol { padding-left: 20px; }
.content-prose li { margin: 7px 0; }
.content-prose a { color: var(--blue); font-weight: 600; }
.toc { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 10px; }
.toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--text); border-bottom: 1px solid #eef2f7; }
.toc a:hover { color: var(--green); }
.clean-list { list-style: none; padding: 0; }
.clean-list li { position: relative; padding-left: 26px; margin: 9px 0; }
.clean-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; background: #e7f6ea; color: var(--green-dark); border-radius: 50%; font-size: 11px; font-weight: 800; }
.review-profile-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.review-identity { display: flex; gap: 16px; align-items: center; margin: 10px 0; }
.review-identity h1 { font-size: clamp(28px, 3.4vw, 38px); margin: 4px 0 0; }
.review-summary-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; box-shadow: 0 10px 30px rgba(7,26,61,.07); }
.review-summary-card dl { margin: 0; }
.review-summary-card dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.review-summary-card dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.review-summary-card dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); }
.evidence-notice { border: 1px solid var(--line); border-left: 4px solid var(--green); background: var(--surface); border-radius: 8px; padding: 14px 18px; font-size: 14px; color: #2a3b55; }
.profile-rating-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; }
.profile-rating-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.profile-rating-head { display: flex; justify-content: space-between; align-items: baseline; }
.profile-rating-head span { font-weight: 700; color: var(--navy); }
.profile-rating-head strong { font-size: 26px; color: var(--green-dark); }
.profile-rating-head small { color: var(--muted); font-size: 14px; }
.profile-rating-count { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.profile-rating-theme { font-size: 13px; background: var(--surface); border-radius: 8px; padding: 10px; }
.profile-rating-theme strong { display: block; margin-bottom: 4px; }
.profile-rating-note { font-size: 12px; color: var(--muted); }
.profile-rating-source { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.directory-verification-note, .review-research-state { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--surface); font-size: 14px; margin: 16px 0; }
.procon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 14px 0; }
.procon { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.procon h2 { font-size: 15px; margin: 0 0 8px; }
.procon-pros { border-top: 3px solid var(--green); }
.procon-cons { border-top: 3px solid var(--orange); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.source-list { list-style: none; padding: 0; }
.source-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.source-list a { color: var(--blue); font-weight: 600; }
.source-list span { color: var(--muted); font-size: 12px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; box-shadow: 0 8px 25px rgba(7,26,61,.06); display: flex; flex-direction: column; }
.review-card:hover { border-color: var(--green); box-shadow: 0 16px 36px rgba(7,26,61,.1); }
.review-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card h3 { margin: 0; font-size: 18px; }
.review-empty { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 12px; }
.comparison-section { padding: 30px 0; }
.comparison-section-head { margin-bottom: 14px; }
.comparison-section-head h2 { font-size: 24px; margin: 0; color: var(--navy); }
.compare-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-list { list-style: none; padding: 0; }
.compare-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-product-title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin: 0 0 10px; }
.software-cell { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.comparison-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0; }
.source-rating-table { width: 100%; }
.related-comparisons { margin-top: 30px; }
.related-comparison-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ranking-main { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 32px; align-items: start; }
.ranking-main-head { margin-bottom: 16px; }
.ranking-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ranking-item { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; box-shadow: 0 8px 25px rgba(7,26,61,.06); }
.rank-number { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; border-radius: 10px; }
.ranking-side { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--surface); position: sticky; top: 100px; }
.best-for { font-weight: 700; color: var(--navy); }
.form-field { margin: 14px 0; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-control { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
textarea.form-control { min-height: 130px; }
@media (max-width: 900px) {
  .content-layout, .review-profile-head, .compare-detail-grid, .procon-grid, .ranking-main { grid-template-columns: 1fr; }
  .toc, .ranking-side { position: static; }
}

/* Comparisons hub — pairwise directory cards */
.comparison-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 20px; }
.comparison-directory-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; box-shadow: 0 8px 25px rgba(7, 26, 61, .06); transition: .16s; }
.comparison-directory-card:hover { border-color: var(--green); box-shadow: 0 16px 36px rgba(7, 26, 61, .1); text-decoration: none; transform: translateY(-2px); }
.comparison-directory-brands { display: flex; align-items: center; gap: 12px; }
.comparison-directory-brands > span { display: inline-flex; }
.comparison-directory-brands .logo-tile { width: 44px; height: 44px; }
.comparison-directory-brands i { font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.comparison-directory-card strong { font-size: 16px; color: var(--navy); }
.comparison-directory-card small { color: var(--muted); font-size: 13px; }
.comparison-directory-card em { color: var(--green); font-weight: 700; font-size: 13px; font-style: normal; }
.comparison-hub-picker { align-items: flex-end; flex-wrap: wrap; }
.comparison-directory-head { margin-top: 26px; }

/* ============================================================
   Site-wide QA fix: compare detail, guides hub, forms, misc
   ============================================================ */
/* Compare detail pages */
.compare-intro { background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0; }
.compare-intro h1 { font-size: clamp(28px, 3.5vw, 40px); margin: 8px 0 10px; }
.compare-intro p { color: var(--muted); max-width: 70ch; }
.compare-intro-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.independence-note { flex: none; font-size: 12px; font-weight: 700; color: var(--green-dark); background: #e7f6ea; border-radius: 99px; padding: 8px 14px; }
.comparison-report { padding: 30px 0; }
.compare-products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.compare-product { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; box-shadow: 0 8px 25px rgba(7, 26, 61, .06); }
.compare-product-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.compare-product-brand h2 { margin: 0; font-size: 20px; }
.compare-product dl { margin: 14px 0; }
.compare-product dl > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.compare-product dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare-product dd { margin: 3px 0 0; font-weight: 600; color: var(--navy); }
.compare-product > a { color: var(--blue); font-weight: 700; font-size: 14px; }
.report-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0; padding: 10px; background: var(--surface); border-radius: 10px; }
.report-nav a { font-size: 13px; font-weight: 700; color: var(--navy); padding: 6px 12px; border-radius: 6px; }
.report-nav a:hover { background: #fff; color: var(--green); text-decoration: none; }
.comparison-section-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.comparison-section-head > span { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; border-radius: 10px; font-size: 15px; }
.comparison-section-head h2 { font-size: 23px; margin: 0 0 4px; color: var(--navy); }
.comparison-section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.decision-grid > article, .compare-detail-grid > article { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.decision-grid dl > div, .compare-detail-grid dl > div { padding: 6px 0; }
.decision-grid dt { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.decision-grid dd { margin: 2px 0 8px; }
.rating-record { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; }
.rating-record strong { font-size: 22px; color: var(--green-dark); }
.rating-record strong span { font-size: 14px; color: var(--muted); font-weight: 400; }
.rating-record > span { display: block; font-size: 13px; color: var(--muted); }
.rating-record small { display: block; font-size: 11px; color: var(--blue); margin-top: 6px; }
.rating-theme, .rating-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.comparison-footnote { font-size: 13px; color: var(--muted); margin-top: 12px; }
.comparison-verdict { font-weight: 600; color: var(--navy); }
.compare-detail-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 14px 0 6px; }
.compare-list.is-positive li::marker { color: var(--green); }
.compare-list.is-caution li::marker { color: var(--orange); }
.compare-list li span { display: block; font-size: 11px; color: var(--muted); }
.compare-source-list { list-style: none; padding: 0; }
.compare-source-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.compare-source-list a { color: var(--blue); font-weight: 600; font-size: 14px; }
.compare-source-list small { display: block; color: var(--muted); font-size: 12px; }
.demo-checklist ol { padding-left: 20px; }
.demo-checklist li { margin: 10px 0; }
.related-comparison-grid a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: #fff; }
.related-comparison-grid a:hover { border-color: var(--green); text-decoration: none; box-shadow: 0 12px 28px rgba(7, 26, 61, .08); }
.related-comparison-grid strong { display: block; color: var(--navy); }
.related-comparison-grid span { display: block; font-size: 12px; color: var(--muted); margin: 4px 0; }
.related-comparison-grid em { color: var(--green); font-weight: 700; font-size: 13px; font-style: normal; }

/* Guides hub */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; box-shadow: 0 8px 25px rgba(7, 26, 61, .06); transition: .16s; }
.guide-card:hover { border-color: var(--green); box-shadow: 0 16px 36px rgba(7, 26, 61, .1); text-decoration: none; transform: translateY(-2px); }
.guide-kicker { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.guide-card h2 { font-size: 18px; margin: 8px 0; color: var(--navy); }
.guide-card p { color: var(--muted); font-size: 14px; }
.guide-arrow { font-size: 20px; color: var(--green); margin-top: auto; }

/* Forms */
.form-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #fff; box-shadow: 0 10px 30px rgba(7, 26, 61, .06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field-full { grid-column: 1 / -1; }
.form-help { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #e7f6ea; color: var(--green-dark); border: 1px solid #b7e3c1; }
.alert-error { background: #fdeaea; color: var(--danger); border: 1px solid #f3c4c4; }

/* Misc utilities & small components */
.faq-list > div, .faq-list details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; background: #fff; }
.faq-list h3 { font-size: 16px; margin: 0 0 6px; }
.rating-inline { color: var(--muted); font-size: 13px; }
.rating-inline strong { color: var(--green-dark); }
.fine-print { font-size: 12px; color: var(--muted); }
.lead { font-size: 18px; color: #2a3b55; }
.mt-1 { margin-top: 4px; }
.mt-16 { margin-top: 16px; }
.muted { color: var(--muted); }
.search-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.search-dialog-head h2 { font-size: 18px; margin: 0; }
.search-label { font-size: 12px; text-transform: uppercase; color: var(--muted); }
.search-result { display: block; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.search-result strong { display: block; }
.search-result span { font-size: 13px; color: var(--muted); }

/* Compare "At a glance" side-by-side table */
.compare-glance { table-layout: auto; }
.compare-glance thead th { text-align: left; vertical-align: bottom; background: var(--surface); }
.compare-glance th[scope="row"] { width: 32%; text-align: left; font-weight: 700; color: var(--navy); background: #fbfcfe; }
.compare-glance td { text-align: center; vertical-align: middle; }
.compare-glance tr.glance-text td { text-align: left; font-size: 13px; color: #2a3b55; }
.glance-head { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.glance-head .logo-tile { width: 34px; height: 34px; }
.glance-yes { color: var(--green); font-weight: 800; font-size: 18px; }
.glance-no { color: #b9c4d2; font-weight: 700; }
.compare-glance tr.row-diff { background: #fff8e6; }
.compare-glance tr.row-diff th[scope="row"] { box-shadow: inset 3px 0 0 var(--orange); background: #fff8e6; }
