/* Karen Verified — design system
   Tokens → base → layout → components → utilities.
   Three type families: Bricolage Grotesque (display), Inter (UI/body), JetBrains Mono (data). */

:root {
  /* Color tokens */
  /* Brand: lifted from the Karen mark — yellow hair, lilac tile, ink outlines, red lips, skin. */
  --paper: #F7F0FF;
  --paper-2: #EFE3FF;
  --white: #FFFFFF;
  --ink: #202020;
  --ink-2: #3E3A44;
  --ink-3: #6B6473;
  --line: #202020;
  --line-soft: #D9CCE8;
  --line-strong: #202020;
  --muted: #EDE2FA;
  --dark: #202020;
  --dark-2: #2E2B33;
  --lilac: #E4AFFF;
  --lilac-dark: #7B3FB5;
  --lilac-tint: #F3E3FF;
  --yellow: #FBE300;
  --yellow-dark: #A3950D;
  --yellow-tint: #FFF9C2;
  --skin: #FFDBAC;
  --red: #D0121A;
  --red-dark: #A50E14;
  --red-tint: #FDE3E4;
  --cobalt: #7B3FB5;
  --cobalt-dark: #5C2A8C;
  --cobalt-tint: #F3E3FF;
  --green: #1F6B3A;
  --green-tint: #E3F1E7;
  --marigold: #A85A06;
  --marigold-tint: #FFF3D6;
  --gray: #5A5652;
  --info: #1A5A8A;
  --info-tint: #E1EEF7;
  --focus: #7B3FB5;
  --pop: 4px 4px 0 var(--ink);
  --pop-sm: 3px 3px 0 var(--ink);

  /* Type */
  --serif: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.6rem, 6.5vw, 5.5rem);
  --fs-title: clamp(2rem, 4.2vw, 3.4rem);
  --fs-section: clamp(1.6rem, 3vw, 2.4rem);
  --fs-card: 1.25rem;
  --fs-body-lg: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-label: 0.75rem;

  /* Space & shape */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius: 10px;
  --radius-lg: 18px;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(.2,.7,.2,1);
  --t: 180ms var(--ease);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .4em; font-family: var(--serif); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--fs-title); }
h2 { font-size: var(--fs-section); }
h3 { font-size: var(--fs-card); font-weight: 800; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lilac-dark); }
strong { font-weight: 650; }
small { font-size: var(--fs-small); }
code, .mono { font-family: var(--mono); font-size: .92em; }
hr { border: 0; border-top: 2px solid var(--ink); margin: var(--s-6) 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); z-index: 1000; font-weight: 600; }
.skip-link:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--dark { background: var(--dark); color: #F7F0FF; }
.section--dark a:hover { color: var(--yellow); }
.section--muted { background: var(--lilac); }
.section--yellow { background: var(--yellow); }
.section--white { background: var(--white); }
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(4, 1fr); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, 1fr); } }
.cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.cards--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; font-size: 1.75rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding-left: 1em; border-left: 4px solid var(--yellow); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.stack > * + * { margin-top: var(--s-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-6); flex-wrap: wrap; }
.section-head p { max-width: 60ch; color: var(--ink-2); margin: 0; }
.section--dark .section-head p { color: #D9CCE8; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-family: var(--sans); font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--yellow); display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 6px; margin-bottom: var(--s-3); transform: rotate(-1.5deg); }
.section--dark .eyebrow { color: var(--ink); }
.display { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; line-height: .95; }
.lede { font-size: var(--fs-body-lg); color: var(--ink-2); max-width: 60ch; }
.section--dark .lede { color: #D9CCE8; }
.dek { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); margin-bottom: 1em; }
.meta { font-size: var(--fs-small); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
.meta a { color: inherit; }
.data { font-family: var(--mono); font-size: .85rem; }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; box-shadow: var(--pop-sm); transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t); white-space: nowrap; }
.btn:hover { background: var(--ink-2); color: #fff; transform: translate(-1px,-1px); box-shadow: var(--pop); }
.btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #FFF04D; color: var(--ink); }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--lilac); color: var(--ink); }
.btn--light { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--lilac); }
.btn--light:hover { background: #FFF04D; color: var(--ink); box-shadow: 4px 4px 0 var(--lilac); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: .875rem; }
.btn--cobalt { background: var(--lilac); color: var(--ink); }
.btn--cobalt:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); }
.btn .icon { width: 18px; height: 18px; }
.btn--loading { position: relative; color: transparent !important; }
.btn--loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid transparent; background: transparent; cursor: pointer; transition: background var(--t), border-color var(--t); position: relative; }
.iconbtn:hover { background: var(--yellow); }
.iconbtn .icon { width: 22px; height: 22px; }
.iconbtn[aria-pressed="true"] { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.iconbtn[aria-pressed="true"] .icon-fill { fill: currentColor; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #F7F0FF; font-size: .9rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: var(--s-4); min-height: 40px; padding-block: 6px; }
.announce a { color: var(--yellow); font-weight: 700; }
.announce .iconbtn { width: 36px; height: 36px; color: #F7F0FF; margin-left: auto; }
.announce .iconbtn:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(247,240,255,.94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 2px solid var(--ink); transition: box-shadow var(--t); }
.header.is-compact { box-shadow: 0 4px 0 var(--lilac); }
.header .wrap { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); transition: min-height var(--t); }
.header.is-compact .wrap { min-height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo .seal { width: 34px; height: 34px; }
.nav { display: none; align-items: center; gap: 2px; margin-left: var(--s-4); }
.nav > li { list-style: none; position: relative; }
.nav ul { margin: 0; padding: 0; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover { background: var(--yellow); color: var(--ink); }
.nav a[aria-current="page"], .nav a.is-active { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav .icon { width: 16px; height: 16px; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown.is-open { display: grid; }
.dropdown a { display: block; padding: 8px 10px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; }
.dropdown a small { display: block; font-weight: 400; color: var(--ink-3); font-size: .78rem; line-height: 1.3; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.badge-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.badge-count[data-count="0"] { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn { display: none; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__scrim { position: absolute; inset: 0; background: rgba(23,23,23,.5); }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); background: var(--paper); overflow: auto; padding: var(--s-4) var(--s-5) var(--s-7); box-shadow: var(--shadow-lg); animation: slideIn .25s var(--ease); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.mobile-menu h4 { margin: var(--s-5) 0 var(--s-2); color: var(--ink-3); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 10px 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
.mobile-menu .mobile-menu__cats li a { font-weight: 500; font-size: .95rem; padding: 8px 0; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(23,23,23,.55); padding: 8vh var(--gutter); }
.search-overlay.is-open { display: block; }
.search-panel { max-width: 760px; margin: 0 auto; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--yellow); overflow: hidden; animation: pop .2s var(--ease); }
@keyframes pop { from { transform: translateY(8px) scale(.99); opacity: 0; } to { transform: none; opacity: 1; } }
.search-field { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 2px solid var(--ink); }
.search-field input { flex: 1; min-height: 48px; border: 0; background: transparent; font-size: 1.2rem; font-family: var(--sans); color: var(--ink); }
.search-field input:focus { outline: none; }
.search-results { max-height: 60vh; overflow: auto; padding: var(--s-2) 0; }
.search-group { padding: var(--s-2) var(--s-4); }
.search-group h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: var(--s-2) 0; }
.search-group a { display: flex; gap: var(--s-3); align-items: center; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; }
.search-group a:hover, .search-group a.is-focused { background: var(--yellow-tint); color: var(--ink); }
.search-group a .thumb { width: 40px; height: 40px; border-radius: 6px; flex: none; }
.search-group a small { color: var(--ink-3); }
.search-empty { padding: var(--s-5) var(--s-4); color: var(--ink-2); }
.search-inline { display: flex; gap: var(--s-2); }
.search-inline input { flex: 1; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: .9rem; }
.field .hint { font-size: .85rem; color: var(--ink-3); }
.field .error-msg { font-size: .85rem; color: var(--red-dark); display: none; }
.field.is-invalid .error-msg { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="password"], input[type="number"], select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; font: inherit; color: var(--ink); transition: border-color var(--t), box-shadow var(--t); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lilac-dark); flex: none; }
.form-row { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-status { padding: 12px 16px; border-radius: var(--radius); font-weight: 600; margin-top: var(--s-4); display: none; }
.form-status.is-success { display: block; background: var(--green-tint); color: var(--green); }
.form-status.is-error { display: block; background: var(--red-tint); color: var(--red-dark); }
.form-status.is-info { display: block; background: var(--info-tint); color: var(--info); }

/* ---------- Verdict badges & seal ---------- */
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; border: 2px solid var(--ink); white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); }
.verdict .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.verdict--verified { background: var(--yellow); color: var(--ink); }
.verdict--worth-it { background: #BFEACB; color: var(--ink); }
.verdict--catch { background: #FFD59A; color: var(--ink); }
.verdict--sale { background: var(--lilac); color: var(--ink); }
.verdict--not-verified { background: #fff; color: var(--ink); }
.verdict--hard-pass { background: var(--red); color: #fff; }
.verdict--insufficient { background: #fff; color: var(--ink); border-style: dashed; box-shadow: none; }
.section--dark .verdict { box-shadow: 2px 2px 0 var(--lilac); }
.verdict--lg { font-size: .95rem; padding: 9px 16px; }
.verdict--lg .icon { width: 18px; height: 18px; }
.seal { width: 120px; height: 120px; }
.seal--stamp { animation: stamp .5s var(--ease) both; }
@keyframes stamp { 0% { transform: scale(1.4) rotate(-8deg); opacity: 0; } 60% { transform: scale(.96) rotate(-6deg); opacity: 1; } 100% { transform: scale(1) rotate(-6deg); } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); position: relative; box-shadow: 3px 3px 0 var(--ink); }
.card:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.card__media { background: var(--lilac-tint); aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .verdict { position: absolute; left: 12px; top: 12px; }
.card__actions { position: absolute; right: 8px; top: 8px; display: flex; gap: 2px; z-index: 2; }
.card__actions .iconbtn { width: 38px; height: 38px; background: #fff; border: 2px solid var(--ink); }
.card__actions .iconbtn:hover { background: var(--yellow); }
.card__actions .iconbtn[aria-pressed="true"] { background: var(--yellow); }
.card__body { padding: var(--s-4) var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.card__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 800; line-height: 1.1; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__title a:hover { color: var(--lilac-dark); }
.card__reason { color: var(--ink-2); margin: 0; font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: var(--s-3); display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); border-top: 2px dashed var(--line-soft); }
.price { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; }
.price small { display: block; font-family: var(--sans); font-weight: 400; color: var(--ink-3); font-size: .75rem; }
.card__links { display: flex; gap: var(--s-2); position: relative; z-index: 2; }
.card__links a { font-size: .85rem; font-weight: 600; }
.demo-tag { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: var(--ink); background: var(--yellow-tint); border: 1px solid var(--ink); padding: 2px 6px; border-radius: 4px; }
.card--dark { background: var(--dark-2); border-color: var(--lilac); color: #F7F0FF; box-shadow: 3px 3px 0 var(--lilac); }
.card--dark .card__reason, .card--dark .card__cat { color: #D9CCE8; }
.card--dark .card__foot { border-color: #4A4552; }
.card--dark .card__media { background: #3B3641; border-color: var(--lilac); }
.card--dark:hover { box-shadow: 6px 6px 0 var(--lilac); }

/* Editorial card */
.ecard { display: grid; gap: var(--s-3); text-decoration: none; }
.ecard__media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: box-shadow var(--t), transform var(--t); }
.ecard:hover .ecard__media { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.ecard__media svg { width: 100%; height: 100%; }
.ecard h3 { font-size: 1.4rem; margin: 0; }
.ecard:hover h3 { color: var(--lilac-dark); }
.ecard p { margin: 0; color: var(--ink-2); }

/* Category card */
.catcard { display: block; padding: var(--s-5); border: 2px solid var(--ink); border-radius: var(--radius-lg); background: #fff; text-decoration: none; transition: transform var(--t), box-shadow var(--t), background var(--t); position: relative; box-shadow: 3px 3px 0 var(--ink); }
.catcard:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); background: var(--yellow); color: var(--ink); }
.catcard h3 { margin: 0 0 6px; font-size: 1.5rem; }
.catcard p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.catcard .icon { position: absolute; right: 18px; top: 18px; color: var(--ink-3); }

/* Compact row */
.row-card { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-3); border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.row-card .thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.row-card h4 { margin: 0; font-size: 1rem; }
.row-card h4 a { text-decoration: none; }
.row-card p { margin: 2px 0 0; font-size: .88rem; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; gap: var(--s-7); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: var(--fs-display); font-weight: 500; letter-spacing: -0.03em; line-height: .98; margin-bottom: .35em; }
.hero h1 em { font-style: normal; font-weight: 800; color: var(--lilac-dark); background: linear-gradient(transparent 55%, var(--yellow) 55%); padding: 0 .1em; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-visual svg { width: 100%; height: 100%; }
.annot { position: absolute; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 800; box-shadow: var(--pop-sm); white-space: nowrap; animation: float 6s ease-in-out infinite; z-index: 2; }
.annot::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); left: -16px; top: 50%; transform: translateY(-50%); }
.annot--red { background: var(--red); color: #fff; }
.annot--red::before { background: var(--red); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hero .seal-wrap { position: absolute; right: -10px; bottom: -10px; width: 130px; z-index: 3; }
.hero-visual img { width: 100%; height: auto; }
.trust-line { font-size: .9rem; color: var(--ink-3); margin-top: var(--s-4); display: flex; align-items: center; gap: 8px; }
.trust-line .icon { width: 16px; height: 16px; color: var(--lilac-dark); }

/* ---------- Filters / chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-weight: 700; font-size: .875rem; cursor: pointer; transition: background var(--t), color var(--t), box-shadow var(--t); text-decoration: none; color: var(--ink); }
.chip:hover { background: var(--yellow-tint); box-shadow: 2px 2px 0 var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--yellow); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.chip .icon { width: 14px; height: 14px; }
.chip--remove { background: var(--lilac); }
.filterbar { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; padding: var(--s-3) 0; border-block: 2px solid var(--ink); margin-bottom: var(--s-5); position: sticky; top: var(--header-h); background: var(--paper); z-index: 20; }
.filterbar select { width: auto; min-height: 40px; padding: 6px 32px 6px 12px; font-size: .9rem; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: var(--s-4); min-height: 20px; }
.active-filters:empty { display: none; }
.results-count { font-size: .9rem; color: var(--ink-3); }

/* Filter drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(23,23,23,.5); }
.drawer__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; overflow: auto; background: var(--paper); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--s-4) var(--s-5) var(--s-7); box-shadow: var(--shadow-lg); }
.drawer fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }
.drawer legend { font-weight: 700; margin-bottom: var(--s-2); }
.drawer .check { padding: 6px 0; }
@media (min-width: 1024px) { .drawer { position: static; display: block; } .drawer__scrim { display: none; } .drawer__panel { position: static; max-height: none; box-shadow: none; padding: 0; background: transparent; border-radius: 0; } .drawer .drawer__close { display: none; } }
.layout-side { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .layout-side { grid-template-columns: 260px 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius-lg); background: #fff; -webkit-overflow-scrolling: touch; box-shadow: 4px 4px 0 var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
th { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--lilac-tint); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--yellow-tint); }
.table--sticky th:first-child, .table--sticky td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 var(--line-soft); font-weight: 700; }
.table--sticky thead th:first-child { background: var(--lilac-tint); }
.table--compare td.is-winner { background: var(--yellow-tint); font-weight: 700; position: relative; }
.table--compare td.is-winner::before { content: "✓ "; color: var(--green); }
.table--compare tr.is-same { color: var(--ink-3); }
.table--compare.diff-only tr.is-same { display: none; }
.spec-table th { width: 40%; background: transparent; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink-2); }
.spec-table td { font-family: var(--mono); font-size: .88rem; }

/* ---------- Review page ---------- */
.review-head { padding-top: var(--s-6); }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: var(--s-4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--lilac-dark); text-decoration: underline; }
.review-layout { display: grid; gap: var(--s-7); grid-template-columns: 1fr; }
.review-layout > *, .grid > *, .layout-side > *, .cards > *, .row-card > *, .deal > * { min-width: 0; }
.gallery__main img, .gallery__thumb img, .ecard__media img, .deal__media img, .card__media img, .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .review-layout { grid-template-columns: 1fr 340px; align-items: start; } }
.review-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--s-5); }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); margin-block: var(--s-5); }
.gallery__main { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); border: 2px solid var(--ink); cursor: zoom-in; position: relative; box-shadow: 4px 4px 0 var(--ink); }
.gallery__main svg { width: 100%; height: 100%; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; background: rgba(32,32,32,.85); color: #fff; font-size: .85rem; }
.gallery__thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 2px solid var(--line-soft); background: var(--paper-2); cursor: pointer; padding: 0; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.gallery__thumb svg { width: 100%; height: 100%; }
.verdict-box { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-5); display: grid; gap: var(--s-4); position: relative; box-shadow: 5px 5px 0 var(--ink); }
.verdict-box::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 6px; background: var(--yellow); border-radius: 0 4px 4px 0; border-right: 2px solid var(--ink); }
.verdict-box h2 { font-size: 1.15rem; font-family: var(--sans); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; margin: 0; }
.verdict-box .short { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin: 0; font-weight: 500; }
.kv { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .kv { grid-template-columns: 1fr 1fr; } }
.kv div { background: var(--paper); border-radius: var(--radius); padding: 12px 14px; border: 1.5px solid var(--line-soft); }
.kv dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.kv dd { margin: 0; font-size: .95rem; }
.kv .is-catch { grid-column: 1 / -1; background: var(--red-tint); border: 2px solid var(--red); }
.kv .is-catch dt { color: var(--red-dark); }
.callout { border-radius: var(--radius-lg); padding: var(--s-5); margin: var(--s-6) 0; border: 2px solid var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.callout--catch { background: var(--red-tint); border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.callout--catch h3 { color: var(--red-dark); display: flex; align-items: center; gap: 8px; }
.callout--info { background: var(--info-tint); border-color: var(--info); }
.callout--warn { background: var(--marigold-tint); border-color: var(--marigold); }
.callout--demo { background: var(--yellow-tint); border: 2px dashed var(--ink); font-size: .9rem; padding: 12px 16px; margin: var(--s-4) 0; display: flex; gap: 10px; align-items: flex-start; box-shadow: none; }
.callout--demo .icon { color: var(--ink); flex: none; margin-top: 2px; }
.proscons { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin: var(--s-5) 0; }
@media (min-width: 720px) { .proscons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) { .grid[style*='1fr 1fr'] { grid-template-columns: 1fr !important; } .row-card { grid-template-columns: 56px minmax(0,1fr); } .row-card > :nth-child(3) { grid-column: 2; } .row-card .thumb { width: 56px; height: 56px; } }
.proscons > div { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-4) var(--s-5); box-shadow: 3px 3px 0 var(--ink); }
.proscons h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--line-soft); }
.proscons li:first-child { border-top: 0; }
.proscons li::before { position: absolute; left: 0; top: 6px; font-weight: 700; }
.pros li::before { content: "+"; color: var(--green); }
.cons li::before { content: "−"; color: var(--red); }
.retailers { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-4); display: grid; gap: var(--s-3); box-shadow: 4px 4px 0 var(--ink); }
.retailers h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 12px; border: 1.5px solid var(--line-soft); border-radius: var(--radius); }
.offer__name { font-weight: 600; }
.offer__meta { font-size: .8rem; color: var(--ink-3); grid-column: 1 / -1; }
.offer .price { font-size: 1.15rem; }
.offer .btn { grid-column: 1 / -1; }
.disclosure { font-size: .8rem; color: var(--ink-3); line-height: 1.45; }
.sparkline { width: 100%; height: 56px; }
.review-nav { position: sticky; top: var(--header-h); z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); margin-bottom: var(--s-6); }
.review-nav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.review-nav ol::-webkit-scrollbar { display: none; }
.review-nav a { display: block; padding: 12px 12px; font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--ink-2); border-bottom: 2px solid transparent; }
.review-nav a.is-active, .review-nav a:hover { color: var(--ink); border-color: var(--ink); background: var(--yellow); }
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 0; background: var(--yellow); border-bottom: 1px solid var(--ink); z-index: 500; transition: width 80ms linear; }
.review-section { padding-block: var(--s-5); border-top: 2px solid var(--line-soft); scroll-margin-top: 130px; }
.review-section:first-of-type { border-top: 0; }
.review-section h2 { font-size: 1.7rem; }
.test-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .test-grid { grid-template-columns: 1fr 1fr; } }
.test-grid div { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 14px; font-size: .92rem; }
.test-grid dt { font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.test-grid dd { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--ink); }
.timeline li { padding: 0 0 var(--s-4) var(--s-5); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.timeline time { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); display: block; }
.timeline .changed { color: var(--red-dark); font-weight: 600; font-size: .85rem; }
.author-card { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: 3px 3px 0 var(--ink); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--lilac); color: var(--ink); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; flex: none; }
.avatar--lg { width: 120px; height: 120px; font-size: 2rem; }
.author-card h4 { margin: 0; }
.author-card p { margin: 2px 0 0; font-size: .88rem; color: var(--ink-2); }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 2px solid var(--ink); padding: 10px var(--gutter); display: flex; gap: 10px; align-items: center; transform: translateY(100%); transition: transform var(--t); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.sticky-bar.is-visible { transform: none; }
.sticky-bar .price { font-size: 1rem; }
.sticky-bar .btn { margin-left: auto; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* ---------- Accordion / Tabs / FAQ ---------- */
.accordion { border-top: 2px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform var(--t); flex: none; }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .accordion__body { padding: 0 0 16px; color: var(--ink-2); max-width: var(--measure); }
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--ink); margin-bottom: var(--s-5); overflow-x: auto; }
.tabs button { padding: 12px 16px; border: 0; background: none; font-weight: 600; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; color: var(--ink-2); }
.tabs button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); background: var(--yellow); }
.tabs button:hover { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-5); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--s-5); background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: 4px 4px 0 var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-weight: 800; font-size: 2.4rem; color: var(--ink); background: var(--yellow); display: inline-block; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 10px; line-height: 1.1; margin-bottom: var(--s-3); transform: rotate(-3deg); }
.step h3 { font-size: 1.25rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.newsletter .eyebrow { background: var(--lilac); }
.newsletter h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.newsletter p { color: var(--ink-2); }
.newsletter form { display: grid; gap: 12px; }
.newsletter input { border: 2px solid var(--ink); min-height: 52px; }
.newsletter .btn { background: var(--ink); border-color: var(--ink); min-height: 52px; }
.newsletter .btn:hover { background: var(--lilac-dark); }
.newsletter .check { color: var(--ink-2); font-size: .85rem; }
.newsletter label[style] { color: var(--ink) !important; }
.newsletter .form-status.is-success { background: #fff; color: var(--green); }
.newsletter .form-status.is-error { background: #fff; color: var(--red-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #D9CCE8; padding: var(--s-8) 0 var(--s-6); font-size: .92rem; border-top: 6px solid var(--yellow); }
.footer a { color: #EFE3FF; text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(2, 1fr); margin-bottom: var(--s-7); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer h4 { color: var(--yellow); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: var(--s-3); }
.footer form { display: flex; gap: 8px; margin-top: var(--s-3); max-width: 360px; }
.footer input { min-height: 44px; background: var(--dark-2); border-color: #4A443E; color: #fff; }
.footer input::placeholder { color: #8F877C; }
.footer .btn { min-height: 44px; box-shadow: 3px 3px 0 var(--lilac); }
.footer__bottom { border-top: 1px solid #4A4552; padding-top: var(--s-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); font-size: .85rem; }
.footer__bottom .tag { font-family: var(--serif); font-weight: 700; color: #fff; }

/* ---------- Toast / modal / tooltip / alert ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 600; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius); border: 2px solid var(--yellow); box-shadow: 4px 4px 0 var(--yellow); display: flex; gap: 12px; align-items: center; font-size: .92rem; animation: toastIn .25s var(--ease); pointer-events: auto; }
.toast a { color: var(--yellow); font-weight: 700; }
.toast .icon { color: var(--yellow); }
.toast--success .icon { color: #7ED39A; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; background: rgba(23,23,23,.6); padding: var(--gutter); }
.modal.is-open { display: grid; }
.modal__panel { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: var(--s-6); box-shadow: var(--shadow-lg); animation: pop .2s var(--ease); position: relative; }
.modal__panel--wide { max-width: 960px; }
.modal__close { position: absolute; right: 8px; top: 8px; }
.tooltip { position: relative; display: inline-flex; }
.tooltip > button { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink-3); background: none; font-size: .75rem; font-weight: 700; color: var(--ink-3); cursor: help; display: grid; place-items: center; padding: 0; }
.tooltip [role="tooltip"] { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; border: 2px solid var(--yellow); padding: 8px 12px; border-radius: var(--radius); font-size: .82rem; width: max-content; max-width: 260px; display: none; z-index: 10; font-weight: 400; }
.tooltip:hover [role="tooltip"], .tooltip:focus-within [role="tooltip"] { display: block; }
.alert { padding: 14px 18px; border-radius: var(--radius); border: 2px solid; display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.alert .icon { flex: none; margin-top: 2px; }
.alert--info { background: var(--info-tint); border-color: var(--info); color: var(--info); }
.alert--warn { background: var(--marigold-tint); border-color: var(--marigold); color: var(--marigold); }
.alert--error { background: var(--red-tint); border-color: var(--red); color: var(--red-dark); }
.alert--success { background: var(--green-tint); border-color: var(--green); color: var(--green); }

/* ---------- Empty / skeleton / error ---------- */
.empty { text-align: center; padding: var(--s-8) var(--s-5); border: 2px dashed var(--ink); border-radius: var(--radius-lg); background: #fff; }
.empty h3 { font-size: 1.6rem; }
.empty p { color: var(--ink-2); max-width: 44ch; margin-inline: auto; }
.skeleton { background: linear-gradient(90deg, var(--muted) 25%, #F7F0FF 37%, var(--muted) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skeleton-card { border: 2px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.skeleton-card .skeleton { border-radius: 0; }
.skeleton-card .lines { padding: 16px; display: grid; gap: 10px; }
.skeleton-card .lines .skeleton { height: 14px; border-radius: 4px; }
.errorpage { text-align: center; padding: clamp(64px, 12vw, 160px) 0; }
.errorpage h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.errorpage .cluster { justify-content: center; margin-top: var(--s-6); }

/* ---------- Comparison workspace ---------- */
.compare-controls { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--s-5); }
.compare-controls .check { font-size: .9rem; }
.compare-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-4); }
.compare-slot { border: 2px dashed var(--ink); border-radius: var(--radius-lg); min-height: 200px; display: grid; place-items: center; padding: var(--s-4); text-align: center; color: var(--ink-3); }
.compare-slot.is-filled { border-style: solid; background: #fff; box-shadow: 3px 3px 0 var(--ink); align-content: start; text-align: left; place-items: stretch; gap: 8px; }
.compare-slot .thumb { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.winner-box { background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-5); display: grid; gap: 8px; box-shadow: 4px 4px 0 var(--ink); }
.winner-box h3 { color: var(--ink); display: flex; align-items: center; gap: 8px; margin: 0; }
.answer-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin: var(--s-5) 0; }
@media (min-width: 720px) { .answer-grid { grid-template-columns: repeat(3, 1fr); } }
.answer-grid > div { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-4); box-shadow: 3px 3px 0 var(--ink); }
.answer-grid h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.answer-grid p { margin: 0; }
.answer-grid strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.buy-if { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .buy-if { grid-template-columns: repeat(3, 1fr); } }
.buy-if > div { border-left: 3px solid var(--ink); padding-left: var(--s-4); }
.buy-if > div:nth-child(1) { border-color: var(--yellow); }
.buy-if > div:nth-child(2) { border-color: var(--lilac); }
.buy-if > div:nth-child(3) { border-color: var(--ink-3); }
.buy-if h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }

/* ---------- Deals ---------- */
.deal { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--ink); }
@media (min-width: 720px) { .deal { grid-template-columns: 220px 1fr; } }
.deal__media { background: var(--paper-2); aspect-ratio: 4/3; }
@media (min-width: 720px) { .deal__media { aspect-ratio: auto; } }
.deal__media svg { width: 100%; height: 100%; object-fit: cover; }
.deal__body { padding: var(--s-5); display: grid; gap: 10px; }
.deal__prices { display: flex; gap: var(--s-4); align-items: baseline; flex-wrap: wrap; }
.deal__prices .price { font-size: 1.6rem; }
.deal__prices .was { color: var(--ink-3); text-decoration: line-through; font-family: var(--mono); }
.deal__prices .off { color: var(--green); font-weight: 700; }
.deal-label { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 2px solid var(--ink); }
.deal-label--excellent { background: var(--yellow); color: var(--ink); }
.deal-label--good { background: var(--green-tint); color: var(--green); }
.deal-label--low { background: var(--cobalt-tint); color: var(--cobalt-dark); }
.deal-label--consider { background: var(--muted); color: var(--ink-2); }
.deal-label--member, .deal-label--refurb, .deal-label--openbox { background: var(--marigold-tint); color: var(--marigold); }
.deal-label--expiring { background: var(--red-tint); color: var(--red-dark); }
.deal__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--ink-3); }

/* ---------- Recommender ---------- */
.recommender { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: 6px 6px 0 var(--lilac); }
.recommender fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }
.recommender legend { font-weight: 700; margin-bottom: var(--s-3); font-size: 1.05rem; }
.recommender .chips { gap: 8px; }
.recommender .chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.recommender .chip:has(input:checked) { background: var(--yellow); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.reco-results { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin-top: var(--s-5); }
@media (min-width: 900px) { .reco-results { grid-template-columns: repeat(3, 1fr); } }
.reco { border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-4); background: var(--paper); display: grid; gap: 8px; box-shadow: 3px 3px 0 var(--ink); }
.reco h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lilac-dark); }
.reco .card__title { font-size: 1.2rem; }
.reco p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Diagram ---------- */
.flow { list-style: none; margin: var(--s-5) 0; padding: 0; display: grid; gap: 4px; max-width: 480px; }
.flow li { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 16px; font-weight: 700; position: relative; box-shadow: 3px 3px 0 var(--ink); }
.flow li + li::before { content: "↓"; display: block; text-align: center; color: var(--ink); margin: -2px 0 2px; font-weight: 800; }
.flow li:last-child { background: var(--yellow); }

/* ---------- Account ---------- */
.account-layout { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .account-layout { grid-template-columns: 240px 1fr; } }
.account-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.account-nav a { display: block; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.account-nav a:hover, .account-nav a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.panel { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: 4px 4px 0 var(--ink); }
.panel + .panel { margin-top: var(--s-5); }
.panel h2 { font-size: 1.4rem; }
.auth { max-width: 440px; margin-inline: auto; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle p { margin: 0; font-size: .88rem; color: var(--ink-3); }
.switch { width: 48px; height: 28px; border-radius: 14px; background: var(--line-soft); border: 2px solid var(--ink); position: relative; cursor: pointer; flex: none; transition: background var(--t); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; transition: transform var(--t); }
.switch[aria-checked="true"] { background: var(--lilac-dark); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 350; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s-4) var(--s-5); box-shadow: 6px 6px 0 var(--ink); display: none; gap: var(--s-4); align-items: center; flex-wrap: wrap; max-width: 760px; margin-inline: auto; }
.cookie.is-open { display: flex; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: .92rem; }
.cookie .cluster { gap: 8px; }

/* ---------- Print ---------- */
@media print { .header, .announce, .footer, .sticky-bar, .review-nav, .cookie, .toasts, .newsletter, .card__actions, .btn { display: none !important; } body { background: #fff; } .review-layout { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0 !important; } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }

/* ---------- Mobile refinements ---------- */
.logo span { white-space: nowrap; }
@media (max-width: 480px) { .logo { font-size: 1.15rem; gap: 8px; } .logo .seal { width: 28px; height: 28px; } .header .wrap { gap: var(--s-2); } .announce { font-size: .8rem; } .announce .wrap { justify-content: flex-start; } .hero .seal-wrap { width: 84px; right: 4px; bottom: 4px; } .annot { font-size: .72rem; padding: 4px 10px; } .verdict-box { padding: var(--s-4); } .verdict-box .short { font-size: 1.15rem; } .display, .hero h1 { font-size: 2.6rem; } }
/* mobile polish */
.deal__body, .deal__body > * { min-width: 0; }
.deal__body h2, .deal__body p { overflow-wrap: anywhere; }
@media (max-width: 719px) {
  .cookie { padding: 12px 14px; bottom: 8px; box-shadow: 3px 3px 0 var(--ink); gap: 10px; }
  .cookie p { font-size: .82rem; flex-basis: 100%; }
  .cookie .cluster { gap: 6px; }
  .cookie .btn { padding: 6px 12px; font-size: .82rem; }
  .verdict { max-width: 100%; white-space: normal; }
}
