/* ═══════════════════════════════════════════════════════════════════
   CLOSE THE DEAL — style.css
   « Soft Confident » · Cream warm + Coral · v3.0
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --bg:        #FAF6F0;            /* warm cream */
  --bg-2:      #F4EAD8;            /* deeper cream for sections */
  --surface:   #FFFFFF;
  --surface-2: #FBF7F1;            /* near-white tinted */

  /* Brand · coral (warm, confident, human) */
  --coral:     #F26C50;
  --coral-2:   #D55438;
  --coral-3:   #B43A22;
  --coral-soft:#FCE7DF;
  --coral-tint:#FFF1EC;

  /* Ink palette · warm near-blacks */
  --ink:       #1A1410;
  --ink-2:     #322820;
  --muted:     #7A6859;
  --muted-2:   #B0A395;

  /* Lines · cream */
  --line:      #ECE0CD;
  --line-2:    #DCCDB6;
  --line-strong:#B7A48A;

  /* Semantic accents (sparingly) */
  --buy:       #16A34A;
  --buy-soft:  #DCFCE7;
  --warn:      #E07A30;
  --warn-soft: #FFEAD0;
  --info:      #4A78D9;
  --info-soft: #DDE7F8;

  /* Shadows · warm-tinted */
  --sh-1: 0 1px 2px rgba(70,40,20,.04), 0 2px 6px rgba(70,40,20,.04);
  --sh-2: 0 1px 2px rgba(70,40,20,.05), 0 12px 28px rgba(70,40,20,.07);
  --sh-3: 0 4px 10px rgba(70,40,20,.06), 0 28px 60px rgba(70,40,20,.10);

  /* Radii — generous, soft */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;

  --t: cubic-bezier(.2,.7,.2,1);

  --container: 1180px;
}

/* ── Reset & base ───────────────────────────────────────────────── */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Geist', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, button, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.mono { font-family: 'Geist', ui-monospace, SFMono-Regular, Menlo, monospace; font-feature-settings: "tnum"; letter-spacing: -.005em; }

/* ── Typography system ──────────────────────────────────────────── */
.h1, .h2, h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 36;
}
.h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
}
.h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  letter-spacing: -.025em;
  line-height: 1.08;
}
h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 36;
}

/* The signature italic accent — Instrument Serif italic */
.hl-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
  font-feature-settings: "liga", "dlig";
  /* slight visual lift on serif accent */
  letter-spacing: -.01em;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.6rem;
  max-width: 540px;
}
.sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto 1rem;
  max-width: 580px;
}

.kicker {
  display: inline-flex; align-items: center;
  font-family: 'Geist', sans-serif;
  font-size: .76rem; font-weight: 500;
  letter-spacing: .04em;
  color: var(--coral-3);
  background: var(--coral-tint);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--coral-soft);
}

.sec-head { text-align: center; max-width: 740px; margin: 0 auto 4rem; }
.sec-head-l { text-align: left; max-width: 720px; margin-left: 0; margin-right: 0; }
.sec-head-l .sub { margin-left: 0; }

/* ── Container ──────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ── Decor (subtle background rhythm) ───────────────────────────── */
.decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.decor-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--coral);
  opacity: .14;
}
.decor-dot.d1 { top: 8%;  left: 6%;  width: 9px; height: 9px; }
.decor-dot.d2 { top: 32%; right: 4%; width: 12px; height: 12px; opacity: .10; }
.decor-dot.d3 { top: 70%; left: 3%;  width: 16px; height: 16px; opacity: .08; }
.decor-ring {
  position: absolute;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  opacity: .12;
}
.decor-ring.r1 { top: 18%; right: 9%; width: 88px; height: 88px; }
.decor-ring.r2 { top: 56%; left: 6%; width: 64px; height: 64px; opacity: .09; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.15rem;
  font-weight: 600; font-size: .95rem;
  font-family: 'Geist', sans-serif;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .18s var(--t), background .18s var(--t), box-shadow .18s var(--t), color .18s var(--t), border-color .18s var(--t);
}
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 2px 0 rgba(180,58,34,.15), 0 8px 22px rgba(242,108,80,.32);
}
.btn-primary:hover { background: var(--coral-2); transform: translateY(-1.5px); box-shadow: 0 2px 0 rgba(180,58,34,.18), 0 14px 30px rgba(242,108,80,.4); }
.btn-soft {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-1);
}
.btn-soft:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: var(--sh-2); }
.link-quiet {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 500;
  padding: .5rem .8rem;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.link-quiet:hover { color: var(--ink); background: var(--coral-tint); }

/* ── Badge ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem .8rem;
  font-family: 'Geist', sans-serif;
  font-size: .8rem; font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  box-shadow: var(--sh-1);
  margin-bottom: 1.4rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

/* ═══════════ NAV ═════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,240,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--t), background .2s var(--t);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 2.2rem; min-height: 70px; }
.nav-links { display: flex; gap: 1.8rem; margin-left: 1rem; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: .35rem; align-items: center; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.nav-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -.012em; }
.brand-mark { display: inline-flex; width: 30px; height: 30px; color: var(--coral); }
.brand-word { font-size: 1.06rem; }

/* ═══════════ HERO ════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-copy { max-width: 540px; }
.hero-cta { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 1rem; }
.hero-fine {
  margin: 0;
  font-size: .82rem;
  color: var(--muted-2);
  letter-spacing: .005em;
}

/* ── Hero stage (mockup) ────────────────────────────────────────── */
.hero-stage { position: relative; }
.scene {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  overflow: hidden;
  z-index: 2;
}
.stage-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(28px);
}
.stage-shape.sh1 {
  top: -10%; right: -8%;
  width: 220px; height: 220px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(242,108,80,.5), transparent 70%);
}
.stage-shape.sh2 {
  bottom: -12%; left: -10%;
  width: 260px; height: 260px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(244,234,216,.9), transparent 70%);
}

.scene-h {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.scene-ic {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--coral-tint);
  font-size: 1.1rem;
}
.scene-h b { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.scene-h em { display: block; font-style: normal; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.scene-tag {
  font-size: .72rem;
  color: var(--muted);
  font-family: 'Geist', sans-serif;
}

.scene-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Bubbles */
.bubble {
  max-width: 88%;
  padding: 11px 16px;
  border-radius: 22px;
  position: relative;
}
.bubble-who {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-family: 'Geist', sans-serif;
}
.bubble p { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--ink-2); }
.bubble-you {
  align-self: flex-start;
  background: var(--bg-2);
  border-bottom-left-radius: 6px;
}
.bubble-you .bubble-who { color: var(--muted); }
.bubble-them {
  align-self: flex-end;
  background: var(--coral-tint);
  border: 1px solid var(--coral-soft);
  border-bottom-right-radius: 6px;
}
.bubble-them .bubble-who { color: var(--coral-3); }
.bubble mark { background: transparent; color: var(--coral-3); font-weight: 700; padding: 0; }
.bubble mark.m-warn { color: var(--warn); }

/* Signal chips row */
.signals-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 4px 0 2px;
}
.sig-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .78rem;
  box-shadow: var(--sh-1);
}
.sig-chip b { font-weight: 600; color: var(--ink); }
.sig-chip em { font-style: normal; color: var(--muted); }
.sig-d { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.sig-buy .sig-d { background: var(--buy); box-shadow: 0 0 0 3px var(--buy-soft); }
.sig-warn .sig-d { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }

/* Divider with pill */
.scene-divider {
  display: flex; align-items: center;
  margin: 6px 0;
  color: var(--muted);
}
.scene-divider::before,
.scene-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider-pill {
  margin: 0 12px;
  font-size: .76rem;
  font-weight: 500;
  color: var(--coral-3);
  background: var(--coral-tint);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--coral-soft);
  white-space: nowrap;
}

/* Mail bubble */
.bubble-mail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.mail-h {
  display: flex; gap: 4px;
  padding: 8px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.mail-tab {
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.mail-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-1);
}
.mail-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.mail-meta {
  display: grid; grid-template-columns: 50px 1fr;
  font-size: .82rem;
  color: var(--ink-2);
}
.mail-meta span { color: var(--muted); }
.mail-meta b { font-weight: 600; }
.mail-body p { margin: 4px 0 6px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.mail-send {
  align-self: flex-start;
  margin-top: 2px;
  min-height: 40px;
  padding: .65rem 1.1rem;
  font-size: .85rem; font-weight: 600;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: .35rem;
  box-shadow: 0 2px 0 rgba(180,58,34,.15), 0 6px 18px rgba(242,108,80,.32);
  transition: background .15s var(--t), transform .15s var(--t);
}
.mail-send:hover { background: var(--coral-2); transform: translateY(-1px); }

/* Hero animation entry (CSS only) */
.anim-1, .anim-2, .anim-3, .anim-4, .anim-5 {
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn .7s var(--t) forwards;
}
.anim-1 { animation-delay: .25s; }
.anim-2 { animation-delay: .55s; }
.anim-3 { animation-delay: .9s; }
.anim-4 { animation-delay: 1.25s; }
.anim-5 { animation-delay: 1.55s; }
@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ PROBLEM ═════════════════════════════════════════════ */
.problem {
  position: relative;
  padding: 6rem 0 6rem;
  z-index: 1;
}
.problem .sec-head .h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.prb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: .5rem;
}
.prb-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--t), box-shadow .25s var(--t), border-color .25s var(--t);
}
.prb-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.prb-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--coral-tint);
  border: 1px solid var(--coral-soft);
  border-radius: 14px;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.prb-card h3 { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 700; }
.prb-card p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.55; }

/* ═══════════ HOW ═════════════════════════════════════════════════ */
.how {
  position: relative;
  padding: 6rem 0 7rem;
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent);
  z-index: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  position: relative;
}
/* dotted connector under steps on desktop */
.steps::before {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  top: 80px;
  height: 1px;
  border-top: 2px dashed var(--line-2);
  z-index: 0;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.6rem;
  box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative;
  z-index: 1;
}
.step-vis { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
.step-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.12rem;
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  box-shadow: 0 2px 0 rgba(180,58,34,.15), 0 6px 18px rgba(242,108,80,.32);
}
.step-art {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  min-height: 120px;
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
  justify-content: center;
}

/* Step 1 art */
.art-join { gap: 8px; }
.ja-pill, .ja-bot {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .82rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink-2);
}
.ja-bot {
  background: var(--coral);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}

/* Step 2 art */
.art-detect { gap: 6px; align-items: flex-start; }
.ad-tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid;
}
.ad-tag.tag-buy  { background: var(--buy-soft);  color: #166534; border-color: #BBF7D0; }
.ad-tag.tag-warn { background: var(--warn-soft); color: #9A3F0F; border-color: #FDD9B0; }
.ad-tag.tag-time { background: var(--info-soft); color: #1E3A8A; border-color: #BFD3F1; }

/* Step 3 art */
.art-write { gap: 8px; align-items: stretch; padding: 18px; }
.aw-line { height: 8px; border-radius: 4px; background: var(--bg-2); }
.aw-l1 { width: 70%; }
.aw-l2 { width: 90%; }
.aw-l3 { width: 50%; position: relative; overflow: hidden; }
.aw-l3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(242,108,80,.4), transparent);
  animation: shimmer 2s infinite;
}
.aw-cur {
  width: 2px; height: 14px;
  background: var(--coral);
  align-self: flex-end;
  margin-top: -4px;
  animation: blink 1s steps(2) infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes blink { 50% { opacity: 0; } }

.step-txt h3 { margin: 0 0 .4rem; font-size: 1.14rem; font-weight: 700; }
.step-txt p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.55; }

/* ═══════════ COMPOSER ════════════════════════════════════════════ */
.composer {
  position: relative;
  padding: 7rem 0;
  z-index: 1;
}
.compo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.compo-head { max-width: 480px; }
.compo-bullets {
  display: flex; flex-direction: column; gap: .65rem;
  margin-top: 1.4rem;
}
.compo-bullets li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .98rem;
  color: var(--ink-2);
}
.compo-bullets li::before {
  content: '';
  position: absolute; left: 0; top: .4em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--coral-tint);
  border: 1.5px solid var(--coral);
}
.compo-bullets li::after {
  content: '';
  position: absolute; left: 5px; top: .8em;
  width: 7px; height: 3px;
  border-left: 1.6px solid var(--coral);
  border-bottom: 1.6px solid var(--coral);
  transform: rotate(-45deg);
}

.compo-stage { position: relative; display: flex; justify-content: center; }
.compo-shape {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(242,108,80,.18), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* Phone-style mockup */
.phone {
  position: relative;
  z-index: 1;
  width: 360px;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.phone-h {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.phone-back {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
}
.phone-name { font-weight: 700; font-size: .96rem; color: var(--ink); }
.phone-status { font-size: .72rem; color: var(--buy); }
.phone-status::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--buy);
  margin-right: 5px;
  vertical-align: middle;
}

.phone-tabs {
  display: flex; gap: 4px;
  padding: 8px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.ptab {
  flex: 1;
  min-height: 44px;
  padding: 10px 10px;
  font-size: .82rem; font-weight: 600;
  border-radius: 12px;
  color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s var(--t), color .15s var(--t), box-shadow .15s var(--t);
}
.ptab.is-active {
  background: var(--surface);
  color: var(--coral-3);
  box-shadow: var(--sh-1);
}

.phone-body {
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 320px;
}
.msg {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.msg p { margin: 4px 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.msg-meta { display: grid; grid-template-columns: 50px 1fr; gap: 8px; font-size: .82rem; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); margin-bottom: 8px; }
.msg-meta b { font-weight: 600; color: var(--muted); }

.msg-foot {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.ton-chip {
  padding: 5px 11px;
  font-size: .76rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.ton-chip.is-active {
  background: var(--coral-tint);
  color: var(--coral-3);
  border-color: var(--coral-soft);
  font-weight: 600;
}
.phone-send {
  margin-left: auto;
  min-height: 40px;
  padding: 9px 16px;
  font-size: .82rem; font-weight: 600;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  display: inline-flex; align-items: center;
  box-shadow: 0 2px 0 rgba(180,58,34,.15), 0 6px 14px rgba(242,108,80,.3);
  transition: background .15s var(--t), transform .15s var(--t);
}
.phone-send:hover { background: var(--coral-2); transform: translateY(-1px); }

/* WhatsApp pane variant */
.phone-body[data-pane="wa"] .msg {
  background: #DCF8C6;
  border-color: #C5EBA3;
}
.phone-body[data-pane="wa"] .msg-meta { display: none; }
.phone-body[data-pane="wa"] {
  background: #ECE5DD;
}
.phone-body[data-pane="sms"] .msg {
  background: var(--info-soft);
  border-color: #BFD3F1;
}
.phone-body[data-pane="sms"] .msg-meta { display: none; }

/* ═══════════ SIGNALS ═════════════════════════════════════════════ */
.signals {
  position: relative;
  padding: 6rem 0;
  z-index: 1;
}
.sig-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.sig-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--sh-1);
  text-align: left;
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .25s var(--t), box-shadow .25s var(--t), border-color .25s var(--t);
}
.sig-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.sc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
}
.sc-budget .sc-ic { background: var(--buy-soft);   color: #166534; }
.sc-obj    .sc-ic { background: var(--coral-tint); color: var(--coral-3); }
.sc-decid  .sc-ic { background: #FCE7F3; color: #BE185D; }
.sc-time   .sc-ic { background: var(--info-soft);  color: #1E3A8A; }
.sc-next   .sc-ic { background: var(--bg-2);       color: var(--ink); }
.sig-card h3 { margin: 0; font-size: 1.02rem; font-weight: 700; }
.sig-card p {
  margin: 0; font-size: .88rem; color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}
.sc-pill {
  align-self: flex-start;
  font-family: 'Geist', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--line);
  margin-top: auto;
}
.sc-budget .sc-pill { background: var(--buy-soft);   color: #166534; border-color: #BBF7D0; }
.sc-obj    .sc-pill { background: var(--coral-tint); color: var(--coral-3); border-color: var(--coral-soft); }
.sc-decid  .sc-pill { background: var(--buy-soft);   color: #166534; border-color: #BBF7D0; }
.sc-time   .sc-pill { background: var(--buy-soft);   color: #166534; border-color: #BBF7D0; }
.sc-next   .sc-pill { background: var(--coral-tint); color: var(--coral-3); border-color: var(--coral-soft); }

/* ═══════════ PIPELINE ════════════════════════════════════════════ */
.pipe {
  position: relative;
  padding: 6rem 0 7rem;
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent);
  z-index: 1;
}
.pipe-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pipe-head { max-width: 460px; }
.pipe-bullets {
  display: flex; flex-direction: column; gap: .65rem;
  margin-top: 1.4rem;
}
.pipe-bullets li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .98rem;
  color: var(--ink-2);
}
.pipe-bullets li::before {
  content: '';
  position: absolute; left: 0; top: .4em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--coral-tint);
  border: 1.5px solid var(--coral);
}
.pipe-bullets li::after {
  content: '';
  position: absolute; left: 5px; top: .8em;
  width: 7px; height: 3px;
  border-left: 1.6px solid var(--coral);
  border-bottom: 1.6px solid var(--coral);
  transform: rotate(-45deg);
}

.pipe-stage { position: relative; }
.pipe-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.pc-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.pc-h h4 { margin: 0; font-size: .98rem; font-weight: 700; }
.pc-mono { font-size: .76rem; color: var(--muted); }
.pipe-list { display: flex; flex-direction: column; }
.pipe-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.pipe-row:first-child { border-top: 0; }
.pr-score {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.1rem;
}
.pipe-hot .pr-score {
  background: var(--coral-tint);
  color: var(--coral-3);
  border: 1px solid var(--coral-soft);
}
.pr-info b { display: block; font-weight: 600; font-size: .94rem; color: var(--ink); }
.pr-info em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.pr-next { display: flex; flex-direction: column; gap: 4px; }
.pr-tag {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px;
  font-size: .8rem;
  font-weight: 500;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
}
.pipe-hot .pr-tag {
  background: var(--coral-tint);
  border-color: var(--coral-soft);
  color: var(--coral-3);
  font-weight: 600;
}
.pr-next em { font-style: normal; font-size: .72rem; color: var(--muted); }

/* ═══════════ TESTIMONIALS ════════════════════════════════════════ */
.testi {
  position: relative;
  padding: 6rem 0 7rem;
  z-index: 1;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--t), box-shadow .25s var(--t);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.testi-stat {
  background: var(--coral-tint);
  border: 1px solid var(--coral-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex; flex-direction: column;
}
.testi-stat b {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-3);
  letter-spacing: -.025em;
  line-height: 1;
}
.testi-stat span {
  margin-top: 4px;
  font-size: .82rem;
  color: var(--coral-3);
  opacity: .85;
}
.testi-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.testi-card footer { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.testi-card footer b { display: block; font-size: .92rem; color: var(--ink); }
.testi-card footer em { font-style: normal; font-size: .78rem; color: var(--muted); }

.ava {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: .76rem; font-weight: 700; color: #fff;
  flex: 0 0 auto;
  font-family: 'Geist', sans-serif;
}
.ava-a { background: linear-gradient(135deg, #F472B6, #DB2777); }
.ava-b { background: linear-gradient(135deg, #6366F1, #4338CA); }
.ava-c { background: linear-gradient(135deg, #14B8A6, #0EA5E9); }

/* ═══════════ PRICING ═════════════════════════════════════════════ */
.pricing {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent);
  z-index: 1;
}
.bill-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 1.4rem;
  box-shadow: var(--sh-1);
}
.bill-toggle button {
  padding: .5rem 1.1rem;
  font-size: .88rem; font-weight: 600;
  border-radius: 999px;
  color: var(--muted);
  transition: background .15s, color .15s;
  font-family: 'Geist', sans-serif;
}
.bill-toggle button.is-active { background: var(--coral); color: #fff; }
.bill-toggle .save { font-size: .72rem; opacity: .85; margin-left: .35rem; font-weight: 500; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform .25s var(--t), box-shadow .25s var(--t);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.plan header h3 { margin: 0 0 .2rem; font-size: 1.2rem; font-weight: 700; }
.plan header p { margin: 0; font-size: .88rem; color: var(--muted); }
.plan .price { display: flex; align-items: baseline; gap: .35rem; }
.plan .amt {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1;
}
.plan .per { color: var(--muted); font-size: .92rem; }
.plan-feat { display: flex; flex-direction: column; gap: .55rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.plan-feat li {
  font-size: .94rem; color: var(--ink-2);
  display: flex; align-items: center; gap: .55rem;
  padding-left: 0; position: relative;
}
.plan-feat li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--coral-tint);
  border: 1.5px solid var(--coral);
  flex: 0 0 16px;
}
.plan-feat li::after {
  content: '';
  position: absolute; left: 4px; top: .65em;
  width: 7px; height: 3px;
  border-left: 1.6px solid var(--coral);
  border-bottom: 1.6px solid var(--coral);
  transform: rotate(-45deg);
}
.plan-pop { border-color: var(--coral); box-shadow: 0 4px 10px rgba(70,40,20,.06), 0 18px 44px rgba(242,108,80,.18); }
.plan-pop .pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: 'Geist', sans-serif;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--coral); color: #fff;
  padding: .3rem .8rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(242,108,80,.4);
}

/* ═══════════ FAQ ═════════════════════════════════════════════════ */
.faq {
  position: relative;
  padding: 6rem 0;
  z-index: 1;
}
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .15s var(--t), box-shadow .15s var(--t);
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--coral-soft); box-shadow: var(--sh-1); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600; font-size: 1rem;
  color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .caret {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--coral-tint);
  position: relative;
  flex: 0 0 22px;
  transition: background .2s var(--t);
}
.faq-list details[open] .caret { background: var(--coral); }
.faq-list .caret::before, .faq-list .caret::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 9px; height: 2px;
  background: var(--coral-3);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: background .2s var(--t);
}
.faq-list .caret::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s var(--t), background .2s var(--t); }
.faq-list details[open] .caret::before,
.faq-list details[open] .caret::after { background: #fff; }
.faq-list details[open] .caret::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { margin: 0; padding: 0 1.4rem 1.4rem; font-size: .94rem; color: var(--muted); line-height: 1.6; }

/* ═══════════ FINAL CTA ═══════════════════════════════════════════ */
.cta {
  padding: 5rem 0 7rem;
  position: relative;
  z-index: 1;
}
.cta-card {
  background: linear-gradient(140deg, #FFE4D9 0%, #FFF1EC 50%, #FAF6F0 100%);
  border: 1px solid var(--coral-soft);
  border-radius: var(--r-2xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 10px rgba(70,40,20,.04), 0 32px 80px rgba(242,108,80,.2);
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242,108,80,.3), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 320px; height: 320px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(244,234,216,.9), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
}
.cta-h {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  position: relative;
  margin: 0 auto 1.6rem;
  max-width: 700px;
}
.cta-form {
  position: relative;
  display: flex; gap: .5rem;
  max-width: 460px; margin: 0 auto .8rem;
  flex-wrap: wrap; justify-content: center;
}
.cta-form input {
  flex: 1; min-width: 220px;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  font-family: 'Geist', sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
.cta-form input::placeholder { color: var(--muted-2); }
.cta-form input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.cta-fine {
  font-size: .82rem;
  color: var(--muted);
  position: relative;
  margin: 0;
}

/* ═══════════ FOOTER ══════════════════════════════════════════════ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-tag { color: var(--muted); margin: .9rem 0 0; font-size: .92rem; max-width: 260px; line-height: 1.5; }
.footer-col h4 {
  margin: 0 0 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Geist', sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.footer-col a { display: block; padding: .3rem 0; color: var(--muted); font-size: .92rem; transition: color .15s; }
.footer-col a:hover { color: var(--coral); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted-2);
  flex-wrap: wrap; gap: .5rem;
}

/* ═══════════ Reveal motion ══════════════════════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--t), transform .7s var(--t); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-in { opacity: 1; transform: none; transition: none; }
  .anim-1, .anim-2, .anim-3, .anim-4, .anim-5 { opacity: 1; transform: none; animation: none; }
  .aw-l3::after, .aw-cur, .badge-dot, .phone-status::before { animation: none; }
}

/* ═══════════ RESPONSIVE ══════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { max-width: 100%; }
  .hero-stage { max-width: 540px; margin: 0 auto; width: 100%; }
  .compo-grid, .pipe-grid, .faq-wrap { grid-template-columns: 1fr; gap: 2.6rem; }
  .pipe-grid .pipe-stage { order: 2; }
  .pipe-grid .pipe-head { order: 1; }
  .testi-grid, .plans { grid-template-columns: repeat(2, 1fr); }
  .sig-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  /* Burger panel — single visual unit. nav-links + nav-cta stack contiguously
     thanks to JS-computed --nav-cta-top (set in main.js on toggle). */
  .nav.is-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .35rem 1.25rem .5rem; gap: 0;
  }
  .nav.is-open .nav-links a {
    min-height: 48px; display: flex; align-items: center;
    padding: .25rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  }
  .nav.is-open .nav-links a:last-child { border-bottom: 0; }
  .nav.is-open .nav-cta {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-cta-top, calc(100% + 220px)); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .85rem 1.25rem 1.1rem; gap: .55rem;
  }
  .nav.is-open .nav-cta .btn { min-height: 46px; }

  .hero { padding: 3rem 0 4rem; }
  .problem, .composer, .signals, .pipe, .testi, .pricing, .faq { padding: 4rem 0; }
  .how { padding: 4rem 0 5rem; }
  .cta { padding: 3rem 0 4rem; }
  .cta-card { padding: 3rem 1.6rem; border-radius: var(--r-xl); }

  .prb-grid { grid-template-columns: 1fr; }
  .testi-grid, .plans { grid-template-columns: 1fr; }
  .sig-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bot { flex-direction: column; align-items: flex-start; }

  .pipe-row { grid-template-columns: 48px 1fr; gap: 12px; }
  .pipe-row .pr-next { grid-column: 2; }
  .pr-score { width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .sig-grid { grid-template-columns: 1fr; }
}
