/* FindHR · style.css
   Dark theme, single sky accent, no em dashes anywhere in copy.
   See FindHR Design Theme.md for the full system. */

:root {
  --bg:         #080a12;
  --bg-soft:    #0d1018;
  --surface:    #141a2b;
  --surface-2:  #1b2238;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.14);
  --border-3:   rgba(255,255,255,0.22);

  --ink:        #f7f8fa;
  --ink-body:   #e4e4e7;
  --ink-soft:   #a8aab3;
  --ink-mono:   #c5c7cf;

  --accent:     #38bdf8;
  --accent-2:   #0ea5e9;
  --accent-ink: #04121c;
  --accent-soft: rgba(56,189,248,0.14);
  --accent-b:   #38bdf8;
  --grid-line:  rgba(125,190,255,0.14);
  --font-display: "Space Grotesk", "Inter", sans-serif;

  --live: #4ade80;

  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: 80px;
  --pad-y: 96px;
  --rad: 10px;
  --rad-lg: 14px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ───── typography ───── */
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.02em; font-family: var(--font-display); }
h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.08; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
p  { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mono);
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.015);
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.hidden { display: none !important; }

/* ───── layout ───── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
section { padding: var(--pad-y) 0; }
.divider { border-top: 1px solid var(--border); }

/* ───── nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 12, 17, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); max-width: 1240px; margin: 0 auto; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.logo .accent { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--ink-body); opacity: 0.78; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-mobile-toggle { display: none; background: transparent; border: 1px solid var(--border-2); border-radius: 6px; padding: 7px 9px; color: var(--ink); }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: 8px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: #5cc8fa; transform: translateY(-1px); }
.btn.primary:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn.ghost:hover { border-color: var(--border-3); background: rgba(255,255,255,0.025); }
.btn.lg { padding: 14px 22px; font-size: 15px; }
.btn.sm { padding: 8px 14px; font-size: 12.5px; }
.btn .arrow { transition: transform .2s; display: inline-flex; align-items: center; vertical-align: middle; }
.btn .arrow svg { width: 16px; height: 16px; display: block; }
.btn:hover .arrow { transform: translateX(2px); }

/* loading button — modern spinner + status text */
.btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(10,12,17,0.22);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* loading skeleton (shown while NewUserUrlRequest is in flight) */
.scrape-skeleton {
  position: relative;
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 22px 24px;
  animation: fadeIn 0.3s ease-out;
  overflow: hidden;
}
.scrape-skeleton::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(56,189,248,0.06) 40%,
    rgba(56,189,248,0.10) 50%,
    rgba(56,189,248,0.06) 60%,
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  pointer-events: none;
}
@keyframes shimmer {
  from { background-position: -100% 0; }
  to   { background-position:  100% 0; }
}
.scrape-skeleton .skel-status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mono);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.scrape-skeleton .skel-status .pip {
  width: 14px; height: 14px;
  border: 2px solid rgba(56,189,248,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
.scrape-skeleton .skel-status .text {
  position: relative;
  transition: opacity 0.3s;
}
.scrape-skeleton .skel-row {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  margin-bottom: 10px;
}
.scrape-skeleton .skel-row.short { width: 38%; height: 11px; margin-bottom: 16px; opacity: 0.7; }
.scrape-skeleton .skel-row.med   { width: 62%; height: 22px; }
.scrape-skeleton .skel-row.long  { width: 84%; height: 22px; }

/* loading state on button */
.btn.loading { pointer-events: none; }
.btn.loading .arrow { display: none; }

/* Hero-side loading + result — same shape as the proof card so the swap feels natural. */
.hero-proof .scrape-skeleton,
.hero-proof .scrape-result {
  margin-top: 0;
  padding: 28px 28px 24px;
  min-height: 260px;
}
.hero-proof .scrape-result .row-value {
  font-size: 28px;
  letter-spacing: -0.02em;
}
.hero-proof .scrape-skeleton .skel-row.med  { width: 70%; height: 28px; }
.hero-proof .scrape-skeleton .skel-row.long { width: 88%; height: 28px; }
.hero-proof .scrape-skeleton .skel-status { margin-bottom: 22px; }

/* ───── paste form ───── */
.paste-form {
  position: relative;
  display: flex; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 8px;
  transition: border-color .15s, background .15s, box-shadow .25s ease;
  box-shadow: 0 0 50px rgba(56,189,248,0.16), 0 0 90px rgba(56,189,248,0.09);
}
.paste-form:focus-within {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow:
    0 0 0 3px rgba(56,189,248,0.14),
    0 0 60px rgba(56,189,248,0.28),
    0 0 110px rgba(56,189,248,0.15);
}
.paste-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--ink); font-family: var(--mono); font-size: 14px;
  padding: 10px 12px;
}
.paste-form input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.paste-form input:disabled { opacity: 0.6; }
.paste-form .btn { padding: 11px 18px; }
.paste-meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-mono);
  flex-wrap: wrap;
}
.paste-meta .sep { opacity: 0.4; }

/* ───── scraping result panel (replaces the prior modal) ───── */
.scrape-result {
  position: relative;
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 22px 24px;
  animation: fadeIn 0.32s ease-out;
}
.scrape-result::before {
  content: "";
  position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(135deg, rgba(56,189,248,0.06), transparent 60%);
}
.scrape-result .close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: 1px solid var(--border-2);
  width: 28px; height: 28px; border-radius: 6px;
  color: var(--ink-body); font-size: 13px;
  display: grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.scrape-result .close:hover { border-color: #fda4af; color: #fda4af; }
.scrape-result .detected-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
}
.scrape-result .detected-label::before {
  content: "✓"; color: var(--accent); font-weight: 700;
}
.scrape-result .row { margin-bottom: 12px; }
.scrape-result .row-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.scrape-result .row-value {
  font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.scrape-result .divider-line {
  border-top: 1px solid var(--border);
  margin: 18px 0 14px;
}
.scrape-result .continue-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.scrape-result .signup-note {
  font-size: 13px; color: var(--ink-body);
  white-space: nowrap;
}
.scrape-result .continue-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 8px; padding: 6px 16px;
  font-weight: 600; font-size: 13.5px;
  transition: background .15s, transform .15s;
}
.scrape-result .continue-cta:hover { background: #5cc8fa; transform: translateY(-1px); }
.scrape-result .continue-cta .arrow { transition: transform .2s; }
.scrape-result .continue-cta:hover .arrow { transform: translateX(3px); }

.scrape-error {
  margin-top: 16px;
  border: 1px solid rgba(248,113,113,0.35);
  background: rgba(127,29,29,0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fecaca;
  font-size: 13.5px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ───── hero (search-hero design ported from v2) ───── */
.shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.hero-wrap {
  position: relative; overflow: hidden;
  /* fill the screen on load (minus the sticky nav) but no taller, so the
     proof section sits right at the fold instead of after a big empty gap */
  min-height: calc(100vh - 56px);
  min-height: calc(100svh - 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-wrap .grid-tex {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center;
  pointer-events: none;
  /* keep the grid readable further down so it carries into the fold */
  -webkit-mask-image: radial-gradient(ellipse 96% 88% at 50% 2%, #000 48%, transparent 96%);
          mask-image: radial-gradient(ellipse 96% 88% at 50% 2%, #000 48%, transparent 96%);
}
.hero-wrap .glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.hero-wrap .hero-glow {
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px; max-width: 96vw;
  background: rgba(56,189,248,0.18);
}

.heroB {
  position: relative; z-index: 2;
  text-align: center;
  padding: 28px 0;
  display: flex; flex-direction: column; align-items: center;
}
.heroB h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.0; font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.heroB h1 .line { display: block; }
.heroB h1 .accent { color: var(--accent); }
.heroB .sub {
  color: var(--ink-body);
  font-size: clamp(16px, 1.4vw, 20px);
  margin-top: 22px; max-width: 48ch; line-height: 1.55;
}

/* solid blue (no gradient) */
.gradient-text { color: var(--accent); }

/* kicker pill */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2);
  color: var(--ink-mono);
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* solid primary button (no gradient) */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent);
  color: var(--accent-ink); font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn-primary:hover { transform: translateY(-2px); background: #5cc8fa; box-shadow: 0 14px 38px rgba(56,189,248,0.34); }
.btn-primary:disabled { cursor: default; opacity: .85; transform: none; box-shadow: none; }

/* url form (v2 submit) */
.url-form {
  display: flex; align-items: stretch; gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: 16px; padding: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
  width: 100%; margin-top: 32px;
}
/* wrapper carries the width so the form actually stretches inside the centered hero column */
#hero-input { width: min(720px, 100%); }
.url-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.url-form .field { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.url-form .field svg { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--ink-soft); pointer-events: none; }
.url-form input {
  width: 100%; background: transparent; border: none; outline: none;
  color: var(--ink); font-family: var(--mono); font-size: 15px;
  padding: 14px 16px 14px 46px;
}
.url-form input::placeholder { color: var(--ink-soft); }
.url-form .submit { white-space: nowrap; padding: 0 18px; border-radius: 11px; font-size: 13.5px; }

/* trust pills */
.trust-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--ink-mono); font-size: 13px; }
.trust-line .pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border-2);
  padding: 5px 11px; border-radius: 999px; font-weight: 500;
  font-family: var(--mono); font-size: 12px;
}
.trust-line .pill b { color: var(--ink); }
.trust-line .check { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* hero submit-flow containers stay centered/narrow under the form */
.heroB .scrape-skeleton,
.heroB .scrape-result,
.heroB .scrape-error { width: min(640px, 100%); text-align: left; }

@media (max-width: 760px) {
  /* fill the screen on load (minus the sticky nav) so the hero ends around the
     3 pills and the testimony section stays just below the fold until scroll. */
  .hero-wrap {
    min-height: calc(100vh - 56px);
    min-height: calc(100svh - 56px);
    justify-content: center;
  }
  .heroB { padding: 40px 0 24px; }
  .url-form { flex-direction: column; padding: 10px; }
  .url-form .field svg { left: 16px; }
  /* 16px keeps iOS Safari from auto-zooming the page when the input is focused */
  .url-form input { font-size: 16px; }
  .url-form .submit { padding: 15px 22px; width: 100%; }
  .shell { padding: 0 18px; }
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-copy { max-width: 540px; min-width: 0; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--ink-body); max-width: 480px; margin-bottom: 28px; line-height: 1.55; }
.hero-form-wrap { max-width: 520px; }

/* hero proof card — adapts to the natural dimensions of whatever image is dropped in */
.hero-proof { position: relative; min-width: 0; }
.proof-card {
  border: 1px solid var(--border-2);
  border-radius: var(--rad-lg);
  background: var(--surface);
  overflow: hidden;
  transform: rotate(0.6deg);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 1px 0 rgba(255,255,255,0.04) inset;
}
.proof-card .shot {
  position: relative;
  width: 100%;
  height: 320px;
  background: #ffffff;
  overflow: hidden;
}
.proof-card .shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.proof-card .shot::after { display: none; }
/* Hide placeholder once the image takes over (also kills the min-height visually). */
.proof-card .shot img.loaded ~ .img-ph { display: none; }
.proof-card:has(img.loaded) .shot { min-height: 0; }
/* clickable proof card — make the affordance obvious */
.proof-card.zoomable { cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.proof-card.zoomable:hover { transform: rotate(0.6deg) translateY(-3px); border-color: rgba(56,189,248,0.32); }

.img-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  color: #6b7280;
  background-color: #f4f4f5;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,0.025) 0,
      rgba(0,0,0,0.025) 1px,
      transparent 1px,
      transparent 10px);
  text-align: center; padding: 16px;
  pointer-events: none;
}
.img-ph .label { letter-spacing: 0.1em; text-transform: uppercase; color: #52525b; font-weight: 600; }
.img-ph .path { font-size: 10px; color: #71717a; opacity: 0.85; }
.img-ph .path::before { content: "↳ "; color: var(--accent-2); }
.proof-card .shot img.loaded ~ .img-ph,
.reply-card .shot img.loaded ~ .img-ph,
.video-mock video.loaded ~ .img-ph,
.logo-slot img.loaded ~ .logo-fallback { display: none; }

.proof-foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--border); background: var(--surface); }
.logo-slot {
  position: relative;
  width: 30px; height: 30px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  display: grid; place-items: center;
}
.logo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-slot .logo-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-soft);
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.04em;
}
.proof-foot .co { flex: 1; min-width: 0; }
.proof-foot .co-name { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.proof-foot .co-role { font-size: 12px; color: var(--ink-mono); }
.proof-foot .tag {
  font-family: var(--mono); font-size: 10.5px; color: #4ade80;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 4px 8px; border-radius: 6px;
}

.proof-note {
  position: absolute; top: -10px; right: 16px;
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-mono);
  background: var(--bg-soft); border: 1px solid var(--border-2);
  padding: 5px 10px; border-radius: 999px;
  transform: rotate(-1.5deg);
  z-index: 2;
}
.proof-note::before { content: "↳ "; color: var(--accent); }

/* ───── proof marquee ───── */
/* overflow visible so the seam glow can bleed up into the hero, blending the two sections */
.proof-section { position: relative; overflow: visible; padding-top: 28px; }
/* soft blue glow that straddles the hero → proof boundary for a smooth transition */
.proof-section::before {
  content: ""; position: absolute; top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 420px; max-width: 96vw;
  background: rgba(56,189,248,0.12);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.proof-section .wrap, .proof-section .marquee { position: relative; z-index: 1; }
.proof-section .head {
  display: block;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.proof-section h2 { max-width: 660px; margin: 0 auto; }
.proof-section h2 .accent { color: var(--accent); }
.proof-section .proof-sub {
  margin: 18px auto 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mono);
}
.proof-section .see-all { font-family: var(--mono); font-size: 12px; color: var(--ink-body); opacity: 0.7; }
/* green "Real replies" eyebrow, matching the original index design */
.proof-section .eyebrow { border-color: rgba(74,222,128,0.30); color: #4ade80; }
.proof-section .eyebrow .dot { background: #4ade80; }

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 24px;
  width: max-content;
  animation: scroll 60s linear infinite;
  padding: 8px 12px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.reply-card {
  flex: 0 0 460px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: zoom-in;
}
.reply-card:hover {
  border-color: rgba(56,189,248,0.32);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.reply-card .shot {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 600;
  background: #ffffff;
  overflow: hidden;
}
.reply-card .shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.4s ease;
}
.reply-card:hover .shot img { transform: scale(1.01); }
.reply-card .shot::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48px;
  background: linear-gradient(transparent, rgba(22,26,35,0.55) 75%, var(--surface));
  pointer-events: none;
}
.reply-card .foot {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
}
.reply-card .foot .co { flex: 1; min-width: 0; }
.reply-card .foot .co-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.reply-card .foot .co-role {
  font-size: 12px; color: var(--ink-mono);
  margin-top: 2px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reply-card .tag {
  font-family: var(--mono); font-size: 10.5px; color: #4ade80;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 4px 8px; border-radius: 6px;
  white-space: nowrap;
}

/* ───── lightbox (click reply to zoom) ───── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,7,11,0.92);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw; max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  background: #fff;
}
.lightbox .close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-3);
  border-radius: 50%;
  color: var(--ink); font-size: 16px;
  display: grid; place-items: center;
  cursor: pointer;
}

/* ───── how it works ───── */
.how h2 { max-width: 660px; margin-top: 14px; margin-bottom: 56px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.how-step { padding: 0 32px; }
.how-step:not(:first-child) { border-left: 1px solid var(--border); }
.how-step .num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.18em; margin-bottom: 16px; font-weight: 600; }
.how-step h3 { margin-bottom: 10px; }
.how-step p { color: var(--ink-body); font-size: 14.5px; line-height: 1.55; opacity: 0.92; }

/* Two-column: steps on the left, video gets the larger right column */
.how-two {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
}
.how-steps { display: flex; flex-direction: column; order: 2; }
.how-steps .how-step { padding: 22px 0; border-left: 0; }
.how-steps .how-step:first-child { padding-top: 0; }
.how-steps .how-step:not(:first-child) { border-top: 1px solid var(--border); }
.how-video { margin: 0; max-width: none; order: 1; }

/* Collapsible step descriptions (click the title to expand) */
.how-step summary { list-style: none; cursor: pointer; }
.how-step summary::-webkit-details-marker { display: none; }
.how-step summary h3 { margin: 0; }
.how-step .how-chev {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 7px;
  color: var(--ink-soft);
  transition: transform .25s cubic-bezier(0.25, 1, 0.5, 1), color .15s ease;
}
.how-step .how-chev svg { width: 17px; height: 17px; display: block; }
.how-step summary:hover .how-chev { color: var(--ink); }
.how-step[open] .how-chev { transform: rotate(180deg); color: var(--accent); }
.how-step p { margin-top: 12px; }

/* ───── what you get (video) ───── */
.what { background: transparent; }
.what-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.what h2 { margin: 14px 0 18px; }
.what p { color: var(--ink-body); font-size: 16px; line-height: 1.6; margin-bottom: 14px; max-width: 440px; }
.what .refund {
  margin-top: 24px; padding: 16px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  font-size: 14px; color: var(--ink-body);
}

.video-mock {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f4f5;
  border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}
.video-mock video,
.video-mock img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% center;
  display: block;
}
.video-mock .play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-3);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .2s, background .2s;
  z-index: 3;
}
.video-mock .play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(10, 12, 17, 0.95); }
.video-mock .play::before {
  content: "";
  width: 0; height: 0;
  border-left: 18px solid var(--accent);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}
.video-mock .caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  font-family: var(--mono); font-size: 11px; color: var(--ink-body);
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
  letter-spacing: 0.04em;
}
.video-mock .caption .accent { color: var(--accent); }

/* ───── diagram (most applications disappear) ───── */
.diagram { text-align: center; }
.diagram h2 { max-width: 1000px; margin: 0 auto 12px; font-size: clamp(26px, 3.1vw, 38px); }
.diagram h2 .accent { color: var(--accent); }
.diagram .sub {
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-mono); letter-spacing: 0.02em;
  margin-bottom: 44px;
}
.diagram .frame {
  display: inline-block;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.03);
  border-radius: var(--rad-lg);
  padding: 6px;
  cursor: zoom-in;
  transition: border-color .2s ease, transform .2s ease;
}
.diagram .frame:hover { border-color: rgba(56,189,248,0.32); transform: translateY(-3px); }
.diagram .frame img {
  display: block;
  max-width: 760px; width: 100%; height: auto;
  border-radius: 10px;
}

/* ───── pricing ───── */
.pricing h2 { margin-bottom: 8px; }
.pricing .sub { color: var(--ink-body); font-size: 15px; margin-bottom: 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--rad-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier-cta {
  margin-top: 24px;
  display: block;
  text-align: center;
  padding: 12px 18px;
  border-radius: var(--rad);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border-2);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.tier-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-1px);
}
.tier.best { background: var(--accent-soft); border-color: var(--accent); }
.tier .qty { font-family: var(--mono); font-size: 12px; color: var(--ink-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.tier .price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.tier .price .big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.tier .price .per { font-size: 14px; color: var(--ink-body); }
.tier .desc { font-size: 13.5px; color: var(--ink-body); margin-top: 16px; line-height: 1.55; }
.tier .feats { list-style: none; margin: 18px 0 0; padding: 0; flex: 1 0 auto; }
.tier .feats li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #fff;
  padding: 9px 0; border-top: 1px solid var(--border-2);
}
.tier .feats li .n { color: #fff; font-weight: 700; }
.tier .qty, .tier .price .big, .tier .price .per { color: #fff; }
.tier .badge {
  position: absolute; top: -13px; right: 18px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 16px; font-weight: 700;
  padding: 5px 13px; border-radius: 999px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pricing-foot {
  margin-top: 20px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-mono);
}
.pricing-foot::before { content: "↳ "; color: var(--accent); }

/* ───── faq ───── */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.5fr; gap: 80px; }
.faq-head h2 { margin-bottom: 14px; }
.faq-head p { color: var(--ink-body); font-size: 15px; }
.faq-head a { color: var(--accent); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--ink-mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans { margin-top: 12px; color: var(--ink-body); font-size: 14.5px; line-height: 1.6; max-width: 640px; }

/* ───── closing ───── */
.closing { padding: 120px 0; text-align: left; background: var(--bg-soft); }
.closing h2 { max-width: none; font-size: clamp(32px, 4.5vw, 56px); margin-bottom: 36px; }
.closing h2 .accent { color: var(--accent); }
.closing .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ───── footer ───── */
.footer {
  padding: 32px var(--pad);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--ink-mono);
  flex-wrap: wrap; gap: 16px;
}
.footer .links { display: flex; gap: 22px; }
.footer .links a:hover { color: var(--ink); }

/* ───── mobile drawer ───── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(5,7,11,0.62);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(82vw, 320px);
  background: var(--bg-soft);
  border-left: 1px solid var(--border-2);
  box-shadow: -30px 0 60px -20px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; gap: 2px;
  padding: 84px 22px 28px;
  transform: translateX(100%);
  transition: transform .26s ease;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel a {
  padding: 15px 4px; font-size: 16px; color: var(--ink-body);
  border-bottom: 1px solid var(--border);
}
.mobile-menu-panel a:hover { color: var(--ink); }
.mobile-menu-panel a.btn { border-bottom: 0; width: 100%; justify-content: center; margin-top: 16px; }
.mobile-menu-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  background: transparent; border: 1px solid var(--border-2);
  border-radius: 8px; color: var(--ink); font-size: 15px;
  display: grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.mobile-menu-close:hover { border-color: var(--border-3); }
/* never let the drawer surface on desktop */
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ───── responsive ───── */
@media (max-width: 960px) {
  :root { --pad: 32px; --pad-y: 64px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .proof-section .head { flex-direction: column; align-items: flex-start; }
  .how-two { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .how-step { padding: 24px 0; border-left: 0 !important; border-top: 1px solid var(--border); }
  .how-step:first-child { border-top: 0; padding-top: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .closing { padding: 80px 0; }
  .reply-card { flex: 0 0 380px; }
  .marquee-track { animation-duration: 50s; gap: 18px; }
}

@media (max-width: 560px) {
  /* tighten vertical rhythm on phones so the page reads shorter/snappier */
  :root { --pad: 20px; --pad-y: 48px; }
  .closing { padding: 64px 0; } /* final CTA kept a touch taller than other sections */
  .footer { flex-direction: column; align-items: flex-start; }
  .reply-card { flex: 0 0 300px; }
  .reply-card .foot { padding: 11px 13px 13px; gap: 10px; }
  .reply-card .foot .co-name { font-size: 13px; }
  .reply-card .foot .co-role { font-size: 11px; }
  .marquee-track { animation-duration: 40s; gap: 16px; }
  .nav-inner { padding: 12px 16px; }
  .closing h2 { font-size: 30px; }
  .scrape-result .row-value { font-size: 18px; }
}
