/* Bareran public site — design system v2 (Issue #22).
   Ink-blue on warm white and cream; one yellow for calls to action and the verdict.
   Display: Heebo 800/900 (headings). UI/body: IBM Plex Sans Hebrew. */

:root {
  /* color */
  --ink: #13294b;          /* text, primary surfaces */
  --ink-2: #1f3d66;
  --ink-soft: #4a5b72;
  --ink-faint: #56667b;    /* meta text, AA on paper, cream and the yellow tint */
  --paper: #fffdf8;        /* warm white page */
  --card: #ffffff;
  --cream: #f6f0e2;        /* alternating bands */
  --cream-deep: #ece2cb;
  --line: #e3dac7;
  --line-cool: #d8dee6;
  --marker: #ffcd2e;       /* CTA + verdict */
  --marker-deep: #f2b900;
  --marker-soft: #fff4c7;
  --pro: #17603f;
  --pro-soft: #e9f5ee;
  --con: #a8322b;
  --con-soft: #fcefed;
  --link: #1b4fb3;
  --sponsor: #6b3fa0;
  --sponsor-soft: #f3edfa;
  --relation: #8a5a00;
  --relation-soft: #fdf3e1;
  --demo: #9a3412;
  --demo-soft: #fff1e8;
  --focus: #1b4fb3;
  /* shape + depth */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(19, 41, 75, .06), 0 2px 8px rgba(19, 41, 75, .05);
  --shadow-2: 0 2px 4px rgba(19, 41, 75, .06), 0 12px 32px rgba(19, 41, 75, .10);
  /* layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --text: 68ch;
  --head-h: 68px;
  /* type */
  --ff-display: 'Heebo', 'IBM Plex Sans Hebrew', system-ui, sans-serif;
  --ff-body: 'IBM Plex Sans Hebrew', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--head-h) + 56px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--ff-body);
  font-feature-settings: 'tnum' 1;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: 0; text-wrap: balance; }
h1, h2 { font-family: var(--ff-display); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin-top: 1.5em; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .meta { color: var(--ink-faint); font-size: .875rem; }
bdi, .ltr { unicode-bidi: isolate; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.prose { max-width: var(--text); }
.prose li { margin-bottom: .35em; }
.prose h2 { font-size: 1.55rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 60; border-radius: var(--r-xs); }
.skip:focus { top: 12px; }

/* ================================================================ strips */
.strip-preview { background: var(--demo-soft); color: var(--demo); font-size: .8rem; text-align: center; padding: 5px 12px; border-bottom: 1px solid #f3c9ad; }

/* ================================================================ buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .96rem; line-height: 1.2;
  padding: 11px 20px; min-height: 46px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s var(--ease), box-shadow .15s;
}
.btn:hover { background: var(--ink-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.btn-accent:hover { background: var(--marker-deep); border-color: var(--marker-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--cream); }
.btn-sm { padding: 7px 14px; min-height: 38px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[aria-pressed="true"] { background: var(--marker); color: var(--ink); border-color: var(--ink); }

/* ================================================================ tags / disclosure */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 600; padding: 2px 10px; border-radius: 99px; border: 1px solid currentColor; line-height: 1.6; white-space: nowrap; vertical-align: middle; }
.tag-sponsor { color: var(--sponsor); background: var(--sponsor-soft); }
.tag-relation { color: var(--relation); background: var(--relation-soft); }
.tag-demo { color: var(--demo); background: var(--demo-soft); }
.tag-method { color: var(--ink-soft); background: var(--cream); border-color: var(--line); }
.tag-handson { color: var(--pro); background: var(--pro-soft); }
.tag-pick { color: var(--ink); background: var(--marker); border-color: var(--marker); }
.disclosure { font-size: .86rem; color: var(--ink-soft); background: var(--cream); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 24px; }
.disclosure a { color: inherit; font-weight: 600; }

/* ================================================================ header */
.site-head { background: rgba(255, 253, 248, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.head-row { display: flex; align-items: center; gap: 22px; min-height: var(--head-h); }
.logo { font-family: var(--ff-display); font-weight: 900; font-size: 1.9rem; color: var(--ink); text-decoration: none; line-height: 1; position: relative; padding: 0 2px; isolation: isolate; flex: none; }
.logo::after { content: ''; display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--marker-deep); margin-inline-start: .06em; }
.logo:hover { text-decoration: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; border-radius: 99px; }
.main-nav a:hover { background: var(--cream); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.main-nav a .chev { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-inline-start: 4px; opacity: .7; }
.main-nav li { position: relative; }
.main-nav .sub { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 210px; flex-direction: column; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-2); padding: 6px; z-index: 40; }
.main-nav .sub a { border-radius: var(--r-xs); padding: 9px 12px; }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { display: flex; }
.head-search { flex: 1; max-width: 360px; margin-inline-start: auto; display: flex; position: relative; }
.head-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 9px 16px; padding-inline-end: 44px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); }
.head-search input:focus { border-color: var(--ink); outline: none; }
.head-search button { position: absolute; inset-inline-end: 4px; top: 4px; bottom: 4px; width: 38px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.head-search button svg { width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 99px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; align-items: center; gap: 8px; min-height: 44px; }
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 920px) {
  :root { --head-h: 60px; }
  .head-row { gap: 10px; }
  .logo { font-size: 1.65rem; }
  .nav-toggle { display: inline-flex; margin-inline-start: auto; order: 3; }
  .head-search { order: 2; max-width: none; margin-inline-start: 8px; }
  .main-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 8px var(--gutter) 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { border-radius: var(--r-sm); padding: 13px 12px; font-size: 1.02rem; }
  .main-nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 14px 6px 0; min-width: 0; background: none; }
  .main-nav .sub a { font-size: .95rem; padding: 9px 12px; color: var(--ink-soft); }
  .main-nav .has-sub > a .chev { display: none; }
}
@media (max-width: 760px) {
  /* mockup: logo + menu on the first row, search full width under them */
  :root { --head-h: 114px; }
  .head-row { flex-wrap: wrap; padding-block: 8px 10px; row-gap: 8px; min-height: 0; }
  .nav-toggle { order: 2; }
  .head-search { order: 3; flex-basis: 100%; margin-inline-start: 0; }
  .head-search input { border-radius: var(--r-sm); background: #f4f2ec; border-color: #ebe6da; }
  .nav-toggle span { display: none; }
  .nav-toggle { padding: 8px 12px; border: 0; }
  html { scroll-padding-top: 170px; }
}

/* ================================================================ breadcrumbs / page head */
.crumbs { font-size: .84rem; color: var(--ink-faint); margin: 20px 0 8px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '‹'; margin-inline-end: 6px; color: var(--cream-deep); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding: 6px 0 14px; }
.page-head .lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: .88rem; color: var(--ink-soft); padding: 12px 0; border-block: 1px solid var(--line); margin: 14px 0 22px; }
.byline b { color: var(--ink); font-weight: 600; }
.byline a { color: inherit; }

/* ================================================================ page header band (every inner page, home style) */
main > .page-head, main > article > .page-head {
  margin-inline: calc(50% - 50vw); margin-bottom: clamp(24px, 4vw, 36px);
  padding: 6px max(var(--gutter), calc(50vw - var(--wrap) / 2 + var(--gutter))) clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
main:has(> .page-head) > .crumbs, main:has(> article > .page-head) > .crumbs {
  margin: 0 calc(50% - 50vw); padding: 18px max(var(--gutter), calc(50vw - var(--wrap) / 2 + var(--gutter))) 4px; background: var(--cream);
}
main > .page-head h1, main > article > .page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.08; margin-bottom: 10px; }
main > .page-head .lede, main > article > .page-head .lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.page-head.has-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: clamp(20px, 4vw, 48px); align-items: center; }
.page-head .ph-art .img-frame { border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.page-head .ph-art .img-frame img { object-fit: cover; padding: 0; }
.page-head .ph-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.page-head .ph-stats span { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: .86rem; font-weight: 600; }
@media (max-width: 760px) { .page-head.has-art { grid-template-columns: 1fr; } .page-head .ph-art { order: -1; } .page-head .ph-art .img-frame { aspect-ratio: 16 / 7 !important; } }
.cards-section { margin: 0 0 clamp(32px, 5vw, 52px); }
.cards-section > h2 { margin-top: 0; }

/* ================================================================ brand page: where the brand ranks */
.brand-ranks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.brand-ranks > li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.br-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.br-head a { color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.br-head a:hover { text-decoration: underline; }
.brand-ranks ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.brand-ranks ol li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand-ranks .rank-pos { min-width: 38px; height: 34px; font-size: .95rem; }
.brand-ranks ol a { color: var(--ink); font-weight: 600; text-decoration: none; flex: 1; min-width: 0; }
.brand-ranks ol a:hover { text-decoration: underline; }
.br-score { font-family: var(--ff-display); font-weight: 900; font-size: 1.15rem; background: linear-gradient(transparent 58%, var(--marker) 58%); padding: 0 4px; }
@media (max-width: 520px) { .brand-ranks { grid-template-columns: 1fr; } }

/* ================================================================ score */
.score { display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; min-width: 150px; }
.score-num { font-family: var(--ff-display); font-weight: 900; font-size: 2.3rem; line-height: 1; padding: 2px 8px; background: linear-gradient(transparent 58%, var(--marker) 58%); }
.score-num.partial { background: none; color: var(--ink-soft); }
.score-of { font-size: .8rem; color: var(--ink-faint); line-height: 1.35; }
.score-bar { grid-column: 1 / -1; display: block; height: 8px; background: var(--cream-deep); border-radius: 99px; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.score-sm .score-num { font-size: 1.5rem; }
.score-sm { min-width: 110px; }

/* ================================================================ images */
.img-frame { display: block; width: 100%; overflow: hidden; border-radius: var(--r-sm); background: #fff; }
.img-frame img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.img-frame.bg-scene img { object-fit: cover; padding: 0; }
.img-frame.bg-transparent { background: var(--cream); }
.img-missing {
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, #fff 0, #fff 30%, transparent 31%), linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
  color: var(--ink-faint); font-size: .78rem; text-align: center; border: 0;
}
.img-missing > span { display: inline-block; }
.img-missing::before { content: ''; width: 34%; max-width: 64px; aspect-ratio: 1; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2366768b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='10' width='34' height='28' rx='4'/%3E%3Ccircle cx='18' cy='20' r='3.5'/%3E%3Cpath d='M41 31 31 22 13 38'/%3E%3C/svg%3E"); opacity: .7; }

/* ================================================================ sections */
.band { padding: clamp(36px, 6vw, 64px) 0; }
.band-cream { background: var(--cream); box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax); }
.band-mist { background: var(--cream); box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax); }
.band-ink { background: var(--ink); color: #fff; box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--ink-soft); max-width: 60ch; }
.section-head > a { font-weight: 600; white-space: nowrap; }

/* ================================================================ home: hero (full-bleed photo, copy on the start side) */
.hero { position: relative; margin-inline: calc(50% - 50vw); min-height: clamp(380px, 38vw, 470px); display: flex; align-items: center; overflow: hidden; background: var(--cream); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg .img-frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto !important; height: 100%; background: var(--cream); }
.hero-bg .img-frame img { object-fit: cover; padding: 0; object-position: 18% 40%; }
.hero-bg svg { position: absolute; inset-block: 0; inset-inline-end: 0; width: 62%; height: 100%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(255, 253, 248, .97) 0%, rgba(255, 253, 248, .9) 34%, rgba(255, 253, 248, .35) 56%, rgba(255, 253, 248, 0) 72%); }
.hero-inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter); }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.02; margin-bottom: 14px; font-weight: 900; }
.hero .hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-2); max-width: 46ch; margin-bottom: 22px; font-weight: 500; }
.hero-search { display: flex; gap: 8px; background: var(--card); padding: 7px; border-radius: var(--r-md); box-shadow: var(--shadow-2); border: 1px solid var(--line); max-width: 600px; }
.hero-search .field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding-inline: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.hero-search .field svg { width: 20px; height: 20px; flex: none; color: var(--ink); }
.hero-search input { flex: 1; min-width: 0; font: inherit; font-size: 1.02rem; padding: 11px 0; border: 0; background: transparent; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.hero-search .btn { flex: none; font-weight: 700; padding-inline: 26px; border-radius: var(--r-sm); min-height: 50px; }
.arrow { display: inline-block; font-weight: 400; }
.benefits { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; max-width: 600px; background: rgba(255, 255, 255, .82); border: 1px solid var(--line); border-radius: var(--r-sm); }
.benefits li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-weight: 600; font-size: .86rem; line-height: 1.25; flex: 1 1 auto; }
.benefits li + li { border-inline-start: 1px solid var(--line); }
.benefits svg { flex: none; width: 20px; height: 20px; color: var(--ink); }
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; background: var(--paper); }
  .hero-bg { inset: 0 0 auto auto; width: 46%; height: 238px; inset-inline-start: auto; inset-inline-end: 0; }
  .hero-bg::after { background: linear-gradient(to left, rgba(255, 253, 248, 1) 0%, rgba(255, 253, 248, 0) 38%); }
  .hero-bg svg { width: 100%; }
  .hero-inner { padding-top: 22px; padding-bottom: 18px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); max-width: 56%; }
  .hero .hero-sub { max-width: 56%; font-size: .98rem; margin-bottom: 18px; min-height: 64px; }
  .hero-search { flex-direction: column; background: transparent; box-shadow: none; border: 0; padding: 0; gap: 10px; }
  .hero-search .field { box-shadow: var(--shadow-1); min-height: 52px; }
  .hero-search .btn { width: 100%; }
  .benefits { background: transparent; border: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefits li { flex-direction: column; text-align: center; gap: 4px; padding: 8px 2px; font-size: .74rem; font-weight: 500; }
  .benefits li + li { border-inline-start: 0; }
  .benefits svg { width: 24px; height: 24px; }
}

/* ================================================================ home: comparison cards */
.comp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.comp-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .2s var(--ease); }
.comp-card:hover { box-shadow: var(--shadow-2); }
.comp-card .media { position: relative; background: linear-gradient(160deg, #fff 0%, var(--cream) 100%); }
.comp-card .media .img-frame { background: transparent; border-radius: 0; }
.comp-card .media .img-frame img { padding: 4%; }
.comp-card .media .bg-scene img, .cat-tile .bg-scene img { padding: 0; object-fit: cover; }
.comp-card .pill { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--marker-soft); color: var(--ink); border: 1px solid var(--marker); font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.comp-card .body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.comp-card .kicker { font-size: .8rem; font-weight: 600; color: var(--ink-faint); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.comp-card h3 { font-family: var(--ff-display); font-size: 1.42rem; font-weight: 800; margin: 0; }
.comp-card h3 a { color: var(--ink); text-decoration: none; }
.comp-card h3 a::after { content: ''; position: absolute; inset: 0; }
.comp-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.comp-card .foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.comp-card .foot .btn { position: relative; z-index: 1; }
@media (max-width: 960px) { .comp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .comp-cards { grid-template-columns: 1fr; gap: 12px; }
  .comp-card { display: grid; grid-template-columns: minmax(0, 1fr) 40%; box-shadow: none; }
  .comp-card .media { grid-column: 2; grid-row: 1; }
  .comp-card .media .img-frame { height: 100%; aspect-ratio: auto !important; min-height: 130px; }
  .comp-card .pill { display: none; }
  .comp-card .body { grid-column: 1; grid-row: 1; padding: 12px 14px; gap: 4px; }
  .comp-card h3 { font-size: 1.1rem; }
  .comp-card p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .comp-card .kicker, .comp-card .foot .meta { display: none; }
  .comp-card .foot .btn { width: 100%; }
}

/* ================================================================ home: categories */
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .2s var(--ease); height: 100%; }
.cat-tile:hover { border-color: var(--ink); box-shadow: var(--shadow-1); text-decoration: none; }
.cat-tile .img-frame { border-radius: 0; background: linear-gradient(160deg, #fff, var(--cream)); }
.cat-tile .label { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat-tile strong { font-size: .98rem; }
.cat-tile .count { display: block; font-size: .76rem; color: var(--ink-faint); font-weight: 400; }
@media (max-width: 640px) {
  .cat-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tiles li { flex: 0 0 34%; scroll-snap-align: start; }
  .cat-tile .label { padding: 8px 10px; }
  .cat-tile strong { font-size: .86rem; }
  .cat-tile .arrow, .cat-tile .count { display: none; }
}

/* ================================================================ home: guides */
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr; gap: 12px; } }
.guide-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.guide-card h3 { margin: 0; font-size: 1.12rem; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ''; position: absolute; inset: 0; }
.guide-card:hover { border-color: var(--ink); }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ================================================================ home: how we choose (light panel, icons) */
.how-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); background: #f1efe9; border-radius: var(--r-md); padding: 26px 8px; margin: 0; }
.how-panel .step { padding: 4px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.how-panel .step + .step { border-inline-start: 1px solid var(--line); }
.how-panel .step svg { width: 34px; height: 34px; color: var(--ink); }
.how-panel .step h3 { margin: 0; font-size: 1.02rem; }
.how-panel .step p { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.how-intro { order: 5; padding: 4px 24px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.how-intro h2 { margin: 0; font-size: 1.6rem; }
.how-intro p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.how-intro .btn { align-self: flex-start; margin-top: 6px; }
.how-intro .fine { font-size: .78rem; color: var(--ink-faint); }
.how-intro .fine a { color: inherit; }
@media (max-width: 1000px) {
  .how-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; padding: 20px 6px; }
  .how-intro { order: -1; grid-column: 1 / -1; border: 0; }
  .how-panel .step:nth-child(odd) { border-inline-start: 0; }
}

/* ================================================================ the short answer + verdict */
.answer { border-inline-start: 6px solid var(--marker); background: var(--marker-soft); padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 0 0 24px; max-width: 80ch; }
.answer h2 { font-size: 1.05rem; font-family: var(--ff-body); font-weight: 700; margin: 0 0 6px; }
.answer p:last-child { margin: 0; }
.verdict { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 22px; margin: 0 0 26px; box-shadow: var(--shadow-2); position: relative; }
.verdict .flag { position: absolute; top: -14px; inset-inline-start: 22px; background: var(--marker); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 3px 14px; border-radius: 99px; }
.verdict .img-frame { border-radius: var(--r-sm); background: linear-gradient(160deg, #fff, var(--cream)); }
.verdict h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.verdict h2 a { color: var(--ink); text-decoration: none; }
.verdict p { margin: 0 0 8px; color: var(--ink-soft); }
.verdict .side { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 200px; }
@media (max-width: 860px) {
  .verdict { grid-template-columns: 120px 1fr; }
  .verdict .side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; min-width: 0; }
}
@media (max-width: 520px) { .verdict { grid-template-columns: 1fr; padding: 22px 16px 16px; } .verdict .img-frame { max-width: 180px; } }

/* ================================================================ in-page nav */
.jump { position: sticky; top: var(--head-h); z-index: 20; background: rgba(255, 253, 248, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)) 22px; padding: 8px var(--gutter); }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; white-space: nowrap; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; }
.jump a:hover { border-color: var(--ink); }

/* ================================================================ ranked list */
.ranked { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.rank-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) 210px; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-1); }
.rank-item.is-top { border: 2px solid var(--ink); }
.rank-media { display: flex; flex-direction: column; gap: 10px; }
.rank-media .img-frame { background: linear-gradient(160deg, #fff, var(--cream)); }
.rank-pos { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 99px; background: var(--ink); color: #fff; font-family: var(--ff-display); font-weight: 900; font-size: 1.15rem; line-height: 1; }
.rank-pos small { font: 600 .7rem var(--ff-body); color: #c9d4e3; margin-inline-end: 4px; }
.is-top .rank-pos { background: var(--marker); color: var(--ink); }
.is-top .rank-pos small { color: var(--ink-2); }
.rank-item h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.55rem; margin: 2px 0 8px; }
.rank-item h3 a { color: var(--ink); text-decoration: none; }
.rank-item h3 a:hover { text-decoration: underline; }
.rank-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 10px; }
.rank-tags .brand { font-weight: 600; color: var(--ink-soft); }
.rank-tags .brand a { color: inherit; }
.rank-side { display: flex; flex-direction: column; gap: 12px; padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
@media (max-width: 960px) {
  .rank-item { grid-template-columns: 130px minmax(0, 1fr); }
  .rank-side { grid-column: 1 / -1; padding: 16px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .rank-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .rank-item h3 { font-size: 1.25rem; }
  .rank-item .pc, .rank-item .fit { grid-column: 1 / -1; }
  .rank-main { display: contents; }
  .rank-head { grid-column: 2; }
  .rank-rest { grid-column: 1 / -1; }
}

/* ================================================================ pros / cons, fit */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.pc > div { border-radius: var(--r-sm); padding: 12px 14px; }
.pc .pros { background: var(--pro-soft); }
.pc .cons { background: var(--con-soft); }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { position: relative; padding-inline-start: 24px; margin-bottom: 5px; font-size: .94rem; line-height: 1.5; }
.pc li::before { position: absolute; inset-inline-start: 0; top: .1em; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; line-height: 1; color: #fff; }
.pc .pros li::before { content: '+'; background: var(--pro); }
.pc .cons li::before { content: '−'; background: var(--con); }
.pc h4 { margin: 0 0 6px; font-size: .84rem; font-weight: 700; }
.pc .pros h4 { color: var(--pro); }
.pc .cons h4 { color: var(--con); }
@media (max-width: 600px) { .pc { grid-template-columns: 1fr; } }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit div { background: var(--cream); border-radius: var(--r-sm); padding: 12px 14px; }
.fit h3 { margin: 0 0 6px; font-size: .9rem; }
.fit ul { margin: 0; padding-inline-start: 18px; font-size: .94rem; }
@media (max-width: 600px) { .fit { grid-template-columns: 1fr; } }

/* ================================================================ offers */
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.offer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.offer-store { font-weight: 600; }
.offer-price { font-weight: 700; font-size: 1.12rem; }
.offer-meta { grid-column: 1 / -1; font-size: .76rem; color: var(--ink-faint); }
.offer .btn { grid-column: 1 / -1; margin-top: 6px; background: var(--marker); border-color: var(--marker); color: var(--ink); }
.offer .btn:hover { background: var(--marker-deep); border-color: var(--marker-deep); }
.no-offers { font-size: .88rem; color: var(--ink-faint); margin: 0; }

/* ================================================================ tables */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin: 10px 0 8px; background: var(--card); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.table-hint { display: none; font-size: .8rem; color: var(--ink-faint); margin: 0 0 24px; }
table.spec { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; font-size: .93rem; }
table.spec th, table.spec td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
table.spec tr:last-child > * { border-bottom: 0; }
table.spec thead th { background: var(--ink); color: #fff; font-weight: 600; }
table.spec thead th a, table.spec thead .meta { color: #fff; }
table.spec tbody tr:nth-child(even) td { background: #fffcf4; }
table.spec tbody th { font-weight: 600; color: var(--ink-soft); background: var(--card); position: sticky; inset-inline-start: 0; z-index: 1; min-width: 140px; box-shadow: -1px 0 0 var(--line) inset; }
table.spec thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 2; }
table.spec td.best { background: var(--marker-soft) !important; font-weight: 700; }
table.spec .na { color: var(--ink-faint); }
.criteria-table td.basis { font-size: .84rem; color: var(--ink-soft); max-width: 300px; }
.criteria-table { min-width: 0 !important; }
@media (max-width: 760px) { .table-hint { display: block; } table.spec { font-size: .88rem; } table.spec th, table.spec td { padding: 10px; } table.spec tbody th { min-width: 110px; } }

/* ================================================================ product page */
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-top: 6px; }
.gallery { grid-column: 1; }
.gallery .img-frame { border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, #fff, var(--cream)); }
.product-info { grid-column: 2; min-width: 0; }
.product-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.buybox { grid-column: 3; position: sticky; top: calc(var(--head-h) + 16px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-1); }
.buybox h2 { margin: 0 0 12px; font-size: 1.2rem; }
.buybox .from { font-size: .85rem; color: var(--ink-faint); margin: 0 0 12px; }
.buybox .from b { font-family: var(--ff-display); font-size: 1.8rem; color: var(--ink); font-weight: 900; }
.score-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.score-chip { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); text-decoration: none; color: var(--ink); }
.score-chip:hover { border-color: var(--ink); text-decoration: none; }
.score-chip .score { min-width: 0; }
.score-chip .score-bar { display: none; }
.score-chip span.in { font-size: .82rem; color: var(--ink-soft); max-width: 22ch; line-height: 1.35; }
.product-section { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 1080px) {
  .product-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .buybox { grid-column: 1 / -1; position: static; }
}
@media (max-width: 760px) {
  .product-top { grid-template-columns: 1fr; gap: 16px; }
  .gallery, .product-info, .buybox { grid-column: 1; }
  .gallery .img-frame { max-height: 360px; }
  .two-col { grid-template-columns: 1fr; }
}
dl.specs { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--card); }
dl.specs dt, dl.specs dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--line); }
dl.specs dt { color: var(--ink-soft); background: #fffcf4; font-weight: 500; }
dl.specs dt:nth-last-of-type(1), dl.specs dd:last-of-type { border-bottom: 0; }
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.related li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.related li:hover { border-color: var(--ink); }
.related .img-frame { border-radius: 0; background: linear-gradient(160deg, #fff, var(--cream)); }
.related .label { padding: 10px 14px 14px; }
.related a { color: var(--ink); text-decoration: none; font-weight: 600; }
.related a::after { content: ''; position: absolute; inset: 0; }
.related .meta { display: block; font-weight: 400; }
@media (max-width: 520px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ================================================================ reviews */
.reviews { list-style: none; padding: 0; margin: 0; }
.reviews li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.stars { color: var(--marker-deep); letter-spacing: 2px; }
.user-rating-note { font-size: .84rem; color: var(--ink-faint); }

/* ================================================================ FAQ / sources / toc */
.faq details { border-bottom: 1px solid var(--line); padding: 2px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-inline-end: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset-inline-end: 4px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 1.1rem; color: var(--ink); line-height: 1; }
.faq details[open] summary::after { content: '−'; background: var(--marker); }
.faq details > div { padding: 0 0 16px; max-width: 72ch; }
.sources { font-size: .86rem; color: var(--ink-soft); }
.sources ol { padding-inline-start: 20px; }
.sources a { word-break: break-word; }
.toc { font-size: .92rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin: 0 0 24px; }
.toc h2 { font-family: var(--ff-body); }
.toc ol { margin: 8px 0 0; padding-inline-start: 20px; }
.toc li { margin-bottom: 4px; }

/* ================================================================ layout with side column */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
.with-side > aside, .with-side > nav { position: sticky; top: calc(var(--head-h) + 70px); }
@media (max-width: 1000px) { .with-side { grid-template-columns: 1fr; } .with-side > aside, .with-side > nav { position: static; } }
.with-side > *, .listing > *, .product-top > *, .rank-item > *, .foot-cols > * { min-width: 0; }

/* ================================================================ generic lists (category, guides, search) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-grid a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--card); }
.cat-grid a:hover { border-color: var(--ink); }
.cat-grid strong { display: block; font-size: 1.06rem; }
.cat-grid span { font-size: .86rem; color: var(--ink-faint); }
.list-rows { list-style: none; margin: 0; padding: 0; }
.list-rows > li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.list-rows > li.one { display: block; }
.list-rows .img-frame { background: linear-gradient(160deg, #fff, var(--cream)); }
.list-rows h3 { margin: 0 0 4px; font-size: 1.12rem; }
.list-rows h3 a { color: var(--ink); text-decoration: none; }
.list-rows h3 a:hover { text-decoration: underline; }
.list-rows p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.feature { display: grid; grid-template-columns: 88px 1fr; gap: 14px; text-decoration: none; color: var(--ink); align-items: start; }
.feature h3 { margin: 0 0 4px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 520px) { .list-rows > li { grid-template-columns: 84px 1fr; gap: 12px; } }

/* ================================================================ filters / category listing */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.filters { position: sticky; top: calc(var(--head-h) + 16px); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; font-size: .92rem; background: var(--card); }
.filters fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.filters legend { font-weight: 700; margin-bottom: 6px; }
.filters label { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; }
.filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.filters input[type=number], .filters select { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-xs); font-size: 16px; background: #fff; }
.filters-toggle { display: none; }
.result-count { color: var(--ink-faint); font-size: .9rem; margin-bottom: 8px; }
@media (max-width: 860px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; margin-bottom: 12px; }
}
.prod-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prod-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); align-items: center; }
.prod-row .img-frame { background: linear-gradient(160deg, #fff, var(--cream)); }
.prod-row h3 { margin: 0 0 4px; font-size: 1.1rem; }
.prod-row h3 a { color: var(--ink); text-decoration: none; }
.prod-row h3 a:hover { text-decoration: underline; }
.prod-row .specs-inline { font-size: .85rem; color: var(--ink-soft); }
.prod-row .row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 560px) {
  .prod-row { grid-template-columns: 84px 1fr; padding: 12px; gap: 12px; }
  .prod-row .row-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ================================================================ compare tray (compact, one line) */
.tray { position: fixed; inset-inline: 12px; bottom: 12px; max-width: 760px; margin-inline: auto; background: var(--ink); color: #fff; z-index: 40; padding: 8px 8px 8px 8px; border-radius: 999px; box-shadow: var(--shadow-2); transform: translateY(140%); visibility: hidden; transition: transform .25s var(--ease), visibility .25s; }
.tray.show { transform: none; visibility: visible; }
.tray .wrap { display: flex; align-items: center; gap: 10px; padding: 0 0 0 0; padding-inline-start: 14px; max-width: none; }
.tray #tray-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
.tray .btn { background: var(--marker); color: var(--ink); border-color: var(--marker); min-height: 40px; padding: 6px 16px; flex: none; }
.tray button.clear { background: none; border: 0; color: #c9d4e3; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; flex: none; padding: 6px 8px; }
@media (max-width: 520px) { .tray { inset-inline: 8px; bottom: 8px; } .tray #tray-text { font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .tray, .comp-card, .btn { transition: none; } }

/* ================================================================ sponsored placement */
.placement { border: 1.5px solid var(--sponsor); background: var(--sponsor-soft); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 8px; }
.placement a.btn { background: var(--sponsor); border-color: var(--sponsor); color: #fff; justify-self: start; }

/* ================================================================ forms / notices / empty */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; font-weight: 400; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); outline: none; }
/* honeypot: clipped in place. A negative left offset widens the page in RTL (mobile zoom-out bug). */
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.notice { padding: 12px 16px; border-radius: var(--r-sm); margin: 0 0 16px; }
.notice-ok { background: var(--pro-soft); color: var(--pro); }
.notice-err { background: var(--con-soft); color: var(--con); }
.empty { padding: 48px 0; max-width: 60ch; }
.empty h2 { margin-top: 0; }
.empty .head-search { display: flex; margin: 0; }

/* ================================================================ footer */
.site-foot { margin-top: 72px; background: var(--ink); color: #c9d4e3; padding: 48px 0 24px; font-size: .92rem; }
.site-foot .logo { color: #fff; font-size: 2rem; display: inline-block; margin-bottom: 12px; }
.site-foot .logo::after { background: var(--marker); }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-cols h2 { font-size: 1rem; font-family: var(--ff-body); font-weight: 700; margin: 0 0 10px; color: #fff; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 6px; }
.foot-cols a { color: #c9d4e3; text-decoration: none; }
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.foot-cols p a { text-decoration: underline; }
.foot-cols .meta { color: #a8b6c9; }
.foot-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #a8b6c9; font-size: .82rem; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > :first-child { grid-column: 1 / -1; } }

/* ================================================================ cookie consent */
.consent { position: fixed; bottom: 12px; inset-inline: 12px; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; z-index: 50; box-shadow: var(--shadow-2); font-size: .9rem; }
.consent .row { display: flex; gap: 8px; margin-top: 10px; }

/* ================================================================ one orchestrated moment: home load */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-bg { animation: fade .8s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media print {
  .site-head, .site-foot, .tray, .consent, .strip-preview, .jump { display: none; }
}
