:root {
  --ink: #15120f;
  --muted: #655d54;
  --line: rgba(21, 18, 15, 0.12);
  --soft-line: rgba(21, 18, 15, 0.08);
  --paper: #fffaf3;
  --sand: #efe0cf;
  --sand-2: #f7ecdf;
  --cream: #fff7ec;
  --charcoal: #1c1917;
  --accent: #d8864a;
  --accent-dark: #9a4f25;
  --green: #2f6f52;
  --blue: #315f7c;
  --shadow: 0 24px 80px rgba(33, 24, 16, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(216, 134, 74, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--sand) 0%, var(--paper) 38%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { left: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(239, 224, 207, 0.78);
  border-bottom: 1px solid var(--soft-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.logo-mark span { font-size: 16px; transform: translateY(-1px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  color: rgba(21, 18, 15, 0.72);
  font-size: 14px;
  font-weight: 620;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 720;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 14px 30px rgba(21,18,15,.18); }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(21,18,15,.22); }
.btn-secondary { background: rgba(255,255,255,.58); border-color: var(--line); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }

.hero {
  padding: 84px 0 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.36);
  color: var(--muted);
  font-size: 13px;
  font-weight: 690;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(47,111,82,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: .93;
  letter-spacing: -0.08em;
  margin: 22px 0 24px;
}
.hero-copy {
  color: rgba(21,18,15,.72);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.48;
  max-width: 680px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.proof-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.42);
}
.proof-card strong { display: block; font-size: 19px; letter-spacing: -.03em; }
.proof-card span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

.phone-shell {
  position: relative;
  padding: 18px;
  border-radius: 42px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: var(--shadow);
}
.phone-panel {
  border-radius: 31px;
  background: #181512;
  color: #fff7ec;
  padding: 24px;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.call-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,247,236,.72);
}
.call-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fd0a8;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(.85); } }
.wave {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 76px;
  padding: 12px 0;
}
.wave span {
  width: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd9b0, #d8864a);
  animation: wave 1.3s ease-in-out infinite;
}
.wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave span:nth-child(2) { height: 62%; animation-delay: .1s; }
.wave span:nth-child(3) { height: 42%; animation-delay: .2s; }
.wave span:nth-child(4) { height: 82%; animation-delay: .3s; }
.wave span:nth-child(5) { height: 56%; animation-delay: .4s; }
.wave span:nth-child(6) { height: 72%; animation-delay: .5s; }
.wave span:nth-child(7) { height: 36%; animation-delay: .6s; }
@keyframes wave { 0%,100% { transform: scaleY(.8); opacity: .72; } 50% { transform: scaleY(1.16); opacity: 1; } }

.transcript {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}
.bubble {
  max-width: 92%;
  padding: 13px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}
.bubble.ai { background: rgba(255,255,255,.12); border-top-left-radius: 7px; }
.bubble.customer { background: var(--sand); color: var(--ink); justify-self: end; border-top-right-radius: 7px; }
.task-card {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
}
.task-card h3 { font-size: 15px; margin-bottom: 10px; }
.task-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,247,236,.78);
  margin: 8px 0;
}
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(143,208,168,.18);
  color: #9ee2b9;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}
.section-header h2,
.page-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.065em;
  margin-bottom: 0;
}
.section-header p { max-width: 520px; color: var(--muted); margin-bottom: 3px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(33, 24, 16, 0.05);
}
.card h3 { font-size: 21px; letter-spacing: -.035em; margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  color: var(--sand);
  margin-bottom: 18px;
}

.flow-board {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 18px;
  align-items: start;
}
.flow-list { display: grid; gap: 10px; }
.flow-tab {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  padding: 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.flow-tab:hover { transform: translateY(-1px); }
.flow-tab.active { background: var(--ink); color: white; border-color: var(--ink); }
.flow-tab strong { display: block; font-size: 17px; letter-spacing: -.025em; }
.flow-tab span { display: block; color: inherit; opacity: .72; margin-top: 4px; }
.flow-detail {
  background: #181512;
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 26px;
  min-height: 430px;
  box-shadow: var(--shadow);
}
.flow-detail h3 { font-size: 30px; letter-spacing: -.055em; margin-bottom: 12px; }
.flow-steps { counter-reset: step; display: grid; gap: 13px; margin-top: 20px; }
.flow-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}
.flow-step::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.flow-step p { margin: 0; color: rgba(255,247,236,.75); }
.flow-step strong { display: block; color: var(--cream); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.dark-panel {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}
.dark-panel p { color: rgba(255,247,236,.74); }
.dark-panel .light-eyebrow {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
  color: #fff7ec;
}
.dark-panel .light-eyebrow .dot { box-shadow: 0 0 0 5px rgba(143,208,168,.16); }
.check-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: inherit;
}
.check-list li::before {
  content: "✓";
  color: #8fd0a8;
  font-weight: 900;
}

.form-card {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; margin-bottom: 14px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 720; font-size: 14px; letter-spacing: -.01em; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(255,255,255,.8);
  color: var(--ink);
  outline: none;
}
textarea { min-height: 116px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(216,134,74,.62); box-shadow: 0 0 0 4px rgba(216,134,74,.12); }
.consent-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,250,243,.82);
  margin: 10px 0 16px;
}
.checkbox-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 13.5px;
  color: rgba(21,18,15,.76);
}
.checkbox-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.fine-print { color: var(--muted); font-size: 12.5px; margin: 9px 0 0; }
.form-message { margin-top: 12px; font-size: 14px; font-weight: 650; }

.sms-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.sms-template {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.65);
  padding: 18px;
}
.sms-template h3 { font-size: 16px; margin-bottom: 8px; }
.sms-bubble {
  background: #eaf4ee;
  border: 1px solid rgba(47,111,82,.14);
  color: #123222;
  border-radius: 18px 18px 18px 6px;
  padding: 13px 14px;
  font-size: 14px;
}
.code-panel {
  background: #15120f;
  color: #fff7ec;
  border-radius: 22px;
  padding: 18px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
}
.code-panel code { white-space: pre-wrap; }

.page-hero { padding: 76px 0 30px; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 770px; }
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
  padding-bottom: 80px;
}
.legal-nav {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  border-radius: 22px;
  padding: 14px;
}
.legal-nav a { display: block; padding: 10px 12px; border-radius: 13px; color: var(--muted); font-weight: 650; font-size: 14px; }
.legal-nav a:hover { background: rgba(21,18,15,.06); color: var(--ink); }
.legal-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  border-radius: var(--radius-xl);
  padding: 34px;
}
.legal-card h2 { font-size: 28px; letter-spacing: -.045em; margin-top: 28px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: rgba(21,18,15,.72); }
.legal-card a { color: var(--accent-dark); font-weight: 720; }

.compliance-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}
.compliance-table th, .compliance-table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--soft-line); vertical-align: top; }
.compliance-table th { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.compliance-table tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 780;
  background: rgba(255,255,255,.65);
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: rgba(255,250,243,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 24px;
}
.footer h3 { font-size: 15px; margin-bottom: 10px; }
.footer a, .footer p { display: block; color: var(--muted); font-size: 14px; margin: 7px 0; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid, .flow-board, .split, .legal-layout { grid-template-columns: 1fr; }
  .card-grid, .sms-grid { grid-template-columns: 1fr; }
  .section-header { display: block; }
  .legal-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-button { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 76px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(255,250,243,.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta .btn-secondary { display: none; }
  .hero { padding-top: 54px; }
  .hero-proof { grid-template-columns: 1fr; }
  .phone-panel { min-height: 520px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

.hidden-field { display: none !important; }


/* ROI calculator */
.narrow { max-width: 820px; }
.roi-section { padding-top: 24px; }
.roi-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 22px;
  align-items: center;
}
.roi-grid h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.065em;
  margin-bottom: 14px;
}
.roi-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
  padding: 28px;
}
.roi-control { margin-bottom: 24px; }
.roi-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 12px;
}
.roi-label-row label { font-size: 15px; }
.roi-label-row strong {
  font-size: 20px;
  letter-spacing: -.035em;
  color: var(--ink);
  white-space: nowrap;
}
.roi-card input[type="range"] {
  appearance: none;
  height: 12px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.8));
  cursor: pointer;
}
.roi-card input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(21,18,15,.22);
}
.roi-card input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(21,18,15,.22);
}
.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.roi-button { width: 100%; justify-content: center; margin: 4px 0 18px; }
.roi-result {
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
  padding: 22px;
}
.roi-result span { color: rgba(255,247,236,.7); }
.roi-result strong {
  display: block;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.075em;
  margin: 8px 0;
}
.roi-result p { color: rgba(255,247,236,.72); margin: 0; }

/* Calendly booking section */
.booking-section { align-items: start; }
.booking-highlights {
  display: grid;
  gap: 12px;
  margin: 26px 0 18px;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.48);
}
.mini-card strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--cream);
}
.mini-card span { color: rgba(21,18,15,.76); font-weight: 650; }
.booking-note { max-width: 620px; }
.calendly-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.calendly-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255,250,243,.92);
}
.calendly-card-header strong { display: block; letter-spacing: -.025em; }
.calendly-card-header span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.calendly-card-header a { font-size: 13px; font-weight: 760; color: var(--accent-dark); white-space: nowrap; }
.calendly-inline-widget {
  background: #fff;
}

@media (max-width: 920px) {
  .calendly-card-header { align-items: flex-start; flex-direction: column; }
  .calendly-inline-widget { height: 760px !important; }
}

@media (max-width: 920px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi-section { padding-top: 40px; }
  .roi-label-row { align-items: flex-start; flex-direction: column; gap: 6px; }
}
