:root {
  --teal: #0D5C4A;
  --teal-dark: #093D36;
  --teal-light: #1A8A74;
  --orange: #E8634A;
  --cream: #F5F4F0;
  --cream-dark: #EDECE8;
  --dark: #0D0D1A;
  --text: #1A1A2E;
  --muted: #6B6B7B;
  --white: #FFFFFF;
}

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

html { font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Nav */
.nav { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--teal); letter-spacing: -0.02em; }
.nav-tag { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }

/* Hero */
.hero { background: var(--dark); color: var(--white); position: relative; overflow: hidden; padding: 80px 0 0; }
.hero-bg-texture { position: absolute; inset: 0; background-image: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,92,74,0.35) 0%, transparent 70%); pointer-events: none; }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-left { }
.hero-eyebrow { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-light); font-weight: 500; margin-bottom: 20px; }
.hero-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--white); margin-bottom: 24px; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 420px; }

/* Phone Frame */
.phone-frame { background: #1C1C2E; border-radius: 32px; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05); }
.phone-status-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); }
.phone-time { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7); font-family: 'DM Sans', sans-serif; }
.phone-sig { display: flex; gap: 6px; color: rgba(255,255,255,0.5); }
.call-screen { padding: 16px; }
.call-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.call-avatar { width: 36px; height: 36px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: white; flex-shrink: 0; }
.call-info { flex: 1; }
.call-name { display: block; font-size: 0.85rem; font-weight: 600; color: white; }
.call-label { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.call-live-dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.call-transcript { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.transcript-msg { display: flex; flex-direction: column; }
.transcript-patient { align-items: flex-start; }
.transcript-ai { align-items: flex-end; }
.msg-bubble { padding: 10px 14px; border-radius: 16px; font-size: 0.82rem; line-height: 1.5; max-width: 85%; }
.transcript-patient .msg-bubble { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border-bottom-left-radius: 4px; }
.transcript-ai .msg-bubble { background: var(--teal); color: white; border-bottom-right-radius: 4px; }
.msg-time { font-size: 0.68rem; color: rgba(255,255,255,0.3); margin-top: 4px; padding: 0 4px; }
.call-booking-bar { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 10px; display: flex; gap: 8px; overflow-x: auto; }
.booking-slot { flex: 1; min-width: 90px; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.booking-slot.booked { background: rgba(13,92,74,0.4); border: 1px solid rgba(13,92,74,0.6); }
.slot-time { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.slot-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); }
.slot-badge { font-size: 0.65rem; color: #22C55E; font-weight: 600; margin-top: 2px; }
.slot-avail { font-size: 0.65rem; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* Hero Stats */
.hero-stats { max-width: 1200px; margin: 60px auto 0; padding: 0 40px; display: flex; gap: 40px; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; padding-bottom: 40px; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem; color: var(--white); letter-spacing: -0.03em; }
.stat-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); max-width: 180px; line-height: 1.4; }
.hero-stat-sep { width: 1px; height: 50px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* Proof Bar */
.proof-bar { background: var(--teal-dark); color: var(--white); padding: 48px 40px; }
.proof-label { text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 32px; }
.proof-numbers { max-width: 1000px; margin: 0 auto; display: flex; gap: 0; align-items: center; }
.proof-item { flex: 1; text-align: center; padding: 0 24px; }
.proof-big { display: block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--white); letter-spacing: -0.04em; }
.proof-text { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 6px; line-height: 1.4; }
.proof-sep { width: 1px; height: 60px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* Pain Features */
.pain-features { padding: 96px 40px; max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); font-weight: 600; margin-bottom: 12px; }
.section-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--text); letter-spacing: -0.03em; line-height: 1.1; }
.section-sub { font-size: 1.1rem; color: var(--muted); margin-top: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card { background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 36px; position: relative; transition: box-shadow 0.3s; }
.pain-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.pain-icon { color: var(--teal); margin-bottom: 20px; }
.pain-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--text); margin-bottom: 12px; }
.pain-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }
.pain-stat { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.06); font-size: 0.8rem; color: var(--orange); font-weight: 600; }

/* How it Works */
.how-it-works { background: var(--cream-dark); padding: 96px 40px; }
.how-it-works .section-header { max-width: 700px; margin: 0 auto 56px; }
.steps { max-width: 1000px; margin: 0 auto; display: flex; align-items: flex-start; gap: 0; }
.step { flex: 1; padding: 0 24px; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-number { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.8rem; color: var(--teal); letter-spacing: -0.05em; line-height: 1; margin-bottom: 16px; opacity: 0.3; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.step-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.step-connector { width: 60px; flex-shrink: 0; align-self: center; height: 1px; background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(13,92,74,0.3), rgba(0,0,0,0.1)); margin-top: -20px; }

/* ROI Section */
.roi-section { background: var(--teal); color: var(--white); padding: 80px 40px; }
.roi-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.roi-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.roi-sub { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 380px; }
.roi-calculation { background: rgba(255,255,255,0.08); border-radius: 20px; padding: 32px; border: 1px solid rgba(255,255,255,0.1); }
.roi-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.roi-row:last-of-type { border-bottom: none; }
.roi-row.highlight { }
.roi-label { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.roi-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: rgba(255,255,255,0.9); }
.roi-val.accent { color: #F9D849; font-size: 1.1rem; }
.roi-footnote { margin-top: 16px; font-size: 0.72rem; color: rgba(255,255,255,0.35); line-height: 1.5; }

/* Closing */
.closing { padding: 96px 40px; max-width: 1200px; margin: 0 auto; text-align: center; }
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--text); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.closing-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin-bottom: 40px; }
.closing-cta { }
.cta-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.cta-sub { font-size: 0.9rem; color: var(--muted); }

/* Pricing */
.pricing { padding: 96px 40px; background: var(--cream); }
.pricing .section-header { max-width: 700px; margin: 0 auto 56px; }
.pricing-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 20px; padding: 36px; position: relative; }
.pricing-card.featured { border: 2px solid var(--teal); box-shadow: 0 8px 40px rgba(13,92,74,0.12); }
.pricing-card.featured .pricing-badge { display: inline-block; background: var(--teal); color: var(--white); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.pricing-tier { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.pricing-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--text); letter-spacing: -0.04em; margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.pricing-divider { height: 1px; background: rgba(0,0,0,0.06); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { font-size: 0.88rem; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-cta { display: block; text-align: center; margin-top: 28px; padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: all 0.2s; }
.pricing-cta-primary { background: var(--teal); color: var(--white); }
.pricing-cta-primary:hover { background: var(--teal-dark); }
.pricing-cta-outline { border: 1px solid var(--teal); color: var(--teal); }
.pricing-cta-outline:hover { background: var(--teal); color: var(--white); }
.pricing-note { text-align: center; margin-top: 28px; font-size: 0.8rem; color: var(--muted); }

/* Case Study */
.case-study { background: var(--cream-dark); padding: 96px 40px; }
.case-study .section-header { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.cs-card { max-width: 900px; margin: 0 auto; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.cs-header { background: var(--dark); color: var(--white); padding: 40px 48px; display: flex; gap: 40px; align-items: center; }
.cs-practice { flex: 1; }
.cs-practice-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 4px; }
.cs-practice-type { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.cs-tag { display: inline-block; background: var(--teal); color: var(--white); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px; }
.cs-stats { display: flex; gap: 32px; }
.cs-stat { text-align: center; }
.cs-stat-value { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--white); letter-spacing: -0.03em; }
.cs-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.cs-body { padding: 40px 48px; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.cs-col-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.cs-metric { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.88rem; }
.cs-metric:last-child { border-bottom: none; }
.cs-metric-label { color: var(--text); }
.cs-metric-val { font-weight: 600; color: var(--teal); }
.cs-quote { background: var(--cream); border-radius: 12px; padding: 24px; margin-top: 8px; }
.cs-quote-text { font-size: 0.95rem; color: var(--text); font-style: italic; line-height: 1.7; margin-bottom: 12px; }
.cs-quote-author { font-size: 0.82rem; color: var(--muted); }
.cs-pending { max-width: 900px; margin: 0 auto; background: var(--white); border: 2px dashed rgba(0,0,0,0.12); border-radius: 24px; padding: 60px; text-align: center; }
.cs-pending-icon { font-size: 2rem; margin-bottom: 16px; }
.cs-pending-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--text); margin-bottom: 8px; }
.cs-pending-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.cs-pending-badge { display: inline-block; background: var(--cream-dark); color: var(--teal); font-size: 0.75rem; font-weight: 600; padding: 6px 16px; border-radius: 20px; }

/* Integration Tools */
.integrations { padding: 96px 40px; background: var(--white); }
.integrations .section-header { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.software-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.software-card { background: var(--cream); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 28px 24px; text-align: center; transition: box-shadow 0.3s; }
.software-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.software-icon { width: 52px; height: 52px; background: var(--white); border-radius: 12px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.7rem; color: var(--teal); border: 1px solid rgba(0,0,0,0.06); }
.software-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 6px; }
.software-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.software-badge { display: inline-block; margin-top: 12px; font-size: 0.7rem; background: var(--cream-dark); color: var(--muted); padding: 4px 10px; border-radius: 20px; font-weight: 500; }
.integrations-note { text-align: center; margin-top: 32px; font-size: 0.82rem; color: var(--muted); max-width: 600px; margin-left: auto; margin-right: auto; }

/* Contact Form */
.contact-page { min-height: 100vh; background: var(--cream); }
.contact-inner { max-width: 700px; margin: 0 auto; padding: 60px 40px; }
.contact-header { text-align: center; margin-bottom: 48px; }
.contact-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--text); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.contact-sub { font-size: 1rem; color: var(--muted); line-height: 1.6; }
.contact-form-card { background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input, .form-textarea { width: 100%; padding: 12px 16px; border: 1px solid rgba(0,0,0,0.12); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--cream); transition: border-color 0.2s; outline: none; }
.form-input:focus, .form-textarea:focus { border-color: var(--teal); background: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px 24px; background: var(--teal); color: var(--white); border: none; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--teal-dark); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; margin-bottom: 20px; display: none; }
.form-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; margin-bottom: 20px; display: none; }
.calendly-section { text-align: center; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.06); }
.calendly-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.calendly-link { display: inline-block; background: var(--dark); color: var(--white); padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background 0.2s; }
.calendly-link:hover { background: var(--teal); }
.calendly-sub { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.footer { background: var(--dark); color: rgba(255,255,255,0.4); padding: 32px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: var(--white); }
.footer-tag { font-size: 0.8rem; flex: 1; }
.footer-copy { font-size: 0.75rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stat-sep { width: 40px; height: 1px; }
  .proof-numbers { flex-direction: column; gap: 24px; }
  .proof-sep { width: 40px; height: 1px; }
  .pain-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .roi-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-inner, .pain-features, .closing, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .hero-stats, .proof-bar { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .software-grid { grid-template-columns: 1fr; }
  .cs-header { flex-direction: column; gap: 24px; }
  .cs-stats { flex-wrap: wrap; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-body { padding: 32px 24px; }
  .cs-header { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding-top: 48px; }
  .hero-headline { font-size: 2rem; }
  .proof-big { font-size: 2rem; }
  .section-headline { font-size: 1.8rem; }
}