/* Self Storage Software Guide — matches the approved reference design.
   Navy #071c37 + orange #df5018 on warm paper, Georgia serif + Inter. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/inter.woff2') format('woff2'); }

:root {
  --navy: #071c37;
  --navy-soft: #19324f;
  --orange: #df5018;
  --orange-dark: #bf3f0c;
  --paper: #fffaf4;
  --paper-2: #f7f3ed;
  --white: #ffffff;
  --line: #d8d8d4;
  --line-dark: #b9bdc1;
  --muted: #59697b;
  --shadow: 0 18px 60px rgba(16, 29, 47, .08);
  --shadow-sm: 0 12px 34px rgba(16, 29, 47, .05);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Engine-component aliases → mapped onto the reference palette */
  --bg: var(--paper); --bg-2: var(--paper-2);
  --surface: #fff; --surface-2: var(--paper-2); --card: #fff;
  --teal: var(--orange); --teal-bright: var(--orange); --teal-dim: var(--orange-dark);
  --lime: var(--orange); --lime-2: var(--orange);
  --ink: #fff; --text: var(--navy-soft); --heading: var(--navy);
  --muted-2: #8a929d; --line-2: #ebe8e2; --danger: #c23b3b;
  --focus: 0 0 0 3px rgba(223, 80, 24, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; color: var(--navy); background: radial-gradient(circle at 12% 10%, rgba(255,255,255,.96), transparent 36rem), var(--paper); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.search-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4 { color: var(--navy); }
.serif, h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: rgba(223,80,24,.22); }
.container, .shell { width: min(1440px, calc(100% - 8%)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: .25rem; }
.skip-link:focus { top: 1rem; }
.text-small { font-size: 13px; } .text-muted, .muted { color: var(--muted); }
.text-link { color: var(--navy); font-weight: 800; } .text-link span { color: var(--orange); }

/* Buttons */
.button { min-height: 56px; padding: .9rem 2.2rem; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 7px; border: 2px solid var(--navy); font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(7,28,55,.14); text-decoration: none; }
.button .ico { width: 18px; height: 18px; }
.button-primary { color: #fff; background: var(--orange); border-color: var(--orange); }
.button-primary:hover { background: var(--orange-dark); color: #fff; }
.button-secondary, .button-outline { background: rgba(255,255,255,.7); }
.button-dark, .button-navy, .button-blue { background: var(--navy); border-color: var(--navy); color: #fff; }
.button-dark:hover { background: var(--navy-soft); color: #fff; }
.button-ghost { background: rgba(255,255,255,.6); }
.button-compact { min-height: 44px; padding: .55rem 1.2rem; font-size: 14px; }

/* Header */
.announcement { background: var(--paper-2); color: var(--muted); text-align: center; font-size: 13px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.announcement a { color: var(--orange); font-weight: 700; }
.signal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 7px; vertical-align: middle; }
.is-home .announcement { display: none; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,252,247,.95); backdrop-filter: blur(16px); }
.header-inner { min-height: 108px; max-width: 1536px; margin: 0 auto; padding: 0 3.2%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: min(430px, 36vw); flex: 0 1 auto; display: inline-flex; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(2rem, 3.4vw, 3.8rem); font-size: 1rem; font-weight: 600; }
.primary-nav a { position: relative; padding: 2rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 1.55rem; height: 2px; background: var(--orange); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.search-button { width: 42px; height: 42px; border: 0; padding: 8px; background: transparent; cursor: pointer; border-radius: 50%; }
.search-button:hover { background: rgba(7,28,55,.06); }
.search-button svg, .table-filter svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-rule { position: relative; height: 5px; background: #cfd1d2; overflow: hidden; }
.header-rule span { position: absolute; left: 47.4%; width: 55px; height: 100%; background: var(--orange); }
.menu-toggle { display: none; }

/* Hero */
.hero { overflow: hidden; background: linear-gradient(90deg, rgba(255,250,244,.98) 0%, rgba(255,250,244,.98) 39%, rgba(255,250,244,.22) 58%, rgba(255,250,244,0) 76%); }
.hero-inner { position: relative; max-width: 1536px; min-height: 545px; margin: 0 auto; display: grid; grid-template-columns: minmax(480px, 46%) 1fr; }
.hero-copy { position: relative; z-index: 2; padding: 51px 1rem 42px 3.2vw; }
.eyebrow { margin: 0 0 1rem; color: var(--orange); font-size: .95rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; font-family: var(--sans); }
.hero h1 { max-width: 690px; margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; font-size: clamp(3.4rem, 5vw, 5.25rem); }
.hero-description, .hero-lead { max-width: 615px; margin: 1.3rem 0 1.55rem; color: var(--navy-soft); font-size: clamp(1.08rem, 1.42vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.55rem; }
.trust-line, .hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.7rem; color: var(--navy-soft); font-size: .98rem; }
.trust-line i, .hero-trust b { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); display: inline-block; }
.hero-visual { position: absolute; inset: 0 0 0 40%; z-index: 0; }
.hero-visual::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--paper), rgba(255,250,244,0)); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Quick comparison */
.quick-comparison { position: relative; z-index: 4; max-width: 1536px; margin: 0 auto; padding: 0 3.2% 4rem; }
.comparison-card { overflow: hidden; border: 1px solid #d0d1cf; border-radius: 14px; background: rgba(255,255,255,.69); box-shadow: 0 6px 24px rgba(13,30,50,.04); }
.comparison-heading { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 1.75rem .35rem; }
.comparison-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.table-filter { width: 210px; height: 34px; position: relative; display: none; }
.comparison-card:hover .table-filter, .table-filter:focus-within { display: block; }
.table-filter input { width: 100%; height: 100%; padding: .4rem 2rem .4rem .7rem; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.84); color: var(--navy); outline: none; }
.table-filter svg { position: absolute; right: .55rem; top: .5rem; width: 18px; height: 18px; pointer-events: none; }
.table-scroll { overflow-x: auto; }
.quick-comparison table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.quick-comparison th, .quick-comparison td { padding: .58rem 1.75rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: middle; }
.quick-comparison th:last-child, .quick-comparison td:last-child { border-right: 0; }
.quick-comparison th { background: rgba(255,255,255,.18); font-family: var(--sans); font-size: .93rem; font-weight: 700; }
.quick-comparison th:nth-child(1) { width: 24%; } .quick-comparison th:nth-child(2) { width: 29%; } .quick-comparison th:nth-child(3) { width: 47%; }
.quick-comparison td { color: var(--navy-soft); font-size: .88rem; line-height: 1.35; }
.software-name { display: inline-flex; align-items: center; gap: .62rem; color: var(--navy); font-family: var(--sans); font-size: 1.08rem; font-weight: 600; }
.software-name .logo-tile { width: 34px; height: 34px; }
.no-results { margin: 0; padding: 1.2rem 1.75rem; border-top: 1px solid var(--line); }

/* Generic section shell */
.section { max-width: 1440px; margin: 0 auto; padding: 5.8rem 4%; }
.section-soft { background: var(--paper-2); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading h2, .methodology h2, .pricing-panel h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(2.6rem, 4vw, 4.3rem); margin: 0; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; margin: .7rem 0 0; }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.mini-heading h2 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Top picks */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pick-card { position: relative; min-height: 460px; padding: 2rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.62); box-shadow: 0 12px 34px rgba(16,29,47,.04); overflow: hidden; display: flex; flex-direction: column; }
.pick-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.pick-card:hover::before { transform: scaleX(1); }
.pick-number { position: absolute; right: 1.5rem; top: .4rem; color: rgba(7,28,55,.06); font-family: var(--serif); font-size: 6.8rem; line-height: 1; }
.pick-badge, .badge { position: relative; display: inline-flex; align-self: flex-start; margin-bottom: 2.5rem; padding: .35rem .65rem; border: 1px solid rgba(223,80,24,.35); border-radius: 999px; color: var(--orange); background: rgba(223,80,24,.05); font-family: var(--sans); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.pick-card h3 { position: relative; margin: 0 0 1rem; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; }
.pick-card p { color: var(--muted); }
.pick-card ul { margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.pick-card li { position: relative; padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid rgba(216,216,212,.65); color: var(--navy-soft); }
.pick-card li::before { content: ""; position: absolute; left: .1rem; top: 1rem; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.pick-card > a { margin-top: auto; color: var(--navy); font-family: var(--sans); font-weight: 800; }
.pick-card > a span { color: var(--orange); }
.pick-rating { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.pick-rating strong { color: var(--orange); font-weight: 800; }

/* Pricing panel */
.pricing-section { padding-top: 1rem; }
.pricing-panel { display: grid; grid-template-columns: 1.12fr .88fr; gap: 5rem; padding: clamp(2rem, 4vw, 4.3rem); border-radius: 18px; color: #fff; background: linear-gradient(120deg, rgba(255,255,255,.04), transparent 55%), var(--navy); box-shadow: var(--shadow); }
.pricing-panel h2 { color: #fff; }
.pricing-panel .eyebrow { color: #ff8655; }
.pricing-panel > div > p:last-child { color: #cad3dc; font-size: 1.08rem; }
.pricing-checklist { display: grid; grid-template-columns: repeat(2, 1fr); align-content: center; gap: 1rem; }
.pricing-checklist div { min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; background: rgba(255,255,255,.04); }
.pricing-checklist strong { color: #ff8655; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }

/* Methodology */
.methodology { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 6rem; }
.methodology-copy > p { color: var(--muted); font-size: 1.08rem; }
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.64); }
.score-grid div { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.score-grid div:nth-child(2n) { border-right: 0; }
.score-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.score-grid span { color: var(--muted); }
.score-grid strong { color: var(--orange); font-family: var(--serif); font-size: 2rem; font-weight: 400; }

/* Guides (home) */
.guides .guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.guides .guide-grid article { min-height: 285px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.8rem; border-top: 3px solid var(--navy); background: rgba(255,255,255,.55); border-radius: 0 0 6px 6px; }
.guides .guide-grid article > span { color: var(--orange); font-family: var(--sans); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.guides .guide-grid h3 { margin: 1rem 0 .7rem; font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; font-weight: 400; }
.guides .guide-grid p { color: var(--muted); flex: 1; }
.guides .guide-grid article > a { color: var(--navy); font-family: var(--sans); font-weight: 800; } .guides .guide-grid article > a span { color: var(--orange); }

/* Footer */
.site-footer { margin-top: 2rem; color: #dbe2e8; background: #05162c; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 4rem 4% 2rem; }
.footer-brand { display: block; width: min(380px, 90%); padding: .75rem; background: var(--paper); border-radius: 6px; }
.footer-brand img { width: 100%; }
.footer-inner > p { color: #aebdca; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2.5rem 0; font-family: var(--sans); font-weight: 700; }
.footer-inner nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.15); color: #90a2b2; font-size: .88rem; }

/* Search dialog */
.search-dialog[hidden] { display: none; }
.search-dialog { position: fixed; inset: 0; z-index: 500; display: grid; place-items: start center; padding: 11vh 1rem 1rem; }
.search-backdrop { position: absolute; inset: 0; background: rgba(4,17,34,.72); backdrop-filter: blur(6px); }
.search-panel { position: relative; z-index: 1; width: min(700px, 100%); padding: clamp(2rem, 5vw, 4rem); border-radius: 14px; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.search-panel h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; font-size: clamp(2.5rem, 5vw, 4rem); margin: 0; }
.search-close { position: absolute; right: 1.2rem; top: .8rem; border: 0; background: transparent; color: var(--navy); font-family: var(--serif); font-size: 2.2rem; cursor: pointer; }
.search-panel form { display: grid; grid-template-columns: 1fr auto; gap: .8rem; margin-top: 1.8rem; }
.search-panel input { width: 100%; height: 56px; padding: 0 1rem; border: 1px solid var(--line-dark); border-radius: 7px; background: #fff; color: var(--navy); outline: 0; }
.search-panel input:focus { border-color: var(--navy); }
.search-message { margin-bottom: 0; color: var(--muted); }

/* Logo tiles + icons */
.logo-tile { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; 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: 56px; height: 56px; }
.logo-tile.fallback { background: var(--paper-2); color: var(--navy); font-family: var(--sans); font-weight: 800; font-size: 16px; }
.ico { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.85; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.narrow { max-width: 760px; margin-inline: auto; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 200; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================================
   Interior pages (reviews, compare, landings) — reference palette
   ============================================================ */
main { display: block; }
.page-hero { background: linear-gradient(90deg, rgba(255,250,244,.98), rgba(247,243,237,.7)); border-bottom: 1px solid var(--line); padding: 3.4rem 0; }
.page-hero .shell, .section .shell { width: min(1200px, 100%); }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin: 8px 0 14px; max-width: 20ch; }
.page-hero p { color: var(--muted); max-width: 70ch; font-size: 1.1rem; }
.breadcrumbs { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.breadcrumbs a { color: var(--orange); font-weight: 700; }
.section .shell > .section-head, .section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 1.9rem; margin: 0 0 6px; }
.section-sub, .section-intro { color: var(--muted); max-width: 75ch; }
.section-intro { font-size: 1.02rem; margin: 6px 0 22px; }
.card, .callout { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.data-table, .research-table, .table-wrap table, .source-rating-table { width: 100%; border-collapse: collapse; background: #fff; font-family: var(--sans); font-size: 14px; }
.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; color: var(--navy-soft); }
.data-table thead th, .research-table thead th { background: var(--paper-2); font-size: 13px; color: var(--navy); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.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, .evidence-notice strong { font-family: var(--sans); }
.evidence-badge, .badge-pill { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 5px 11px; border-radius: 99px; background: rgba(223,80,24,.1); color: var(--orange); }
.evidence-vendor-research { background: var(--paper-2); color: var(--muted); }
.evidence-hands-on, .evidence-verified-customer { background: rgba(7,28,55,.08); color: var(--navy); }
.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: var(--paper-2); color: var(--navy-soft); border: 1px solid var(--line); }
.facet-chip .ico { width: 14px; height: 14px; color: var(--orange); }

/* 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: 1.05rem; }
.content-prose h2 { font-size: 1.9rem; margin: 40px 0 14px; }
.content-prose h3 { font-size: 1.4rem; margin: 26px 0 8px; }
.content-prose p, .content-prose li { color: var(--navy-soft); }
.content-prose ul, .content-prose ol { padding-left: 20px; }
.content-prose li { margin: 8px 0; }
.content-prose a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.content-prose > p:first-of-type { font-size: 1.15rem; color: var(--navy); }
.review-shot { margin: 24px 0 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.review-shot img { width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.review-shot figcaption { font-family: var(--sans); font-size: 12px; color: var(--muted); padding: 10px 14px; }
.toc { position: sticky; top: 118px; 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-soft); border-bottom: 1px solid var(--line-2); }
.toc a:hover { color: var(--orange); }
.clean-list { list-style: none; padding: 0; }
.clean-list li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--navy-soft); }
.clean-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.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(--orange); font-weight: 600; } .source-list span { color: var(--muted); font-size: 12px; }

/* 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(2rem, 3.4vw, 2.9rem); 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(--orange); background: var(--paper-2); border-radius: 8px; padding: 15px 18px; font-size: 14px; color: var(--navy-soft); }
.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(--sans); font-size: 30px; color: var(--orange); font-weight: 800; }
.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(--paper-2); border-radius: 8px; padding: 10px; }
.profile-rating-theme strong { display: block; margin-bottom: 4px; color: var(--navy); }
.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(--paper-2); 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-family: var(--sans); font-size: 16px; margin: 0 0 8px; }
.procon-pros { border-top: 3px solid var(--orange); } .procon-cons { border-top: 3px solid var(--navy); }
.profile-actions, .comparison-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; align-items: center; }

/* Reviews hub / product / ranking */
.product-grid, .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product-card, .review-card { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; box-shadow: var(--shadow-sm); background: #fff; display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s, border-color .16s; }
.product-card:hover, .review-card:hover { transform: translateY(-3px); border-color: rgba(223,80,24,.5); }
.product-head, .review-card-head { display: flex; align-items: center; gap: 14px; }
.product-card h3, .review-card h3 { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.product-card .rating { margin: 12px 0 4px; font-family: var(--sans); color: var(--muted); }
.product-card .rating strong { color: var(--orange); font-weight: 800; }
.product-card > p:not(.rating) { color: var(--navy-soft); 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: var(--navy-soft); }
.product-card li .ico { flex: none; margin-top: 2px; width: 16px; height: 16px; color: var(--orange); stroke-width: 2.3; }
.product-card .card-actions { margin-top: auto; }
.card-actions { display: grid; grid-template-columns: 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; }
.review-empty { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 12px; }

/* Comparisons hub + compare detail */
.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(--orange); transform: translateY(-2px); }
.comparison-directory-brands { display: flex; align-items: center; gap: 12px; }
.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-family: var(--sans); font-size: 17px; color: var(--navy); font-weight: 800; }
.comparison-directory-card small { color: var(--muted); font-size: 13px; }
.comparison-directory-card em { color: var(--orange); 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-intro { background: linear-gradient(90deg, rgba(255,250,244,.98), rgba(247,243,237,.7)); border-bottom: 1px solid var(--line); padding: 36px 0; }
.compare-intro h1 { font-size: clamp(2rem, 3.5vw, 3rem); 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-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--orange); background: rgba(223,80,24,.1); border-radius: 99px; padding: 8px 14px; }
.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(--paper-2); color: var(--orange); font-family: var(--sans); font-weight: 800; border-radius: 11px; font-size: 15px; border: 1px solid var(--line); }
.comparison-section-head h2 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 4px; }
.comparison-section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.compare-products, .decision-grid, .compare-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-product, .decision-grid > article, .compare-detail-grid > article { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.compare-product-brand, .detail-product-title { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.compare-product-brand h2, .detail-product-title h3 { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.compare-product dl, .decision-grid dl { margin: 14px 0; }
.compare-product dl > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.compare-product dt, .decision-grid dt { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare-product dd, .decision-grid dd { margin: 3px 0 0; font-family: var(--sans); font-weight: 600; color: var(--navy); }
.compare-product > a, .software-cell a, .compare-source-list a { color: var(--orange); font-weight: 700; font-size: 14px; }
.software-cell { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; color: var(--navy); }
.report-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; padding: 10px; background: var(--paper-2); border-radius: 12px; }
.report-nav a { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--navy-soft); padding: 7px 13px; border-radius: 7px; }
.report-nav a:hover { background: #fff; color: var(--orange); }
.rating-record { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.rating-record strong { font-family: var(--sans); font-size: 24px; color: var(--orange); font-weight: 800; }
.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(--orange); margin-top: 6px; }
.compare-list { list-style: none; padding: 0; }
.compare-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.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-source-list { list-style: none; padding: 0; } .compare-source-list li { padding: 9px 0; border-bottom: 1px solid var(--line); } .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-comparisons { margin-top: 34px; }
.related-comparison-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.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(--orange); }
.related-comparison-grid strong { display: block; color: var(--navy); font-family: var(--sans); font-weight: 800; }
.related-comparison-grid span { display: block; font-size: 12px; color: var(--muted); margin: 4px 0; }
.related-comparison-grid em { color: var(--orange); font-family: var(--sans); font-weight: 700; font-size: 13px; font-style: normal; }
.compare-glance { table-layout: auto; width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; }
.compare-glance th, .compare-glance td { padding: 12px 14px; border: 1px solid var(--line); }
.compare-glance thead th { text-align: left; vertical-align: bottom; background: var(--paper-2); }
.compare-glance th[scope="row"] { width: 30%; text-align: left; font-weight: 700; color: var(--navy); background: #fff; }
.compare-glance td { text-align: center; vertical-align: middle; color: var(--navy-soft); }
.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(--orange); font-weight: 800; } .glance-yes .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.glance-no { color: var(--muted-2); font-weight: 700; }
.compare-glance tr.row-diff th[scope="row"] { box-shadow: inset 3px 0 0 var(--orange); }

/* Ranking / landing / forms / faq */
.ranking-main { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 36px; align-items: start; }
.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(--orange); color: #fff; font-family: var(--sans); font-weight: 800; font-size: 20px; border-radius: 12px; }
.ranking-side { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--paper-2); position: sticky; top: 118px; }
.best-for { font-family: var(--sans); font-weight: 700; color: var(--navy); }
.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-family: var(--serif); font-size: 1.2rem; margin: 0 0 6px; }
.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; color: var(--navy); }
.form-control:focus-visible { border-color: var(--orange); }
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: rgba(223,80,24,.08); color: var(--orange-dark); border: 1px solid rgba(223,80,24,.3); }
.alert-error { background: rgba(194,59,59,.1); color: var(--danger); border: 1px solid rgba(194,59,59,.3); }
.lead { font-size: 1.15rem; color: var(--navy-soft); } .fine-print { font-size: 12px; color: var(--muted); } .source-note { color: var(--muted-2); font-size: 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .header-inner { min-height: 88px; } .brand { width: 330px; } .primary-nav { gap: 1.5rem; font-size: .92rem; }
  .hero-inner { grid-template-columns: minmax(430px, 52%) 1fr; } .hero-visual { left: 44%; opacity: .72; } .hero h1 { font-size: clamp(3.1rem, 6vw, 4.5rem); }
  .pick-grid, .guides .guide-grid { grid-template-columns: 1fr 1fr; }
  .pick-card:last-child, .guides .guide-grid article:last-child { grid-column: span 2; }
  .methodology { gap: 3rem; }
}
@media (max-width: 900px) {
  .content-layout, .review-profile-head, .compare-detail-grid, .procon-grid, .ranking-main, .compare-products, .decision-grid { grid-template-columns: 1fr; }
  .toc, .ranking-side { position: static; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  .header-inner { min-height: 80px; padding: 0 1rem; } .brand { width: min(325px, 76vw); }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; left: 0; right: 0; top: 80px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: .6rem 1rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 30px rgba(7,28,55,.08); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .9rem .4rem; border-bottom: 1px solid rgba(216,216,212,.75); }
  .primary-nav a::after { display: none; } .search-button { margin-top: .5rem; }
  .hero { background: var(--paper); } .hero-inner { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { padding: 3.5rem 1.2rem 2.3rem; } .hero h1 { font-size: clamp(3.05rem, 12vw, 4.7rem); }
  .hero-visual { position: relative; inset: auto; height: 360px; order: 2; opacity: 1; }
  .hero-visual::before { inset: 0 0 auto 0; width: 100%; height: 24%; background: linear-gradient(180deg, var(--paper), rgba(255,250,244,0)); }
  .quick-comparison { padding: 0 1rem 3rem; }
  .comparison-heading { padding-left: 1rem; padding-right: 1rem; } .table-filter { display: block; width: 170px; }
  .quick-comparison table { min-width: 760px; } .quick-comparison th, .quick-comparison td { padding-left: 1rem; padding-right: 1rem; }
  .section { padding: 4.2rem 1.2rem; }
  .pick-grid, .guides .guide-grid, .pricing-panel, .methodology, .product-grid, .form-grid { grid-template-columns: 1fr; }
  .pick-card:last-child, .guides .guide-grid article:last-child { grid-column: auto; }
  .pricing-panel { gap: 2.3rem; } .methodology { gap: 2.3rem; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .brand { width: 255px; } .hero-copy { padding-top: 2.6rem; } .eyebrow { font-size: .78rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 3.55rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; } .button { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .pricing-checklist, .score-grid { grid-template-columns: 1fr; }
  .score-grid div, .score-grid div:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-panel form { grid-template-columns: 1fr; }
}
