:root {
  --bg: #0a0a0a;
  --panel: #111110;
  --ink: #f2f0eb;
  --ink-dim: #dedcd6;
  --muted: #9a9893;
  --muted-2: #8a8883;
  --muted-3: #6b6963;
  --faint: #c9c7c1;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: #b8b6b0; }

input::placeholder, textarea::placeholder { color: var(--muted-3); }
input, textarea, select { font-family: inherit; }

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em; }

@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.page { background: var(--bg); min-height: 100vh; overflow-x: hidden; }

.section, .section-narrow { padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 64px); max-width: 1180px; margin: 0 auto; }
.section-narrow { max-width: 760px; }

.eyebrow { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; margin: 0; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 600px; margin: 16px auto 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; padding: 15px 28px; border-radius: 100px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #d8d6d0; color: var(--bg); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: var(--ink); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 6px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.nav-cta) { font-size: 14.5px; color: var(--faint); }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 clamp(20px, 4vw, 64px);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-links.open {
    max-height: 320px;
    padding: 8px clamp(20px, 4vw, 64px) 20px;
    visibility: visible;
    opacity: 1;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
  }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
}

/* HERO */
.hero { padding: clamp(64px, 10vw, 120px) clamp(20px, 4vw, 64px) clamp(48px, 6vw, 80px); max-width: 1280px; margin: 0 auto; text-align: center; }
.hero h1 { font-weight: 600; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.03; margin: 0 0 24px; }
.hero-sub { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; color: var(--muted); max-width: 660px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* VOICE DEMO */
.voice-demo-section { padding-top: 0; }
.voice-card { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.voice-card-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.voice-orb {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a3834, var(--ink));
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(242,240,235,0.25);
  transition: box-shadow 0.3s ease;
}
.voice-orb.live { box-shadow: 0 0 0 8px rgba(242,240,235,0.10); }
.voice-orb.talking { box-shadow: 0 0 0 14px rgba(242,240,235,0.16); animation: pulse 1s ease-in-out infinite; }
.voice-eyebrow { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.voice-card-copy p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.voice-call-btn { width: 100%; margin-bottom: 16px; }
.voice-status { color: var(--muted); font-size: 14px; min-height: 18px; margin-bottom: 12px; }
.voice-transcript { max-height: 220px; overflow-y: auto; text-align: left; background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; }
.voice-transcript:empty { display: none; }
.voice-transcript .line { margin-bottom: 6px; }
.voice-transcript .line.agent { color: var(--ink); font-weight: 500; }
.voice-transcript .line.user { color: var(--faint); }
.voice-hint { font-size: 13px; color: var(--muted-3); margin-top: 16px; }

/* STATS */
.stats { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 600; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* HOW IT WORKS */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.how-card { background: var(--bg); padding: 32px 28px; }
.how-num { font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--muted-3); margin-bottom: 20px; }
.how-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.how-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card { border: 1px solid var(--line-strong); border-radius: 18px; padding: 32px; }
.service-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.icon-circle { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; }
.icon-rect { width: 18px; height: 14px; border: 2px solid var(--ink); border-radius: 3px; }
.icon-square { width: 16px; height: 16px; background: var(--ink); border-radius: 4px; }
.icon-diamond { width: 16px; height: 16px; border: 2px solid var(--ink); transform: rotate(45deg); }
.service-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* TEAM */
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 56px; align-items: center; }
.about-p { font-size: 15.5px; color: var(--muted); line-height: 1.65; margin: 0 0 16px; }
.about-p:last-child { margin-bottom: 0; }
.founders-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; min-width: 0; }
.founder { min-width: 0; }
.founder-photo { background: var(--ink); border-radius: 16px; height: 280px; min-width: 0; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-name { font-size: 15px; font-weight: 600; margin-top: 14px; }
.founder-role { font-size: 13.5px; color: var(--muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* BOOKING */
.booking-panel { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(28px, 4vw, 56px); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.booking-p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.booking-list { display: flex; flex-direction: column; gap: 10px; }
.booking-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--faint); }
.booking-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; }
.calendly-inline-widget { border-radius: 16px; overflow: hidden; }

@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
}

/* CONTACT */
.contact-form { display: flex; flex-direction: column; gap: 36px; font-family: monospace; }
.field-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.field-label-row label { font-size: 13.5px; color: var(--muted); font-family: 'Inter', sans-serif; }
.field-index { font-size: 13px; color: var(--ink); }
.field-input {
  background: transparent; border: none; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 8px 0 14px; color: var(--ink-dim); font-size: 20px; font-family: inherit; outline: none; width: 100%;
}
.field-input-lg { font-size: 22px; }
.field-input:focus { border-bottom-color: var(--ink); }
.field-textarea { font-size: 18px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-submit { align-self: flex-start; margin-top: 8px; }
.contact-error { font-size: 14px; color: #ff8a7a; font-family: 'Inter', sans-serif; }
.contact-success { border: 1px solid var(--line-strong); border-radius: 16px; padding: 40px; text-align: center; }
.contact-success-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.contact-success-sub { font-size: 14.5px; color: var(--muted); }

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 36px; }
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-copy { font-size: 14px; color: var(--muted); }
.footer-email { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links .divider { width: 1px; height: 16px; background: var(--line-strong); }

.legal-bar { border-top: 1px solid var(--line); padding: 20px clamp(20px, 4vw, 64px); display: flex; justify-content: center; gap: 24px; }
.legal-link { font-size: 13px; color: var(--muted-3); cursor: pointer; }

/* LEGAL OVERLAY */
.legal-overlay { position: fixed; inset: 0; background: var(--bg); z-index: 100; overflow-y: auto; }
.legal-inner { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 64px); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 40px; cursor: pointer; }
.legal-inner h1 { font-weight: 600; font-size: clamp(28px, 4vw, 40px); margin: 0 0 24px; }
.legal-updated { font-size: 14px; color: var(--muted-3); margin: 0 0 32px; }
.legal-body { font-size: 15px; line-height: 1.7; color: var(--ink-dim); display: flex; flex-direction: column; gap: 20px; }
.legal-body p { margin: 0; }
