/* Shared styles for SEO landing pages (/speed-dating-*, /compare/*, /testimonials, /how-to-*) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0f0f1a;
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Top nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,15,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
}
.nav-inner a.brand { display: flex; align-items: center; text-decoration: none; }
.nav-inner a.brand img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: #cbd5e1; font-size: 0.92rem; font-weight: 500; text-decoration: none;
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: linear-gradient(135deg, #f472b6, #a855f7);
  color: white !important; padding: 9px 18px; border-radius: 10px;
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
}
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Content */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.hero {
  padding: 56px 20px 24px; text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f472b6, #a855f7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800; color: white;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 18px;
}
.hero p.lede {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #94a3b8; max-width: 720px; margin: 0 auto 20px;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, #f472b6, #a855f7);
  color: white; padding: 13px 28px; border-radius: 12px;
  font-weight: 600; text-decoration: none; display: inline-block;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.92; }
.btn-ghost {
  color: #e2e8f0; padding: 13px 28px; border-radius: 12px;
  font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15); display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }

/* Breadcrumbs */
.crumbs {
  font-size: 0.85rem; color: #64748b;
  padding: 18px 20px 0; max-width: 960px; margin: 0 auto;
}
.crumbs a { color: #94a3b8; text-decoration: none; }
.crumbs a:hover { color: white; text-decoration: underline; }
.crumbs span { margin: 0 6px; color: #475569; }

/* Sections */
section.block { padding: 24px 0; }
section.block h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 800; color: white;
  margin: 24px 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
section.block .wrap > h2:first-child,
section.block .wrap > *:first-child h2:first-child { margin-top: 0; }
section.block p { color: #cbd5e1; margin-bottom: 14px; line-height: 1.65; }
section.block ul { list-style: none; padding: 0; margin: 0 0 14px; }
section.block ul li {
  position: relative; padding-left: 24px; margin-bottom: 10px; color: #cbd5e1;
  line-height: 1.6;
}
section.block ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #a855f7);
}

/* Playbook step — text + phone, alternating sides */
.playbook-step {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: center;
}
.playbook-step.alt {
  grid-template-columns: 280px minmax(0, 1fr);
}
.playbook-step.alt .playbook-text { order: 2; }
.playbook-step.alt .playbook-shot { order: 1; }
.playbook-text > h2:first-child { margin-top: 0; }
.playbook-shot {
  display: flex;
  justify-content: center;
}
@media (max-width: 800px) {
  .playbook-step,
  .playbook-step.alt {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 20px;
  }
  .playbook-step .playbook-shot,
  .playbook-step.alt .playbook-shot { order: 2; }
  .playbook-step .playbook-text,
  .playbook-step.alt .playbook-text { order: 1; }
}

/* iPhone frame (reused for playbook screenshots) */
.iphone-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  background: #0a0a10;
  padding: 6px;
  border-radius: 38px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.06),
    0 0 0 2px #1a1a24,
    0 20px 60px rgba(0,0,0,0.5),
    0 6px 20px rgba(168,85,247,0.12);
}
.iphone-frame .iphone-btn {
  position: absolute;
  background: #1a1a24;
}
.iphone-frame .iphone-btn.power  { top: 120px; right: -3px; width: 3px; height: 60px; border-radius: 0 2px 2px 0; }
.iphone-frame .iphone-btn.vol-up { top: 96px;  left: -3px; width: 3px; height: 40px; border-radius: 2px 0 0 2px; }
.iphone-frame .iphone-btn.vol-dn { top: 142px; left: -3px; width: 3px; height: 40px; border-radius: 2px 0 0 2px; }
.iphone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #0f0f1a;
  aspect-ratio: 9 / 19.5;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Card grid */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 22px;
}
.card h3 { color: white; font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: #94a3b8; font-size: 0.95rem; margin: 0; }

/* FAQ */
.faq details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; color: white; font-weight: 600; font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: #a855f7; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: #cbd5e1; }

/* Comparison table */
.compare-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  background: rgba(255,255,255,0.03); border-radius: 12px; overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-table th {
  background: rgba(168,85,247,0.12); color: white; font-weight: 600;
}
.compare-table td { color: #cbd5e1; font-size: 0.95rem; }
.compare-table tr:last-child td { border-bottom: none; }
.tag-yes { color: #4ade80; font-weight: 600; }
.tag-no { color: #f87171; font-weight: 600; }
.tag-partial { color: #fbbf24; font-weight: 600; }

/* Article byline meta row — sits in the hero under the lede on blog posts.
   "Dash Dating · February 15, 2025 · 4 min read" */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  align-items: center;
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0 auto;
  max-width: 720px;
}
.article-meta-author { color: #e2e8f0; font-weight: 600; }
.article-meta-sep { color: #475569; }
.article-meta time { color: #cbd5e1; }
.article-meta-read { color: #cbd5e1; }

/* Gradient separator at the bottom of any hero that contains article meta.
   Visually divides the hero (eyebrow + title + image + lede + meta + CTA)
   from the article body below. */
.hero:has(.article-meta)::after {
  content: "";
  display: block;
  height: 2px;
  width: 140px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, #f472b6, #a855f7);
  border-radius: 999px;
  opacity: 0.85;
}

/* Inline "1:1 coaching" banner — drops between article body and
   related-posts on host-focused pages. Distinct from the app-sign-up
   .final-cta so it complements rather than competes. */
.coaching-banner {
  max-width: 960px;
  margin: 40px 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
  border-radius: 18px;
  color: #fff;
}
@media (min-width: 1000px) {
  .coaching-banner { margin: 40px auto; }
}
.coaching-banner-inner {
  display: flex; align-items: center; gap: 28px;
  justify-content: space-between;
}
@media (max-width: 720px) {
  .coaching-banner { padding: 24px 22px; }
  .coaching-banner-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}
.coaching-banner-copy { min-width: 0; }
.coaching-banner-eyebrow {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
}
.coaching-banner h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 6px; line-height: 1.25;
}
.coaching-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 0.96rem; line-height: 1.55;
  margin: 0;
}
.coaching-banner-cta {
  background: #fff; color: #1a1a2e;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.coaching-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* Article hero image — sits inside the .hero .wrap, between the <h1>
   and the lede, so the visual anchors the article right under the title. */
.article-hero-image {
  margin: 0 auto 20px;
  padding: 0;
  max-width: 100%;
}
.article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 6px 18px rgba(168,85,247,0.12);
}

/* ─────────────────────────────────────────────────────────────
   TL;DR card — sits right after the hero, before the first body
   section. Build.js injects from articles.json `tldr: [...]`.
   ───────────────────────────────────────────────────────────── */
.tldr-card {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 22px 26px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244,114,182,0.10), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(168,85,247,0.10), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.30);
  border-radius: 14px;
}
.tldr-card-label {
  display: inline-block;
  font-size: 0.70rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: linear-gradient(135deg, #f472b6, #a855f7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.tldr-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.tldr-card li {
  position: relative;
  padding-left: 22px;
  color: #e2e8f0;
  font-size: 0.97rem; line-height: 1.55;
}
.tldr-card li::before {
  content: "";
  position: absolute; left: 4px; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #a855f7);
}
@media (max-width: 720px) {
  .tldr-card { margin: 0 20px 28px; padding: 20px 22px 22px; }
}

/* ─────────────────────────────────────────────────────────────
   Pull quote — large italic with gradient left bar. Drops inline
   in article body to break up dense sections.
   ───────────────────────────────────────────────────────────── */
.pullquote {
  max-width: 720px;
  margin: 28px auto;
  padding: 6px 0 6px 24px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #f472b6, #a855f7) 1;
  font-family: inherit;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: #f8fafc;
  letter-spacing: -0.005em;
}
.pullquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: #c084fc;
}
@media (max-width: 720px) {
  .pullquote { margin: 24px 20px; padding-left: 18px; }
}

/* ─────────────────────────────────────────────────────────────
   Tip divider — small ornamental break between tips in list-heavy
   articles. A pink-purple dot trio that visually resets the reader.
   ───────────────────────────────────────────────────────────── */
.tip-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto;
  max-width: 760px;
  padding: 0 20px;
  opacity: 0.55;
}
.tip-divider span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #a855f7);
}
.tip-divider span:nth-child(2) { width: 8px; height: 8px; }

/* Related posts (build.js injects cards between markers) */
.related-posts {
  padding: 32px 20px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.related-posts .wrap { max-width: 1080px; margin: 0 auto; }
.related-posts h2 {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; margin: 0 0 18px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
/* Mobile: snap-scrolling horizontal carousel, matching dater-guide + homepage tiles */
@media (max-width: 720px) {
  .related-posts { padding: 32px 0 48px; }
  .related-posts .wrap { padding: 0; }
  .related-posts h2 { padding: 0 20px; }
  .related-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    padding: 4px 20px 16px;
    scrollbar-width: none;
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-card {
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: start;
  }
}
@media (max-width: 480px) {
  .related-card { flex-basis: 85%; }
}
.related-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.related-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(168,85,247,0.28);
  transform: translateY(-2px);
}
.related-card-img {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: #0f172a;
}
.related-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.related-card-body { padding: 14px 16px 16px; }
.related-tag {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  background: rgba(168,85,247,0.15); color: #c084fc;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.related-card h3 {
  font-size: 1rem; font-weight: 700; color: #fff;
  line-height: 1.35; margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.related-card h3 a { color: inherit; text-decoration: none; }
.related-card h3 a:hover { color: #f472b6; }
.related-card-meta {
  font-size: 0.78rem; color: #64748b;
}

/* "Updated" chip used on /blog archive + tag pages */
.updated-chip {
  display: inline-block;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(74,222,128,0.12); color: #4ade80;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em;
}

/* Final CTA */
.final-cta {
  text-align: center; padding: 40px 20px;
  background: linear-gradient(135deg, rgba(236,72,153,0.08), rgba(168,85,247,0.08));
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { color: #94a3b8; margin-bottom: 20px; }

/* Placeholder pill (for testimonials) */
.placeholder-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(251,191,36,0.15); color: #fbbf24;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}
