/* ─── Design tokens ─── */
:root {
  --amber:        #D97706;
  --amber-hover:  #C26900;
  --amber-tint:   #FEF3C7;
  --onyx:         #1A1A1A;
  --bg:           #FFFFFF;
  --bg-alt:       #F5F5F5;
  --gradient-top: #FFF7ED;
  --text:         #101010;
  --text-2:       #585858;
  --text-3:       #8a8a8a;
  --text-4:       #b3b3b3;
  --border:       #ECECEC;
  --border-2:     #E2E2E2;
  --shadow-1:     0 1px 2px rgba(0,0,0,0.04);
  --star:         #F5A623;
  --maxw:         1140px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ─── Layout ─── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1;
}
.nav-link {
  text-decoration: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--text); }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin: 0 0 16px;
}
.h1 {
  font-weight: 700;
  font-size: clamp(36px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: var(--text);
  text-wrap: balance;
}
.h1 .accent { color: var(--amber); }
.h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--text);
  text-wrap: balance;
}
.h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--text);
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}
.arrow { display: inline-block; transform: translateY(-1px); }

/* ─────────────────────────────────────────
   BUTTONS & FORM
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, transform .05s ease;
  box-shadow: 0 1px 2px rgba(217,119,6,0.18);
  white-space: nowrap;
}
.btn:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.btn:active { transform: translateY(1px); }
.btn.success { background: #1F7A3A; border-color: #1F7A3A; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; }

.email-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.email-input {
  flex: 1 1 220px;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  box-shadow: var(--shadow-1);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.email-input::placeholder { color: var(--text-4); }
.email-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.18);
}
.form-note {
  margin: 14px auto 0;
  font-size: 13px;
  color: var(--text-3);
}
.form-message {
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
}
.form-message.success { color: #1F7A3A; }
.form-message.duplicate { color: var(--amber); }
.form-message.error { color: #b91c1c; }

/* ─────────────────────────────────────────
   SECTIONS (base: mobile)
───────────────────────────────────────── */
section { padding: 72px 0; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero { padding: 48px 0 0; }
.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero .lead {
  max-width: 580px;
  margin: 0 auto;
}
.hero-visual {
  margin: 24px auto 0;
  width: 100%;
  max-width: 960px;
  padding: 0;
  position: relative;
}

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.stats-section { padding-top: 50px; padding-bottom: 72px; }
.stats-h {
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 40px;
  text-align: center;
}
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.stat {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--border);
}
.stat:first-child { border-top: 0; padding-top: 0; }
.stat:last-child { padding-bottom: 0; }
.stat-num {
  font-weight: 700;
  font-size: clamp(52px, 6.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 14px;
  font-feature-settings: "tnum";
}
.stat-label {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.45;
  margin: 0 0 12px;
}
.stat-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: color .15s ease;
}
.stat-source:hover { color: var(--amber); }

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  font-feature-settings: "tnum";
}
.step p {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}

/* ─────────────────────────────────────────
   WHY DIFFERENT
───────────────────────────────────────── */
.why { background: var(--bg-alt); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 8px;
  align-items: start;
}
.why-lead .h2 { margin-bottom: 16px; }
.why-lead .lead { max-width: 380px; }
.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-point {
  padding: 24px 0 0;
  border-top: 1px solid var(--border-2);
}
.why-point:first-child { padding-top: 0; border-top: 0; }
.why-point p {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ─────────────────────────────────────────
   CUSTOMIZE
───────────────────────────────────────── */
.customize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 48px;
}
.customize-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  border: 0;
  padding: 0;
}
.customize-cap {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.customize-cap span {
  display: block;
  font-weight: 400;
  color: var(--text-2);
  margin-top: 4px;
  font-size: 14px;
}
.shot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.shot-wrap img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
}

/* ─────────────────────────────────────────
   EARLY ACCESS
───────────────────────────────────────── */
.early {
  background: var(--bg-alt);
  text-align: center;
}
.early .h2 { margin-bottom: 14px; }
.early-sub {
  color: var(--text-2);
  font-size: 17px;
  margin: 0 auto 28px;
  max-width: 520px;
  line-height: 1.5;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  padding: 32px 0 40px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
footer a { text-decoration: none; color: inherit; }
footer a:hover { color: var(--text); }
.sep { color: var(--border-2); margin: 0 10px; }

/* ─────────────────────────────────────────
   RESPONSIVE — tablet+
───────────────────────────────────────── */
@media (min-width: 720px) {
  section { padding: 112px 0; }
  .stats-section { padding-top: 50px; padding-bottom: 96px; }
  .hero { padding: 64px 0 16px; }
  .hero-visual { margin-top: 32px; padding: 0 24px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat {
    padding: 8px 32px;
    border-top: 0;
    border-left: 1px solid var(--border);
  }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:last-child { padding-right: 0; }
  .stats-h { margin-bottom: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
  .customize-grid { grid-template-columns: repeat(2, 1fr); gap: 56px; margin-top: 56px; }
  .shot-wrap { min-height: 280px; }
}

@media (min-width: 800px) {
  .why-grid { grid-template-columns: 5fr 6fr; gap: 80px; }
}

/* ═══════════════════════════════════════════
   HERO ANIMATION COMPONENT
   All selectors scoped under .hero-visual
═══════════════════════════════════════════ */

/* ─── Animation layout ─── */
.hero-visual .stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  padding: 24px 16px 32px;
  min-height: 480px;
}
.hero-visual .state {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-visual .state-label { display: none; }
.hero-visual .state-frame {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 480px;
  position: relative;
}

/* ─── Logo icon ─── */
.hero-visual .br-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.hero-visual .br-icon svg { width: 100%; height: 100%; display: block; }
.hero-visual .br-icon.active .circle { fill: var(--amber); }
.hero-visual .br-icon.active .letter { fill: var(--onyx); }

/* ─── BestReply panel ─── */
.hero-visual .br-panel {
  width: 408px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--gradient-top) 0%, #FFFFFF 70%);
  border: 1px solid #F0E7D6;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(40,30,10,0.04),
    0 12px 28px -10px rgba(120,80,20,0.18),
    0 28px 60px -20px rgba(40,30,10,0.20);
  overflow: hidden;
}
.hero-visual .br-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 12px 16px;
}
.hero-visual .br-head .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #8a7a55;
}
.hero-visual .br-head .label .br-icon { width: 20px; height: 20px; }
.hero-visual .br-head .close {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: #B0A488;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .br-divider {
  height: 1px;
  margin: 0 16px;
  background: linear-gradient(90deg, transparent, #EFE4CD 12%, #EFE4CD 88%, transparent);
}
.hero-visual .br-reply {
  padding: 18px 20px 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #2a2418;
  letter-spacing: -0.005em;
}
.hero-visual .br-tone { padding: 14px 16px 12px; }
.hero-visual .br-tone .label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #9a8a64;
  margin-bottom: 9px;
}
.hero-visual .br-pills { display: flex; gap: 6px; flex-wrap: nowrap; }
.hero-visual .br-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px 6px 9px;
  border-radius: 999px;
  border: 1px solid #E8E2D4;
  background: rgba(255,255,255,0.6);
  font-size: 12.5px;
  font-weight: 500;
  color: #5e5440;
  white-space: nowrap;
  line-height: 1;
  font-family: inherit;
}
.hero-visual .br-pill .emoji { font-size: 13px; line-height: 1; transform: translateY(-0.5px); }
.hero-visual .br-pill[aria-pressed="true"] {
  background: var(--amber-tint);
  border-color: var(--amber);
  color: #7a4a05;
  box-shadow:
    0 0 0 3px rgba(217,119,6,0.10),
    inset 0 0 0 0.5px rgba(217,119,6,0.4);
}
.hero-visual .br-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 14px;
}
.hero-visual .br-regen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #8a7a55;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}
.hero-visual .br-use {
  border: 0;
  background: var(--onyx);
  color: #FFFFFF;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 7px;
  letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 1px 2px rgba(0,0,0,0.18);
  cursor: pointer;
}

/* ─── Review card ─── */
.hero-visual .review-card {
  width: 100%;
  max-width: 640px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  background: #FFFFFF;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.hero-visual .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F2C078 0%, #D97706 100%);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.hero-visual .review-main { flex: 1; min-width: 0; }
.hero-visual .review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.hero-visual .review-head .name { font-weight: 600; font-size: 14px; }
.hero-visual .review-head .date { color: var(--text-3); font-size: 12px; }
.hero-visual .review-head .stars {
  display: inline-flex;
  gap: 1px;
  color: var(--star);
  font-size: 13px;
  line-height: 1;
}
.hero-visual .review-body {
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.55;
  margin: 4px 0 0;
}

/* ─── Reply composer ─── */
.hero-visual .state-3-anchor {
  position: relative;
  width: 100%;
  max-width: 640px;
}
.hero-visual .composer-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 8px;
}
.hero-visual .composer {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #FFFFFF;
  padding: 16px 18px 12px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.hero-visual .composer-text {
  font-size: 14px;
  line-height: 1.55;
  color: #B7B0A4;
  min-height: 80px;
  transition: color 250ms ease;
  white-space: pre-wrap;
}
.hero-visual .composer-text.filled { color: #1A1A1A; }
.hero-visual .composer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid #F2EFEA;
  padding-top: 10px;
  gap: 8px;
}

/* ─── Trigger button ─── */
.hero-visual .br-trigger-wrap {
  position: relative;
  display: inline-flex;
}
.hero-visual .br-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #E8E2D4;
  background: linear-gradient(180deg, #FFFBF3 0%, #FFFFFF 100%);
  color: #2a2418;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px 6px 9px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 1px 2px rgba(40,30,10,0.04);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.hero-visual .br-trigger.active {
  background: var(--onyx);
  border-color: var(--onyx);
  color: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 1px 2px rgba(0,0,0,0.18);
}
.hero-visual .br-sparkle { width: 16px; height: 16px; flex-shrink: 0; color: var(--amber); }
.hero-visual .br-sparkle svg { width: 100%; height: 100%; display: block; }

/* ─── Ghost / post buttons ─── */
.hero-visual .btn-ghost {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font: inherit;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.hero-visual .btn-primary-disabled {
  border: 0;
  background: #D7D2C9;
  color: #FFF;
  font: inherit;
  font-weight: 500;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 220ms ease, box-shadow 220ms ease, transform 160ms ease;
  cursor: default;
}
.hero-visual .btn-primary-disabled.enabled {
  background: var(--onyx);
  color: #FFFFFF;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 1px 2px rgba(0,0,0,0.18),
    0 8px 18px -12px rgba(0,0,0,0.35);
}

/* ─── Panel fly-out animation ─── */
.hero-visual .br-trigger-wrap .br-panel {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px) scale(0.985);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms cubic-bezier(.2,.9,.2,1);
}
.hero-visual.demo-open .br-trigger-wrap .br-panel {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
  pointer-events: auto;
}

/* ─── Fake cursor & ripple ─── */
.click-ripple {
  position: fixed;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(217,119,6,.75);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  z-index: 9998;
  pointer-events: none;
}
.click-ripple.run { animation: ripple 480ms ease-out; }
@keyframes ripple {
  0%   { opacity: .9; transform: translate(-50%, -50%) scale(.4); }
  100% { opacity: 0;  transform: translate(-50%, -50%) scale(3.2); }
}

.fake-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  z-index: 9999;
  pointer-events: none;
  transform: translate3d(0,0,0);
  transition: transform 900ms cubic-bezier(.22,1,.36,1), opacity 220ms ease;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.22));
}
.fake-cursor svg { width: 24px; height: 24px; display: block; }
.fake-cursor.down {
  transition: transform 120ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .fake-cursor,
  .hero-visual .br-trigger-wrap .br-panel { transition: none; }
}

/* ─── Responsive: shrink animation on small screens ─── */
@media (max-width: 540px) {
  .hero-visual .br-panel { width: 320px; }
  .hero-visual .br-pills { flex-wrap: wrap; }
  .hero-visual .stage { padding: 16px 12px 24px; }
}
