/* Fonts */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Palette */
  --teal:      #0D3B3E;
  --teal-mid:  #1A5F63;
  --amber:      #D4943A;
  --amber-lt:   #F0C060;
  --cream:      #F8F6F1;
  --cream-dk:   #EDE8DF;
  --ink:       #1C1C1A;
  --ink-muted: #5A5A52;

  --bg:        #F8F6F1;
  --fg:        #1C1C1A;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--cream-dk);
}
.nav-inner { max-width: 1100px; margin: 0 auto; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  display: block;
}
.tagline {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* ── Shared ── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* ── Hero ── */
.hero {
  background: var(--teal);
  color: #fff;
  padding: 80px 40px 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-lt);
  margin-bottom: 20px;
  font-weight: 500;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
.lede {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 440px;
  line-height: 1.65;
}

/* ── Phone Frame ── */
.phone-frame {
  background: #111;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.phone-notch {
  width: 100px;
  height: 26px;
  background: #111;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.phone-screen {
  background: #0D3B3E;
  border-radius: 26px;
  padding: 44px 16px 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.caller-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  display: block;
}
.caller-number {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 2px;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.live-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4ade80;
}
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  margin-bottom: 12px;
}
.waveform span {
  flex: 1;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  animation: wave 1.2s ease-in-out infinite alternate;
}
.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: 80%; animation-delay: 0.2s; }
.waveform span:nth-child(4)  { height: 50%; animation-delay: 0.3s; }
.waveform span:nth-child(5)  { height: 90%; animation-delay: 0.4s; }
.waveform span:nth-child(6)  { height: 40%; animation-delay: 0.5s; }
.waveform span:nth-child(7)  { height: 70%; animation-delay: 0.6s; }
.waveform span:nth-child(8)  { height: 55%; animation-delay: 0.7s; }
.waveform span:nth-child(9)  { height: 85%; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 45%; animation-delay: 0.9s; }
.waveform span:nth-child(11) { height: 65%; animation-delay: 1.0s; }
.waveform span:nth-child(12) { height: 35%; animation-delay: 1.1s; }
.waveform span:nth-child(13) { height: 75%; animation-delay: 0s; }
.waveform span:nth-child(14) { height: 50%; animation-delay: 0.2s; }
.waveform span:nth-child(15) { height: 60%; animation-delay: 0.4s; }
@keyframes wave {
  0%   { transform: scaleY(0.5); }
  100% { transform: scaleY(1); }
}
.conversation {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bubble {
  border-radius: 14px;
  padding: 8px 11px;
  max-width: 90%;
}
.bubble-text {
  font-size: 0.7rem;
  line-height: 1.4;
  display: block;
}
.patient-bubble {
  background: rgba(255,255,255,0.1);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.patient-bubble .bubble-text { color: rgba(255,255,255,0.85); }
.ai-bubble {
  background: var(--amber);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-bubble .bubble-text { color: var(--teal); font-weight: 500; }
.ai-bubble.confirmed { background: #4ade80; }
.confirmed .bubble-text { color: #052e16; }
.call-summary {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 8px;
  margin-top: 8px;
}
.summary-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 5px;
}
.summary-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag {
  font-size: 0.6rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  padding: 3px 7px;
  border-radius: 20px;
}
.hero-stat {
  position: absolute;
  bottom: -28px;
  right: -10px;
  background: var(--amber);
  color: var(--teal);
  border-radius: 16px;
  padding: 12px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(212,148,58,0.35);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label { font-size: 0.65rem; line-height: 1.4; margin-top: 4px; display: block; }
.hero-right { position: relative; }

.hero-footer {
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 40px;
  display: flex;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-footer-item {}
.hf-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-lt);
}
.hf-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 2px; display: block; }

/* ── Problem ── */
.problem { padding: 96px 40px; background: var(--cream); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 52px;
  max-width: 600px;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--cream-dk);
  border-radius: 16px;
  padding: 28px;
}
.problem-icon { color: var(--teal); margin-bottom: 16px; }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.problem-card p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; }

/* ── How ── */
.how { padding: 96px 40px; background: #fff; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
}
.step {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.6; }
.step-arrow { color: var(--cream-dk); padding-top: 48px; }

/* ── Features ── */
.features { padding: 96px 40px; background: var(--cream); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 52px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--cream-dk);
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.feature:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.feature-icon { color: var(--teal); margin-bottom: 14px; }
.feature h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p { font-size: 0.83rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Outcomes ── */
.outcomes { padding: 96px 40px; background: var(--teal); color: #fff; }
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 52px;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.outcome {}
.outcome-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber-lt);
  line-height: 1;
  margin-bottom: 8px;
}
.outcome-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.pricing-note {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.6;
}
.pricing-note strong { color: var(--amber-lt); }

/* ── Closing ── */
.closing { padding: 96px 40px; background: #fff; }
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--teal);
}
.closing p { font-size: 1rem; color: var(--ink-muted); line-height: 1.7; max-width: 540px; margin: 0 auto 40px; }
.closing-footer { border-top: 1px solid var(--cream-dk); padding-top: 28px; }
.closing-detail { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cd-item { font-size: 0.8rem; color: var(--ink-muted); font-weight: 500; }
.cd-sep { color: var(--cream-dk); font-size: 0.8rem; }

/* ── Footer ── */
footer { background: var(--cream-dk); padding: 28px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--teal); display: block; }
.footer-desc { font-size: 0.78rem; color: var(--ink-muted); display: block; margin-top: 2px; }
.footer-meta { font-size: 0.78rem; color: var(--ink-muted); font-style: italic; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .hero-footer { gap: 24px; }
  .problem-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 20px 0; }
  .hero-footer { flex-direction: column; padding: 24px 20px; gap: 16px; }
  .problem, .how, .features, .outcomes, .closing { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  nav { padding: 16px 20px; }
  footer { padding: 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}