:root {
  --primary: #1899d6;
  --primary-dark: #0879b7;
  --ink: #172536;
  --muted: #617083;
  --surface: #ffffff;
  --line: #dce8ee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f1f7fa;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select { font: inherit; }

.product-header {
  padding: 18px clamp(18px, 4vw, 48px);
  background: var(--ink);
}
.product-header a { display: inline-flex; align-items: center; gap: 12px; color: white; font-weight: 800; text-decoration: none; }
.product-header img { width: 46px; height: 46px; object-fit: contain; }
.voice-main { display: grid; place-items: start center; padding: clamp(24px, 5vw, 64px) 16px; }
.voice-card { width: min(760px, 100%); padding: clamp(22px, 5vw, 52px); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 22px 70px rgba(20, 65, 93, .13); }
.eyebrow { margin: 0 0 8px; color: var(--primary-dark); font-size: .76rem; font-weight: 900; letter-spacing: .15em; }
h1 { margin: 0; font-size: clamp(2rem, 7vw, 4rem); line-height: 1.02; }
h2 { margin: 0 0 12px; }
.intro { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.example, .time-note { padding: 16px 18px; border-left: 4px solid var(--primary); border-radius: 12px; background: #f4fafc; color: var(--muted); line-height: 1.55; }
.time-note { border-left-color: #e5a94d; background: #fff9ef; }
.voice-button, .review-button, .confirm-button { width: 100%; min-height: 54px; border: 0; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); cursor: pointer; font-weight: 850; }
.start-over-button { display: block; margin: 10px auto 0; padding: 9px 16px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 750; }
.start-over-button:hover, .start-over-button:focus-visible { color: var(--primary-dark); border-color: var(--primary); }
.voice-button.is-listening { background: #b83232; }
.voice-status { text-align: center; color: var(--muted); }
.voice-transcript, .booking-summary { margin-top: 18px; padding: 18px; background: #f4fafc; border: 1px solid var(--line); border-radius: 16px; }
.booking-form { display: grid; gap: 16px; margin-top: 22px; }
label { display: grid; gap: 7px; font-weight: 750; }
input, select { width: 100%; min-height: 50px; padding: 10px 13px; color: var(--ink); background: white; border: 1px solid #bfd1da; border-radius: 11px; }
input:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--primary) 25%, transparent); border-color: var(--primary); }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.regular-booking { display: block; margin-top: 20px; color: var(--primary-dark); text-align: center; }
.privacy-note { margin: 18px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
@media (max-width: 560px) { .booking-row { grid-template-columns: 1fr; } .voice-card { border-radius: 19px; } }
.remember-customer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  padding: 14px;
  background: #f4fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.remember-customer input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.remember-customer span {
  display: grid;
  gap: 4px;
}

.remember-customer small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}
.phone-verification {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #f4fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.otp-entry {
  display: grid;
  gap: 12px;
}

.otp-entry[hidden] {
  display: none;
}

.otp-button {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  color: white;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
}

.otp-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.otp-status {
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.otp-status:empty {
  display: none;
}

#clientPhone[readonly] {
  background: #eaf7ef;
  border-color: #39a867;
}
