:root {
  --bg: #0a0d13;
  --bg-soft: #10151f;
  --card: #151b27;
  --card-hover: #1b2331;
  --border: #232b3a;
  --border-soft: #1c2432;
  --text: #f2f5fa;
  --text-dim: #a7b4c9;
  --text-faint: #7b879c;
  --accent: #6d8bff;
  --accent-2: #a78bfa;
  --accent-soft: rgba(109, 139, 255, 0.12);
  --good: #4fd6a0;
  --warn: #ffb454;
  --maxw: 1080px;
  --maxw-narrow: 820px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.24), 0 8px 24px rgba(0,0,0,0.20);
  --shadow-lift: 0 6px 16px rgba(0,0,0,0.30), 0 18px 44px rgba(0,0,0,0.34);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  font-feature-settings: "cv11" 1, "ss01" 1;
  font-variation-settings: "opsz" 32;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo .dot { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px var(--accent); }
.logo small { color: var(--text-faint); font-weight: 500; font-size: 13px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 14px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); }
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(60px, 9vw, 116px) 0 clamp(36px, 4.5vw, 60px);
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: -260px; transform: translateX(-50%);
  width: 1180px; max-width: 160%; height: 680px;
  background:
    radial-gradient(42% 48% at 50% 45%, rgba(109,139,255,0.22), transparent 72%),
    radial-gradient(32% 40% at 68% 38%, rgba(167,139,250,0.16), transparent 72%);
  filter: blur(28px); pointer-events: none;
}
/* Thin gradient divider so the hero closes off naturally */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,139,255,0.28), transparent);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: stretch; }
.hero-side { position: relative; }

/* ---------- Two-stage entrance: title first, then body ---------- */
/* Timeline (total ~1.18s)
   0.08-0.60s  Stage 1: H1 slides up + fades in as one block
   0.62-1.18s  Stage 2: subtitle + note + button slide up together
   To retune, change these 3 values: 0.08s / 0.62s (start times)
   and 0.52s / 0.56s (durations) */
.anim-hero-words {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: slideUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.08s;
}
/* Stage 2: starts only after the title settles at 0.60s, strictly sequential */
.anim-hero-words-light,
.hero-copy .companion-note,
.hero-copy .hero-actions {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: slideUp 0.56s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.62s;
}

@keyframes slideUp {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
/* Fallback for reduced-motion / no-JS: content must stay visible */
.no-motion,
.no-motion span { opacity: 1 !important; transform: none !important; animation: none !important; }
html:not(.js) .anim-hero-words,
html:not(.js) .anim-hero-words-light,
html:not(.js) .hero-copy .companion-note,
html:not(.js) .hero-copy .hero-actions { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ---------- Hero Carousel ---------- */
.showcase { padding: 4px 0 clamp(28px, 4vw, 48px); }
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(165deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
}
.carousel-track {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 230px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateX(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 30px;
}
.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

/* Slide content styles */
.slide-content {
  width: 100%;
  text-align: center;
}
/* Slide 1: Compare */
.sc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}
.sc-col {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
}
.sc-good { border-color: rgba(79,214,160,0.24); background: rgba(79,214,160,0.04); }
.sc-bad { border-color: rgba(255,180,84,0.24); background: rgba(255,180,84,0.04); }
.sc-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.sc-good .sc-label { color: var(--good); background: rgba(79,214,160,0.10); }
.sc-bad .sc-label  { color: var(--warn); background: rgba(255,180,84,0.10); }
.sc-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  font-style: italic;
}
/* Slide 2: Tools count */
.sc-big-num {
  display: block;
  font-size: 56px;
  font-weight: 850;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.sc-big-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
}
.sc-sub { font-size: 13px; color: var(--text-faint); margin-top: 8px; }
/* Slide 3: Metric */
.sc-q {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.sc-a {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}
.sc-foot { font-size: 13px; color: var(--text-faint); }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}
.dot:hover { background: var(--text-faint); }

.hs-glow {
  position: absolute; width: 260px; height: 260px; right: -70px; top: -50px;
  background: radial-gradient(circle, rgba(109,139,255,0.22), transparent 70%); filter: blur(24px); pointer-events: none;
}

/* ---------- Comparison Table (aicomparison style) ---------- */
#quick-compare { border-top: 1px solid var(--border); }
.comp-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}
.comp-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 15px;
}
.comp-table thead {
  background: linear-gradient(135deg, rgba(109,139,255,0.08), rgba(176,109,255,0.06));
  border-bottom: 2px solid var(--border);
}
.comp-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.comp-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: middle;
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:hover { background: rgba(109,139,255,0.04); }
.comp-table tbody tr:hover .comp-name { color: var(--accent); }

.comp-name {
  font-weight: 780;
  font-size: 16px;
  color: var(--text);
  transition: color 0.15s ease;
}
.comp-name:hover { color: var(--accent); }

.comp-score {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.comp-score.top { background: rgba(79,214,160,0.15); color: var(--good); }
.comp-score.good { background: rgba(109,139,255,0.15); color: var(--accent); }
.comp-score.ok { background: rgba(107,118,137,0.15); color: var(--text-faint); }

.comp-go {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.comp-go:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* stat bar */
.stat-bar {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 48px; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat b { display: block; font-size: 32px; font-weight: 850; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--text-faint); }

/* sections */
.section { padding: clamp(56px, 7vw, 84px) 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* Pages use class="sec-head center" widely; the centering rule was missing */
.sec-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sec-title { max-width: 820px; }
.sec-head.center .sec-lead { max-width: 720px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(109,139,255,0.3);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.sec-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.16; letter-spacing: -0.028em; font-weight: 820; max-width: 820px; }
.sec-lead { margin-top: 16px; font-size: 17px; color: var(--text-dim); max-width: 720px; line-height: 1.8; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.pain { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.pain:hover { border-color: rgba(109,139,255,0.4); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pain-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; font-weight: 800; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent); }
.pain h3 { font-size: 18px; font-weight: 750; margin-bottom: 8px; }
.pain p { color: var(--text-dim); font-size: 15px; line-height: 1.7; }

/* tool grid (homepage) */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.tcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.tcard:hover { border-color: rgba(109,139,255,0.4); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tlogo { display: block; font-size: 17px; font-weight: 780; margin-bottom: 6px; }
.tscore { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.tcard p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

.about-card { max-width: 1000px; margin: 26px auto 0; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); }
.about-card p { color: var(--text-dim); font-size: 18px; line-height: 1.85; margin-bottom: 16px; }
.about-card p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent); background: rgba(109,139,255,0.08); border: 1px solid rgba(109,139,255,0.26);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
h1 {
  font-size: clamp(36px, 5.8vw, 62px); line-height: 1.08; letter-spacing: -0.038em;
  font-weight: 850; max-width: 900px;
}
h1 .grad { background: linear-gradient(112deg, var(--accent) 5%, var(--accent-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub {
  margin: 22px auto 0; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.85;
  color: var(--text-dim); max-width: 780px;
}
.companion-note {
  color: var(--text); font-size: clamp(17px, 1.6vw, 20px); font-weight: 600;
  letter-spacing: -0.01em; margin: 26px auto 0; max-width: 760px;
}
.btn-primary {
  background: linear-gradient(112deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700;
  padding: 15px 30px; border-radius: 999px; font-size: 16px; border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(109,139,255,0.30); transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(109,139,255,0.46); }

/* ---------- Trust strip ---------- */
.trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; color: var(--text-faint); font-size: 14px; }
.trust b { color: var(--text); font-size: 22px; font-weight: 800; display: block; }

/* ---------- Pain section ---------- */
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head .tag { font-size: 13px; font-weight: 700; color: var(--warn); letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; margin-top: 10px; font-weight: 820; }
.section-head p { color: var(--text-dim); margin-top: 12px; font-size: 17px; }

.pain .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; font-size: 21px; margin-bottom: 14px; }
.pain .who { margin-top: 12px; font-size: 13px; color: var(--text-faint); }
.pain .who span { color: var(--accent); }

/* ---------- Audience directories ---------- */
.dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dir {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.dir:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.dir .badge { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; font-size: 26px; }
.dir h3 { font-size: 20px; font-weight: 780; }
.dir p { color: var(--text-dim); font-size: 15px; margin: 7px 0 12px; }
.dir .meta { font-size: 13px; color: var(--text-faint); }
.dir .meta span { color: var(--good); }

/* ---------- Tool cards (real reviews) ---------- */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tools-compact { max-width: 860px; margin: 24px 0; }
.tool {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.tool-shot {
  height: 120px; border-radius: var(--radius-sm); margin-bottom: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(109,139,255,0.06) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, rgba(109,139,255,0.10), rgba(176,109,255,0.06));
  border: 1px dashed rgba(109,139,255,0.3);
}
.tool:hover { border-color: rgba(109,139,255,0.4); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tool-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tool-name { font-size: 19px; font-weight: 780; }
.tool-score { font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.score-a { background: rgba(79,214,160,0.15); color: var(--good); }
.score-b { background: rgba(255,180,84,0.15); color: var(--warn); }
.tool p { color: var(--text-dim); font-size: 15px; }
.tool .verdict { margin-top: 12px; font-size: 14px; color: var(--text); border-left: 2px solid var(--accent); padding-left: 12px; }
.tool .tags { margin-top: 12px; display: flex; gap: 7px; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tagchip { display: inline-block; font-size: 12px; color: var(--text-faint); background: var(--bg-soft); border: 1px solid var(--border); padding: 4px 11px; border-radius: 999px; transition: border-color .15s ease, color .15s ease; }
a.tagchip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Method / why real ---------- */
.method { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.method h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 16px; }
.method .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.step .n { font-size: 13px; font-weight: 800; color: var(--accent); }
.step h4 { font-size: 16px; margin: 8px 0 6px; font-weight: 750; }
.step p { font-size: 14px; color: var(--text-dim); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, rgba(109,139,255,0.14), rgba(176,109,255,0.12)); border: 1px solid rgba(109,139,255,0.3); border-radius: var(--radius); padding: 38px; text-align: center; margin: 20px 0 60px; }
.cta-band h2 { font-size: 30px; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-dim); margin: 12px auto 24px; max-width: 560px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-faint); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
/* Legal row: sits on its own line under the main footer links */
.footer-legal { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; }

/* ---------- Inner page ---------- */
.page-head { padding: 56px 0 20px; }
.page-head .tag { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.page-head p { color: var(--text-dim); margin-top: 14px; max-width: 720px; font-size: 18px; }
.breadcrumb { font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.prose { max-width: 760px; }
.prose h2 { font-size: 27px; letter-spacing: -0.02em; margin: 40px 0 14px; font-weight: 800; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; font-weight: 750; }
.prose p { color: var(--text-dim); margin: 12px 0; }
.prose ul { color: var(--text-dim); margin: 12px 0 12px 22px; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--text); }

/* ---------- Contact page ---------- */
.contact-card {
  max-width: 760px; text-align: center; margin: 8px 0 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow);
}
.contact-label {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.contact-mail { margin-bottom: 10px; }
.mail-big {
  font-size: clamp(19px, 3.2vw, 27px); font-weight: 750; letter-spacing: -0.01em;
  color: var(--text); word-break: break-all; text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 3px; transition: color .15s ease;
}
.mail-big:hover { color: var(--accent); }
.contact-note { color: var(--text-faint); font-size: 15px; margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .pains, .dirs, .tools { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .method .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .footer .wrap { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  h1 { font-size: 36px; }
}
@media (max-width: 520px) {
  .tool-grid { grid-template-columns: 1fr; }
  .method .steps { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .logo small { display: none; }
  body { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { min-height: 260px; order: -1; }
  .carousel-slide { padding: 18px; }
  .sc-compare { gap: 8px; }
  .sc-text { font-size: 12px; }
  .sc-big-num { font-size: 42px; }
  .sc-a { font-size: 22px; }
  /* Mobile: keep the two-stage animation, just slightly faster */
  .anim-hero-words { animation-duration: 0.42s; }
  .anim-hero-words-light,
  .hero-copy .companion-note,
  .hero-copy .hero-actions { animation-duration: 0.46s; }
}

/* ---------- Pros / Cons (tool detail pages) ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.pc-col { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pc-col h3 { font-size: 18px; margin-bottom: 14px; font-weight: 780; }
.pc-good { border-left: 3px solid var(--good); }
.pc-good h3 { color: var(--good); }
.pc-bad { border-left: 3px solid var(--warn); }
.pc-bad h3 { color: var(--warn); }
.pc-col ul { color: var(--text-dim); padding-left: 20px; margin: 0; }
.pc-col li { margin: 8px 0; line-height: 1.6; font-size: 15px; }

/* ---------- Who should use / skip ---------- */
.who-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.who-block { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.who-block h3 { font-size: 17px; margin-bottom: 12px; color: var(--text); font-weight: 750; }
.who-block ul { color: var(--text-dim); padding-left: 18px; margin: 0; list-style: none; }
.who-block li { margin: 6px 0; font-size: 14px; position: relative; padding-left: 16px; }
.who-block li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Tips / FAQ (collapsible) ---------- */
.tips-section, .faq-section { margin-top: 36px; }
.tips-section h3, .faq-section h3 { font-size: 22px; margin-bottom: 18px; font-weight: 800; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-list summary {
  padding: 16px 20px; cursor: pointer; font-weight: 700; font-size: 15px;
  color: var(--text); user-select: none; transition: background .12s ease;
}
.faq-list summary:hover { background: rgba(109,139,255,0.06); }
.faq-list summary::marker { content: "+"; color: var(--accent); font-size: 18px; }
.faq-list details[open] summary::marker { content: "−"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--border); }
.faq-list details p { padding: 14px 20px 18px; color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0; }

@media (max-width: 720px) {
  .pc-grid, .who-section { grid-template-columns: 1fr; }
}

/* ---------- mobile nav ---------- */
/* Overrides .nav-links { display: none } above: horizontal scroll row on mobile */
@media (max-width: 860px) {
  .nav-inner {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0 8px;
  }
  .nav-links {
    display: flex;
    width: 100%;
    gap: 18px;
    font-size: 14px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-cta { display: none; }
}
