:root {
  --bg: #f8f5f2;
  --surface: #fff;
  --surface2: #f1ebe5;
  --ink: #1b1614;
  --muted: #6e645a;
  --faint: #8c8177;
  --line: #e5ded7;
  --accent: #be4b2f;
  --accent-hover: #a63e25;
  --accent-soft: #f6e6df;
  --accent-text: #a83f24;
  --on-accent: #fff;
  --band: #1b1614;
  --band-ink: #f5efe9;
  --band-muted: #b0a79d;
  --band-line: #3a322c;
  --band-accent: #e07b5a;
  --ok: #2e7d46;
  --warn: #9a6a12;
  --err: #a8422c;
  --info: #2f6b8a;
  --shadow: 0 2px 10px rgba(27, 22, 20, .06);
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1240px;
  --measure: 720px;
  --radius-card: 10px;
  --radius-img: 12px;
}

[data-theme="dark"] {
  --bg: #161210;
  --surface: #211c18;
  --surface2: #2a241f;
  --ink: #f0eae3;
  --muted: #b5aa9e;
  --faint: #8c8177;
  --line: #372f29;
  --accent: #e07b5a;
  --accent-hover: #ea9075;
  --accent-soft: #3a2a22;
  --accent-text: #e58a6b;
  --on-accent: #1b1614;
  --band: #0f0c0a;
  --band-line: #332c26;
  --ok: #5bae77;
  --warn: #c99a3f;
  --err: #d96b50;
  --info: #6fa8c7;
  --shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body:has(.compare-drawer:not([hidden])) { padding-bottom: 92px; }
img, svg { display: block; max-width: 100%; }
button, input, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { border-radius: 4px; box-shadow: var(--focus-ring); outline: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
.container { width: min(100% - 64px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; border-radius: 6px; background: var(--accent); color: var(--on-accent); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); }
.site-header__top { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding-block: 12px 8px; }
.brand { display: inline-flex; flex-direction: column; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.brand__name span { color: var(--accent); }
.brand__tagline { margin-top: 4px; color: var(--faint); font-size: 11.5px; letter-spacing: .02em; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.search-pill { display: flex; width: 220px; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--faint); font-size: 13.5px; transition: border-color .18s; }
.search-pill:hover { border-color: var(--accent); color: var(--muted); }
.search-pill svg { width: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.icon-button:hover { border-color: var(--accent); color: var(--accent-text); }
.theme-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
[data-theme="light"] .theme-icon--sun, [data-theme="dark"] .theme-icon--moon { display: none; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 600; line-height: 1; transition: background .18s, border-color .18s, color .18s; }
.button--dark { background: var(--ink); color: var(--bg); }
.button--dark:hover { background: var(--accent); color: var(--on-accent); }
.button--accent { background: var(--accent); color: var(--on-accent); }
.button--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.button--secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button--secondary:hover { border-color: var(--accent); color: var(--accent-text); }
.main-nav { display: flex; gap: 30px; }
.main-nav a { padding: 10px 0 9px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.main-nav__mobile-search { display: none; }
.menu-button { display: none; width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .2s; }

/* Shared */
.eyebrow { display: inline-block; color: var(--accent-text); font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.eyebrow--on-dark { color: var(--band-accent); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-heading a { font-size: 13px; font-weight: 600; }
.section-title { margin: 0; font-size: clamp(28px, 4vw, 34px); letter-spacing: -.025em; line-height: 1.16; }
.section-lead { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.page-header { padding-block: 36px 26px; }
.breadcrumbs { margin-bottom: 9px; color: var(--faint); font-size: 12.5px; }
.breadcrumbs a { color: var(--accent-text); }
.card { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); transition: border-color .18s; }
a.card:hover, .card.is-clickable:hover { border-color: var(--accent); color: inherit; }
.meta { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--faint); }
.status-dot--active, .level--beginner { background: var(--ok); }
.status-dot--upcoming { background: var(--info); }
.level--medium { background: var(--warn); }
.level--advanced { background: var(--err); }
.badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.chip { display: inline-flex; min-height: 34px; align-items: center; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.notice { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--surface); }
.notice--accent { border-color: transparent; border-left-color: var(--accent); background: var(--accent-soft); }
.notice--tip { border-left-color: var(--ok); }
.notice--warning { border-left-color: var(--err); }
.notice__title { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.notice p:last-child { margin-bottom: 0; }

/* Home */
.home-hero { background: var(--band); color: var(--band-ink); }
.home-hero__main { display: grid; min-height: 350px; grid-template-columns: 1fr 1fr; }
.home-hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 46px 32px 46px 0; }
.home-hero__copy h1 { max-width: 600px; margin: 14px 0 12px; font-size: clamp(31px, 3.5vw, 42px); letter-spacing: -.025em; line-height: 1.12; }
.home-hero__copy p { max-width: 580px; margin: 0 0 20px; color: var(--band-muted); font-size: 16px; line-height: 1.55; }
.home-hero__meta { margin-left: 12px; color: var(--band-muted); font-size: 12.5px; }
.home-hero__image { position: relative; min-height: 350px; overflow: hidden; }
.home-hero__image::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--band), transparent 18%); content: ""; pointer-events: none; }
.home-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__secondary-wrap { border-top: 1px solid var(--band-line); }
.home-hero__secondary { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-secondary { padding: 18px 24px; border-right: 1px solid var(--band-line); color: var(--band-ink); }
.hero-secondary:first-child { padding-left: 0; }
.hero-secondary:last-child { border: 0; }
.hero-secondary:hover { background: rgba(255,255,255,.025); color: var(--band-ink); }
.hero-secondary strong { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.36; }
.start-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 34px 8px; }
.start-card { display: flex; min-height: 148px; flex-direction: column; gap: 5px; padding: 18px 20px; color: var(--ink); }
.start-card__number { color: var(--faint); font-family: var(--font-mono); font-size: 19px; }
.start-card strong { margin-top: 4px; font-size: 15.5px; }
.start-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.home-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding-block: 32px 40px; }
.compact-list { border-top: 1px solid var(--line); }
.compact-item { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.compact-item:hover { color: var(--accent-text); }
.compact-item strong { display: block; font-size: 15px; line-height: 1.35; }
.guide-row { display: grid; min-height: 75px; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink); }
.guide-row:hover { color: var(--accent-text); }
.guide-row img { width: 84px; height: 58px; border-radius: 8px; object-fit: cover; }
.guide-row strong { display: block; font-size: 15px; line-height: 1.3; }
.product-band { padding-block: 34px 38px; border-block: 1px solid var(--line); background: var(--surface2); }
.product-band__intro { display: flex; align-items: baseline; justify-content: space-between; }
.product-band h2 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.product-band p { max-width: 600px; margin: 6px 0 20px; color: var(--muted); font-size: 14px; }
.product-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-category { min-height: 94px; padding: 18px; color: var(--ink); }
.product-category strong { display: block; font-size: 15.5px; }
.product-category span { display: block; margin-top: 5px; color: var(--faint); font-size: 12.5px; }
.product-category--soon { border-style: dashed; background: transparent; box-shadow: none; }
.product-category--soon strong { color: var(--faint); }
.home-section { padding-block: 36px 8px; }
.technology-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.technology-card { display: flex; min-height: 192px; flex-direction: column; padding: 20px; color: var(--ink); }
.technology-card__icon { display: grid; width: 40px; height: 28px; place-items: center; margin-bottom: 16px; border: 2px solid var(--accent); border-radius: 4px; }
.technology-card__icon::after { width: 16px; height: 8px; border-radius: 1px; background: var(--accent); content: ""; }
.technology-card strong { font-size: 15.5px; line-height: 1.3; }
.technology-card p { margin: 7px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.48; }
.technology-card .meta { margin-top: auto; }
.topic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-bottom: 42px; }
.topic-card { padding: 17px; color: var(--ink); }
.topic-card strong { display: block; font-size: 15px; }
.topic-card p { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.trust-band { border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-block: 36px 42px; }
.trust-grid h2 { margin: 0 0 6px; font-size: 19px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.newsletter { display: flex; gap: 8px; margin-top: 15px; }
.newsletter input { width: min(100%, 300px); padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* Listings */
.listing-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 42px; padding-bottom: 56px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.news-item { display: block; padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink); }
.news-item:hover h2 { color: var(--accent-text); }
.news-item h2 { margin: 6px 0; font-size: 19px; line-height: 1.3; }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sidebar-card { padding: 20px; margin-bottom: 14px; }
.sidebar-card h2 { margin: 0 0 10px; color: var(--accent-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ad-placeholder { display: grid; min-height: 190px; place-items: center; border: 1px dashed var(--line); border-radius: 6px; color: var(--faint); font-size: 12px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 56px; }
.guide-card { overflow: hidden; color: var(--ink); }
.guide-card__image { height: 150px; overflow: hidden; background: var(--surface2); }
.guide-card__image img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { padding: 18px; }
.guide-card h2 { margin: 0 0 7px; font-size: 17px; line-height: 1.3; }
.guide-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.guide-card__meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--faint); font-size: 12px; }
.guide-card__meta .status-dot { margin: 5px 0 0; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 32px; }
.tech-list-card { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; color: var(--ink); }
.tech-list-card img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.tech-list-card__body { padding: 20px; }
.tech-list-card h2 { margin: 8px 0 6px; font-size: 18px; }
.tech-list-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.glossary-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; margin-bottom: 54px; border-radius: 10px; background: var(--band); color: var(--band-ink); }
.glossary-cta h2 { margin: 0 0 4px; font-size: 20px; }
.glossary-cta p { margin: 0; color: var(--band-muted); font-size: 14px; }

/* Articles */
.article-hero { padding: 38px 0 24px; }
.article-hero--dark { padding-block: 48px; background: var(--band); color: var(--band-ink); }
.article-hero__inner { max-width: 900px; }
.article-hero h1 { max-width: 900px; margin: 14px 0 12px; font-size: clamp(32px, 5vw, 42px); letter-spacing: -.025em; line-height: 1.14; }
.article-lead { max-width: 800px; margin: 0; color: var(--muted); font-size: 17.5px; line-height: 1.55; }
.article-hero--dark .article-lead { color: var(--band-muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; margin-top: 18px; color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.article-hero--dark .article-meta { color: var(--band-accent); }
.article-cover { width: min(100% - 64px, 1040px); height: min(52vw, 520px); margin: 8px auto 0; overflow: hidden; border-radius: var(--radius-img); background: var(--surface2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover figcaption { display: none; }
.article-layout { display: grid; max-width: 1040px; grid-template-columns: 230px minmax(0, var(--measure)); gap: 54px; padding-block: 40px 64px; }
.article-layout--center { display: block; max-width: var(--measure); }
.article-toc { position: sticky; top: 128px; align-self: start; padding-left: 16px; border-left: 2px solid var(--line); }
.article-toc__label { margin-bottom: 10px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-toc nav ul { padding: 0; margin: 0; list-style: none; }
.article-toc nav ul ul { display: none; }
.article-toc nav li { margin: 8px 0; }
.article-toc nav a { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.article-toc nav a:hover { color: var(--accent-text); }
.prose { min-width: 0; font-size: 16.5px; line-height: 1.68; }
.prose > :first-child { margin-top: 0; }
.prose h1 { display: none; }
.prose h2, .prose h3 { scroll-margin-top: 125px; letter-spacing: -.015em; line-height: 1.3; }
.prose h2 { margin: 42px 0 14px; font-size: 24px; }
.prose h3 { margin: 30px 0 10px; font-size: 19px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose blockquote { margin: 28px 0; padding: 15px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; margin: 26px 0; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.prose th { background: var(--surface2); font-weight: 600; text-align: left; }
.prose th, .prose td { padding: 11px 13px; border: 1px solid var(--line); }
.prose img { height: auto; margin-block: 26px; border-radius: var(--radius-img); }
.quick-summary { margin-bottom: 30px; padding: 20px 22px; border-radius: 8px; background: var(--accent-soft); }
.quick-summary h2 { margin: 0 0 10px; color: var(--accent-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.quick-summary ul { padding-left: 19px; margin: 0; }
.article-footer { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-footer h2 { font-size: 18px; }
.report-error { display: inline-flex; margin-top: 20px; color: var(--muted); font-size: 13px; }

/* Product */
.product-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-bottom: 60px; }
.product-filters { align-self: start; padding: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-group label, .filter-group__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.filter-group select { width: 100%; padding: 9px 34px 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chips .chip { min-height: 30px; padding: 5px 10px; font-size: 12px; }
.product-tools { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.product-tools__count { color: var(--muted); font-size: 13px; }
.product-results { display: grid; gap: 12px; }
.product-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; }
.product-row[hidden] { display: none; }
.product-row__image { display: grid; height: 88px; place-items: center; overflow: hidden; border-radius: 8px; background: var(--surface2); }
.product-row__image img { width: 100%; height: 100%; object-fit: cover; }
.product-row__copy h2 { margin: 4px 0 4px; font-size: 17px; }
.product-row__copy h2 a { color: var(--ink); }
.product-row__copy p { max-width: 600px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.product-row__data { min-width: 150px; text-align: right; }
.price { color: var(--ink); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.compare-button.is-selected { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding-block: 38px; }
.product-hero__image { display: grid; min-height: 370px; place-items: center; overflow: hidden; border-radius: 12px; background: var(--surface2); }
.product-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__copy { align-self: center; }
.product-hero h1 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 36px); letter-spacing: -.025em; }
.product-hero .price { margin-top: 20px; font-size: 22px; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 40px; padding-bottom: 60px; }
.spec-group { margin-bottom: 32px; }
.spec-group h2 { margin: 0 0 10px; font-size: 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th { width: 220px; padding: 11px 12px 11px 0; color: var(--muted); font-weight: 500; text-align: left; }
.spec-table td { padding: 11px 0; font-variant-numeric: tabular-nums; }

/* Search & compare */
.search-page { max-width: 860px; padding-block: 46px 70px; }
.search-field { display: flex; align-items: center; gap: 12px; margin: 24px 0 12px; padding: 14px 17px; border: 2px solid var(--accent); border-radius: 14px; background: var(--surface); }
.search-field svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; }
.search-results { margin-top: 24px; }
.search-result { display: block; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink); }
.search-result h2 { margin: 7px 0 3px; font-size: 18px; }
.search-result p { margin: 0; color: var(--muted); font-size: 13.5px; }
.compare-page { padding-bottom: 64px; overflow-x: auto; }
.compare-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.toggle { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; cursor: pointer; }
.toggle input { accent-color: var(--accent); }
.compare-table { display: grid; min-width: 760px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.compare-grid-row { display: grid; grid-template-columns: 210px repeat(var(--compare-count, 2), minmax(220px, 1fr)); }
.compare-grid-row > * { min-width: 0; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-grid-row > *:last-child { border-right: 0; }
.compare-product-head { background: var(--surface2); }
.compare-product-head strong { display: block; margin-bottom: 5px; }
.compare-product-head img { width: 100%; height: 100px; margin-bottom: 10px; border-radius: 8px; object-fit: cover; }
.compare-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.compare-value { font-size: 13px; font-variant-numeric: tabular-nums; }
.compare-value.is-different { background: var(--accent-soft); }
.compare-group { padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.empty-state { padding: 48px 24px; text-align: center; }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { max-width: 480px; margin: 0 auto 20px; color: var(--muted); }

/* Footer & compare drawer */
.site-footer { padding-top: 44px; background: var(--band); color: var(--band-ink); }
.site-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 46px; padding-bottom: 42px; }
.brand--footer { color: var(--band-ink); }
.brand--footer:hover { color: var(--band-ink); }
.brand--footer .brand__tagline { color: var(--band-muted); }
.site-footer__brand p { max-width: 390px; color: var(--band-muted); font-size: 13.5px; line-height: 1.55; }
.site-footer h2 { margin: 0 0 12px; color: var(--band-ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--band-muted); font-size: 13px; }
.site-footer a:hover { color: var(--band-accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid var(--band-line); color: var(--band-muted); font-size: 12px; }
.site-footer__bottom strong { color: var(--band-accent); }
.compare-drawer { position: fixed; z-index: 120; right: 0; bottom: 0; left: 0; background: var(--band); color: var(--band-ink); box-shadow: 0 -4px 24px rgba(0,0,0,.18); }
.compare-drawer__inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.compare-drawer__items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.compare-drawer__chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--band-line); border-radius: 999px; color: var(--band-ink); font-size: 12px; }
.compare-drawer__chip button { padding: 0; border: 0; background: none; color: var(--band-muted); cursor: pointer; }
.compare-drawer__actions { display: flex; align-items: center; gap: 12px; }
.text-button { padding: 7px; border: 0; background: none; color: var(--accent-text); cursor: pointer; font-weight: 600; }
.text-button--light { color: var(--band-muted); }

/* Responsive */
@media (max-width: 960px) {
  .container { width: min(100% - 40px, var(--container)); }
  .search-pill { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .search-pill span { display: none; }
  .home-hero__main { grid-template-columns: 1.1fr .9fr; }
  .home-hero__copy { padding-left: 0; }
  .start-grid, .product-category-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 190px minmax(0, var(--measure)); gap: 34px; }
  .product-layout { grid-template-columns: 220px 1fr; }
  .site-footer__grid { grid-template-columns: 2fr repeat(2, 1fr); }
  .site-footer__grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .container { width: min(100% - 32px, var(--container)); }
  .site-header__top { min-height: 64px; }
  .brand__name { font-size: 21px; }
  .brand__tagline { font-size: 9.5px; }
  .header-start { display: none; }
  .menu-button { display: block; }
  .main-nav { position: fixed; z-index: 99; top: 64px; right: 0; left: 0; display: none; width: 100%; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 12px 8px; border-bottom-width: 1px; }
  .main-nav__mobile-search { display: block; }
  .home-hero__main { grid-template-columns: 1fr; }
  .home-hero__copy { order: 2; padding: 28px 0 34px; }
  .home-hero__image { min-height: 250px; margin-inline: -16px; }
  .home-hero__image::after { background: linear-gradient(0deg, var(--band), transparent 30%); }
  .home-hero__meta { display: block; margin: 14px 0 0; }
  .home-hero__secondary { grid-template-columns: 1fr; }
  .hero-secondary, .hero-secondary:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--band-line); }
  .start-grid, .home-two-col, .technology-grid, .trust-grid, .listing-layout, .tech-grid, .product-hero, .product-detail { grid-template-columns: 1fr; }
  .start-grid { padding-top: 24px; }
  .start-card { min-height: 0; }
  .home-two-col { gap: 32px; }
  .product-category-grid, .card-grid { grid-template-columns: 1fr; }
  .product-category { min-height: 80px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { align-items: stretch; flex-direction: column; }
  .newsletter input { width: 100%; max-width: none; }
  .listing-layout { gap: 26px; }
  .listing-sidebar { order: -1; }
  .card-grid { gap: 13px; }
  .tech-list-card { grid-template-columns: 112px 1fr; }
  .tech-list-card__body { padding: 15px; }
  .glossary-cta { align-items: flex-start; flex-direction: column; }
  .article-cover { width: calc(100% - 32px); height: 56vw; }
  .article-layout { display: block; padding-top: 24px; }
  .article-toc { position: static; margin-bottom: 28px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; }
  .article-toc nav { display: none; }
  .article-toc.is-open nav { display: block; }
  .article-toc__label { margin: 0; cursor: pointer; }
  .article-toc.is-open .article-toc__label { margin-bottom: 10px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; }
  .prose table { display: block; overflow-x: auto; }
  .product-layout { display: block; }
  .product-filters { display: none; margin-bottom: 20px; }
  .product-filters.is-open { display: block; }
  .mobile-filter-button { display: inline-flex !important; }
  .product-row { grid-template-columns: 92px 1fr; }
  .product-row__image { height: 78px; }
  .product-row__data { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .product-hero__image { min-height: 270px; }
  .spec-table th { width: 42%; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__grid > div:last-child { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .compare-drawer__inner { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 12px; }
  .compare-drawer__actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 420px) {
  .site-header__actions { gap: 6px; }
  .search-pill, .icon-button, .menu-button { width: 38px; height: 38px; }
  .topic-grid { grid-template-columns: 1fr; }
  .tech-list-card { grid-template-columns: 1fr; }
  .tech-list-card img { height: 150px; min-height: 0; }
  .product-row { grid-template-columns: 1fr; }
  .product-row__image { height: 150px; }
  .product-row__data { grid-column: auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

.mobile-filter-button { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
