:root {
  --paper: #FAF8F4;
  --surface: #FFFFFF;
  --ink: #191B20;
  --ink-muted: #5B5E68;
  --ink-faint: #8C8F98;
  --accent: #B8842E;
  --accent-deep: #8B5E1C;
  --accent-soft: #F3E7D2;
  --rule: #E7E2D4;
  --whatsapp: #25D366;
  --whatsapp-deep: #128C4E;
  --shadow: 0 1px 2px rgba(25,27,32,0.05), 0 12px 32px rgba(25,27,32,0.07);
  --shadow-lg: 0 4px 12px rgba(25,27,32,0.08), 0 24px 64px rgba(25,27,32,0.12);
}

:root[data-theme="dark"] {
  --paper: #14161B;
  --surface: #1B1E25;
  --ink: #F2F0EA;
  --ink-muted: #ABAEB8;
  --ink-faint: #6E7180;
  --accent: #E0AA4F;
  --accent-deep: #F0C177;
  --accent-soft: #2D2513;
  --rule: #2C2F3A;
  --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.35), 0 24px 64px rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161B;
    --surface: #1B1E25;
    --ink: #F2F0EA;
    --ink-muted: #ABAEB8;
    --ink-faint: #6E7180;
    --accent: #E0AA4F;
    --accent-deep: #F0C177;
    --accent-soft: #2D2513;
    --rule: #2C2F3A;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 12px 32px rgba(0,0,0,0.35);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.35), 0 24px 64px rgba(0,0,0,0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, video { max-width: 100%; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.wordmark .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-link:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #1A1300; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
h1.headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  text-wrap: balance;
}
h1.headline em {
  font-style: normal;
  color: var(--accent-deep);
}
.sub {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-proof {
  font-size: 13px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-proof .avail-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3AA76D;
  box-shadow: 0 0 0 3px color-mix(in srgb, #3AA76D 20%, transparent);
}

/* ---------- WhatsApp mock ---------- */
.phone {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid var(--rule);
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  flex: none;
}
.phone-name { font-size: 14px; font-weight: 600; }
.phone-status { font-size: 11.5px; color: var(--whatsapp-deep); }
.phone-body {
  background: #E9E2D4;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 320px;
  border-radius: 0 0 14px 14px;
}
:root[data-theme="dark"] .phone-body,
@media (prefers-color-scheme: dark) { .phone-body { background: #0E1611; } }
.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}
.bubble-in {
  background: #FFFFFF;
  color: #1A1A1A;
  align-self: flex-start;
  border-top-left-radius: 3px;
}
.bubble-out {
  background: #DCF8C6;
  color: #1A1A1A;
  align-self: flex-end;
  border-top-right-radius: 3px;
}
.bubble-time {
  font-size: 10px;
  color: #7A7A7A;
  text-align: right;
  margin-top: 3px;
}
.bubble-media {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--accent-deep);
  align-self: flex-start;
  max-width: 82%;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
h2.section-title {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 14px;
  text-wrap: balance;
}
.section-sub { color: var(--ink-muted); font-size: 16px; max-width: 52ch; margin: 0 auto; }

/* Problem strip */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 780px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  padding: 22px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.pain-num {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.pain-card h3 { font-size: 16.5px; margin: 0 0 8px; }
.pain-card p { font-size: 14px; color: var(--ink-muted); margin: 0; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } }
.step {
  position: relative;
  padding: 0 20px 0 0;
  counter-increment: step;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px; right: -2px;
  width: calc(100% - 8px);
  border-top: 1px dashed var(--rule);
}
@media (max-width: 900px) { .step::after { display: none; } }
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; margin: 0 0 8px; }
.step p { font-size: 13.5px; color: var(--ink-muted); margin: 0; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 780px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-cell {
  background: var(--surface);
  padding: 28px;
}
.feature-cell h3 {
  font-size: 17px;
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 10px;
}
.feature-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  font-size: 15px;
}
.feature-cell p { font-size: 14px; color: var(--ink-muted); margin: 0; padding-left: 40px; }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -11px; left: 22px;
  background: var(--accent);
  color: #1A1300;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.price-name { font-size: 15px; font-weight: 700; }
.price-amount {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 30px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.price-amount .unit { font-size: 13px; color: var(--ink-faint); font-family: inherit; }
.price-desc { font-size: 13px; color: var(--ink-muted); margin: 0; min-height: 34px; }
.price-cta { margin-top: auto; }
.price-fine { font-size: 11.5px; color: var(--ink-faint); }

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 780px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { padding: 4px; }
.trust-card h3 { font-size: 15px; margin: 0 0 6px; }
.trust-card p { font-size: 13.5px; color: var(--ink-muted); margin: 0; }
.trust-honest {
  margin-top: 32px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: var(--ink);
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}

/* Final CTA */
.cta-final {
  text-align: center;
  padding: 80px 0;
}
.cta-final h2 {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 16px;
}
.cta-final p { color: var(--ink-muted); max-width: 48ch; margin: 0 auto 32px; }
.cta-btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0 32px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--ink-faint); }
.foot-links a:hover { color: var(--ink-muted); }

::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
