/* Furneet — global styles. Warm, editorial neutral palette with the logo's
   indigo/lavender as an accent only. */
:root {
  --accent: #4a2f8f;
  --accent-2: #6e54c0;
  --accent-dark: #342167;
  --accent-soft: #efe9fb;
  --accent-mist: #f8f6fc;
  --lavender: #a99bd8;
  --ink: #2a241d;
  --text: #4a4238;
  --muted: #7d7360;
  --line: #e9e0cf;
  --bg: #faf6ee;
  --panel: #fffdf8;
  --cream: #f3ecda;
  --white: #fff;
  --good: #2f7d5a;
  --good-soft: #e5f2ea;
  --warn: #b8762a;
  --warn-soft: #faf0df;
  --bad: #b1455c;
  --bad-soft: #f8e7ea;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(42, 36, 29, .06), 0 6px 20px rgba(42, 36, 29, .07);
  --shadow-lg: 0 14px 44px rgba(42, 36, 29, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Prevent a wide child (e.g. a table) from forcing a flex/grid ancestor, and
   therefore the whole page, wider than the viewport on narrow screens. */
.hero-grid > *, .two-col > *, .explore-layout > *, .compare-grid > *, .two-panels > *,
.grid > *, .proscons > *, .ba-grid > *, .compare-heads > *, .compare-summaries > *,
.footer-grid > *, .header-row > * { min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
.h3 { font-size: 1.35rem; } .h4 { font-size: 1.15rem; } .h5 { font-size: 1rem; font-family: var(--font); font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 44px; height: 44px; color: var(--accent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }
.js .no-js-only { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }
.section { padding: 48px 0; }
.section-tight { padding: 28px 0; }
.container.section { padding-top: 48px; padding-bottom: 48px; }
.band { background: var(--accent-mist); }
.band-cream { background: var(--cream); }
.band-accent { background: var(--accent-soft); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.13rem; color: var(--text); max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: .6em; }
.eyebrow a { color: inherit; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.6fr 1fr; align-items: start; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2; transition: transform .12s, background .15s, box-shadow .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(74, 47, 143, .3); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-cream { background: var(--cream); color: var(--accent-dark); }
.btn-cream:hover { background: #ecdfbd; color: var(--accent-dark); }
.btn-outline { background: #fff; border-color: var(--accent-2); color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-ghost-light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-small { padding: 7px 14px; font-size: .88rem; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.link-reset { font-size: .9rem; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(42, 36, 29, .03); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 150px; height: auto; }
@media (min-width: 1000px) { .brand img { width: 168px; } }
.site-nav { margin-left: auto; margin-right: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.site-nav a[aria-current] { background: var(--accent); color: #fff; }
.site-nav a[aria-current] .icon { color: var(--lavender); }
.site-nav .icon { color: var(--accent); width: 1.05em; height: 1.05em; }
.site-nav a[aria-current] .icon { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent-soft); color: var(--accent-dark); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: #e3d9f7; color: var(--accent-dark); }
.icon-btn .icon { width: 20px; height: 20px; }
.badge { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 900; line-height: 19px; text-align: center; }
.menu-toggle { display: none; }
@media (max-width: 999px) {
  .header-row { justify-content: space-between; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--panel); padding: 10px 16px 18px; display: none; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
}
.search-panel { background: var(--accent-mist); padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-form { position: relative; display: flex; align-items: center; gap: 10px; }
.search-form .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search-form input[type="search"] { flex: 1; padding: 11px 14px 11px 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); max-height: 360px; overflow: auto; z-index: 40; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; text-decoration: none; color: var(--text); }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--accent-soft); }
.suggest a small { margin-left: auto; color: var(--muted); }
.suggest-empty { padding: 10px 12px; color: var(--muted); }

/* Breadcrumbs */
.breadcrumbs { padding: 12px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 44px 0 38px; background: linear-gradient(180deg, var(--accent-mist), var(--bg) 85%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-art { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.hero-illustration { width: 100%; height: auto; display: block; margin: 4px 0 14px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 22px; margin: 20px 0; }
.stat { }
.stat b { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--accent-dark); }
.stat span { font-size: .85rem; color: var(--muted); }

/* Grids of cards */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* Room card */
.room-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .14s, box-shadow .14s; }
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.room-card .icon-xl { background: var(--accent-soft); border-radius: 12px; padding: 9px; width: 44px; height: 44px; }
.room-card h3 { margin: 0; }
.room-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.room-card .count { margin-top: auto; font-size: .82rem; font-weight: 800; color: var(--accent); }

/* Setup card */
.setup-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .14s, box-shadow .14s; position: relative; }
.setup-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.setup-card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.setup-card .room-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.setup-card h3 { margin: 0; font-size: 1.1rem; }
.setup-card h3 a { color: inherit; text-decoration: none; }
.setup-card h3 a:hover { color: var(--accent); }
.setup-card .tagline { color: var(--muted); font-size: .9rem; margin: 0; }
.setup-card .mini-criteria { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--cream); color: var(--ink); }
.chip .icon { width: .95em; height: .95em; }
.chip-good { background: var(--good-soft); color: var(--good); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.card-actions { display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--accent-mist); }
.card-actions .btn-small { flex: 1; }
.fav-btn, .cmp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .82rem; font-weight: 700; cursor: pointer; }
.fav-btn[aria-pressed="true"], .cmp-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.fav-btn .icon, .cmp-btn .icon { width: 1em; height: 1em; }
.match-badge { position: absolute; top: 12px; right: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; font-size: .74rem; font-weight: 900; color: var(--accent-dark); box-shadow: var(--shadow); }

/* Guide card */
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.guide-card h3 { margin: 0; font-size: 1.05rem; }
.guide-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.guide-card .meta { font-size: .78rem; color: var(--muted); display: flex; gap: 10px; }

/* Segmented bars (criteria) */
.segs { display: inline-flex; gap: 3px; vertical-align: middle; }
.segs i { width: 14px; height: 8px; border-radius: 3px; background: var(--line); display: inline-block; }
.segs.tone-good i.on { background: var(--good); }
.segs.tone-neutral i.on { background: var(--accent-2); }
.segs.tone-warn i.on { background: var(--warn); }
.seg-label { margin-left: 8px; font-size: .85rem; color: var(--muted); }
.criteria-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.criteria-row:last-child { border-bottom: 0; }
.criteria-row .crit-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; }
.criteria-row .crit-name .icon { color: var(--accent); }

/* Tone badges */
.tone-good { color: var(--good); }
.tone-warn { color: var(--warn); }
.tone-neutral { color: var(--accent-dark); }
.score-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 50%; font-weight: 900; font-size: 1rem; background: var(--accent-soft); color: var(--accent-dark); }
.score-badge.tone-good { background: var(--good-soft); color: var(--good); }
.score-badge.tone-warn { background: var(--warn-soft); color: var(--warn); }

/* Panels / sections */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.two-panels { display: grid; gap: 18px; }
@media (min-width: 900px) { .two-panels { grid-template-columns: 1fr 1fr; } }

/* Filters sidebar */
.filters { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 90px; }
.filters h2 { font-size: 1rem; font-family: var(--font); }
.filter-group { margin-bottom: 18px; }
.filter-group legend { font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; padding: 0; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-opt { position: relative; }
.filter-opt input { position: absolute; opacity: 0; }
.filter-opt span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; cursor: pointer; background: #fff; }
.filter-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-opt input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.explore-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .explore-layout { grid-template-columns: 260px 1fr; } }
.explore-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.explore-toolbar select { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.explore-count { font-weight: 800; color: var(--ink); margin-right: auto; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--accent-mist); font-weight: 800; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.best { background: var(--good-soft); font-weight: 800; }
.best-star { color: var(--good); margin-left: 4px; }
.compare-table { --n: 2; }

/* Compare page */
.compare-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) auto; gap: 10px; align-items: end; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.compare-picker .field label { display: block; font-size: .78rem; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.compare-picker select { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.vs-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.vs-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: inherit; }
.vs-card:hover { border-color: var(--accent-2); }
.vs-names { font-weight: 800; color: var(--ink); }
.vs-names em { color: var(--muted); font-style: normal; font-weight: 400; }
.vs-sim { font-size: .82rem; color: var(--accent); font-weight: 700; }
.compare-heads { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 14px; margin-bottom: 18px; }
.compare-head { position: relative; text-align: center; padding: 14px; background: var(--panel); border: 2px solid var(--c, var(--accent)); border-radius: var(--radius); }
.compare-head h2 { font-size: 1.05rem; margin: 6px 0; }
.compare-head .remove { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bad-soft); color: var(--bad); }
.compare-grid { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 900px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.radar-box { display: flex; flex-direction: column; align-items: center; }
.radar { width: 100%; max-width: 420px; height: auto; }
.radar-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar text { font-size: 11px; fill: var(--muted); font-family: var(--font); font-weight: 700; }
.radar-area { fill-opacity: .22; stroke-width: 2; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .85rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.diff-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.diff-list li { display: flex; align-items: flex-start; gap: 8px; }
.diff-list .icon { color: var(--accent); margin-top: 2px; }
.win-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.win-bars li { display: flex; align-items: center; gap: 10px; }
.win-bars span { width: 120px; font-size: .85rem; font-weight: 700; }
.win-bars b { position: relative; flex: 1; height: 10px; border-radius: 999px; background: var(--line); }
.win-bars b::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--c, var(--accent)); border-radius: 999px; }
.win-bars b::after { content: attr(data-v); position: absolute; left: calc(var(--w, 0%) + 8px); top: -4px; font-size: .8rem; font-weight: 800; color: var(--ink); }
.compare-summaries { display: grid; gap: 14px; grid-template-columns: repeat(var(--n, 2), 1fr); }
@media (max-width: 700px) { .compare-summaries, .compare-heads { grid-template-columns: 1fr 1fr; } }

/* Finder wizard */
.finder-wizard { max-width: 640px; margin: 0 auto; }
.finder-step { display: none; }
.finder-step.active { display: block; }
.finder-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.finder-progress span { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.finder-progress span.done { background: var(--accent); }
.option-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 18px 0; }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; }
.option-card span { display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 700; }
.option-card input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.option-card input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.option-card .icon { color: var(--accent); }
.finder-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.finder-results .setup-card { margin-bottom: 0; }

/* Checklists */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.checklist input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.checklist li.checked { text-decoration: line-through; color: var(--muted); background: var(--accent-mist); }
.checklist-progress { font-weight: 800; color: var(--accent-dark); margin-bottom: 10px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 800; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); flex: none; transition: transform .15s; }
.faq-item[open] summary .icon { transform: rotate(90deg); }
.faq-item p { margin-top: 10px; }

/* Before/after */
.ba-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.ba-card { padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.ba-card.before { background: var(--warn-soft); }
.ba-card.after { background: var(--good-soft); }
.ba-card h4 { margin: 0 0 8px; }

/* Pros/cons */
.proscons { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .proscons, .ba-grid { grid-template-columns: 1fr; } }
.pros, .cons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pros li, .cons li { display: flex; gap: 8px; align-items: flex-start; }
.pros .icon { color: var(--good); flex: none; margin-top: 2px; }
.cons .icon { color: var(--bad); flex: none; margin-top: 2px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.steps li { position: relative; padding-left: 44px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.steps h4 { margin: 0 0 4px; font-size: 1rem; }

/* Mistakes */
.mistakes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mistakes li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; background: var(--bad-soft); border-radius: 10px; }
.mistakes .icon { color: var(--bad); flex: none; margin-top: 2px; }

/* Related */
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); background: #fff; }
.related-list a:hover { border-color: var(--accent-2); color: var(--accent); }

/* Compare tray */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--accent-dark); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
.compare-tray-row { display: flex; align-items: center; gap: 14px; padding: 10px 16px; flex-wrap: wrap; }
.compare-tray-row p { margin: 0; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.compare-tray-items { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.compare-tray-items span { background: rgba(255, 255, 255, .14); padding: 5px 10px; border-radius: 999px; font-size: .8rem; display: flex; align-items: center; gap: 6px; }
.compare-tray-items button { background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; padding: 0; display: flex; }
.compare-tray-actions { display: flex; gap: 8px; }

/* Cookie bar / toast */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 560px; }
.cookie-bar p { margin: 0; font-size: .88rem; flex: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; z-index: 80; box-shadow: var(--shadow-lg); }

/* Footer */
.site-footer { background: var(--accent-dark); color: rgba(255, 255, 255, .85); padding: 48px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { font-size: .9rem; color: rgba(255, 255, 255, .72); }
.footer-title { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lavender); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul.inline-list { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 18px; font-size: .8rem; color: rgba(255, 255, 255, .55); }

/* Forms (contact) */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: .9rem; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 700; }
.alert-good { background: var(--good-soft); color: var(--good); }
.alert-bad { background: var(--bad-soft); color: var(--bad); }

/* Misc */
.divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.ad-slot { margin: 24px 0; text-align: center; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.page-head { padding: 34px 0 10px; }
.toc { background: var(--accent-mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.toc h2 { font-size: .95rem; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.space-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: .82rem; }
