/* ============================================================
   ReviewMinds — Design System
   Independent SaaS & software reviews
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,16..72,400;0,16..72,500;0,16..72,600;1,16..72,400;1,16..72,500&display=swap');

:root {
  /* Brand */
  --navy: #1B3C6B;
  --navy-deep: #122a4d;
  --navy-ink: #0c1d38;
  --blue: #2563EB;
  --blue-hover: #1d4fd0;
  --green: #0EA47A;
  --amber: #F59E0B;
  --red: #EF4444;

  /* Neutrals */
  --ink: #0F172A;
  --slate: #475569;
  --slate-light: #64748B;
  --cloud: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #cbd5e1;

  /* Tints */
  --green-50: #e6f6f1;
  --green-100: #cdeee3;
  --blue-50: #eaf1fe;
  --amber-50: #fef6e7;
  --amber-100: #fdedcf;
  --red-50: #fdecec;
  --navy-50: #eef2f8;

  /* Type */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', Georgia, serif;

  /* Radii + shadow */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow: 0 4px 14px rgba(15,23,42,.07), 0 1px 3px rgba(15,23,42,.05);
  --shadow-lg: 0 18px 48px rgba(15,23,42,.13), 0 4px 12px rgba(15,23,42,.06);

  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--navy-ink);
  color: #cfe0f5;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.trust-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.trust-track span b { color: var(--green); font-weight: 800; }
.trust-track .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: none; } }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  height: 72px;
}
/* Logo */
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(150deg, var(--navy), #2a5599);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(27,60,107,.32);
  position: relative;
}
.logo-mark svg { width: 21px; height: 21px; }
.logo-word { font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.logo-word .m { color: var(--blue); }
.logo-sub { display:block; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--slate-light); text-transform: uppercase; margin-top: -2px; }

/* Search */
.search {
  flex: 1; max-width: 440px;
  display: flex; align-items: center; gap: 10px;
  background: var(--cloud);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 16px; height: 44px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.search:focus-within { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px var(--blue-50); }
.search svg { width: 17px; height: 17px; color: var(--slate-light); flex-shrink: 0; }
.search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 14.5px; color: var(--ink); font-family: inherit; }
.search kbd {
  font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--slate-light);
  background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: #334155;
  transition: background .14s, color .14s;
}
.nav-link:hover { background: var(--navy-50); color: var(--navy); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .18s; }
.nav-link.tag::after {
  content: 'NEW'; font-size: 9px; font-weight: 800; letter-spacing: .05em;
  color: var(--green); background: var(--green-50); padding: 2px 5px; border-radius: 5px;
}
.icon-btn {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--white); display: grid; place-items: center; color: var(--slate);
  position: relative; transition: border-color .14s, color .14s;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--navy); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .badge {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--white);
}
.header-icons { display: flex; align-items: center; gap: 8px; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 760px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 70;
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-mega:hover .nav-link .chev { transform: rotate(180deg); }
.mega::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 26px; }
.mega-col h5 { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); }
.mega-item { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 10px; transition: background .13s; }
.mega-item:hover { background: var(--cloud); }
.mega-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-weight: 800; font-size: 14px; }
.mega-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mega-item small { display: block; font-size: 11.5px; color: var(--slate-light); }
.mega-foot { display:flex; align-items:center; justify-content:space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mega-foot a { font-size: 13.5px; font-weight: 700; color: var(--blue); display:inline-flex; align-items:center; gap:6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14.5px; line-height: 1;
  padding: 13px 20px; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform .12s, box-shadow .14s, background .14s, border-color .14s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 10px 22px rgba(37,99,235,.34); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy-50); }
.btn-amber { background: var(--amber); color: #3a2a05; box-shadow: 0 6px 16px rgba(245,158,11,.3); }
.btn-amber:hover { filter: brightness(.97); }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ===== Score badge (signature element) ===== */
.score {
  --s: var(--green);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 16px; flex-shrink: 0;
  background: var(--white); border: 2px solid var(--s); color: var(--s);
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
.score b { font-size: 23px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.score small { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .72; margin-top: 2px; }
.score.lg { width: 92px; height: 92px; border-radius: 22px; }
.score.lg b { font-size: 36px; }
.score.lg small { font-size: 9.5px; margin-top: 3px; }
.score.filled { background: var(--s); color: #fff; border-color: var(--s); }
.score.filled small { opacity: .85; }
.s-green { --s: var(--green); }
.s-blue  { --s: var(--blue); }
.s-amber { --s: var(--amber); }
.s-red   { --s: var(--red); }

/* Stars */
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars svg { width: 14px; height: 14px; }
.stars .on { color: var(--amber); }
.stars .off { color: var(--border-strong); }
.rev-count { font-size: 12.5px; color: var(--slate-light); font-weight: 600; }
.rev-count a { color: var(--blue); }

/* Verdict pill */
.verdict {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.v-best { background: var(--green-50); color: #0a7d5d; }
.v-great { background: var(--blue-50); color: var(--blue-hover); }
.v-good { background: var(--amber-50); color: #9a6608; }
.v-skip { background: var(--red-50); color: #c0322f; }

/* Section heading */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; letter-spacing: -.01em; margin: 0 0 10px; color: var(--ink); }
.section-head p { color: var(--slate); font-size: 16px; margin: 0; line-height: 1.55; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.row-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; margin: 0; }
.row-head .view-all { font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.row-head .view-all:hover { gap: 9px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, #fff 0%, var(--cloud) 100%); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: 56px 0 60px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--white); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(14,164,122,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(14,164,122,.45);} 70%{box-shadow:0 0 0 8px rgba(14,164,122,0);} 100%{box-shadow:0 0 0 0 rgba(14,164,122,0);} }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 50px; line-height: 1.08; letter-spacing: -.02em; margin: 18px 0 16px; color: var(--ink); text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--navy); }
.hero-desc { font-size: 17px; line-height: 1.6; color: var(--slate); margin: 0 0 26px; max-width: 480px; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin: 24px 0 28px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero-stat span { font-size: 12.5px; color: var(--slate-light); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero featured review card */
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.feat-shot { position: relative; aspect-ratio: 16/10; }
.feat-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; background: rgba(12,29,56,.85); color: #fff; font-size: 11.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.feat-badge svg { width: 13px; height: 13px; color: var(--amber); }
.feat-body { padding: 20px 22px 22px; }
.feat-top { display: flex; align-items: center; gap: 14px; }
.feat-logo { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; flex-shrink: 0; }
.feat-top h4 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.feat-top .cat { font-size: 12.5px; color: var(--slate-light); font-weight: 600; }
.feat-quote { font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.5; color: #334155; margin: 16px 0 18px; padding-left: 14px; border-left: 3px solid var(--amber); }
.feat-criteria { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; margin-bottom: 18px; }
.crit { font-size: 12.5px; }
.crit-top { display: flex; justify-content: space-between; margin-bottom: 5px; }
.crit-top span { color: var(--slate); font-weight: 600; }
.crit-top b { color: var(--ink); font-weight: 800; }
.crit-bar { height: 6px; border-radius: 99px; background: var(--cloud); overflow: hidden; }
.crit-bar i { display: block; height: 100%; border-radius: 99px; }

/* ===== Placeholder shot ===== */
.shot {
  background-color: #e9eef5;
  background-image: repeating-linear-gradient(135deg, rgba(27,60,107,.05) 0 12px, rgba(27,60,107,.09) 12px 24px);
  display: grid; place-items: center; color: #94a3b8; position: relative;
}
.shot .shot-label { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #64748b; background: rgba(255,255,255,.7); padding: 5px 11px; border-radius: 7px; }

/* ===== Top ranked list ===== */
.ranked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 30px; }
.rank-item { display: flex; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); transition: border-color .15s, box-shadow .15s, transform .15s; }
.rank-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.rank-num { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: .9; color: var(--border-strong); min-width: 34px; }
.rank-item:hover .rank-num { color: var(--navy); }
.rank-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.rank-body { flex: 1; min-width: 0; }
.rank-body .rh { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.rank-body h4 { margin: 0; font-size: 15.5px; font-weight: 800; }
.rank-body .cat { font-size: 11.5px; color: var(--slate-light); font-weight: 600; }
.rank-body p { margin: 6px 0 9px; font-size: 13px; line-height: 1.45; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-foot { display: flex; align-items: center; justify-content: space-between; }
.rank-score { font-size: 13px; font-weight: 800; }

/* ===== Browse: sidebar + grid ===== */
.browse-inner { display: grid; grid-template-columns: 252px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: 88px; }
.filter-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 6px 18px; }
.filter-block { border-bottom: 1px solid var(--border); padding: 16px 0; }
.filter-block:last-child { border-bottom: 0; }
.filter-block > h5 { margin: 0; font-size: 13.5px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.filter-block > h5 svg { width: 15px; height: 15px; color: var(--slate-light); transition: transform .18s; }
.filter-block.collapsed > h5 svg { transform: rotate(-90deg); }
.filter-opts { margin-top: 13px; display: flex; flex-direction: column; gap: 3px; }
.filter-block.collapsed .filter-opts { display: none; }
.fopt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--slate); padding: 5px 0; cursor: pointer; user-select: none; }
.fopt input { display: none; }
.fopt .box { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; transition: all .14s; }
.fopt .box svg { width: 11px; height: 11px; color: #fff; opacity: 0; }
.fopt input:checked + .box { background: var(--blue); border-color: var(--blue); }
.fopt input:checked + .box svg { opacity: 1; }
.fopt:hover { color: var(--ink); }
.fopt .count { margin-left: auto; font-size: 11.5px; color: var(--slate-light); font-weight: 600; }
.fopt input:checked ~ span:first-of-type { color: var(--ink); font-weight: 600; }

.promo-side { margin-top: 16px; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); border-radius: var(--r); padding: 22px; color: #fff; text-align: center; }
.promo-side .ps-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin: 0 auto 12px; }
.promo-side h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.promo-side p { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: #c4d4ea; }

/* Browse toolbar */
.browse-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.browse-bar .count-txt { font-size: 14px; font-weight: 700; }
.browse-bar .count-txt span { color: var(--slate-light); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 9px; }
.sort label { font-size: 13.5px; color: var(--slate); font-weight: 600; }
.sort select { font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink); border: 1.5px solid var(--border); background: var(--white); border-radius: 9px; padding: 9px 32px 9px 13px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }

/* ===== Product card ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .16s, box-shadow .16s, transform .16s; }
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-shot { position: relative; aspect-ratio: 16/9; border-bottom: 1px solid var(--border); }
.card-tags { position: absolute; top: 11px; left: 11px; display: flex; gap: 6px; }
.tag-chip { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(12,29,56,.82); color: #fff; backdrop-filter: blur(3px); }
.tag-chip.editor { background: var(--green); }
.tag-chip.ending { background: var(--red); }
.card-score-fl { position: absolute; bottom: -22px; right: 14px; }
.card-body { padding: 28px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.card-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.card-head h4 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.card-head .cat { font-size: 11.5px; font-weight: 600; }
.card-head .cat a { color: var(--blue); }
.card p.desc { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--slate); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.price b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.price .per { font-size: 12px; color: var(--slate-light); font-weight: 600; }
.price .was { font-size: 12.5px; color: var(--slate-light); text-decoration: line-through; margin-left: 4px; }
.card-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--slate-light); }
.card-empty svg { width: 40px; height: 40px; margin-bottom: 14px; color: var(--border-strong); }

/* ===== Membership / newsletter promo ===== */
.promo { background: var(--navy-ink); position: relative; overflow: hidden; }
.promo::before { content:''; position: absolute; inset: 0; background: radial-gradient(900px 360px at 12% 0%, rgba(37,99,235,.22), transparent 60%), radial-gradient(700px 320px at 95% 110%, rgba(14,164,122,.18), transparent 55%); }
.promo-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 60px 0; }
.promo-l .eyebrow { color: var(--amber); }
.promo-l h2 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.12; letter-spacing: -.01em; color: #fff; margin: 8px 0 16px; }
.promo-l p { color: #b9cae3; font-size: 16px; line-height: 1.6; margin: 0 0 26px; max-width: 440px; }
.promo-form { display: flex; gap: 10px; max-width: 440px; }
.promo-form input { flex: 1; border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; border-radius: 10px; padding: 0 16px; height: 50px; font-family: inherit; font-size: 14.5px; outline: none; }
.promo-form input::placeholder { color: #8ba3c4; }
.promo-form input:focus { border-color: var(--blue); background: rgba(255,255,255,.1); }
.promo-fine { color: #7e96ba; font-size: 12px; margin: 12px 0 0; }
.promo-r { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perk { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 18px; }
.perk .pk-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; }
.perk h5 { margin: 0 0 5px; font-size: 14.5px; font-weight: 800; color: #fff; }
.perk p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #9fb4d4; }

/* ===== Category rows ===== */
.cat-rows { background: var(--white); border-top: 1px solid var(--border); }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { display: flex; gap: 12px; padding: 15px; border: 1px solid var(--border); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.mini:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.mini-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.mini-body { min-width: 0; flex: 1; }
.mini-body h5 { margin: 0 0 2px; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.mini-body .sc { font-size: 11.5px; font-weight: 800; }
.mini-body p { margin: 4px 0 8px; font-size: 12px; line-height: 1.4; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-body .mini-foot { display: flex; align-items: center; justify-content: space-between; }
.mini-body .price-sm { font-size: 13px; font-weight: 800; }
.tabs { display: inline-flex; gap: 4px; background: var(--cloud); padding: 5px; border-radius: 12px; margin: 0 auto 28px; }
.tab { padding: 9px 18px; border-radius: 8px; border: 0; background: transparent; font-weight: 700; font-size: 13.5px; color: var(--slate); transition: all .15s; }
.tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

/* ===== Footer ===== */
.footer { background: var(--navy-ink); color: #c4d4ea; padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-word { color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: #9fb4d4; margin: 16px 0 18px; max-width: 270px; }
.footer-trust { display: flex; gap: 8px; flex-wrap: wrap; }
.ftrust { font-size: 11px; font-weight: 700; color: #c4d4ea; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 6px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.ftrust svg { width: 12px; height: 12px; color: var(--green); }
.footer-col h6 { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-col a { display: block; font-size: 13.5px; color: #9fb4d4; padding: 6px 0; transition: color .14s; }
.footer-col a:hover { color: #fff; }
.footer-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; }
.footer-bot p { font-size: 12.5px; color: #7e96ba; margin: 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; color: #c4d4ea; transition: all .15s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .ranked { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .promo-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .nav .nav-link.hide-md { display: none; }
}
@media (max-width: 860px) {
  .browse-inner { grid-template-columns: 1fr; }
  .filters { position: static; }
  .search { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 36px; }
  .section-head h2, .promo-l h2 { font-size: 28px; }
  .ranked, .grid, .mini-grid, .promo-r, .feat-criteria { grid-template-columns: 1fr; }
  .nav { display: none; }
  .promo-form { flex-direction: column; }
}

/* ============================================================
   PAGES: mobile nav, breadcrumb, review, category, guides
   ============================================================ */
.stars svg.half { color: var(--amber); opacity: .55; }

/* ----- Mobile nav drawer ----- */
.hamburger { display: none; }
.m-drawer {
  position: fixed; top: 0; right: 0; width: 320px; max-width: 86vw; height: 100%;
  background: var(--white); z-index: 200; transform: translateX(100%);
  transition: transform .26s cubic-bezier(.4,0,.2,1); box-shadow: -10px 0 40px rgba(15,23,42,.16);
  display: flex; flex-direction: column; padding: 18px;
}
.m-drawer.open { transform: translateX(0); }
.m-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.m-search { display: flex; max-width: none; margin-bottom: 12px; }
.m-nav { display: flex; flex-direction: column; overflow-y: auto; }
.m-nav a { padding: 13px 12px; border-radius: 10px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.m-nav a:hover { background: var(--cloud); }
.m-nav a.m-sub { font-size: 14px; font-weight: 600; color: var(--slate); padding: 10px 12px 10px 20px; }
.m-overlay { position: fixed; inset: 0; background: rgba(12,29,56,.5); opacity: 0; visibility: hidden; transition: opacity .26s; z-index: 150; }
.m-overlay.open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }
@media (max-width: 980px) {
  .nav { display: none; }
  .hamburger { display: grid; }
}

/* ----- Breadcrumb ----- */
.crumb { background: var(--white); border-bottom: 1px solid var(--border); }
.crumb-inner { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 13px; color: var(--slate); flex-wrap: wrap; }
.crumb-inner a { color: var(--slate); font-weight: 600; }
.crumb-inner a:hover { color: var(--blue); }
.crumb-inner .sep { color: var(--border-strong); }
.crumb-inner .cur { color: var(--ink); font-weight: 700; }

/* ----- Generic page header ----- */
.page-hero { background: linear-gradient(180deg,#fff,var(--cloud)); border-bottom: 1px solid var(--border); padding: 44px 0; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.02em; margin: 0 0 12px; color: var(--ink); }
.page-hero p { font-size: 16.5px; color: var(--slate); line-height: 1.55; margin: 0; max-width: 680px; }
.page-hero .ph-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chip { font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--white); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ----- Category index grid ----- */
.cat-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { display: block; padding: 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-tile .ct-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.cat-tile h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.cat-tile p { margin: 0; font-size: 13px; color: var(--slate-light); font-weight: 600; }
.cat-tile .ct-go { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

/* ----- Review page ----- */
.rv-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; padding: 40px 0 64px; }
.rv-main { min-width: 0; }
.rv-hero { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.rv-hero .rv-logo { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 30px; flex-shrink: 0; }
.rv-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.1; }
.rv-hero .rv-sub { font-size: 14.5px; color: var(--slate); }
.rv-hero .rv-sub a { color: var(--blue); font-weight: 700; }
.rv-metaline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.rv-metaline .rv-rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.rv-shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 30px; background: var(--cloud); }
.rv-shot img { width: 100%; display: block; }

.rv-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; margin: 34px 0 12px; scroll-margin-top: 90px; }
.rv-body p { font-size: 16px; line-height: 1.7; color: #28323f; margin: 0 0 16px; }
.rv-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(37,99,235,.3); text-underline-offset: 2px; }
.rv-body a:hover { text-decoration-color: var(--blue); }
.rv-list { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rv-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.6; color: #28323f; }
.rv-list li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-50); }
.rv-list li::after { content: ''; position: absolute; left: 9px; top: 12px; width: 6px; height: 3px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.rv-alts li::before { background: var(--blue-50); }
.rv-alts li::after { display: none; }

.rv-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 0 20px; }
.rv-pros, .rv-cons { border-radius: var(--r); padding: 20px; border: 1px solid var(--border); }
.rv-pros { background: var(--green-50); border-color: var(--green-100); }
.rv-cons { background: var(--amber-50); border-color: var(--amber-100); }
.rv-pros h4, .rv-cons h4 { margin: 0 0 12px; font-size: 14px; font-weight: 800; }
.rv-pros h4 { color: #0a7d5d; } .rv-cons h4 { color: #9a6608; }
.rv-pros ul, .rv-cons ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.rv-pros li, .rv-cons li { font-size: 14px; line-height: 1.45; color: #28323f; }

.rv-faq { display: flex; flex-direction: column; gap: 12px; }
.rv-q { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; }
.rv-q h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; }
.rv-q p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.rv-q a { color: var(--blue); font-weight: 600; }

/* scorecard + sticky buy (sidebar) */
.rv-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.rv-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.rv-scorebig { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rv-scorebig .label b { display: block; font-size: 15px; font-weight: 800; }
.rv-scorebig .label span { font-size: 12.5px; color: var(--slate-light); font-weight: 600; }
.rv-crit { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.rv-buy-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.rv-buy-price b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.rv-buy-price .per { font-size: 13px; color: var(--slate-light); font-weight: 600; }
.rv-buy-price .was { font-size: 14px; color: var(--slate-light); text-decoration: line-through; }
.rv-note { font-size: 11.5px; color: var(--slate-light); text-align: center; margin: 10px 0 0; }
.rv-toc { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; }
.rv-toc h5 { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); }
.rv-toc a { display: block; font-size: 13.5px; color: var(--slate); padding: 5px 0; font-weight: 600; }
.rv-toc a:hover { color: var(--blue); }

/* user reviews block */
.ur-head { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 18px; }
.ur-head h2 { font-size: 24px; font-weight: 800; margin: 0; }
.ur { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.ur-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.ur-body { flex: 1; }
.ur-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.ur-top b { font-size: 14.5px; font-weight: 800; }
.ur-top .ur-role { font-size: 12px; color: var(--slate-light); font-weight: 600; }
.ur-top .ur-date { font-size: 12px; color: var(--slate-light); margin-left: auto; }
.ur-verified { font-size: 10.5px; font-weight: 800; color: var(--green); background: var(--green-50); padding: 2px 7px; border-radius: 5px; text-transform: uppercase; letter-spacing: .03em; }
.ur p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: #28323f; }
.ur-form { background: var(--cloud); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; margin-top: 18px; display: flex; gap: 10px; align-items: center; }
.ur-form input { flex: 1; border: 1.5px solid var(--border); border-radius: 9px; padding: 11px 14px; font-family: inherit; font-size: 14px; }

.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

@media (max-width: 980px) {
  .rv-wrap { grid-template-columns: 1fr; }
  .rv-side { position: static; flex-direction: column-reverse; }
  .cat-index { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-hero h1 { font-size: 30px; }
  .rv-hero { flex-wrap: wrap; gap: 14px; }
  .rv-hero h1 { font-size: 26px; }
  .rv-pc { grid-template-columns: 1fr; }
  .cat-index, .rel-grid { grid-template-columns: 1fr; }
  .ur-form { flex-direction: column; align-items: stretch; }
}
