:root {
  --bg: #0C0C0E;
  --bg-alt: #141418;
  --fg: #F0EDE6;
  --fg-muted: rgba(240, 237, 230, 0.55);
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(240, 237, 230, 0.08);
  --border-accent: rgba(245, 158, 11, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-alt);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

::selection { background: var(--accent); color: var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 80px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 64px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* CALL UI */
.hero-right { display: flex; justify-content: flex-end; }
.call-ui {
  width: 100%;
  max-width: 420px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(245, 158, 11, 0.06), 0 24px 60px rgba(0,0,0,0.5);
}
.call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--accent-dim);
  border-bottom: 1px solid var(--border-accent);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.call-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
.call-body { padding: 18px; }
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 16px;
  height: 24px;
}
.wave {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.wave:nth-child(1) { height: 8px; animation-delay: 0s; }
.wave:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.wave:nth-child(5) { height: 12px; animation-delay: 0.15s; }
.wave:nth-child(6) { height: 6px; animation-delay: 0.25s; }
.wave:nth-child(7) { height: 18px; animation-delay: 0.05s; }
.wave:nth-child(8) { height: 14px; animation-delay: 0.35s; }
.wave:nth-child(9) { height: 9px; animation-delay: 0.2s; }
.wave:nth-child(10) { height: 22px; animation-delay: 0.1s; }
@keyframes wave {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 1; }
}
.transcript { display: flex; flex-direction: column; gap: 8px; }
.t-agent, .t-caller {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.t-agent {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.t-caller {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  border-bottom-right-radius: 4px;
  margin-left: 24px;
}
.call-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: rgba(34, 197, 94, 0.05);
}
.call-tag.booked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 6px 12px;
  border-radius: 8px;
}

/* PROOF */
.proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner { max-width: 1200px; margin: 0 auto; padding: 60px 40px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.proof-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.proof-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proof-text { display: flex; flex-direction: column; gap: 4px; }
.proof-text strong { font-size: 15px; font-weight: 600; color: var(--fg); }
.proof-text span { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }

/* SECTION LABEL */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

/* HOW */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}
.how-header {
  max-width: 520px;
  margin-bottom: 64px;
}
.how-header h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.how-sub { font-size: 17px; color: var(--fg-muted); }
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1;
  padding: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.step-connector {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), var(--border));
}
.step-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 20px;
}
.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.step-content p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* OUTCOMES */
.outcomes { background: var(--bg-alt); border-top: 1px solid var(--border); }
.outcomes-inner { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.outcomes-header { margin-bottom: 56px; }
.outcomes-header h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.outcome-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.outcome-card:hover { border-color: var(--border-accent); }
.outcome-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome-card h3 { font-size: 18px; font-weight: 600; color: var(--fg); }
.outcome-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* PRICING */
.pricing { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.pricing-header { text-align: center; max-width: 520px; margin: 0 auto 56px; }
.pricing-header h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.pricing-sub { font-size: 17px; color: var(--fg-muted); }
.pricing-card {
  display: flex;
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.pricing-tier {
  flex: 1;
  padding: 40px 36px;
  position: relative;
}
.pricing-tier.featured { background: rgba(245, 158, 11, 0.04); }
.tier-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.tier-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.tier-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.tier-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: normal;
}
.tier-desc { font-size: 14px; color: var(--fg-muted); margin-bottom: 28px; line-height: 1.55; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg);
}
.tier-features svg { flex-shrink: 0; margin-top: 2px; }
.pricing-divider { width: 1px; background: var(--border); }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 32px;
}

/* CLOSING */
.closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.closing h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.footer-copy { font-size: 14px; color: var(--fg-muted); }

/* MOBILE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 48px;
    min-height: auto;
  }
  .hero-right { justify-content: flex-start; }
  .call-ui { max-width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .pricing-card { flex-direction: column; }
  .pricing-divider { width: 100%; height: 1px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 20px; }
  .proof-inner, .how, .outcomes-inner, .pricing, .closing-inner { padding: 60px 20px; }
}

/* DEMO CTA BUTTON (hero) */
.hero-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
  width: fit-content;
}
.hero-demo-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.hero-demo-btn:active { transform: translateY(0); }
.hero-demo-btn svg { flex-shrink: 0; }

/* DEMO MODAL OVERLAY */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.demo-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.demo-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 0 100px rgba(245, 158, 11, 0.08), 0 40px 80px rgba(0,0,0,0.6);
  transform: translateY(16px);
  transition: transform 0.25s;
}
.demo-overlay.is-open .demo-panel { transform: translateY(0); }

/* DEMO HEADER */
.demo-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.demo-close:hover { color: var(--fg); background: var(--border); }
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.demo-header-left { display: flex; align-items: center; gap: 10px; }
.demo-live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
.demo-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}

/* DEMO WAVEFORM */
.demo-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  opacity: 0;
  transition: opacity 0.3s;
}
.demo-waveform.active { opacity: 1; }
.demo-waveform span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.1s ease-in-out infinite alternate;
}
.demo-waveform span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.demo-waveform span:nth-child(2) { height: 14px; animation-delay: 0.08s; }
.demo-waveform span:nth-child(3) { height: 9px;  animation-delay: 0.16s; }
.demo-waveform span:nth-child(4) { height: 18px; animation-delay: 0.24s; }
.demo-waveform span:nth-child(5) { height: 11px; animation-delay: 0.12s; }
.demo-waveform span:nth-child(6) { height: 7px;  animation-delay: 0.2s; }
.demo-waveform span:nth-child(7) { height: 16px; animation-delay: 0.04s; }
.demo-waveform span:nth-child(8) { height: 13px; animation-delay: 0.28s; }
.demo-waveform span:nth-child(9) { height: 8px;  animation-delay: 0.18s; }
.demo-waveform span:nth-child(10){ height: 20px; animation-delay: 0.09s; }

/* DEMO TRANSCRIPT */
.demo-transcript {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 80px;
  margin-bottom: 20px;
}
.dm-agent, .dm-caller {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.dm-agent.visible, .dm-caller.visible { opacity: 1; transform: translateY(0); }
.dm-agent {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.dm-caller {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  border-bottom-right-radius: 4px;
  margin-left: 32px;
}
.dm-speaker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.6;
}
.dm-agent .dm-speaker { color: var(--accent); }
.dm-caller .dm-speaker { color: var(--fg-muted); }

/* BOOKING CARD */
.demo-booking-card {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.demo-booking-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.booking-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}
.booking-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding: 5px 0;
  gap: 12px;
}
.booking-row span { color: var(--fg-muted); white-space: nowrap; }
.booking-row strong { color: var(--fg); text-align: right; }
.booking-value { color: var(--accent) !important; font-size: 15px; }
.booking-sms {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  font-size: 12px;
  color: var(--fg-muted);
}

/* DEMO OUTCOME */
.demo-outcome {
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.demo-outcome.visible { opacity: 1; transform: translateY(0); }
.outcome-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 6px;
}
.outcome-sub { font-size: 13px; color: var(--fg-muted); padding-left: 30px; }

/* WAITLIST CTA */
.demo-waitlist-cta {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}
.demo-waitlist-cta.visible { opacity: 1; transform: translateY(0); }
.demo-cta-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.demo-email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.demo-email-input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.demo-email-input:focus { border-color: var(--accent); }
.demo-submit-btn {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  font-family: inherit;
}
.demo-submit-btn:hover { opacity: 0.9; }
.demo-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.demo-form-msg {
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}
.demo-form-msg.success { color: #22c55e; }
.demo-form-msg.error { color: #f87171; }

@media (max-width: 600px) {
  .demo-panel { padding: 20px 16px; }
  .demo-email-form { flex-direction: column; }
  .demo-submit-btn { width: 100%; }
}

/* CALCULATOR SECTION */
.calculator {
  border-top: 1px solid var(--border);
}
.calculator-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 40px;
}
.calc-header {
  text-align: center;
  margin-bottom: 56px;
}
.calc-header h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.calc-sub {
  font-size: 17px;
  color: var(--fg-muted);
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}
.calc-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  transition: border-color 0.15s;
}
.calc-input-wrap:focus-within {
  border-color: var(--accent);
}
.calc-prefix, .calc-unit {
  font-size: 14px;
  color: var(--fg-muted);
  user-select: none;
  flex-shrink: 0;
}
.calc-prefix { margin-right: 6px; }
.calc-unit { margin-left: 8px; }
.calc-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 0;
  font-family: inherit;
  width: 0; /* let flex do the sizing */
  -moz-appearance: textfield;
}
.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-range {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.calc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg);
}

/* Output panel */
.calc-output {
  background: var(--bg-alt);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(245,158,11,0.06);
  position: sticky;
  top: 80px;
}
.calc-loss-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.calc-loss-num {
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 800;
  font-family: 'DM Mono', 'Courier New', monospace;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.2s;
  font-variant-numeric: tabular-nums;
}
.calc-loss-period {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.calc-math {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.7;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Waitlist capture */
.calc-waitlist {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.calc-waitlist-copy {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 600px;
}
.calc-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-email-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.calc-email-input:focus { border-color: var(--accent); }
.calc-email-input::placeholder { color: var(--fg-muted); opacity: 0.6; }
.calc-submit-btn {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.calc-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.calc-submit-btn:active { transform: translateY(0); }
.calc-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.calc-form-msg {
  width: 100%;
  font-size: 14px;
  margin-top: 10px;
  min-height: 18px;
}
.calc-form-msg.success { color: #22c55e; }
.calc-form-msg.error   { color: #f87171; }

@media (max-width: 900px) {
  .calc-body { grid-template-columns: 1fr; gap: 32px; }
  .calc-output { position: static; }
  .calculator-inner { padding: 60px 24px; }
  .calc-waitlist { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .calc-form { flex-direction: column; }
  .calc-submit-btn { width: 100%; }
  .calculator-inner { padding: 48px 20px; }
}