/* Fleet Maintenance Software Guide — editorial premium design (option-1)
   Navy + safety-amber accent, Fraunces serif display, Hanken Grotesk body. */

/* ---- Self-hosted fonts (CSP font-src 'self') ---- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/fraunces.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/hanken.woff2') format('woff2'); }

:root {
  --navy: #122a41;
  --navy-2: #0c1d2e;
  --navy-3: #1c3d59;
  --ink: #16212c;
  --accent: #e8a41c;         /* safety amber — brand accent */
  --accent-2: #f4b52a;       /* brighter amber for CTA */
  --accent-strong: #a06a06;  /* dark amber, readable on white */
  --gold-soft: #fbeecb;
  --green: #2f8f5a;          /* semantic positive/verified */
  --green-dark: #1f6e43;
  --green-soft: #e6f3ea;
  --link: #245b8f;
  --orange: #cf7a1f;
  --danger: #b23b32;
  --text: #26313d;
  --muted: #5f6b78;
  --line: #e6e2d7;
  --line-2: #efece3;
  --surface: #f6f4ee;
  --paper: #faf8f3;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 41, 63, .13);
  --shadow-sm: 0 8px 26px rgba(18, 41, 63, .07);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --focus: 0 0 0 3px rgba(232, 164, 28, .42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.14; letter-spacing: -.01em; font-weight: 600; color: var(--navy); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--accent); color: #1a1204; }
.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(--accent-strong); font-weight: 700; font-size: 13px; }
.text-link:hover { color: var(--navy); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font-family: var(--sans); font-weight: 700; font-size: 14.5px; letter-spacing: .01em; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-1px); text-decoration: none; }
.button .ico { width: 18px; height: 18px; }
.button-primary { background: var(--accent-2); color: var(--navy-2); box-shadow: 0 8px 20px rgba(232, 164, 28, .28); }
.button-primary:hover { background: #f0ab1f; box-shadow: 0 12px 26px rgba(232, 164, 28, .36); }
.button-outline { border-color: #cdc7b8; background: #fff; color: var(--navy); }
.button-outline:hover { border-color: var(--navy); }
.button-blue, .button-navy, .button-dark { background: var(--navy); color: #fff; }
.button-blue:hover, .button-navy:hover, .button-dark:hover { background: var(--navy-3); }
.button-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.blue-outline { border-color: var(--navy); color: var(--navy); }
.button-compact { min-height: 40px; padding: 0 16px; font-size: 13px; }

/* Header */
.announcement { background: var(--navy); color: #d6e0ea; text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: .01em; }
.announcement a { color: var(--accent-2); font-weight: 700; }
.signal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); margin-right: 7px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(244, 181, 42, .22); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .93); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--navy); }
.brand-text i { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-strong); margin-top: 3px; }
.brand-footer .brand-text b { color: #fff; }
.brand-footer .brand-text i { color: var(--accent-2); }
.main-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--navy); font-size: 14.5px; font-weight: 600; }
.main-nav a:hover { color: var(--accent-strong); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent-strong); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.icon-button:hover { border-color: var(--navy); }
.icon-button .ico { width: 20px; height: 20px; }
.icon-button.plain { border: 0; color: var(--muted); }
.mobile-toggle { display: none; margin-left: auto; background: transparent; border: 0; color: var(--navy); font-size: 28px; cursor: pointer; }

/* ============================================================
   HOME — editorial hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #f2efe6 100%); color: var(--ink); padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero-blueprint { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url('/assets/img/fleet-blueprint.svg'); background-size: cover; background-position: center right; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: linear-gradient(180deg, transparent, var(--white)); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; color: var(--accent-strong); font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow.centered { justify-content: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.02em; font-weight: 600; margin: 0 0 20px; color: var(--navy); max-width: 12ch; }
.hero-lead { max-width: 46ch; font-size: 18.5px; color: #3c4956; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-textlink { font-weight: 700; color: var(--navy); font-family: var(--sans); border-bottom: 2px solid var(--accent); padding-bottom: 3px; display: inline-flex; gap: 8px; align-items: center; }
.hero-textlink:hover { text-decoration: none; color: var(--accent-strong); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted); font-size: 13.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 17px; height: 17px; color: var(--accent-strong); }
.hero-trust b { display: inline-flex; width: 4px; height: 4px; border-radius: 50%; background: #c4cbd2; }

/* Top-picks card */
.picks-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 12px; box-shadow: var(--shadow); }
.picks-card h2 { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; }
.picks-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 6px; }
.picks-head a { font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--accent-strong); }
.pick-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.pick-row:last-child { border-bottom: 0; }
.pick-brand { display: flex; align-items: center; gap: 11px; }
.pick-brand .logo-tile { width: 38px; height: 38px; }
.pick-brand strong { font-family: var(--sans); font-size: 15px; color: var(--navy); font-weight: 700; }
.pick-caps { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-cap { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; font-family: var(--sans); color: var(--navy-3); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; }
.pick-cap .ico { width: 13px; height: 13px; color: var(--accent-strong); }
.pick-cap.is-off { color: #aeb4bc; background: #fbfbf9; }
.pick-cap.is-off .ico { color: #c7ccd2; }

/* Stats strip */
.stats-strip { background: var(--navy); color: #eaf0f6; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 0; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat-icon { color: var(--accent-2); line-height: 1; }
.stat-icon .ico { width: 30px; height: 30px; }
.stat p { margin: 0; }
.stat strong, .stat small { display: block; font-family: var(--sans); }
.stat strong { font-size: 21px; color: #fff; font-weight: 700; }
.stat small { max-width: 170px; font-size: 12.5px; color: #b7c4d2; }

/* Sections */
.section { padding: 56px 0; }
.section-heading { margin-bottom: 26px; }
.section-heading h2 { font-size: 32px; margin: 0; }
.section-heading p { color: var(--muted); margin: 8px 0 0; max-width: 66ch; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.split-heading > a { color: var(--accent-strong); font-family: var(--sans); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.mini-heading h2 { text-transform: uppercase; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--muted); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow-sm); background: #fff; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.badge { position: absolute; top: 0; right: 22px; transform: translateY(-50%); padding: 6px 12px; border-radius: 99px; color: var(--navy-2); background: var(--accent-2); font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .03em; box-shadow: 0 6px 16px rgba(232, 164, 28, .3); }
.badge.green { background: var(--green); color: #fff; box-shadow: none; }
.badge.blue { background: var(--navy); color: #fff; box-shadow: none; }
.badge.navy { background: var(--navy); color: #fff; box-shadow: none; }
.product-head { display: flex; align-items: center; gap: 14px; }
.product-card h3 { margin: 0; font-size: 22px; }
.product-card .rating { margin: 12px 0 4px; font-family: var(--sans); }
.product-card > p:not(.rating) { color: #3a4757; font-size: 14.5px; }
.product-card ul { list-style: none; padding: 0; margin: 16px 0; }
.product-card li { font-size: 13.5px; margin: 9px 0; display: flex; align-items: flex-start; gap: 9px; color: #34414f; }
.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: 12px; margin-top: 18px; }
.price-line { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.price-line strong { color: var(--navy); font-size: 15px; }

/* Categories */
.categories-section { padding-top: 8px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-grid a { min-height: 128px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; padding: 20px; background: #fff; box-shadow: var(--shadow-sm); font-family: var(--sans); font-weight: 700; transition: .16s; }
.category-grid a:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.category-grid span { color: var(--accent-strong); line-height: 1; margin-bottom: 14px; }
.category-grid .ico { width: 28px; height: 28px; }
.category-grid strong { font-size: 15px; color: var(--navy); }
.category-grid small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* Trust section */
.trust-section { padding: 10px 0 22px; }
.trust-section h2 { text-align: center; text-transform: uppercase; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust-grid > div { display: flex; gap: 16px; padding: 0 28px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span, .trust-grid .ico-lg { color: var(--accent-strong); flex: none; }
.trust-grid .ico { width: 28px; height: 28px; }
.trust-grid p { margin: 0; }
.trust-grid strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--navy); }
.trust-grid small { display: block; color: #55636f; font-size: 13px; margin-top: 7px; }

/* Article/guide cards on home */
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.article-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: .18s; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card img { width: 100%; height: 140px; object-fit: cover; background: var(--surface); }
.article-cover { height: 148px; display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 10%, var(--navy-3), var(--navy) 70%); }
.article-cover .ico { width: 46px; height: 46px; color: var(--accent-2); stroke-width: 1.6; }
.article-card > div { padding: 16px; }
.article-meta { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 10.5px; margin: 0; }
.article-meta span { color: var(--accent-strong); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.article-meta time { color: #75829a; }
.article-card h3 { font-size: 17px; line-height: 1.28; margin: 10px 0; }
.article-card > div > p:last-child { font-size: 13px; color: #53627a; }

/* Footer */
.site-footer { background: var(--navy-2); color: #fff; padding: 46px 0 16px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: #c4d0dc; max-width: 40ch; }
.footer-grid h3 { font-family: var(--sans); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #9fb0c0; margin: 0 0 14px; }
.footer-grid p, .footer-grid a { font-size: 13px; color: #d5e0ed; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin: 8px 0; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-button { border-color: var(--accent) !important; color: var(--accent-2) !important; margin-top: 16px !important; background: transparent !important; }
.copyright { text-align: center; color: #8fa1b3; font-size: 11.5px; padding-top: 22px; margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .09); }
.source-note { color: #9fafc2; font-size: 12px; }

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

/* ============================================================
   Interior pages (reviews, compare, landings, hubs)
   ============================================================ */
main { display: block; }
.page-hero { background: linear-gradient(180deg, var(--paper), #f2efe6); border-bottom: 1px solid var(--line); padding: 44px 0; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(30px, 3.8vw, 46px); margin: 8px 0 14px; max-width: 20ch; }
.page-hero p { color: #46535f; max-width: 70ch; font-size: 17px; }
.breadcrumbs { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.breadcrumbs a { color: var(--accent-strong); font-weight: 700; }
.section-block { padding: 44px 0; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 28px; margin: 0 0 6px; }
.section-sub { color: var(--muted); }
.data-table, .research-table { width: 100%; border-collapse: collapse; background: #fff; font-family: var(--sans); font-size: 14px; margin: 12px 0; }
.data-table th, .data-table td, .research-table th, .research-table td { padding: 13px 15px; 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; color: var(--navy); }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.callout, .source-list { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--surface); }
.meta-row { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.evidence-badge, .badge-pill { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 5px 11px; border-radius: 99px; background: var(--gold-soft); color: var(--accent-strong); }
.facet-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.facet-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: #fff; color: var(--navy); border: 1px solid var(--line); }
.facet-chip .ico { width: 14px; height: 14px; color: var(--accent-strong); }

/* Search dialog */
.search-dialog { border: 0; border-radius: 16px; padding: 24px; width: min(560px, 92vw); box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(12, 29, 46, .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); }
.search-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.search-dialog-head h2 { font-size: 19px; margin: 0; }
.search-label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; 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); }

/* Skip link + logo tiles + 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); }
.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: 66%; height: 66%; object-fit: contain; }
.logo-tile.sm { width: 44px; height: 44px; }
.logo-tile.lg { width: 58px; height: 58px; }
.logo-tile.fallback { background: var(--navy); color: #fff; font-family: var(--sans); font-weight: 800; font-size: 17px; }
.ico { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.85; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.check .ico { width: 12px; height: 12px; stroke-width: 3; }
.product-card li .ico { width: 16px; height: 16px; color: var(--accent-strong); stroke-width: 2.3; }
.tick { color: var(--green); }

/* Buttons/util */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.evidence-vendor-research { background: var(--surface); color: var(--muted); }
.evidence-hands-on, .evidence-verified-customer { background: var(--green-soft); color: var(--green-dark); }
.narrow { max-width: 760px; margin-inline: auto; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.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: 16.5px; margin: 6px 0 22px; }
.mobile-scroll-hint { font-family: var(--sans); font-size: 12px; color: var(--muted); }

/* Content prose + TOC */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: start; }
.content-prose { max-width: 760px; font-size: 16.5px; }
.content-prose h2 { font-size: 27px; margin: 40px 0 14px; }
.content-prose h3 { font-size: 20px; margin: 26px 0 8px; }
.content-prose p, .content-prose li { color: #33414f; }
.content-prose ul, .content-prose ol { padding-left: 20px; }
.content-prose li { margin: 8px 0; }
.content-prose a { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.content-prose > p:first-of-type { font-size: 18px; color: #2c3742; }
.toc { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.toc h2 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.toc a { display: block; padding: 7px 0; font-family: var(--sans); font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--line-2); }
.toc a:hover { color: var(--accent-strong); }
.clean-list { list-style: none; padding: 0; }
.clean-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); }
.clean-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--green-dark); border-bottom: 2px solid var(--green-dark); transform: rotate(-45deg); }

/* Review profile */
.review-profile-head { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.review-identity { display: flex; gap: 16px; align-items: center; margin: 12px 0; }
.review-identity h1 { font-size: clamp(30px, 3.6vw, 42px); margin: 4px 0 0; }
.review-summary-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.review-summary-card dl { margin: 0; }
.review-summary-card dl > div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.review-summary-card dt { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.review-summary-card dd { margin: 5px 0 0; font-family: var(--sans); font-weight: 600; color: var(--navy); }
.evidence-notice { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); border-radius: 8px; padding: 15px 18px; font-size: 14px; color: #33414f; }
.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: 14px; padding: 20px; background: #fff; }
.profile-rating-head { display: flex; justify-content: space-between; align-items: baseline; }
.profile-rating-head span { font-family: var(--sans); font-weight: 700; color: var(--navy); }
.profile-rating-head strong { font-family: var(--serif); font-size: 30px; color: var(--navy); }
.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: 12px; 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: 14px; padding: 20px; background: #fff; }
.procon h2 { font-size: 16px; 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: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.source-list a { color: var(--link); font-weight: 600; }
.source-list span { color: var(--muted); font-size: 12px; }

/* Reviews hub */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.review-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: .18s; }
.review-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.review-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card h3 { margin: 0; font-size: 19px; }
.review-empty { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 12px; }

/* Compare */
.comparison-section { padding: 34px 0; }
.comparison-section-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.comparison-section-head > span { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--sans); font-weight: 800; border-radius: 10px; font-size: 15px; }
.comparison-section-head h2 { font-size: 24px; margin: 0 0 4px; }
.comparison-section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.compare-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-list { list-style: none; padding: 0; }
.compare-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-product-title { display: flex; align-items: center; gap: 12px; font-size: 21px; margin: 0 0 10px; }
.software-cell { display: flex; align-items: center; gap: 10px; font-family: var(--sans); 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: 34px; }
.related-comparison-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* Ranking */
.ranking-main { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 36px; align-items: start; }
.ranking-main-head { margin-bottom: 18px; }
.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: 14px; padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.rank-number { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: var(--accent-2); font-family: var(--serif); font-weight: 700; font-size: 20px; border-radius: 11px; }
.ranking-side { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--surface); position: sticky; top: 100px; }
.best-for { font-family: var(--sans); font-weight: 700; color: var(--navy); }

/* Forms */
.form-field { margin: 14px 0; }
.form-field label { display: block; font-family: var(--sans); font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.form-control { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.form-control:focus-visible { border-color: var(--accent); }
textarea.form-control { min-height: 130px; }
.form-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.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: var(--green-soft); color: var(--green-dark); border: 1px solid #b7ddc4; }
.alert-error { background: #fbeae8; color: var(--danger); border: 1px solid #f0c9c5; }

@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 */
.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: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: .16s; }
.comparison-directory-card:hover { border-color: var(--accent); box-shadow: var(--shadow); 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-family: var(--sans); font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.comparison-directory-card strong { font-size: 17px; color: var(--navy); font-family: var(--serif); font-weight: 600; }
.comparison-directory-card small { color: var(--muted); font-size: 13px; }
.comparison-directory-card em { color: var(--accent-strong); font-family: var(--sans); 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; }

/* Compare detail */
.compare-intro { background: linear-gradient(180deg, var(--paper), #f2efe6); border-bottom: 1px solid var(--line); padding: 36px 0; }
.compare-intro h1 { font-size: clamp(28px, 3.5vw, 42px); margin: 8px 0 10px; }
.compare-intro p { color: #46535f; 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-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--accent-strong); background: var(--gold-soft); border-radius: 99px; padding: 8px 14px; }
.comparison-report { padding: 34px 0; }
.compare-products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.compare-product { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.compare-product-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.compare-product-brand h2 { margin: 0; font-size: 21px; }
.compare-product dl { margin: 14px 0; }
.compare-product dl > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.compare-product dt { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare-product dd { margin: 3px 0 0; font-family: var(--sans); font-weight: 600; color: var(--navy); }
.compare-product > a { color: var(--link); font-weight: 700; font-size: 14px; }
.report-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; padding: 10px; background: var(--surface); border-radius: 12px; }
.report-nav a { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--navy); padding: 7px 13px; border-radius: 7px; }
.report-nav a:hover { background: #fff; color: var(--accent-strong); text-decoration: none; }
.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: 14px; padding: 22px; background: #fff; }
.decision-grid dl > div, .compare-detail-grid dl > div { padding: 7px 0; }
.decision-grid dt { font-family: var(--sans); 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: 12px; padding: 14px; background: #fff; }
.rating-record strong { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.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(--link); 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-family: var(--sans); font-weight: 600; color: var(--navy); }
.compare-detail-grid h4 { font-family: var(--sans); 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: 9px 0; border-bottom: 1px solid var(--line); }
.compare-source-list a { color: var(--link); 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: 12px; padding: 16px; background: #fff; }
.related-comparison-grid a:hover { border-color: var(--accent); text-decoration: none; box-shadow: var(--shadow-sm); }
.related-comparison-grid strong { display: block; color: var(--navy); font-family: var(--serif); font-weight: 600; }
.related-comparison-grid span { display: block; font-size: 12px; color: var(--muted); margin: 4px 0; }
.related-comparison-grid em { color: var(--accent-strong); font-family: var(--sans); 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: 14px; padding: 24px; background: #fff; box-shadow: var(--shadow-sm); transition: .16s; }
.guide-card:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.guide-kicker { font-family: var(--sans); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); }
.guide-card h2 { font-size: 19px; margin: 8px 0; }
.guide-card p { color: var(--muted); font-size: 14px; }
.guide-arrow { font-size: 20px; color: var(--accent-strong); margin-top: auto; }

/* Misc */
.faq-list > div, .faq-list details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 10px 0; background: #fff; }
.faq-list h3 { font-size: 17px; margin: 0 0 6px; }
.rating-inline { font-family: var(--sans); color: var(--muted); font-size: 13px; }
.rating-inline strong { color: var(--navy); }
.fine-print { font-size: 12px; color: var(--muted); }
.lead { font-size: 18.5px; color: #33414f; }
.muted { color: var(--muted); }

/* Compare "At a glance" 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: 30%; text-align: left; font-family: var(--sans); font-weight: 700; color: var(--navy); background: #fbfaf6; }
.compare-glance td { text-align: center; vertical-align: middle; }
.compare-glance tr.glance-text td { text-align: left; font-size: 13px; color: #33414f; }
.glance-head { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); 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-yes .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.glance-no { color: #c4c9cf; font-weight: 700; }
.compare-glance tr.row-diff { background: #fdf6e6; }
.compare-glance tr.row-diff th[scope="row"] { box-shadow: inset 3px 0 0 var(--accent); background: #fdf6e6; }

/* Responsive */
@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; gap: 34px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stat:nth-child(2) { border-right: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 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; }
  .compare-products, .decision-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .shell { width: min(100% - 24px, 1180px); }
  .hero { padding: 40px 0 46px; }
  .hero h1 { font-size: 40px; }
  .pick-row { grid-template-columns: 1fr; gap: 10px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 18px; }
  .stat:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .card-actions { grid-template-columns: 1fr; }
}
