/* =============================================================
   Finaria — Design System
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Layout
   6. Components  7. Sections  8. Comparator/Calculator  9. Responsive
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --white: #ffffff;
  --black: #0a0d12;
  --ink-900: #10141b;
  --ink-800: #1a2029;
  --ink-700: #2b3340;
  --ink-500: #5b6472;
  --ink-400: #7c8592;
  --ink-300: #a4acb6;
  --gray-200: #dde1e6;
  --gray-100: #eef0f3;
  --gray-50: #f6f7f9;
  --surface: #ffffff;

  --blue-700: #1a3fd6;
  --blue-600: #2451f0;
  --blue-500: #3f68ff;
  --blue-100: #e8edff;
  --blue-50: #f3f6ff;

  --green-700: #0c6b46;
  --green-600: #12805a;
  --green-100: #dcf3e8;
  --green-50: #f1faf5;

  --red-700: #a4241b;
  --red-600: #c23a2c;
  --red-100: #fbe3e0;
  --red-50: #fdf3f2;

  --amber-600: #a2650e;
  --amber-100: #fbead0;
  --amber-50: #fdf6ea;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", var(--font-sans);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 20, 27, 0.05);
  --shadow-sm: 0 2px 8px rgba(16, 20, 27, 0.06), 0 1px 2px rgba(16,20,27,.04);
  --shadow-md: 0 8px 24px rgba(16, 20, 27, 0.08), 0 2px 6px rgba(16,20,27,.04);
  --shadow-lg: 0 20px 48px rgba(16, 20, 27, 0.12), 0 4px 12px rgba(16,20,27,.05);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1200px;
  --container-narrow: 780px;
  --nav-height: 72px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2em; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; color: var(--ink-900); }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-100); color: var(--blue-700); }

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink-900); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: 20px; }
.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;
}
.section { padding-block: 64px; }
.section-tight { padding-block: 40px; }
.section-alt { background: var(--gray-50); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-600);
}
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--ink-500); margin-top: 10px; font-size: 1.05rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.text-center { text-align: center; margin-inline: auto; }
.stack-sm > * + * { margin-top: 8px; }
.stack-md > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.divider { height: 1px; background: var(--gray-200); border: 0; margin-block: 32px; }
.muted { color: var(--ink-500); }
.small { font-size: .875rem; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.display-xl { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-500); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; margin-bottom: .6em; scroll-margin-top: calc(var(--nav-height) + 20px); }
.prose h3 { margin-top: 1.8em; margin-bottom: .5em; }
.prose p { margin-block: 1em; color: var(--ink-700); }
.prose ul, .prose ol { margin-block: 1em; color: var(--ink-700); }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink-900); }

/* =============================================================
   5. Layout: header / nav / footer / breadcrumbs
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--gray-200);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--white); } }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink-900); flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.brand-mark svg { width: 17px; height: 17px; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; padding: 9px 13px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .93rem; color: var(--ink-700); transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--gray-100); color: var(--ink-900); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); color: var(--ink-700); transition: background .2s var(--ease-out);
}
.icon-btn:hover { background: var(--gray-100); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: flex; }
@media (min-width: 960px) { .main-nav { display: block; } .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: var(--nav-height) 0 0 0; z-index: 90; background: var(--white);
  padding: 20px; overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a { display: block; padding: 14px 12px; border-radius: var(--radius-md); font-weight: 600; font-size: 1.05rem; }
.mobile-nav a:hover { background: var(--gray-100); }
.mobile-nav .divider { margin-block: 16px; }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

.search-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,13,18,.5);
  display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out);
}
.search-modal.is-open { opacity: 1; pointer-events: auto; }
.search-panel { width: 100%; max-width: 620px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-input-row { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--gray-200); }
.search-input-row svg { width: 20px; height: 20px; color: var(--ink-400); flex-shrink: 0; }
.search-input-row input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; }
.search-results { max-height: 50vh; overflow-y: auto; padding: 8px; }
.search-result { display: block; padding: 12px 14px; border-radius: var(--radius-md); }
.search-result:hover, .search-result.is-active { background: var(--gray-100); }
.search-result .kind { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-600); }
.search-result .title { font-weight: 600; color: var(--ink-900); margin-top: 2px; }
.search-empty { padding: 24px 18px; color: var(--ink-500); text-align: center; }

.breadcrumbs { padding-block: 18px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; font-size: .85rem; color: var(--ink-500); }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gray-200); }
.breadcrumbs li[aria-current] { color: var(--ink-800); font-weight: 600; }

.site-footer { background: var(--ink-900); color: var(--ink-300); padding-block: 56px 28px; margin-top: 80px; }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1.3fr repeat(4, 1fr); padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--white); }
.footer-brand-desc { margin-top: 14px; font-size: .9rem; line-height: 1.65; max-width: 30ch; }
.footer-col h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; font-family: var(--font-sans); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .9rem; transition: color .2s var(--ease-out); }
.footer-col a:hover { color: var(--white); }
.footer-disclaimer { padding-top: 28px; font-size: .82rem; line-height: 1.7; color: var(--ink-400); max-width: 90ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .82rem; color: var(--ink-400); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--radius-pill); background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; }

/* =============================================================
   6. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: .95rem;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .18s var(--ease-out), color .18s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink-900); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--ink-900); border: 1.5px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--ink-800); transform: translateY(-1px); }
.btn-blue { background: var(--blue-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-blue:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--blue-600); font-weight: 700; }
.btn-ghost:hover { color: var(--blue-700); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.badge-blue { background: var(--blue-100); color: var(--blue-700); }
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-red { background: var(--red-100); color: var(--red-700); }
.badge-amber { background: var(--amber-100); color: var(--amber-600); }
.badge-gray { background: var(--gray-100); color: var(--ink-500); }
.badge-demo { background: var(--amber-100); color: var(--amber-600); }

.card {
  background: var(--surface); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-xs); transition: box-shadow .22s var(--ease-out), transform .22s var(--ease-out), border-color .22s var(--ease-out);
}
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-200); }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--ink-800); }
.form-field .hint { font-size: .78rem; color: var(--ink-400); }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="number"],
.form-field select, .form-field textarea {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 11px 14px;
  font-size: .95rem; background: var(--white); transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100); outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.checkbox-row { display: flex; align-items: center; gap: 9px; }
.checkbox-row input { width: 17px; height: 17px; accent-color: var(--blue-600); }

.form-status { padding: 12px 14px; border-radius: var(--radius-md); font-size: .88rem; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--green-50); color: var(--green-700); }
.form-status.is-error { background: var(--red-50); color: var(--red-700); }

.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; text-align: left; font-weight: 700; font-size: 1rem; color: var(--ink-900); }
.faq-q .icon { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease-out); color: var(--ink-400); }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease-out); }
.faq-a-inner { padding: 0 4px 18px; color: var(--ink-500); line-height: 1.65; }

.ad-slot { min-height: 100px; }

.toc { background: var(--gray-50); border-radius: var(--radius-lg); padding: 20px 22px; }
.toc h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.toc a { font-size: .92rem; font-weight: 600; color: var(--ink-700); }
.toc a:hover { color: var(--blue-600); }

.disclaimer-box { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-md); padding: 16px 18px; font-size: .88rem; color: var(--ink-700); display: flex; gap: 10px; }
.disclaimer-box svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-600); margin-top: 1px; }
.disclaimer-box.warn { background: var(--amber-50); border-color: var(--amber-100); }
.disclaimer-box.warn svg { color: var(--amber-600); }

/* =============================================================
   7. Sections: hero, quick-search, categories, product strip, etc.
   ============================================================= */
.hero { padding-block: 60px 44px; position: relative; overflow: clip; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-size: .83rem; color: var(--ink-500); }
.hero-trust li { display: flex; align-items: center; gap: 7px; list-style: none; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green-600); flex-shrink: 0; }
.hero-panel { background: linear-gradient(160deg, var(--blue-50), var(--white)); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-md); }
.hero-panel-photo { width: 100%; aspect-ratio: 8/5; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 18px; }

.intro-media { display: grid; gap: 28px; align-items: center; }
.intro-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
@media (min-width: 720px) { .intro-media { grid-template-columns: 1.15fr .85fr; } }

.card-stack { display: flex; align-items: flex-start; padding: 10px 0; }
.card-stack-item { width: 220px; flex-shrink: 0; filter: drop-shadow(0 16px 30px rgba(16,20,27,.18)); transition: transform .3s var(--ease-out); }
.card-stack-item svg { width: 100%; height: auto; display: block; border-radius: 20px; }
.card-stack-item:nth-child(2) { margin-left: -74px; transform: rotate(-6deg) translateY(16px); }
.card-stack-item:nth-child(3) { margin-left: -74px; transform: rotate(6deg) translateY(30px); }
.card-visual { max-width: 340px; filter: drop-shadow(0 16px 30px rgba(16,20,27,.18)); margin-bottom: 22px; }
.card-visual svg { width: 100%; height: auto; display: block; border-radius: 20px; }

.quick-finder { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px; margin-top: 28px; position: relative; z-index: 2; }
.quick-finder h2 { font-size: 1.05rem; margin-bottom: 4px; }
.quick-finder p { color: var(--ink-500); font-size: .88rem; margin-bottom: 16px; }
.quick-finder-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.quick-chip {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200); font-weight: 600; font-size: .88rem; transition: border-color .18s var(--ease-out), background .18s var(--ease-out);
}
.quick-chip:hover { border-color: var(--blue-500); background: var(--blue-50); }
.quick-chip svg { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; }

.category-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.category-card { display: flex; flex-direction: column; gap: 10px; }
.category-card .icon-wrap { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--blue-50); display: flex; align-items: center; justify-content: center; color: var(--blue-600); }
.category-card .icon-wrap svg { width: 22px; height: 22px; }
.category-card h3 { font-size: 1.05rem; }
.category-card p { color: var(--ink-500); font-size: .88rem; }
.category-card .count { margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--blue-600); }

.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.product-card { display: flex; flex-direction: column; gap: 14px; }
.product-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.product-card-head .badges { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card h3 { font-size: 1.05rem; margin-top: 4px; }
.product-card .provider { font-size: .82rem; color: var(--ink-500); font-weight: 600; }
.product-card .short { color: var(--ink-500); font-size: .9rem; flex: 1; }
.product-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.product-stat .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-400); font-weight: 700; }
.product-stat .value { font-size: 1rem; font-weight: 700; color: var(--ink-900); margin-top: 2px; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-updated { font-size: .74rem; color: var(--ink-300); }

.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tool-card { display: flex; flex-direction: column; gap: 10px; }
.tool-card .icon-wrap { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.tool-card .icon-wrap svg { width: 20px; height: 20px; }
.tool-card h3 { font-size: 1rem; }
.tool-card p { font-size: .86rem; color: var(--ink-500); }

.article-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.article-card { display: flex; flex-direction: column; gap: 10px; }
.article-card .cat { color: var(--blue-600); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.article-card h3 { font-size: 1.05rem; }
.article-card p { color: var(--ink-500); font-size: .9rem; }
.article-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--ink-400); margin-top: auto; }
.article-meta .dot::before { content: "·"; margin-right: 10px; }

.updates-list { display: flex; flex-direction: column; }
.update-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.update-row:first-child { border-top: 1px solid var(--gray-200); }
.update-row time { font-size: .8rem; color: var(--ink-400); font-weight: 600; }
.update-row .title { font-weight: 700; color: var(--ink-900); }
.update-row .title:hover { color: var(--blue-600); }

.newsletter { background: linear-gradient(135deg, var(--ink-900), #182238); border-radius: var(--radius-xl); padding: 44px; color: var(--white); display: grid; gap: 24px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.newsletter h2 { color: var(--white); }
.newsletter p { color: var(--ink-300); margin-top: 8px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 13px 16px; border-radius: var(--radius-pill); border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: var(--white); }
.newsletter-form input::placeholder { color: var(--ink-400); }
.newsletter-form input:focus { outline: none; border-color: var(--blue-500); }
.newsletter-note { font-size: .76rem; color: var(--ink-400); margin-top: 10px; }

/* =============================================================
   8. Comparator table + filters + calculators
   ============================================================= */
.comparator-layout { display: grid; gap: 24px; grid-template-columns: 260px 1fr; align-items: start; }
.filters-panel { position: sticky; top: calc(var(--nav-height) + 16px); background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; }
.filters-panel h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); margin-bottom: 14px; }
.filter-group + .filter-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.filter-option { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: .9rem; cursor: pointer; }
.filter-option input { width: 17px; height: 17px; accent-color: var(--blue-600); flex-shrink: 0; }
.filter-reset { margin-top: 16px; }

.comparator-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.comparator-search { position: relative; flex: 1; min-width: 220px; }
.comparator-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-400); }
.comparator-search input { width: 100%; padding: 10px 14px 10px 40px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-pill); }
.comparator-search input:focus { border-color: var(--blue-600); outline: none; box-shadow: 0 0 0 3px var(--blue-100); }
.comparator-sort select { border: 1.5px solid var(--gray-200); border-radius: var(--radius-pill); padding: 10px 14px; font-weight: 600; font-size: .88rem; }
.result-count { font-size: .85rem; color: var(--ink-500); font-weight: 600; }

.comparator-table-wrap { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; display: none; }
.comparator-table { width: 100%; font-size: .88rem; }
.comparator-table th { text-align: left; background: var(--gray-50); padding: 13px 16px; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-500); font-weight: 700; white-space: nowrap; }
.comparator-table td { padding: 14px 16px; border-top: 1px solid var(--gray-200); vertical-align: middle; }
.comparator-table tbody tr { transition: background .15s var(--ease-out); }
.comparator-table tbody tr:hover { background: var(--gray-50); }
.comparator-table .prod-name { font-weight: 700; color: var(--ink-900); }
.comparator-table .prod-provider { display: block; font-size: .78rem; color: var(--ink-400); font-weight: 500; }

.comparator-cards { display: grid; gap: 16px; }
.compare-empty { padding: 60px 20px; text-align: center; color: var(--ink-500); }
.compare-empty svg { width: 40px; height: 40px; margin-inline: auto 12px; color: var(--gray-200); }

.rating-bars { display: flex; flex-direction: column; gap: 10px; }
.rating-bar-row { display: grid; grid-template-columns: 140px 1fr 34px; align-items: center; gap: 12px; font-size: .86rem; }
.rating-bar-track { height: 8px; border-radius: var(--radius-pill); background: var(--gray-100); overflow: hidden; }
.rating-bar-fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--blue-500), var(--blue-600)); }
.rating-score { font-weight: 700; text-align: right; color: var(--ink-800); }

.pros-cons { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pros-cons-col { border-radius: var(--radius-lg); padding: 20px; }
.pros-cons-col.pros { background: var(--green-50); border: 1px solid var(--green-100); }
.pros-cons-col.cons { background: var(--red-50); border: 1px solid var(--red-100); }
.pros-cons-col h3 { font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.pros-cons-col.pros h3 { color: var(--green-700); }
.pros-cons-col.cons h3 { color: var(--red-700); }
.pros-cons-col ul { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.pros-cons-col li { display: flex; gap: 8px; font-size: .9rem; color: var(--ink-700); }
.pros-cons-col li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.pros-cons-col.pros li svg { color: var(--green-600); }
.pros-cons-col.cons li svg { color: var(--red-600); }

.spec-table { width: 100%; font-size: .92rem; }
.spec-table tr { border-bottom: 1px solid var(--gray-200); }
.spec-table tr:first-child { border-top: 1px solid var(--gray-200); }
.spec-table th { text-align: left; padding: 13px 4px; width: 44%; color: var(--ink-500); font-weight: 600; font-family: var(--font-sans); }
.spec-table td { padding: 13px 4px; font-weight: 600; color: var(--ink-900); }

.wizard { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 32px; max-width: 640px; margin-inline: auto; }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.wizard-progress span { height: 4px; flex: 1; border-radius: var(--radius-pill); background: var(--gray-100); }
.wizard-progress span.is-done { background: var(--blue-600); }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.wizard-options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.wizard-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); font-weight: 600; text-align: left; transition: border-color .18s var(--ease-out), background .18s var(--ease-out); }
.wizard-option:hover { border-color: var(--blue-500); }
.wizard-option.is-selected { border-color: var(--blue-600); background: var(--blue-50); }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.wizard-results { display: none; }
.wizard-results.is-active { display: block; }
.wizard-why { background: var(--gray-50); border-radius: var(--radius-md); padding: 16px 18px; font-size: .87rem; color: var(--ink-600); margin-top: 20px; }

/* Calculators */
.calc-layout { display: grid; gap: 28px; grid-template-columns: 1fr 1.1fr; align-items: start; }
.calc-inputs { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.calc-input-row { display: flex; flex-direction: column; gap: 6px; }
.calc-input-row .row-head { display: flex; justify-content: space-between; align-items: baseline; }
.calc-input-row label { font-weight: 700; font-size: .88rem; }
.calc-input-row .live-value { font-weight: 800; color: var(--blue-600); font-size: .95rem; }
.calc-input-row input[type="number"], .calc-input-row select {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 11px 14px; font-size: 1rem; font-weight: 600;
}
.calc-input-row input:focus, .calc-input-row select:focus { border-color: var(--blue-600); outline: none; box-shadow: 0 0 0 3px var(--blue-100); }
.calc-input-row input[type="range"] { width: 100%; accent-color: var(--blue-600); }

.calc-results { background: linear-gradient(160deg, var(--blue-50), var(--white)); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 26px; }
.calc-result-main { text-align: center; padding: 18px 0 26px; }
.calc-result-main .label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-500); }
.calc-result-main .value { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: var(--ink-900); margin-top: 6px; }
.calc-breakdown { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); padding-top: 18px; border-top: 1px solid var(--gray-200); }
.calc-breakdown-item .label { font-size: .78rem; color: var(--ink-500); font-weight: 600; }
.calc-breakdown-item .value { font-size: 1.15rem; font-weight: 800; color: var(--ink-900); margin-top: 2px; }
.calc-breakdown-item.positive .value { color: var(--green-700); }
.calc-chart { margin-top: 20px; }
.calc-chart svg { width: 100%; height: auto; display: block; }
.calc-chart-legend { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.calc-chart-legend li { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-500); list-style: none; }
.calc-chart-legend .dot { width: 10px; height: 10px; border-radius: 3px; }

/* =============================================================
   9. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .newsletter-form { max-width: 420px; }
}
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .quick-finder-grid { grid-template-columns: repeat(3, 1fr); }
  .pros-cons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .comparator-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .calc-layout { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 30px 24px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .update-row { grid-template-columns: 1fr; gap: 4px; }
  .pros-cons { grid-template-columns: 1fr; }
  .card-stack { padding-block: 6px 4px; }
  .card-stack-item { width: 132px; }
  .card-stack-item:nth-child(2) { margin-left: -46px; transform: rotate(-6deg) translateY(10px); }
  .card-stack-item:nth-child(3) { margin-left: -46px; transform: rotate(6deg) translateY(18px); }
  .card-visual { max-width: 100%; }
}
@media (min-width: 960px) {
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .container { padding-inline: 24px; }
}

/* Comparator responsive: table on desktop, cards on mobile */
@media (min-width: 860px) {
  .comparator-table-wrap { display: block; }
  .comparator-cards { display: none; }
}
@media (max-width: 859px) {
  .comparator-cards { display: grid; }
}

/* Print */
@media print {
  .site-header, .site-footer, .ad-slot, .mobile-nav, .search-modal { display: none !important; }
}
