/* girlfriendsai.net - design system v1 */
/* =========================================================================
   Tokens
   ========================================================================= */
:root {
  --bg: #0a0a14;
  --bg-2: #10101c;
  --surface: #15152410;
  --surface-2: #1c1c2e;
  --surface-3: #242440;
  --border: #2a2a45;
  --border-strong: #3a3a5a;
  --text: #f5f5f7;
  --text-mut: #a4a4b8;
  --text-dim: #6b6b85;
  --pink: #ff3d8a;
  --pink-2: #ff7ab0;
  --pink-soft: rgba(255, 61, 138, 0.12);
  --violet: #a78bfa;
  --violet-2: #c4b5fd;
  --cyan: #38d4ff;
  --amber: #ffb547;
  --green: #34d399;
  --red: #f87171;
  --grad-1: linear-gradient(135deg, #ff3d8a 0%, #a78bfa 100%);
  --grad-2: linear-gradient(135deg, #ff7ab0 0%, #ffb547 100%);
  --grad-3: linear-gradient(135deg, #38d4ff 0%, #a78bfa 60%, #ff3d8a 100%);
  --grad-card: linear-gradient(160deg, rgba(255, 61, 138, 0.10), rgba(167, 139, 250, 0.06) 50%, transparent 80%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 40px rgba(255, 61, 138, 0.12), 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(167, 139, 250, 0.18), 0 8px 24px rgba(0, 0, 0, 0.5);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1200px;
  --container-narrow: 880px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255, 61, 138, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(167, 139, 250, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 30% at 0% 30%, rgba(56, 212, 255, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--pink-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--text); }
button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }

/* =========================================================================
   Typography
   ========================================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 .8em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.6rem); margin-top: 2.5em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-top: 2em; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; color: var(--text-mut); }
@media (max-width: 600px) {
  h2 { margin-top: 2em; }
  h3 { margin-top: 1.6em; }
}
.lead { font-size: 1.15rem; color: var(--text); }
strong { color: var(--text); font-weight: 600; }
small { color: var(--text-dim); }
::selection { background: var(--pink); color: #fff; }

/* Gradient headline */
.grad-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =========================================================================
   Layout
   ========================================================================= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }

@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 1.1rem; }
}
@media (max-width: 380px) {
  .container, .container-narrow { padding: 0 .9rem; }
}

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 10, 20, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}
@media (max-width: 600px) {
  .nav { padding: .8rem 1.1rem; }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad-1);
  display: grid; place-items: center;
  color: #fff; font-size: 1rem;
  box-shadow: 0 6px 18px rgba(255, 61, 138, 0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  color: var(--text-mut);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--text);
  background: var(--surface-2);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--grad-1);
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 6px 20px rgba(255, 61, 138, 0.35);
}
.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .55rem .7rem;
  border-radius: 10px;
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 10, 20, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: .25rem;
  }
  .site-header.is-open .nav-links a { padding: .8rem 1rem; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
  .logo span:not(.logo-mark) { font-size: 1rem; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 20%, rgba(255, 61, 138, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(167, 139, 250, 0.20), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  border: 1px solid rgba(255, 61, 138, 0.3);
  color: var(--pink-2);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.hero h1 { margin-bottom: 1rem; }
.hero p.lead {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--text-mut);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 3rem;
}
@media (max-width: 480px) {
  .hero-actions { gap: .7rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  color: var(--text-dim);
  font-size: .9rem;
  margin-top: 1rem;
}
@media (max-width: 480px) {
  .trust { gap: .7rem 1.2rem; font-size: .82rem; }
}
.trust-item { display: inline-flex; align-items: center; gap: .5rem; }
.trust-item strong { color: var(--text); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 61, 138, 0.4);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px rgba(255, 61, 138, 0.55); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-3); color: var(--text); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink-2); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* =========================================================================
   Cards & Tiles
   ========================================================================= */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .4rem;
  color: var(--text);
  position: relative;
}
.card-body { position: relative; color: var(--text-mut); }

/* App tile (homepage grid) */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 480px) {
  .apps-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
}
@media (max-width: 360px) {
  .apps-grid { grid-template-columns: 1fr; }
}
.app-tile {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.app-tile:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.app-tile .thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.app-tile .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 50%);
  z-index: 2;
}
/* When a product screenshot is supplied, render it as a cover image and dim with a gradient for legible overlay text */
.app-tile .thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .35s var(--ease);
}
.app-tile:hover .thumb img { transform: scale(1.06); }
.app-tile .thumb.has-img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,20,0.05) 0%, rgba(10,10,20,0.55) 60%, rgba(10,10,20,0.85) 100%);
  z-index: 1;
}
.app-tile .thumb.has-img .label {
  position: relative;
  z-index: 3;
  align-self: end;
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1.5rem;
  text-align: left;
}
.app-tile .thumb .logo-badge {
  position: absolute;
  top: .65rem; left: .65rem;
  width: 38px; height: 38px;
  border-radius: 10px;
  z-index: 3;
  background: rgba(10,10,20,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 4px;
  object-fit: contain;
}
.app-tile .meta {
  padding: 1rem 1.1rem 1.15rem;
}
.app-tile h3 {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  color: var(--text);
  line-height: 1.3;
}
.app-tile .tag-line { color: var(--text-mut); font-size: .88rem; margin: 0 0 .7rem; line-height: 1.4; min-height: 2.4em; }
.app-tile .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.app-tile .price { color: var(--text-dim); font-size: .82rem; }
.app-tile .row .tag { font-size: .7rem; padding: .25rem .55rem; }

/* App tile gradient backgrounds (deterministic per app) */
.bg-anima    { background: linear-gradient(135deg, #ff6ec4 0%, #7873f5 100%); }
.bg-candy    { background: linear-gradient(135deg, #ff5fa8 0%, #ff9966 100%); }
.bg-eva      { background: linear-gradient(135deg, #38d4ff 0%, #5b6cff 100%); }
.bg-linky    { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.bg-poly     { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.bg-kupid    { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.bg-muah     { background: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%); }
.bg-lover    { background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%); }
.bg-crushon  { background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); }
.bg-mate     { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); }
.bg-blush    { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); color: #6b0046 !important; }
.bg-gpt      { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.bg-ai2u     { background: linear-gradient(135deg, #654ea3 0%, #eaafc8 100%); }
.bg-yandere  { background: linear-gradient(135deg, #cb2d3e 0%, #ef473a 100%); }
.bg-custom   { background: linear-gradient(135deg, #c471ed 0%, #f64f59 50%, #12c2e9 100%); }
.bg-boyfriend{ background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); }
.bg-joi      { background: linear-gradient(135deg, #ff3d7f 0%, #ff9d57 100%); }
.bg-lovescape{ background: linear-gradient(135deg, #b621fe 0%, #1fd1f9 100%); }
.bg-ourdream { background: linear-gradient(135deg, #5b247a 0%, #1bcedf 100%); }
.bg-nectar   { background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); color: #5b2900 !important; }

/* =========================================================================
   Ratings
   ========================================================================= */
.rating {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  color: var(--amber);
}
.rating .score { color: var(--text); font-family: var(--font-display); font-size: 1.1rem; }
.rating .out { color: var(--text-dim); font-weight: 500; font-size: .85rem; }
.stars {
  --pct: 80%;
  position: relative;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: .12em;
  line-height: 1;
  color: var(--surface-3);
}
.stars::before { content: "★★★★★"; }
.stars::after {
  content: "★★★★★";
  position: absolute; inset: 0;
  width: var(--pct);
  overflow: hidden;
  color: var(--amber);
}

/* =========================================================================
   Pros / Cons
   ========================================================================= */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 720px) { .proscons { grid-template-columns: 1fr; } }
.proscons .col {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.proscons h4 {
  display: flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.proscons .pros { border-left: 3px solid var(--green); }
.proscons .pros h4 { color: var(--green); }
.proscons .cons { border-left: 3px solid var(--red); }
.proscons .cons h4 { color: var(--red); }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li {
  position: relative;
  padding: .5rem 0 .5rem 1.7rem;
  color: var(--text-mut);
  border-bottom: 1px dashed var(--border);
}
.proscons li:last-child { border-bottom: 0; }
.proscons li::before {
  position: absolute; left: 0; top: .5rem;
  font-size: .95rem; font-weight: 700;
  width: 1.2rem;
}
.proscons .pros li::before { content: "✓"; color: var(--green); }
.proscons .cons li::before { content: "✕"; color: var(--red); }

/* =========================================================================
   Feature grid
   ========================================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; gap: 1rem; }
}
.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  background: var(--grad-1);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(255, 61, 138, 0.3);
}
.feature h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.feature p { margin: 0; font-size: .95rem; }

/* =========================================================================
   Comparison table
   ========================================================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  -webkit-overflow-scrolling: touch;
  position: relative;
  margin: 1.5rem 0;
}
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
/* Mobile scroll-hint: right-edge fade so users know the table is swipeable */
@media (max-width: 760px) {
  .table-wrap { background: linear-gradient(to right, var(--bg-2) 70%, rgba(255,61,138,0.10) 100%), var(--bg-2); }
  .table-wrap::after {
    content: "Swipe →";
    position: absolute;
    top: .5rem; right: .6rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--pink);
    background: var(--bg);
    padding: .2rem .5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 61, 138, 0.4);
    pointer-events: none;
    opacity: .85;
  }
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: .95rem;
}
.compare th, .compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare td.app, .compare td:first-child { white-space: normal; }
@media (max-width: 600px) {
  .compare th, .compare td { padding: .75rem .9rem; font-size: .88rem; }
}
.compare thead th {
  background: var(--surface-2);
  color: var(--text-mut);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: rgba(255, 61, 138, 0.04); }
.compare td.best { color: var(--green); font-weight: 600; }
.compare td.bad  { color: var(--red); }
.compare td .pill { padding: .15rem .55rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; background: var(--surface-3); color: var(--text); }
.compare td .pill.pro { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.compare td .pill.free { background: rgba(56, 212, 255, 0.15); color: var(--cyan); }
.compare td .pill.paid { background: rgba(255, 181, 71, 0.15); color: var(--amber); }
.compare td.app { font-weight: 700; color: var(--text); }
.compare td.app a { color: var(--text); }
.compare td.app a:hover { color: var(--pink-2); }

/* =========================================================================
   Review hero (app pages)
   ========================================================================= */
.review-hero { padding: clamp(2rem, 5vw, 4rem) 0; }
.review-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 820px) {
  .review-grid { grid-template-columns: 220px 1fr; gap: 1.75rem; }
}
@media (max-width: 680px) {
  .review-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .review-grid .visual { margin: 0 auto; max-width: 220px; }
  .review-grid .meta-strip { justify-content: center; }
  .review-grid .tags { justify-content: center; }
  .review-grid .flex.wrap { justify-content: center; }
}
.review-grid .visual,
.review-hero .visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 280px;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
/* When an actual brand logo image is supplied */
.review-grid .visual img,
.review-hero .visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.review-grid .visual.has-logo,
.review-hero .visual.has-logo { background: var(--bg-2); padding: 14px; }
.review-grid .visual.has-logo::after,
.review-hero .visual.has-logo::after { display: none; }
.review-grid .visual.has-logo img,
.review-hero .visual.has-logo img { border-radius: calc(var(--radius-lg) - 12px); object-fit: cover; }
/* For wide / non-square brand marks (eg mate.ai) - contain inside the gradient frame */
.review-grid .visual.has-logo.is-contain,
.review-hero .visual.has-logo.is-contain { padding: 22%; }
.review-grid .visual.has-logo.is-contain,
.review-hero .visual.has-logo.is-contain { background: var(--surface-2); }
.review-grid .visual.has-logo.is-contain img,
.review-hero .visual.has-logo.is-contain img { object-fit: contain; border-radius: 0; }

/* App screenshot - large preview embedded in the review body */
.app-preview {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow-md);
  position: relative;
}
.app-preview img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.app-preview .caption {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.1rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .82rem;
}
.app-preview .caption::before {
  content: "📷";
  font-size: 1rem;
}
.review-grid .visual::after,
.review-hero .visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 55%);
}
.review-grid h1,
.review-hero h1 {
  margin: .25rem 0 .6rem;
}
.review-grid .tagline,
.review-hero .tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-mut);
  margin: 0 0 1.5rem;
  max-width: 60ch;
}
@media (max-width: 680px) {
  .review-grid .tagline { margin-left: auto; margin-right: auto; }
}
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin: 1.25rem 0 1.75rem;
  color: var(--text-mut);
  font-size: .9rem;
}
@media (max-width: 480px) {
  .meta-strip { gap: .6rem 1.1rem; font-size: .85rem; }
}
.meta-strip .item { display: inline-flex; align-items: center; gap: .4rem; }
.meta-strip .item strong { color: var(--text); }

/* Verdict callout */
.verdict {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 61, 138, 0.10), rgba(167, 139, 250, 0.06));
  border: 1px solid rgba(255, 61, 138, 0.25);
  margin: 1.5rem 0;
}
@media (max-width: 560px) {
  .verdict { flex-direction: column; text-align: center; gap: 1rem; padding: 1.3rem 1.2rem; }
}
.verdict .score-circle {
  flex: 0 0 auto;
  width: 78px; height: 78px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-1);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(255, 61, 138, 0.45);
  line-height: 1;
}
.verdict .score-circle small { font-size: .7rem; opacity: .85; font-weight: 600; display: block; margin-top: 2px; }
.verdict h3 { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--text); }
.verdict p { margin: 0; color: var(--text-mut); font-size: .95rem; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 480px) {
  .pricing { grid-template-columns: 1fr; gap: 1rem; }
}
.plan {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.plan .btn { margin-top: auto; }
.plan:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.plan.featured {
  border-color: var(--pink);
  background: linear-gradient(160deg, rgba(255, 61, 138, 0.12), var(--bg-2) 60%);
  box-shadow: 0 16px 40px rgba(255, 61, 138, 0.18);
}
.plan.featured::before {
  content: "MOST POPULAR";
  position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--grad-1);
  color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(255, 61, 138, 0.4);
}
.plan h4 { font-size: 1rem; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mut); }
.plan .price {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin: .25rem 0;
}
.plan .price .per { font-size: .85rem; color: var(--text-dim); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; text-align: left; }
.plan li {
  padding: .45rem 0 .45rem 1.7rem;
  position: relative;
  color: var(--text-mut);
  font-size: .92rem;
}
.plan li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 700;
}

/* =========================================================================
   FAQ (CSS-only details/summary)
   ========================================================================= */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--pink);
  transition: transform .2s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 1rem 0 0;
  color: var(--text-mut);
  font-size: .95rem;
}

/* =========================================================================
   CTA banner
   ========================================================================= */
.cta-banner {
  margin: 3rem 0;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top right, rgba(167, 139, 250, 0.25), transparent 60%),
    linear-gradient(135deg, rgba(255, 61, 138, 0.15), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(255, 61, 138, 0.3);
  text-align: center;
}
.cta-banner h2 { margin-top: 0; }
.cta-banner p { max-width: 60ch; margin-left: auto; margin-right: auto; }
@media (max-width: 480px) {
  .cta-banner .btn { flex: 1 1 100%; }
}

/* =========================================================================
   Breadcrumbs
   ========================================================================= */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .85rem;
  color: var(--text-dim);
  padding-top: 1.25rem;
}
.crumbs a { color: var(--text-mut); }
.crumbs a:hover { color: var(--text); }
.crumbs span.sep { opacity: .5; }

/* =========================================================================
   Tags / badges
   ========================================================================= */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-mut);
  border: 1px solid var(--border);
}
.tag.tag-free { background: rgba(56, 212, 255, 0.10); color: var(--cyan); border-color: rgba(56, 212, 255, 0.3); }
.tag.tag-paid { background: rgba(255, 181, 71, 0.10); color: var(--amber); border-color: rgba(255, 181, 71, 0.3); }
.tag.tag-nsfw { background: rgba(248, 113, 113, 0.10); color: var(--red); border-color: rgba(248, 113, 113, 0.3); }
.tag.tag-sfw  { background: rgba(52, 211, 153, 0.10); color: var(--green); border-color: rgba(52, 211, 153, 0.3); }
.tag.tag-new  { background: var(--grad-1); color: #fff; border-color: transparent; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  margin-top: 5rem;
  padding: 4rem 0 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) { .site-footer { padding: 3rem 0 1.5rem; margin-top: 3rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
.footer-grid h4 {
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a {
  color: var(--text-mut);
  font-size: .92rem;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--text); }
.footer-grid .blurb { color: var(--text-mut); font-size: .92rem; max-width: 38ch; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding-bottom: 1.5rem; }
.footer-brand .blurb { color: var(--text-mut); font-size: .92rem; max-width: 52ch; margin: 0; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: .85rem;
}
@media (max-width: 480px) { .footer-bottom { text-align: center; justify-content: center; } }

/* =========================================================================
   Misc
   ========================================================================= */
.section-head {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 720px;
}
.section-head h2 { margin-top: 0; }
@media (max-width: 600px) { .section-head { margin-bottom: 2rem; } }
.section-head h2 { margin: 0 0 .8rem; }
.section-head p { color: var(--text-mut); }
.toc {
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
@media (max-width: 480px) { .toc { padding: 1.2rem; } }
.toc h4 {
  margin: 0 0 .8rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 600px) { .toc ol { columns: 1; padding-left: 1.1rem; } }
.toc li { margin: .35rem 0; break-inside: avoid; }
.toc a { color: var(--text); }

.callout {
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet);
}
.callout strong { color: var(--violet-2); }

.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .5rem 0; color: var(--text-mut); }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--pink);
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-mut);
  font-style: italic;
}
.prose pre, pre {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
@media (max-width: 480px) {
  .prose pre, pre { padding: 1rem; font-size: .78rem; border-radius: 12px; }
}
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--surface-2);
  padding: .15rem .4rem;
  border-radius: 4px;
  color: var(--violet-2);
}
.prose pre code { background: none; padding: 0; color: inherit; }

/* utility */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.flex { display: flex; align-items: center; gap: .5rem; }
.gap-2 { gap: 1rem; }
.wrap { flex-wrap: wrap; }

/* =========================================================================
   v2 additions - credibility, editorial, conversion
   ========================================================================= */

/* Disclosure strip - small, persistent, honest. Above main on every page. */
.disclosure-strip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-mut);
  text-align: center;
  padding: .55rem 1rem;
  letter-spacing: .005em;
}
.disclosure-strip a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 2px; }
.disclosure-strip a:hover { color: var(--text); }
.disclosure-strip strong { color: var(--text); font-weight: 600; }

/* Editorial byline + freshness stamp on review pages */
.byline {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
  padding: .85rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
}
.byline .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-1);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: #fff;
  flex-shrink: 0;
}
.byline .by-meta { display: flex; flex-direction: column; gap: .15rem; line-height: 1.35; }
.byline .by-name { color: var(--text); font-weight: 600; font-size: .92rem; }
.byline .by-role { color: var(--text-dim); font-size: .78rem; }
.byline .by-sep { width: 1px; height: 28px; background: var(--border); margin: 0 .25rem; flex-shrink: 0; }
.byline .by-fresh { display: flex; flex-direction: column; gap: .15rem; line-height: 1.35; }
.byline .by-fresh strong { color: var(--text); font-size: .85rem; font-weight: 600; }
.byline .by-fresh small { color: var(--text-dim); font-size: .76rem; }
.byline .by-method {
  margin-left: auto;
  font-size: .8rem;
  color: var(--pink-2);
  white-space: nowrap;
}
.byline .by-method:hover { color: var(--text); }
@media (max-width: 560px) {
  .byline { padding: .75rem .85rem; gap: .65rem; }
  .byline .by-method { margin-left: 0; width: 100%; padding-top: .35rem; border-top: 1px solid var(--border); }
}

/* Score breakdown - five horizontal bars used inside review verdict block */
.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin: 1.25rem 0 .5rem;
}
.score-row { display: flex; flex-direction: column; gap: .3rem; }
.score-row .lbl {
  display: flex; justify-content: space-between;
  font-size: .83rem;
  color: var(--text-mut);
}
.score-row .lbl strong { color: var(--text); font-weight: 600; }
.score-row .bar {
  height: 6px; border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
  position: relative;
}
.score-row .bar::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  background: var(--grad-1);
  border-radius: 999px;
}
.score-row.dim .bar::before { background: linear-gradient(135deg, var(--amber), var(--pink-2)); }
.score-row.weak .bar::before { background: linear-gradient(135deg, var(--red), var(--amber)); }
@media (max-width: 560px) {
  .score-grid { grid-template-columns: 1fr; gap: .55rem; }
}

/* Chat-proof - message-bubble screenshots of real AI exchanges */
.chat-proof {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  margin: 1.5rem 0;
  max-width: 100%;
}
.chat-proof .cp-head {
  font-size: .78rem; color: var(--text-dim);
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .8rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border);
}
.chat-proof .cp-head .cp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat-proof .cp-head strong { color: var(--text); font-weight: 600; }
.chat-proof .bubble {
  max-width: 78%;
  border-radius: 18px;
  padding: .6rem .95rem;
  margin: .3rem 0;
  font-size: .94rem;
  line-height: 1.45;
}
.chat-proof .bubble.them {
  background: var(--surface-3);
  color: var(--text);
  border-bottom-left-radius: 6px;
  margin-right: auto;
}
.chat-proof .bubble.you {
  background: var(--grad-1);
  color: #fff;
  border-bottom-right-radius: 6px;
  margin-left: auto;
}
.chat-proof .bubble.them strong, .chat-proof .bubble.you strong { color: inherit; }
.chat-proof .cp-note {
  font-size: .78rem;
  color: var(--text-dim);
  margin-top: .65rem;
  padding-top: .55rem;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* Reddit-quote block - the trust device used on /joi/ and /nectar/, now general */
.reddit-quote {
  background: var(--bg-2);
  border-left: 3px solid #ff4500;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
  font-size: .94rem;
}
.reddit-quote .rq-head {
  font-size: .78rem;
  color: var(--text-dim);
  display: flex; align-items: center; gap: .45rem;
  margin-bottom: .5rem;
}
.reddit-quote .rq-head .rq-mark {
  background: #ff4500; color: #fff;
  font-family: var(--font-display); font-weight: 800;
  font-size: .7rem;
  padding: .05rem .35rem; border-radius: 4px;
  letter-spacing: .02em;
}
.reddit-quote .rq-head strong { color: var(--text); font-weight: 600; }
.reddit-quote p { color: var(--text); margin: 0 0 .5rem; font-style: italic; }
.reddit-quote p:last-child { margin-bottom: 0; }
.reddit-quote cite {
  font-style: normal;
  font-size: .78rem;
  color: var(--text-dim);
}

/* Sticky CTA rail - desktop right-side on review pages */
.sticky-rail {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  z-index: 40;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.sticky-rail.is-visible { opacity: 1; pointer-events: auto; }
.sticky-rail .sr-head {
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .65rem;
}
.sticky-rail .sr-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface-3);
  object-fit: cover;
}
.sticky-rail .sr-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; line-height: 1.2;
}
.sticky-rail .sr-score {
  font-size: .78rem; color: var(--text-mut); margin-top: .15rem;
}
.sticky-rail .sr-score strong { color: var(--text); }
.sticky-rail .btn { width: 100%; padding: .7rem 1rem; font-size: .9rem; }
.sticky-rail .sr-foot {
  margin-top: .55rem;
  font-size: .72rem; color: var(--text-dim);
  text-align: center;
}
@media (max-width: 1200px) { .sticky-rail { display: none; } }

/* Sticky CTA bar - mobile, bottom of viewport */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(16, 16, 28, 0.95);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: .75rem;
  z-index: 40;
  transform: translateY(100%);
  transition: transform .25s var(--ease);
}
.sticky-bar.is-visible { transform: translateY(0); }
@media (max-width: 1200px) {
  .sticky-bar { display: flex; }
}
.sticky-bar .sb-name {
  flex: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: .92rem;
  display: flex; flex-direction: column; gap: .1rem;
  min-width: 0;
}
.sticky-bar .sb-name small { color: var(--text-dim); font-size: .72rem; font-weight: 400; }
.sticky-bar .btn {
  padding: .65rem 1rem;
  font-size: .88rem;
  white-space: nowrap;
}

/* "Best for X" inline callout (smaller than .callout, used inside reviews) */
.best-for {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--pink-soft);
  border: 1px solid rgba(255, 61, 138, 0.25);
  color: var(--text);
  font-size: .85rem;
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  margin: 0 .25rem .5rem 0;
}
.best-for strong { color: var(--pink-2); font-weight: 700; }

/* Comparison table - sticky first column on desktop, card mode on mobile */
@media (min-width: 761px) {
  .compare td:first-child,
  .compare th:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-2);
    z-index: 2;
  }
  .compare thead th:first-child { background: var(--surface-3); }
  .compare tbody tr:hover td:first-child { background: var(--surface-2); }
  .compare td:first-child::after,
  .compare th:first-child::after {
    content: "";
    position: absolute;
    top: 0; right: -8px; bottom: 0;
    width: 8px;
    background: linear-gradient(to right, rgba(0,0,0,.25), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
  }
  .table-wrap.is-scrolled .compare td:first-child::after,
  .table-wrap.is-scrolled .compare th:first-child::after { opacity: 1; }
}

/* Comparison table - mobile card view (≤560px) */
@media (max-width: 560px) {
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td {
    display: block;
    width: 100%;
  }
  .compare { min-width: 0; white-space: normal; border: 0; }
  .compare thead { display: none; }
  .compare tbody tr {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    padding: 1rem;
  }
  .compare tbody td {
    border: 0;
    padding: .35rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
    border-bottom: 1px dashed var(--border);
  }
  .compare tbody td:last-child { border-bottom: 0; }
  .compare tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-dim);
    text-align: left;
    flex-shrink: 0;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .04em;
    align-self: center;
  }
  .compare tbody td.app::before { display: none; }
  .compare tbody td.app {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    margin-bottom: .35rem;
    padding-bottom: .55rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .table-wrap .scroll-hint { display: none; }
}

/* "Try" link helper used in comparison table - replaces broken var(--accent) */
.try-link {
  font-size: .75rem;
  font-weight: 600;
  color: var(--pink-2);
  margin-left: .25rem;
}
.try-link:hover { color: var(--text); }

/* Score badge on app tile - top-right of thumb */
.thumb .score-chip {
  position: absolute;
  top: .55rem;
  right: .55rem;
  background: rgba(10, 10, 20, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  padding: .25rem .55rem;
  border-radius: var(--radius-pill);
  letter-spacing: .01em;
  z-index: 2;
}
.thumb .score-chip.is-top { background: rgba(52, 211, 153, 0.18); border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }
.thumb .score-chip.is-mid { background: rgba(255, 181, 71, 0.16); border-color: rgba(255, 181, 71, 0.4); color: #ffd28a; }
.thumb .score-chip.is-low { background: rgba(248, 113, 113, 0.15); border-color: rgba(248, 113, 113, 0.4); color: #fca5a5; }

/* "Best for X" superlative ribbon on app tile */
.thumb .super-ribbon {
  position: absolute;
  top: .55rem;
  left: .55rem;
  background: var(--grad-1);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 4px 14px rgba(255, 61, 138, 0.35);
}

/* Editorial serif accent - used on eyebrow + score numbers */
.serif {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* Long-form (methodology, about, disclosure) refinements */
.longform { padding-top: 2rem; }
.longform h1 { margin-bottom: .5rem; }
.longform .updated { color: var(--text-dim); font-size: .85rem; margin-bottom: 2rem; }
.longform h2 { margin-top: 3rem; }
.longform .rubric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.longform .rubric-grid .item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.longform .rubric-grid .item h3 { margin: 0 0 .35rem; font-size: 1rem; }
.longform .rubric-grid .item .pts {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.longform .rubric-grid .item p { font-size: .88rem; margin: .5rem 0 0; }

/* Lighter table for methodology / disclosure */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .92rem;
}
.simple-table th, .simple-table td {
  text-align: left;
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--border);
}
.simple-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text-mut);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Image dims helper - prevents CLS while letting aspect-ratio stretch responsively */
img[width][height] { height: auto; }
