:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .04);
  --shadow-lg: 0 4px 6px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 64px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, a, button, input { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--accent-hover); }
button, input { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .65em; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }

.container { width: min(calc(100% - 40px), var(--max-w)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.screen-reader-text { position: absolute; 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; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--text); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }

.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo, .footer__logo { color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.logo span, .footer__logo span { color: var(--accent); }
.custom-logo { width: auto; max-height: 44px; }
.nav__list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav__link, .nav a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav__link:hover, .nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { background: var(--accent-light); color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn, .burger { display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover, .burger:hover { border-color: var(--border); background: var(--bg-alt); }
.burger { display: none; gap: 4px; align-content: center; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.site-search { position: absolute; top: 100%; left: 0; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); color: var(--text); }

.page-hero { padding-block: clamp(64px, 10vw, 112px); background: linear-gradient(135deg, var(--bg-alt), var(--bg)); overflow: hidden; }
.page-hero--compact { padding-block: clamp(42px, 7vw, 72px); }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); align-items: center; gap: 64px; }
.page-hero__lead { max-width: 700px; color: var(--text-secondary); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.page-hero__meta, .content-card__meta { color: var(--text-muted); font-size: .875rem; }
.page-hero__placeholder { display: grid; aspect-ratio: 1.25; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); color: var(--accent); font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; box-shadow: var(--shadow-lg); }
.page-hero__media { min-width: 0; }
.page-hero__image { width: 100%; max-height: 520px; object-fit: contain; border-radius: var(--radius-lg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs { margin-bottom: 22px; color: var(--text-muted); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 9px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn--primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn--primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: #fff; }
.prose { max-width: 820px; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
.notice { padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border)); border-radius: var(--radius); background: var(--accent-light); color: var(--text-secondary); }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.content-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow); }
.content-card h2 { font-size: 1.3rem; }
.content-card h2 a { color: var(--text); text-decoration: none; }
.section--alt { background: var(--bg-alt); }
.section-header { max-width: 720px; margin-bottom: 34px; }
.section-title { margin-bottom: 0; }
.content-narrow { max-width: 820px; }
.prose--wide { max-width: var(--max-w); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { display: block; min-height: 220px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text-secondary); text-decoration: none; box-shadow: var(--shadow); }
.category-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); color: var(--text-secondary); box-shadow: var(--shadow-lg); }
.category-card h3 { margin-top: 26px; color: var(--text); }
.category-card__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; background: var(--accent-light); color: var(--accent); font-family: "JetBrains Mono", monospace; font-weight: 800; }
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.model-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow); }
.model-card__img { display: block; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.model-card__img img { width: 100%; height: 100%; object-fit: contain; }
.model-card__body { padding: 22px; }
.model-card__meta { min-height: 1.4em; margin-bottom: 8px; color: var(--accent); font-size: .82rem; font-weight: 700; }
.model-card__title { font-size: 1.2rem; }
.model-card__title a { color: var(--text); text-decoration: none; }
.model-card__desc { color: var(--text-secondary); font-size: .92rem; }
.model-card__link, .related-card__link { font-size: .9rem; font-weight: 700; text-decoration: none; }
.cta-block { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg); background: #0f172a; color: #cbd5e1; box-shadow: var(--shadow-lg); }
.cta-block h2 { color: #f8fafc; }
.cta-block p:last-child { margin-bottom: 0; }
.line-badge, .price-cell { display: inline-flex; margin-top: 16px; padding: 7px 11px; border-radius: 999px; background: var(--accent-light); color: var(--accent); font-size: .86rem; font-weight: 700; }
.editorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.editorial-content { max-width: none; min-width: 0; }
.editorial-sidebar { min-width: 0; }
.sticky-card, .article-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow); }
.article-toc nav { display: grid; gap: 9px; margin-top: 14px; }
.article-toc a { color: var(--text-secondary); font-size: .88rem; line-height: 1.4; text-decoration: none; }
.article-toc a:hover { color: var(--accent); }
.review-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 32px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); }
.review-summary p { margin: 0; }
.rating { display: inline-flex; align-items: baseline; gap: 4px; color: var(--accent); }
.rating strong { font-size: 1.6rem; }
.rating span, .verified { color: var(--text-muted); font-size: .85rem; }

/* Catalogue product artwork is always square, regardless of prototype page CSS. */
.models-grid .model-card__img,
.model-grid .model-card__img {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
  overflow: hidden !important;
}
.models-grid .model-card__img img,
.model-grid .model-card__img img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* Product price sits prominently between the hero lead and purchase actions. */
.page-hero__price {
  display: flex;
  width: 100%;
  max-width: 700px;
  justify-content: flex-start;
  margin: 26px 0 18px;
}
.page-hero__price .line-badge {
  margin: 0;
  padding: 10px 20px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.2;
}
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.specs-table, .comparison-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--bg-card); }
.specs-table th, .specs-table td, .comparison-table th, .comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.specs-table th { width: 36%; color: var(--text-secondary); font-weight: 600; }
.comparison-table thead th { background: var(--bg-alt); color: var(--text); }
.comparison-table tbody th { color: var(--text-secondary); }
.comparison-table .highlight { color: var(--accent); font-weight: 700; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-block, .cons-block { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.pros-block { background: color-mix(in srgb, var(--success) 7%, var(--bg-card)); }
.cons-block { background: color-mix(in srgb, var(--danger) 6%, var(--bg-card)); }
.pros-block li::marker { color: var(--success); }
.cons-block li::marker { color: var(--danger); }
.verdict-card { margin-top: 40px; padding: clamp(24px, 5vw, 44px); border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--border)); border-radius: var(--radius-lg); background: var(--accent-light); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border: 0; background: transparent; color: var(--text); text-align: left; font-weight: 700; cursor: pointer; }
.faq-q__icon { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--accent-light); color: var(--accent); font-size: 1.2rem; transition: transform .2s ease; }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a { padding: 0 46px 18px 0; color: var(--text-secondary); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-card { display: flex; min-height: 190px; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text-secondary); text-decoration: none; box-shadow: var(--shadow); }
.related-card:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); color: var(--text-secondary); box-shadow: var(--shadow-lg); }
.related-card__cat { margin-bottom: 18px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.related-card__title { margin-bottom: 12px; color: var(--text); font-size: 1.1rem; line-height: 1.35; }
.related-card__link { margin-top: auto; padding-top: 18px; color: var(--accent); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn { display: inline-flex; padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-secondary); font-size: .87rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.filter-btn:hover, .filter-btn.is-active { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }
.special-toolbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; margin-bottom: 30px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.special-search { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-card); color: var(--text); }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.page-numbers { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; }
.page-numbers.current { border-color: var(--accent); background: var(--accent); color: #fff; }

.footer { padding-top: 64px; border-top: 1px solid var(--border); background: #0f172a; color: #cbd5e1; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.footer__logo { display: inline-block; margin-bottom: 18px; color: #f8fafc; }
.footer__desc { max-width: 360px; color: #94a3b8; font-size: .92rem; }
.footer__title { margin-bottom: 16px; color: #f8fafc; font-size: .84rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.footer__links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer__links a { color: #94a3b8; font-size: .9rem; text-decoration: none; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 52px; padding-block: 22px; border-top: 1px solid #334155; color: #64748b; font-size: .78rem; }

@media (max-width: 900px) {
  .burger { display: grid; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; padding: 14px 20px 20px; border-bottom: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); }
  .menu-open .nav { display: block; }
  .nav__list { display: grid; }
  .nav__link, .nav a { padding: 12px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .page-hero__placeholder { max-width: 520px; width: 100%; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-layout { grid-template-columns: 1fr; gap: 36px; }
  .editorial-sidebar { order: -1; }
  .sticky-card, .article-toc { position: static; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max-w)); }
  .icon-btn { width: 36px; height: 36px; }
  .cards-grid, .category-grid, .model-grid, .related-grid, .pros-cons, .footer__grid { grid-template-columns: 1fr; }
  .cta-block { align-items: flex-start; flex-direction: column; }
  .footer__grid { gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .search-form { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
