:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #2D2A26;
  --ink-muted: #6B6560;
  --accent: #C9A84C;
  --accent-dim: rgba(201, 168, 76, 0.1);
  --border: rgba(0, 0, 0, 0.07);
  --deep: #3D2B1F;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }

/* ── Noise overlay ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] {
  transform: scale(0.92);
}
[data-reveal="scale"].is-visible {
  transform: scale(1);
}
[data-reveal-delay="50"] { transition-delay: 0.05s; }
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="150"] { transition-delay: 0.15s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Layout ── */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .wrap { padding: 0 24px; } }

/* ── Header ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
header.scrolled {
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo em { font-style: normal; color: var(--accent); }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { font-size: 0.875rem; color: var(--ink-muted); transition: color 0.2s; }
nav a:hover { color: var(--ink); }
.btn-nav {
  background: var(--ink);
  color: var(--bg);
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}
.btn-nav:hover { opacity: 0.85; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: #B8942E; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.3); }

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--ink);
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-dim); }

/* ── Sections ── */
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ── Hero ── */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(201,168,76,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(184,112,94,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 36% 64% 42% 58%;
  filter: blur(60px);
  pointer-events: none;
  animation: blobMorph 12s ease-in-out infinite;
}
.blob-1 {
  width: 400px;
  height: 400px;
  right: -80px;
  top: 10%;
  background: radial-gradient(circle, rgba(201,168,76,0.15), transparent 70%);
}
.blob-2 {
  width: 300px;
  height: 300px;
  left: -60px;
  bottom: 15%;
  background: radial-gradient(circle, rgba(184,112,94,0.1), transparent 70%);
  animation-delay: -4s;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 36% 64% 42% 58%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 52% 48% 60% 40%; transform: rotate(6deg) scale(1.05); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-text {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ── Problem ── */
.problem {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .problem-split { grid-template-columns: 1fr; gap: 1.5rem; }
}
.problem-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.problem-right p {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── How ── */
.how {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.how h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
}
.step { position: relative; }
.step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3.5rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Try it ── */
.try {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.try h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.try-text {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

.phone-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2.5rem 2rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.phone-visual { margin-bottom: 2rem; }

.phone-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: pulse 2.5s ease-out infinite;
}
.ring.r2 { animation-delay: 0.8s; }
.ring.r3 { animation-delay: 1.6s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}
.phone-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #4CAF50;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.phone-number { margin-bottom: 1.5rem; }
.number-link {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  transition: color 0.2s;
}
.number-link:hover { color: var(--accent); }
.number-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.3rem;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  margin-bottom: 1.5rem;
}
.waveform span {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 40%; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 90%; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 55%; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 70%; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 35%; animation-delay: 0.9s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.phone-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.phone-hints span {
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--ink-muted);
  transition: border-color 0.2s, background 0.2s;
}
.phone-hints span:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── Demo conversation / Phone mockup ── */
.demo {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.demo h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.phone-mockup {
  max-width: 380px;
}
.mockup-frame {
  background: var(--deep);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 16px 48px rgba(61,43,31,0.25), 0 2px 8px rgba(0,0,0,0.1);
}
.mockup-notch {
  width: 100px;
  height: 22px;
  background: var(--deep);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  position: relative;
}
.mockup-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.mockup-title {
  font-weight: 600;
  font-size: 0.85rem;
}
.mockup-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: #4CAF50;
  font-weight: 500;
}
.mockup-status .status-dot {
  width: 5px;
  height: 5px;
}

.mockup-chat {
  padding: 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-msg {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-msg.shown {
  opacity: 1;
  transform: translateY(0);
}
.chat-msg.caller { align-self: flex-start; }
.chat-msg.ai { align-self: flex-end; }

.chat-bubble {
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  max-width: 85%;
}
.caller .chat-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.ai .chat-bubble {
  background: var(--accent-dim);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  position: relative;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
  padding: 2px 0;
}
.typing-dots span {
  width: 5px;
  height: 5px;
  background: var(--ink-muted);
  border-radius: 50%;
  animation: dotBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-text { display: none; }
.chat-msg.shown .typing-dots { display: none; }
.chat-msg.shown .chat-text { display: inline; }

/* ── Stats ── */
.stats {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) {
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
}
.stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ── Pricing ── */
.pricing {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.pricing h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .price-row { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.price-card:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.price-card.featured {
  border-color: var(--accent);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -0.6rem;
  left: 1.5rem;
  background: var(--accent);
  color: var(--deep);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.price-amount {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.price-amount span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.price-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.price-card li {
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.price-card li::before {
  content: "\2014\00a0";
  color: var(--accent);
}

/* ── CTA ── */
.cta {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta p {
  color: var(--ink-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
}
.cta-form input {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.cta-form button {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  min-width: 120px;
}
.cta-form button:hover { opacity: 0.85; }
.cta-form button .btn-done {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.cta-form button.done {
  background: #4CAF50;
}
.cta-form button.done .btn-text {
  opacity: 0;
  transform: translateY(-10px);
}
.cta-form button.done .btn-done {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer ── */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--ink-muted);
}
.footer-left em { font-style: normal; color: var(--accent); }
.footer-right a {
  font-size: 0.8rem;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--ink); }
