/* تجارب — public stylesheet. Mobile-first, RTL, no framework. */
:root {
  --y: #FFC400; --y-dark: #E0A800; --y-soft: #FFF3C4; --y-pale: #FFF9E0;
  --ink: #111318; --ink-2: #4B5160; --ink-3: #7B8194;
  --bg: #FFFDF5; --card: #FFFFFF; --line: #ECE7D5; --line-2: #F4F0E3;
  --good: #1E9E5A; --bad: #D64545; --mid: #F2A51A;
  --rate-0: #CFCBBE; --rate-1: #D64545; --rate-2: #E8742C; --rate-3: #F2A51A; --rate-4: #8CC152; --rate-5: #1E9E5A;
  --star-off: #E6E1D1;
  --radius: 14px; --radius-sm: 10px; --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(17,19,24,.04), 0 6px 20px -12px rgba(17,19,24,.18);
  --shadow-lg: 0 2px 6px rgba(17,19,24,.05), 0 18px 40px -20px rgba(17,19,24,.25);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --container: 1200px; --gutter: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
p a, .prose a, .link-strong { text-decoration: underline; text-decoration-color: var(--y-dark); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4.5vw, 38px); }
h2 { font-size: clamp(20px, 3vw, 26px); }
h3 { font-size: 17px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--y-dark); box-shadow: 0 0 0 3px var(--y-soft); }
:focus-visible { outline: 3px solid var(--y-dark); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--y-soft); }
time { white-space: nowrap; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; inset-inline-start: 16px; background: var(--ink); color: var(--y); padding: 10px 16px; border-radius: 0 0 10px 10px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 0; color: var(--y); }

/* ---------- Layout utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.site-main { flex: 1; padding-block: 8px 48px; }
.section { padding-block: 40px; }
.section-sm { padding-block: 24px; }
.section-alt { background: linear-gradient(180deg, #FFF7D6 0%, var(--bg) 100%); border-block: 1px solid var(--line-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { position: relative; padding-inline-start: 14px; }
.section-head h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 5px; height: 1.1em; background: var(--y); border-radius: 3px; }
.section-more { color: var(--ink-2); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; }
.section-more:hover { color: var(--ink); }
.section-more .icon { transform: scaleX(-1); }
.section-title { font-size: 20px; margin: 24px 0 14px; }
.center { text-align: center; margin-top: 24px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.dot { color: var(--ink-3); margin-inline: 6px; }
.domain, .domain-link, [dir=ltr] { unicode-bidi: isolate; }
.domain { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; color: var(--ink-2); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-head { padding-block: 20px 8px; margin-bottom: 20px; }
.page-head .lead, .lead { color: var(--ink-2); font-size: 17px; margin-top: 8px; }
.page-head-icon { display: flex; align-items: center; gap: 16px; }
.intro { max-width: 820px; margin-bottom: 24px; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.3; border: 1.5px solid transparent; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--y); color: var(--ink); box-shadow: 0 2px 0 var(--y-dark); }
.btn-primary:hover { background: #FFD033; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22252d; color: #fff; }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-lg { padding: 14px 26px; font-size: 17px; border-radius: 14px; }
.linklike { color: var(--ink-2); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.linklike:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,245,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.brand-name { line-height: 1; }
.header-search { display: none; position: relative; }
.header-search input { width: 100%; padding-inline: 14px 44px; border-radius: 999px; background: #fff; }
.header-search button { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-2); }
.header-search button:hover { background: var(--y-soft); color: var(--ink); }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.burger { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: background .15s; }
.burger::before, .burger::after { content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; grid-column: 1 / -1; padding-block: 8px 14px; border-top: 1px solid var(--line-2); }
.site-nav.is-open { display: block; }
.nav-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.nav-links a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.is-active { background: var(--y-soft); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu ul { margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 190px; }
.user-menu li a, .user-menu li button { display: block; width: 100%; text-align: start; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.user-menu li a:hover, .user-menu li button:hover { background: var(--y-soft); color: var(--ink); }
.avatar { border-radius: 999px; object-fit: cover; background: var(--line-2); }
.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 96px; height: 96px; }

/* ---------- Flash ---------- */
.flash-wrap { margin-top: 14px; }
.flash { padding: 12px 16px; border-radius: 12px; border: 1px solid; margin-bottom: 10px; font-weight: 500; }
.flash-success { background: #EAF7EF; border-color: #BFE5CD; color: #176B3F; }
.flash-error { background: #FDECEC; border-color: #F3C2C2; color: #9B2C2C; }
.flash ul { padding-inline-start: 18px; list-style: disc; }
.form-error { color: var(--bad); font-weight: 500; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--y); color: var(--ink); padding-block: 48px 56px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.55), transparent 40%), radial-gradient(circle at 85% 80%, rgba(224,168,0,.5), transparent 45%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 60px; background: rgba(17,19,24,.06); transform: rotate(20deg); pointer-events: none; }
.hero-inner { position: relative; max-width: 820px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--y); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.2; margin-bottom: 14px; }
.hero h1 mark, h1 mark { background: linear-gradient(transparent 58%, #fff 58%); color: inherit; padding: 0 4px; border-radius: 2px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: rgba(17,19,24,.8); max-width: 640px; margin: 0 auto 26px; }
.hero-alt { margin-top: 16px; color: rgba(17,19,24,.8); font-weight: 500; }
.hero-alt a { text-decoration: underline; text-underline-offset: 3px; }
.hero-sm { padding-block: 36px 44px; }
.hero-biz { background: var(--ink); color: #fff; }
.hero-biz .hero-kicker { background: var(--y); color: var(--ink); }
.hero-biz .hero-sub { color: rgba(255,255,255,.78); }
.hero-biz h1 mark { background: linear-gradient(transparent 58%, var(--y-dark) 58%); color: #fff; }
.hero-biz::before { background: radial-gradient(circle at 80% 10%, rgba(255,196,0,.25), transparent 40%); }
.hero-biz::after { background: rgba(255,196,0,.08); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-biz .btn-dark { background: var(--y); color: var(--ink); }
.hero-biz .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

.hero-search { max-width: 680px; margin: 0 auto; }
.search-field { position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 6px 6px 6px 6px; padding-inline-start: 14px; box-shadow: 0 6px 0 rgba(17,19,24,.9); text-align: start; }
.search-field > .icon { color: var(--ink-3); flex: none; }
.search-field input { flex: 1; min-width: 0; border: 0; padding: 10px 4px; font-size: 17px; background: transparent; box-shadow: none; }
.search-field input:focus { box-shadow: none; }
.search-field .btn { flex: none; border-radius: 11px; }
.page-head .hero-search { margin: 16px 0 0; }
.page-head .search-field { box-shadow: var(--shadow); border-color: var(--line); }
.ltr-input { direction: ltr; text-align: left; }

/* autocomplete */
.ac-list { position: absolute; z-index: 60; inset-inline: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; text-align: start; }
.ac-list[hidden] { display: none; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.ac-item:last-child { border-bottom: 0; }
.ac-item:hover, .ac-item.is-active { background: var(--y-pale); }
.ac-item img { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; background: var(--line-2); flex: none; }
.ac-item .ac-name { font-weight: 600; display: block; line-height: 1.3; }
.ac-item .ac-domain { font-size: 13px; color: var(--ink-3); direction: ltr; unicode-bidi: isolate; }
.ac-item .ac-rate { margin-inline-start: auto; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.ac-item .ac-rate .icon { color: var(--y-dark); fill: var(--y); }
.ac-more { display: block; padding: 10px 14px; text-align: center; font-weight: 600; color: var(--ink-2); background: var(--bg); }
.ac-more:hover { color: var(--ink); }
.hero-search, .header-search { position: relative; }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--ink); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat { padding: 18px 8px; }
.stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.12); }
.stat strong { display: block; font-size: clamp(22px, 4vw, 32px); color: var(--y); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- Stars & rating ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--rate-0); line-height: 0; vertical-align: middle; }
.stars .star { width: 20px; height: 20px; fill: var(--star-off); }
.stars-sm .star { width: 16px; height: 16px; }
.stars-lg .star { width: 28px; height: 28px; gap: 4px; }
.stars-xl .star { width: 36px; height: 36px; }
.stars .star-on, .stars .star-half { fill: currentColor; }
.rate-1 { color: var(--rate-1); } .rate-2 { color: var(--rate-2); } .rate-3 { color: var(--rate-3); } .rate-4 { color: var(--rate-4); } .rate-5 { color: var(--rate-5); } .rate-0 { color: var(--rate-0); }
.rating-badge { display: inline-flex; align-items: center; gap: 8px; }
.rating-badge .rating-num { background: currentColor; border-radius: 8px; padding: 2px 9px; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; position: relative; }
.rating-badge .rating-num { color: #fff; background: var(--rate-0); }
.rate-1 .rating-num { background: var(--rate-1); } .rate-2 .rating-num { background: var(--rate-2); } .rate-3 .rating-num { background: var(--rate-3); } .rate-4 .rating-num { background: var(--rate-4); } .rate-5 .rating-num { background: var(--rate-5); }
.rating-badge .rating-label { font-weight: 700; color: var(--ink); }
.rating-badge .rating-count { color: var(--ink-2); font-size: 14px; }
.rating-badge-sm .rating-num { font-size: 14px; padding: 1px 7px; }
.trust-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--chip, var(--ink-3)); background: color-mix(in srgb, var(--chip, #9AA0AE) 14%, #fff); border: 1px solid color-mix(in srgb, var(--chip, #9AA0AE) 35%, #fff); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.6; vertical-align: middle; }
.badge-verified { background: #EAF7EF; color: #176B3F; }
.badge-muted { background: var(--line-2); color: var(--ink-2); }
.verified { color: var(--good); }

/* rating bars */
.rating-bars li a { display: grid; grid-template-columns: 52px 1fr 44px; align-items: center; gap: 10px; padding: 5px 6px; border-radius: 8px; color: var(--ink-2); }
.rating-bars li a:hover, .rating-bars li.is-active a { background: var(--y-pale); color: var(--ink); }
.rating-bars .bar-label { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rating-bars .bar-label .icon { fill: var(--y); color: var(--y-dark); }
.rating-bars .bar { height: 12px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.rating-bars .bar-fill { display: block; height: 100%; background: currentColor; border-radius: 999px; transition: width .4s ease; min-width: 0; }
.rating-bars li { color: var(--ink); }
.rating-bars .rate-5 .bar-fill { background: var(--rate-5); } .rating-bars .rate-4 .bar-fill { background: var(--rate-4); } .rating-bars .rate-3 .bar-fill { background: var(--rate-3); } .rating-bars .rate-2 .bar-fill { background: var(--rate-2); } .rating-bars .rate-1 .bar-fill { background: var(--rate-1); }
.rating-bars .bar-pct { font-size: 13px; font-variant-numeric: tabular-nums; text-align: start; }

/* ---------- Grids ---------- */
.cat-grid, .country-grid, .company-grid, .review-grid, .post-grid, .feature-grid, .steps, .steps-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cat-grid { grid-template-columns: repeat(2, 1fr); }
.country-grid { grid-template-columns: repeat(2, 1fr); }
.cat-tile, .country-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile:hover, .country-tile:hover, .company-card:hover, .post-card:hover, .cat-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #E3DCC2; }
.cat-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--y-soft); color: var(--ink); display: grid; place-items: center; flex: none; }
.cat-icon-lg { width: 60px; height: 60px; border-radius: 18px; background: var(--y); }
.cat-name { font-weight: 700; }
.cat-count, .country-count { font-size: 13px; color: var(--ink-3); }
.flag-img { display: inline-block; vertical-align: -3px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(17,19,24,.08); object-fit: cover; }
.country-flag { line-height: 1; }
.country-flag .flag-img { border-radius: 8px; vertical-align: middle; }
.country-flag-lg .flag-img { border-radius: 10px; }
.country-name { font-weight: 700; }
.cat-list { display: grid; gap: 10px; }
.cat-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.cat-row-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-row-body strong { font-size: 17px; }
.cat-desc { color: var(--ink-2); font-size: 14px; }
.cat-arrow { color: var(--ink-3); transform: scaleX(-1); flex: none; }

/* company card */
.company-card { position: relative; display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.company-card .rank { position: absolute; top: -8px; inset-inline-start: -8px; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--y); font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 2px 0 var(--y-dark); }
.company-logo img { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; }
.company-body { min-width: 0; flex: 1; }
.company-name { font-size: 17px; display: flex; align-items: center; gap: 6px; }
.company-name a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.company-meta { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 0; flex-wrap: wrap; margin-top: 2px; }
.company-rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.company-rating .num { font-size: 15px; font-variant-numeric: tabular-nums; }
.company-rating .count { font-size: 13px; color: var(--ink-3); }
.company-card-compact { padding: 10px; box-shadow: none; border-color: var(--line-2); }
.company-card-compact .company-logo img { width: 40px; height: 40px; }
.company-card-compact .company-name { font-size: 15px; }
.company-card-compact .company-rating { margin-top: 4px; }
.similar-list { display: grid; gap: 8px; }

/* review card */
.review-card { padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.review-head { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.avatar-wrap img { width: 44px; height: 44px; }
.review-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.review-name { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.review-name .flag { font-size: 16px; }
.review-date { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: center; }
.review-badges { display: flex; gap: 6px; flex-wrap: wrap; align-self: center; }
.review-company { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 6px; font-size: 14px; font-weight: 600; }
.review-company img { width: 24px; height: 24px; border-radius: 6px; }
.review-company .domain { font-weight: 400; font-size: 12px; }
.review-rating { display: flex; align-items: center; }
.review-title { font-size: 17px; }
.review-body { color: var(--ink); line-height: 1.8; }
.review-body p { white-space: pre-line; overflow-wrap: anywhere; }
.review-body.is-clamped { position: relative; max-height: 7.2em; overflow: hidden; }
.review-body.is-clamped::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2.4em; background: linear-gradient(transparent, var(--card)); }
.readmore-btn { align-self: flex-start; font-weight: 600; color: var(--ink); }
.review-media { display: flex; gap: 8px; flex-wrap: wrap; }
.review-media img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.company-reply { background: var(--bg); border: 1px solid var(--line); border-inline-start: 4px solid var(--y); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.reply-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.reply-head time { font-size: 13px; color: var(--ink-3); margin-inline-start: auto; }
.company-reply p { white-space: pre-line; color: var(--ink-2); }
.review-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 10px; font-size: 14px; }
.vote-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink-2); background: #fff; transition: border-color .15s, background .15s; }
.vote-btn:hover { border-color: var(--y-dark); background: var(--y-pale); color: var(--ink); }
.vote-btn.is-voted { background: var(--y-soft); border-color: var(--y-dark); color: var(--ink); }
.vote-btn.is-static { cursor: default; }
.vote-count { font-variant-numeric: tabular-nums; }
.report-link { margin-inline-start: auto; }

/* ---------- Steps / how / bands ---------- */
.step { position: relative; padding: 26px 20px 20px; text-align: center; }
.step .icon { color: var(--ink); background: var(--y); border-radius: 14px; padding: 10px; width: 48px; height: 48px; margin-bottom: 10px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step-num { position: absolute; top: -12px; inset-inline-start: 16px; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--y); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.biz-band { background: var(--ink); color: #fff; padding-block: 36px; margin-top: 10px; }
.biz-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.biz-band h2 { color: var(--y); margin-bottom: 6px; }
.biz-band p { color: rgba(255,255,255,.78); max-width: 560px; }
.biz-band .btn-dark { background: var(--y); color: var(--ink); }
.feature { padding: 22px 20px; }
.feature .icon { color: var(--ink); background: var(--y-soft); border-radius: 12px; padding: 9px; width: 44px; height: 44px; margin-bottom: 10px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* ---------- Company page ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--ink-3); padding-block: 14px 4px; overflow-x: auto; white-space: nowrap; }
.breadcrumbs ol { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "‹"; margin-inline-end: 6px; color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); font-weight: 500; }
.company-head { display: flex; flex-direction: column; gap: 14px; padding: 20px; margin-top: 10px; margin-bottom: 18px; border-top: 4px solid var(--y); }
.company-head-logo { width: 88px; height: 88px; border-radius: 18px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 8px; }
.company-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: clamp(24px, 4vw, 32px); }
.company-head-meta { color: var(--ink-2); font-size: 14.5px; display: flex; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.company-head-meta a:hover { text-decoration: underline; }
.domain-link { display: inline-flex; align-items: center; gap: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95em; }
.company-head-rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.company-head-cta { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.company-head-cta .btn { width: 100%; }
.company-head-cta .small { text-align: center; }
.follow-form { display: flex; }
.follow-btn { width: 100%; font-size: 14px; }
.follow-btn.is-following { background: var(--y-pale); border-color: var(--y-dark); }
.follow-btn.is-following .icon { fill: var(--bad); color: var(--bad); }
.layout-2col { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
.col-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 14px; }
.dist-card { padding: 16px 18px; }
.dist-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.dist-head h2 { font-size: 17px; }
.filters { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 16px; font-size: 14.5px; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group select { padding: 6px 10px; border-radius: 8px; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--y-dark); margin: 0; }
.filter-note { font-size: 14px; color: var(--ink-2); background: var(--y-pale); border-radius: 10px; padding: 8px 12px; }
.reviews-list { display: flex; flex-direction: column; gap: 14px; }
.side-card { padding: 16px 18px; }
.side-card h2 { font-size: 17px; margin-bottom: 10px; }
.contact-list { display: grid; gap: 8px; font-size: 14.5px; }
.contact-list li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.contact-list .icon { color: var(--ink-3); flex: none; }
.contact-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-list a:hover { text-decoration: underline; }
.social-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.social-list a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.social-list a:hover { border-color: var(--ink-3); }
.claim-card { background: var(--y-pale); border-color: #F3E7B1; }
.claim-card .btn { margin-top: 10px; }
.side-note { padding-inline: 4px; }

/* ---------- Pills / pagination / empty ---------- */
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.pill:hover { border-color: var(--ink-3); color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; font-size: 14.5px; }
.page-btn, .page-num { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2); }
.page-btn:hover, .page-num:hover { border-color: var(--ink-3); color: var(--ink); }
.page-btn.is-disabled { opacity: .45; pointer-events: none; }
.page-list { display: flex; gap: 6px; }
.page-num.is-current { background: var(--y); border-color: var(--y); color: var(--ink); }
.page-info { display: none; color: var(--ink-3); }
.empty-state { text-align: center; padding: 40px 20px; background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--y-soft); color: var(--ink); display: inline-grid; place-items: center; margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; }
.empty-state p { color: var(--ink-2); margin-top: 6px; }
.empty-actions { margin-top: 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.results-count { margin-bottom: 14px; }
.add-cta { display: flex; flex-direction: column; gap: 12px; padding: 18px; margin-top: 24px; background: var(--y-pale); border-color: #F3E7B1; }

/* ---------- Check page ---------- */
.check-result { padding: 22px; margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.check-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; padding: 10px 14px; border-radius: 12px; align-self: flex-start; flex-wrap: wrap; }
.check-known { background: #EAF7EF; color: #176B3F; }
.check-unknown { background: var(--y-soft); color: #7A5A00; }
.check-company { display: flex; gap: 14px; align-items: flex-start; }
.check-company img { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--line); padding: 4px; background: #fff; }
.check-company h2 { font-size: 20px; }
.check-company .company-head-rating { margin-top: 8px; }
.check-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hints { border-top: 1px solid var(--line-2); padding-top: 16px; }
.hints h2 { font-size: 17px; margin-bottom: 4px; }
.hints h3 { font-size: 15px; margin: 18px 0 6px; }
.hint-list { display: grid; gap: 8px; margin-top: 12px; }
.hint-list li { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2); font-size: 14.5px; }
.hint-list .icon { flex: none; margin-top: 4px; }
.hint-ok .icon { color: var(--good); } .hint-warn .icon { color: var(--bad); } .hint-note .icon { color: var(--mid); }
.tips { list-style: disc; padding-inline-start: 20px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 4px; }
.check-how { margin-top: 28px; }

/* ---------- Profile ---------- */
.profile-head { display: flex; gap: 18px; align-items: center; padding: 20px; margin-top: 10px; border-top: 4px solid var(--y); }
.profile-body h1 { font-size: 24px; }
.profile-stats { display: flex; gap: 20px; margin-top: 10px; }
.profile-stats li { display: flex; flex-direction: column; line-height: 1.2; }
.profile-stats strong { font-size: 22px; }
.profile-stats span { font-size: 13px; color: var(--ink-3); }

/* ---------- Blog / prose ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-cover { display: block; aspect-ratio: 16/9; background: var(--y-soft); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink-2); }
.post-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.post-body h2, .post-body h3 { font-size: 17px; line-height: 1.45; }
.post-body p { color: var(--ink-2); font-size: 14.5px; }
.post-cat { display: inline-block; align-self: flex-start; font-size: 12.5px; font-weight: 700; color: #7A5A00; background: var(--y-soft); padding: 2px 10px; border-radius: 999px; }
.post-meta { font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.post-head { padding-block: 10px 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-head h1 { font-size: clamp(26px, 4.5vw, 40px); line-height: 1.3; }
.post-figure { margin: 0 0 24px; border-radius: var(--radius-lg); overflow: hidden; }
.post-figure img { width: 100%; height: auto; display: block; }
.prose { font-size: 17px; line-height: 1.9; color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table { margin: 0 0 1.1em; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose ul { list-style: disc; padding-inline-start: 24px; } .prose ol { list-style: decimal; padding-inline-start: 24px; }
.prose li { margin-bottom: .3em; }
.prose img { border-radius: 12px; }
.prose blockquote { border-inline-start: 4px solid var(--y); padding: 8px 16px; background: var(--y-pale); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.prose th { background: var(--bg); }
.prose.small { font-size: 15px; line-height: 1.8; }
.faq { margin-top: 32px; }
.faq h2 { margin-bottom: 12px; }
.faq-item { padding: 0; margin-bottom: 8px; }
.faq-item summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--ink-3); line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { padding: 0 18px 16px; }
.post-companies { margin-top: 32px; }
.post-companies h2 { margin-bottom: 12px; }
.post-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.related { margin-top: 40px; }
.related h2 { margin-bottom: 14px; }
.static-page .prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* ---------- Errors ---------- */
.error-page { text-align: center; padding-block: 48px 24px; max-width: 680px; }
.error-code { font-size: clamp(64px, 14vw, 120px); font-weight: 700; line-height: 1; color: var(--y); -webkit-text-stroke: 3px var(--ink); margin-bottom: 8px; }
.error-page .lead { margin: 10px auto 24px; }
.error-links { margin-top: 20px; color: var(--ink-2); display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.error-links a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 36px 24px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--ink-2); font-size: 14.5px; max-width: 420px; margin-top: 10px; }
.site-footer h2 { font-size: 14px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.site-footer nav li { margin-bottom: 6px; font-size: 14.5px; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-block: 16px 24px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 20px; inset-inline-start: 50%; transform: translateX(50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 14.5px; z-index: 200; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .company-grid, .review-grid, .post-grid, .feature-grid, .steps-row { grid-template-columns: repeat(2, 1fr); }
  .company-head { flex-direction: row; align-items: flex-start; }
  .company-head-body { flex: 1; min-width: 0; }
  .company-head-cta { align-items: stretch; min-width: 200px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .biz-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .add-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .page-info { display: inline; }
}
@media (min-width: 960px) {
  :root { --gutter: 24px; }
  .header-inner { grid-template-columns: auto minmax(200px, 340px) 1fr; gap: 16px; }
  .header-search { display: block; }
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; grid-column: auto; align-items: center; justify-content: flex-end; gap: 12px; padding: 0; border: 0; }
  .nav-links { flex-direction: row; gap: 0; margin: 0; }
  .nav-links a { padding: 8px 9px; font-size: 14.5px; white-space: nowrap; }
  .nav-actions { flex-wrap: nowrap; }
  .nav-actions .btn { padding-inline: 14px; font-size: 14.5px; }
  .user-menu ul { position: absolute; inset-inline-end: 0; top: 100%; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .country-grid { grid-template-columns: repeat(4, 1fr); }
  .company-grid, .steps, .feature-grid, .steps-row { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .layout-2col { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .col-side { position: sticky; top: 84px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(5, 1fr); }
  .footer-brand { grid-column: auto; }
  .hero { padding-block: 64px 72px; }
  .section { padding-block: 56px; }
}
@media (min-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .country-grid { grid-template-columns: repeat(6, 1fr); }
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(4, 1fr); }
  .page-home .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (hover: none) { .cat-tile:hover, .country-tile:hover, .company-card:hover, .post-card:hover, .cat-row:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .hero-search, .filters, .review-foot, .biz-band, .company-head-cta, .claim-card, .pagination, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  .layout-2col { grid-template-columns: 1fr; }
  a { text-decoration: none; }
}
