@font-face {
  font-family: "GoAITN Sans";
  src: url("/fonts/AdwaitaSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

:root {
  color-scheme: light;
  --blue: #176bff;
  --ink: #050a13;
  --white: #ffffff;
  font-family: "GoAITN Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 49%, rgba(23, 107, 255, 0.035), transparent 31%),
    var(--white);
  color: var(--ink);
}

button,
a {
  font: inherit;
}

.landing {
  --gutter: clamp(28px, 3.7vw, 64px);
  width: 100%;
  min-height: 100svh;
  padding-inline: var(--gutter);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 145px;
  padding-top: 57px;
}

.site-navigation {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 auto;
}

.site-menu-toggle,
.chat-action {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin: -6px 0 0;
  padding: 0;
  place-items: center;
  appearance: none;
  border: 1px solid rgba(5, 10, 19, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.site-menu-toggle:hover,
.chat-action:hover,
.site-menu-toggle[aria-expanded="true"] {
  border-color: var(--blue);
  background: #f2f7ff;
  color: var(--blue);
}

.site-menu-toggle svg,
.chat-action svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.chat-action[hidden] { display: none; }
.chat-action { color: var(--blue); border-color: #cbdcff; }
.chat-action svg { width: 22px; height: 22px; stroke-width: 1.8; stroke-linejoin: round; }
@media (max-width: 380px) {
  .landing:has(.chat-action:not([hidden])) .wordmark { font-size: 0.9rem; letter-spacing: 0.16em; }
  .landing:has(.chat-action:not([hidden])) .site-navigation { gap: 6px; }
}

.site-menu-toggle:focus-visible,
.chat-action:focus-visible {
  outline: 3px solid rgba(23, 107, 255, 0.3);
  outline-offset: 3px;
}

.site-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(5, 10, 19, 0.16);
  animation: site-menu-enter 150ms ease-out;
}

.site-menu[hidden] {
  display: none;
}

.site-menu-item {
  display: grid;
  gap: 5px;
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  text-align: left;
  appearance: none;
  border: 0;
  border-bottom: 1px solid #e4eaf3;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.site-menu-item:last-of-type {
  border-bottom: 0;
}

.site-menu-version {
  margin: 0;
  padding: 0 20px 14px;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.site-menu-item[hidden] {
  display: none;
}

.site-menu-item:hover {
  background: #f3f7ff;
  color: var(--blue);
}

.site-menu-appointment {
  background: var(--blue);
  color: var(--white);
}

.site-menu-appointment:hover {
  background: #0d61f3;
  color: var(--white);
}

.site-menu-item strong {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.3;
}

.site-menu-item span {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.72;
}

.wordmark {
  display: inline-block;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.42vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 58.5fr) minmax(400px, 41.5fr);
  align-items: center;
  min-height: calc(100svh - 145px - 66px);
  padding-bottom: clamp(58px, 9vh, 92px);
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  padding-bottom: 10px;
  color: rgba(5, 10, 19, 0.54);
}

.site-footer small {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 1px 0.8em;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  white-space: nowrap;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-footer a:hover {
  color: var(--blue);
}

.site-footer a:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(23, 107, 255, 0.35);
  outline-offset: 3px;
}

.site-footer .agent-ready-badge {
  position: relative;
  display: inline-flex;
  width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  justify-self: center;
  padding: 0;
  color: rgba(5, 10, 19, 0.54);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  white-space: nowrap;
  transition: color 150ms ease;
}

.agent-ready-badge::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  padding: 6px 8px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  content: attr(data-tooltip);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.agent-ready-badge:hover::after,
.agent-ready-badge:focus-visible::after,
.agent-ready-badge:active::after {
  opacity: 1;
  transform: none;
}

.agent-ready-badge svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-footer .agent-ready-badge:hover,
.site-footer .agent-ready-badge:focus-visible {
  color: var(--blue);
}

.site-footer .agent-ready-badge:focus-visible {
  border-radius: 3px;
  outline-offset: 3px;
}

.site-toast {
  position: fixed;
  z-index: 210;
  bottom: max(62px, calc(24px + env(safe-area-inset-bottom)));
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  transform: translate(-50%, 12px);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(5, 10, 19, 0.2);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.site-toast.is-visible {
  animation: site-toast-show 4s ease both;
}

.hero-message {
  position: relative;
  min-width: 0;
  transform: translateY(20px);
}

h1 {
  margin: 0 0 0 25px;
  color: var(--ink);
  font-size: clamp(3.4rem, 5vw, 5.25rem);
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
}

h1 span,
h1 strong {
  display: block;
  font: inherit;
}

h1 span {
  letter-spacing: 0.31em;
}

h1 strong {
  color: var(--blue);
  letter-spacing: 0.205em;
}

.hero-tagline {
  max-width: min(640px, calc(100% - 25px));
  margin: 22px 0 0 25px;
  color: rgba(5, 10, 19, 0.68);
  font-size: clamp(1rem, 1.28vw, 1.2rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}

.signal-rule {
  position: relative;
  width: 100%;
  height: 2px;
  margin-top: 35px;
  background: var(--blue);
}

.signal-rule::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 17px;
  height: 17px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  content: "";
  transform: translate(-2px, -50%);
}

.booking-control {
  position: relative;
  width: min(calc(100% - 25px), 520px);
  margin: 77px 0 0 25px;
}

.booking-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 37px;
  width: 100%;
  height: 106px;
  margin: 0;
  padding: 0 36px;
  appearance: none;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  box-shadow: 0 13px 30px rgba(23, 107, 255, 0.09);
  color: var(--white);
  cursor: pointer;
  opacity: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  -webkit-text-fill-color: var(--white);
}

.booking-action:hover {
  background: #0d61f3;
  box-shadow: 0 15px 34px rgba(23, 107, 255, 0.18);
}

.booking-action:focus-visible {
  outline: 3px solid rgba(23, 107, 255, 0.35);
  outline-offset: 4px;
}

.booking-action:active {
  transform: translateY(1px);
}

.booking-action.has-appointment .booking-primary {
  font-size: clamp(1.08rem, 1.5vw, 1.55rem);
  letter-spacing: 0.075em;
}

.booking-action.has-appointment .booking-secondary {
  letter-spacing: 0.11em;
}

.booking-action svg {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.booking-action .calendar-dots {
  stroke-width: 4.6;
}

.booking-copy {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.booking-primary {
  font-size: clamp(1.3rem, 1.85vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  white-space: nowrap;
}

.booking-secondary {
  font-size: clamp(0.68rem, 0.82vw, 0.86rem);
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1;
  opacity: 0.84;
  white-space: nowrap;
}

.hero-symbol {
  width: min(100%, 640px);
  justify-self: end;
  color: var(--blue);
  transform: translate(-5px, -30px);
}

.hero-symbol svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.chip-lines {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.hero-symbol text {
  fill: currentColor;
  font-family: "GoAITN Sans", Inter, ui-sans-serif, sans-serif;
  font-size: 130px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-anchor: middle;
}

body.scheduler-open {
  overflow: hidden;
}

.scheduler-dialog {
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 32px 100px rgba(5, 10, 19, 0.24);
  color: var(--ink);
}

.scheduler-dialog[open] {
  animation: scheduler-enter 180ms ease-out;
}

.scheduler-dialog::backdrop {
  background: rgba(5, 10, 19, 0.58);
  backdrop-filter: blur(7px);
}

.scheduler-shell {
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.scheduler-topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 clamp(24px, 4vw, 48px);
  border-bottom: 1px solid #e4eaf3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.scheduler-wordmark {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.28em;
  line-height: 1;
}

.scheduler-wordmark span {
  color: var(--blue);
}

.scheduler-close,
.calendar-nav {
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 1px solid #d9e2ef;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.scheduler-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.scheduler-close:hover,
.calendar-nav:hover:not(:disabled) {
  border-color: var(--blue);
  background: #f1f6ff;
  color: var(--blue);
}

.scheduler-close svg,
.calendar-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.scheduler-content {
  padding: 48px clamp(24px, 5vw, 64px) 58px;
}

.scheduler-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.scheduler-dialog[data-active-step="confirmation"] .scheduler-progress,
.scheduler-dialog[data-active-step="loading"] .scheduler-progress,
.scheduler-dialog[data-active-step="type"] .scheduler-progress,
.scheduler-dialog[data-active-step="calendar"] .scheduler-progress,
.scheduler-dialog[data-active-step="time"] .scheduler-progress,
.scheduler-dialog[data-active-step="notes"] .scheduler-progress,
.scheduler-dialog[data-active-step="review"] .scheduler-progress {
  display: none;
}

.scheduler-eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.scheduler-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.scheduler-alert {
  margin: -12px 0 28px;
  padding: 14px 17px;
  border: 1px solid #ffcaca;
  border-radius: 10px;
  background: #fff5f5;
  color: #8f1e1e;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.scheduler-progress {
  margin: 0 0 38px;
}

.scheduler-progress ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 680px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scheduler-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #909aa9;
}

.scheduler-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 15px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 1px;
  background: #dce3ed;
  content: "";
}

.scheduler-progress li.is-complete:not(:last-child)::after {
  background: var(--blue);
}

.scheduler-progress span {
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1.5px solid #d5dde8;
  border-radius: 50%;
  background: var(--white);
  font-size: 0.65rem;
  font-weight: 850;
}

.scheduler-progress small {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scheduler-progress .is-current,
.scheduler-progress .is-complete {
  color: var(--blue);
}

.scheduler-progress .is-current span {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 107, 255, 0.1);
}

.scheduler-progress .is-complete span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.scheduler-dialog [hidden] {
  display: none !important;
}

.scheduler-loading {
  display: grid;
  min-height: 270px;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: #566274;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scheduler-loading p {
  margin: 0;
}

.scheduler-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #dbe7fb;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: scheduler-spin 700ms linear infinite;
}

.scheduler-step {
  animation: scheduler-step-enter 180ms ease-out;
}

.scheduler-dialog[data-active-step="type"] [data-booking-step="type"] {
  padding-top: 0;
}

.scheduler-step-heading {
  margin-bottom: 24px;
}

.scheduler-step-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scheduler-step-heading p {
  margin: 0;
  color: #697486;
  font-size: 0.88rem;
  line-height: 1.45;
}

.appointment-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.appointment-type {
  position: relative;
  display: grid;
  min-height: 174px;
  padding: 25px;
  text-align: left;
  appearance: none;
  border: 1.5px solid #dce4ef;
  border-radius: 15px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.appointment-type:hover {
  border-color: #9bbfff;
  box-shadow: 0 12px 28px rgba(23, 107, 255, 0.08);
  transform: translateY(-1px);
}

.appointment-type[aria-checked="true"] {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue), 0 14px 30px rgba(23, 107, 255, 0.1);
}

.appointment-type[aria-checked="true"]::after {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--blue);
  border-radius: 50%;
  content: "";
}

.appointment-type-duration {
  align-self: start;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.appointment-type strong {
  align-self: end;
  margin-top: 30px;
  padding-right: 28px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.appointment-type small {
  display: block;
  margin-top: 8px;
  color: #697486;
  font-size: 0.83rem;
  line-height: 1.45;
}

.saved-appointment {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  padding: 17px 19px;
  text-align: left;
  appearance: none;
  border: 1px solid #bed4fb;
  border-radius: 12px;
  background: #f3f7ff;
  color: var(--ink);
  cursor: pointer;
}

.saved-appointment span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.scheduler-step-actions,
.confirmation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.scheduler-step-actions-end {
  justify-content: flex-end;
}

.scheduler-primary,
.scheduler-secondary,
.scheduler-danger,
.appointment-link-row button {
  min-height: 50px;
  padding: 0 22px;
  appearance: none;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.scheduler-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
}

.scheduler-primary.has-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.scheduler-primary.has-chevron svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.scheduler-primary:hover:not(:disabled) {
  border-color: #0d61f3;
  background: #0d61f3;
}

.scheduler-secondary {
  border: 1px solid #cfd8e5;
  background: var(--white);
  color: #394455;
}

.scheduler-secondary:hover:not(:disabled) {
  border-color: #9bbfff;
  color: var(--blue);
}

.scheduler-primary:disabled,
.scheduler-secondary:disabled,
.calendar-nav:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.calendar-page .calendar-card {
  max-width: 580px;
  margin-inline: auto;
}

.time-page .time-card {
  max-width: 680px;
  margin-inline: auto;
}

.calendar-card,
.time-card {
  min-width: 0;
  border: 1px solid #dfe6f0;
  border-radius: 15px;
  background: var(--white);
}

.calendar-card {
  padding: 22px;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.calendar-toolbar h4 {
  margin: 0;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.calendar-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.calendar-weekdays {
  margin-bottom: 5px;
}

.calendar-weekdays span {
  padding: 5px 0;
  color: #8a94a4;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.calendar-day,
.calendar-blank {
  aspect-ratio: 1;
}

.calendar-day {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 0;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.calendar-day:not(:disabled) {
  cursor: pointer;
}

.calendar-day:not(:disabled):not([aria-selected="true"]):hover {
  border-color: #9fc1ff;
  background: #f2f7ff;
  color: var(--blue);
}

.calendar-day[aria-selected="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.calendar-day:disabled {
  color: #c4cbd5;
}

.calendar-day.is-full {
  color: #9fa8b6;
  text-decoration: line-through;
}

.time-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 22px;
  background: #f8faff;
}

.time-card-heading h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}

.time-card-heading p {
  margin: 6px 0 0;
  color: #697486;
  font-size: 0.75rem;
  line-height: 1.4;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.time-slot {
  display: grid;
  min-height: 58px;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 7px;
  appearance: none;
  border: 1px solid #bdd1f5;
  border-radius: 9px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}

.time-slot:hover:not(:disabled) {
  border-color: var(--blue);
  background: #eff5ff;
}

.time-slot[aria-pressed="true"],
.time-slot[aria-pressed="true"]:hover:not(:disabled) {
  border-color: #0d56d8;
  background: #0d5ce5;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.time-slot:disabled {
  border-color: #e3e7ed;
  background: #f2f4f7;
  color: #a6aeba;
  cursor: not-allowed;
  text-decoration: line-through;
}

.time-slot strong {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.time-slot small {
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  line-height: 1;
}

.time-slot[aria-pressed="true"] strong,
.time-slot[aria-pressed="true"] small {
  color: #ffffff;
}

.slots-empty {
  grid-column: 1 / -1;
  margin: 34px 0 0;
  color: #788395;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
}

.appointment-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #cfe0ff;
  border-radius: 13px;
  background: #f4f8ff;
}

.appointment-review-item span,
.confirmation-detail dt {
  display: block;
  margin-bottom: 6px;
  color: #718097;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.appointment-review-item strong,
.confirmation-detail dd {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
}

.appointment-review-item.is-notes {
  grid-column: 1 / -1;
}

.appointment-review-item.is-notes strong {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.booking-notes > label,
.appointment-link-label {
  display: block;
  margin-bottom: 9px;
  color: #3d4b5f;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.booking-notes input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid #cfd9e7;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.93rem;
  outline: none;
}

.booking-notes input + label {
  margin-top: 22px;
}

.booking-notes input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 107, 255, 0.1);
}

.booking-notes textarea {
  display: block;
  width: 100%;
  min-height: 148px;
  resize: vertical;
  padding: 16px 17px;
  border: 1.5px solid #cfd9e7;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.93rem;
  line-height: 1.55;
  outline: none;
}

.booking-notes textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 107, 255, 0.1);
}

.booking-notes textarea::placeholder {
  color: #8a95a5;
}

.notes-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
  color: #7c8797;
  font-size: 0.7rem;
  line-height: 1.4;
}

.booking-honeypot {
  position: fixed;
  top: -100vh;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.confirmation-step {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-mark {
  display: inline-grid;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--blue);
}

.confirmation-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.confirmation-cancel {
  display: none;
}

.confirmation-step.is-cancelled .confirmation-mark {
  background: #fff0f0;
  color: #b83232;
  box-shadow: 0 0 0 8px rgba(184, 50, 50, 0.06);
}

.confirmation-step.is-cancelled .confirmation-check {
  display: none;
}

.confirmation-step.is-cancelled .confirmation-cancel {
  display: block;
}

.confirmation-step.is-cancelled #confirmation-eyebrow {
  color: #a92e2e;
}

.confirmation-step.is-cancelled #confirmation-title {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  color: #351313;
  line-height: 1.08;
  word-break: normal;
}

.confirmation-step.is-cancelled #confirmation-title span {
  display: block;
  white-space: nowrap;
}

.confirmation-step.is-cancelled .confirmation-details {
  border-color: #eadada;
  background: #eadada;
}

.confirmation-step.is-cancelled .appointment-link-label,
.confirmation-step.is-cancelled .appointment-link-row,
.confirmation-step.is-cancelled #share-appointment {
  display: none;
}

.confirmation-step.is-cancelled #book-another {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.confirmation-step.is-cancelled #book-another:hover {
  border-color: #0d61f3;
  background: #0d61f3;
}

.confirmation-step h3 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 13px;
  background: #dbe4f0;
  text-align: left;
}

.confirmation-detail {
  min-width: 0;
  margin: 0;
  padding: 17px 19px;
  background: var(--white);
}

.confirmation-detail.is-notes {
  grid-column: 1 / -1;
}

.confirmation-detail.is-notes dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.appointment-link-label {
  text-align: left;
}

.appointment-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.appointment-link-row input {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #cad6e7;
  border-radius: 9px;
  background: #f8faff;
  color: #3e4b5e;
  font: inherit;
  font-size: 0.75rem;
  outline: none;
}

.appointment-link-row input:focus {
  border-color: var(--blue);
}

.appointment-link-row button {
  border: 1px solid #c5d2e5;
  background: var(--white);
  color: var(--blue);
}

.button-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.button-with-icon svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.confirmation-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.scheduler-danger {
  border: 1px solid transparent;
  background: transparent;
  color: #9b3535;
}

.scheduler-danger:hover {
  border-color: #efcccc;
  background: #fff6f6;
}

.scheduler-danger[hidden] {
  display: none;
}

.scheduler-close:focus-visible,
.calendar-nav:focus-visible,
.calendar-day:focus-visible,
.time-slot:focus-visible,
.appointment-type:focus-visible,
.saved-appointment:focus-visible,
.scheduler-primary:focus-visible,
.scheduler-secondary:focus-visible,
.scheduler-danger:focus-visible,
.appointment-link-row button:focus-visible {
  outline: 3px solid rgba(23, 107, 255, 0.3);
  outline-offset: 2px;
}

@keyframes scheduler-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
}

@keyframes site-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes scheduler-step-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes scheduler-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 1700px) {
  .landing {
    --gutter: clamp(64px, 4vw, 92px);
  }

  .hero {
    grid-template-columns: minmax(0, 58fr) minmax(500px, 42fr);
  }
}

@media (min-width: 921px) and (max-height: 760px) {
  .site-header {
    height: 112px;
    padding-top: 36px;
  }

  .hero {
    min-height: calc(100svh - 112px - 66px);
    padding-bottom: 44px;
  }

  .site-footer {
    height: 66px;
  }

  .hero-message {
    transform: none;
  }

  h1 {
    font-size: clamp(3rem, 4.5vw, 4.4rem);
  }

  .signal-rule {
    margin-top: 25px;
  }

  .booking-control {
    margin-top: 43px;
  }

  .booking-action {
    height: 82px;
  }

  .booking-action svg {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .hero-symbol {
    width: min(100%, 520px);
    transform: translate(10px, -10px);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 58fr) minmax(340px, 42fr);
  }

  h1 {
    margin-left: 18px;
    font-size: clamp(3.15rem, 5vw, 4.3rem);
  }

  h1 span {
    letter-spacing: 0.23em;
  }

  h1 strong {
    letter-spacing: 0.15em;
  }

  .hero-tagline {
    max-width: calc(100% - 18px);
    margin-left: 18px;
  }

  .booking-control {
    width: min(calc(100% - 18px), 460px);
    margin-left: 18px;
  }

  .booking-action {
    gap: 20px;
    height: 90px;
  }

  .booking-action svg {
    flex-basis: 49px;
    width: 49px;
    height: 49px;
  }
}

@media (min-width: 721px) and (max-width: 920px) {
  .hero {
    grid-template-columns: clamp(188px, 26vw, 230px) minmax(0, 1fr);
    column-gap: clamp(14px, 2vw, 18px);
  }

  .hero-message {
    grid-column: 2;
    grid-row: 1;
  }

  h1 {
    font-size: clamp(2.46rem, 5.47vw, 3.15rem);
  }

  .hero-symbol {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 200px);
    justify-self: end;
    transform: translateY(-82px);
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at 50% 76%, rgba(23, 107, 255, 0.04), transparent 25%),
      var(--white);
  }

  .landing {
    --gutter: clamp(20px, 5.5vw, 42px);
  }

  .site-header {
    height: 104px;
    padding-top: 35px;
  }

  .wordmark {
    font-size: clamp(1.28rem, 5.7vw, 2rem);
    letter-spacing: 0.26em;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 38px 0 68px;
  }

  .site-footer {
    height: 66px;
    padding-bottom: 9px;
  }

  .hero-message {
    transform: none;
  }

  h1 {
    margin-left: 12px;
    font-size: clamp(2.35rem, 7vw, 3.15rem);
    line-height: 1.2;
  }

  h1 span,
  h1 strong {
    letter-spacing: 0.135em;
  }

  .hero-tagline {
    max-width: calc(100% - 12px);
    margin: 19px 0 0 12px;
    font-size: clamp(0.94rem, 2.7vw, 1.05rem);
  }

  .signal-rule {
    margin-top: 27px;
  }

  .signal-rule::before {
    width: 14px;
    height: 14px;
    border-width: 2.5px;
  }

  .booking-control {
    width: min(calc(100% - 12px), 500px);
    margin: 45px 0 0 12px;
  }

  .booking-action {
    gap: 17px;
    height: 76px;
    padding: 0 22px;
    border-radius: 9px;
  }

  .booking-action svg {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .booking-primary {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
    letter-spacing: 0.09em;
  }

  .booking-secondary {
    font-size: clamp(0.64rem, 2vw, 0.8rem);
    letter-spacing: 0.12em;
  }

  .hero-symbol {
    width: min(100%, 480px);
    margin: 56px auto 0;
    transform: none;
  }
}

@media (max-width: 600px) {
  body {
    background:
      radial-gradient(circle at 50% 70%, rgba(23, 107, 255, 0.035), transparent 24%),
      var(--white);
  }

  .landing {
    --gutter: clamp(20px, 6.15vw, 26px);
  }

  .site-header {
    height: 76px;
    padding-top: 28px;
  }

  .wordmark {
    font-size: clamp(1.1rem, 4.8vw, 1.3rem);
    letter-spacing: 0.25em;
  }

  .site-menu-toggle,
  .chat-action {
    width: 40px;
    height: 40px;
    margin-top: -7px;
  }

  .site-menu-toggle svg {
    width: 22px;
    height: 22px;
  }

  .site-menu {
    top: calc(100% + 9px);
    width: min(300px, calc(100vw - 40px));
  }

  .hero {
    grid-template-rows: auto minmax(250px, 1fr);
    align-items: start;
    min-height: calc(100svh - 76px - 66px);
    padding: 30px 0 38px;
  }

  .site-footer small {
    font-size: 0.6rem;
    letter-spacing: 0.13em;
  }

  h1 {
    margin: 0;
    font-size: clamp(2rem, 9.75vw, 2.62rem);
    line-height: 1.13;
  }

  h1 span {
    letter-spacing: 0.13em;
  }

  h1 strong {
    letter-spacing: 0.035em;
  }

  .hero-tagline {
    max-width: 100%;
    margin: 18px 0 0;
    font-size: 0.94rem;
    line-height: 1.48;
    text-wrap: pretty;
  }

  .signal-rule {
    margin-top: 25px;
  }

  .booking-control {
    width: min(100%, 300px);
    margin: 40px auto 0;
  }

  .booking-action {
    gap: 16px;
    height: 74px;
    padding: 0 16px;
    border-radius: 11px;
  }

  .booking-action svg {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .booking-primary {
    font-size: clamp(0.9rem, 3.9vw, 1rem);
    letter-spacing: 0.085em;
  }

  .booking-secondary {
    font-size: clamp(0.59rem, 2.65vw, 0.69rem);
    letter-spacing: 0.1em;
  }

  .booking-action.has-appointment {
    gap: 12px;
    padding-inline: 12px;
  }

  .booking-action.has-appointment .booking-primary {
    font-size: clamp(0.74rem, 3.45vw, 0.92rem);
    letter-spacing: 0.035em;
  }

  .booking-action.has-appointment .booking-secondary {
    font-size: clamp(0.55rem, 2.4vw, 0.64rem);
    letter-spacing: 0.07em;
  }

  .hero-symbol {
    align-self: center;
    width: min(80vw, 300px);
    margin: 38px auto 0;
    justify-self: center;
  }
}

@media (max-width: 380px) {
  .site-footer small {
    column-gap: 0.65em;
    font-size: 0.54rem;
  }

  .wordmark {
    font-size: 1.08rem;
    letter-spacing: 0.23em;
  }

  h1 {
    font-size: 2rem;
  }

  h1 span {
    letter-spacing: 0.11em;
  }

  h1 strong {
    letter-spacing: 0.025em;
  }

  .booking-control {
    width: calc(100% - 12px);
  }

  .booking-action {
    gap: 14px;
    height: 70px;
    padding-inline: 14px;
  }

  .booking-action svg {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .booking-primary {
    font-size: 0.9rem;
  }

  .booking-secondary {
    font-size: 0.59rem;
  }
}

@media (max-width: 760px) {
  .scheduler-dialog {
    width: 100%;
    height: 100svh;
    max-height: none;
    border-radius: 0;
  }

  .scheduler-shell {
    min-height: 100svh;
    max-height: 100svh;
  }

  .scheduler-topbar {
    height: 64px;
    padding-inline: 20px;
  }

  .scheduler-content {
    padding: 30px 20px 48px;
  }

  .scheduler-dialog[data-active-step="type"] [data-booking-step="type"] {
    padding-top: 0;
  }

  .scheduler-heading {
    margin-bottom: 30px;
  }

  .scheduler-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .appointment-types {
    grid-template-columns: 1fr;
  }

  .appointment-type {
    min-height: 148px;
    padding: 21px;
  }

  .appointment-type strong {
    margin-top: 24px;
  }

  .saved-appointment {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .time-card {
    min-height: 210px;
  }

  .appointment-review,
  .confirmation-details {
    grid-template-columns: 1fr;
  }

  .confirmation-detail.is-notes {
    grid-column: auto;
  }

  .scheduler-step-actions > button {
    flex: 1 1 0;
  }

  .confirmation-actions .scheduler-primary {
    flex: 1 0 100%;
  }
}

@media (max-width: 430px) {
  .scheduler-content {
    padding-inline: 16px;
  }

  .calendar-card,
  .time-card {
    padding: 15px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 3px;
  }

  .calendar-day {
    border-radius: 8px;
    font-size: 0.74rem;
  }

  .time-slots {
    gap: 7px;
  }

  .scheduler-primary,
  .scheduler-secondary,
  .scheduler-danger,
  .appointment-link-row button {
    padding-inline: 14px;
    font-size: 0.65rem;
    letter-spacing: 0.07em;
  }

  .appointment-link-row {
    grid-template-columns: 1fr;
  }

  .appointment-link-row button {
    min-height: 44px;
  }

  .confirmation-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }

  .scheduler-dialog,
  .scheduler-step,
  .scheduler-spinner {
    animation: none;
  }
}

/* Local-only simulated call interface. The launch control remains hidden unless
   the server explicitly enables the development feature. */
.call-action {
  display: inline-grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: -6px 0 0;
  padding: 0;
  place-items: center;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(23, 107, 255, 0.17);
  color: var(--white);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  -webkit-text-fill-color: var(--white);
}

.call-action[hidden],
.call-dialog[hidden],
.call-dialog [hidden] {
  display: none !important;
}

.call-action:hover {
  background: #0d61f3;
  box-shadow: 0 10px 24px rgba(23, 107, 255, 0.25);
}

.call-action:active {
  transform: translateY(1px);
}

.call-action:focus-visible {
  outline: 3px solid rgba(23, 107, 255, 0.35);
  outline-offset: 4px;
}

.call-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.call-open {
  overflow: hidden;
}

.call-dialog {
  position: fixed;
  z-index: 100;
  inset: var(--call-viewport-offset-top, 0px) auto auto var(--call-viewport-offset-left, 0px);
  width: var(--call-viewport-width, 100%);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  height: var(--call-viewport-height, 100dvh);
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.call-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  background:
    radial-gradient(circle at 50% 39%, rgba(23, 107, 255, 0.035), transparent 29%),
    var(--white);
}

.call-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  padding: 30px 38px 18px;
}

.call-wordmark {
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: 0.31em;
  line-height: 1;
  white-space: nowrap;
}

.call-wordmark span {
  color: var(--blue);
}

.call-close {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  place-items: center;
  appearance: none;
  border: 1px solid rgba(5, 10, 19, 0.18);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.call-close svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.call-close:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.call-stage {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 16px 34px 42px;
  align-items: center;
  flex-direction: column;
}

.call-identity {
  position: relative;
  display: grid;
  flex: 0 1 auto;
  width: min(390px, 44svh);
  max-width: 100%;
  aspect-ratio: 1;
  margin: auto 0 20px;
  place-items: center;
}

.call-ring {
  position: absolute;
  inset: 20%;
  border: 1.5px solid rgba(23, 107, 255, 0.45);
  border-radius: 50%;
  opacity: 0;
  transform: scale(1);
}

.call-ring-one { animation-delay: 0ms; }
.call-ring-two { animation-delay: 666.667ms; }
.call-ring-three { animation-delay: 1333.333ms; }

.call-dialog[data-call-state="ringing"].is-ring-pulsing .call-ring {
  animation-name: call-ring-radiate, call-ring-fade;
  animation-duration: 2166.667ms;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.call-chip {
  position: relative;
  z-index: 1;
  display: block;
  width: 76%;
  height: 76%;
  overflow: visible;
  color: var(--blue);
}

.call-chip-boundary,
.call-chip-lines {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-chip-boundary { stroke-width: 2.7; }
.call-chip-lines { stroke-width: 3; }

.call-chip text {
  fill: currentColor;
  font-family: "GoAITN Sans", Inter, ui-sans-serif, sans-serif;
  font-size: 69px;
  font-weight: 850;
  letter-spacing: -0.06em;
  text-anchor: middle;
}

.call-copy {
  min-height: 92px;
  text-align: center;
}

.call-availability {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  line-height: 1.2;
}

.call-status {
  margin: 0;
  font-size: clamp(1.75rem, 4.3vw, 2.5rem);
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.call-caption {
  margin: 13px 0 0;
  color: rgba(5, 10, 19, 0.62);
  font-size: 1rem;
  font-weight: 650;
}

.call-duration {
  display: flex;
  min-height: 26px;
  margin: 11px 0 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.call-timer {
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.call-preview {
  display: grid;
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
  place-items: center;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.call-preview:hover {
  background: rgba(23, 107, 255, 0.09);
}

.call-preview:focus-visible {
  outline: 2px solid rgba(23, 107, 255, 0.4);
  outline-offset: 2px;
}

.call-preview svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.call-preview-stop-icon,
.call-preview[aria-pressed="true"] .call-preview-play-icon {
  display: none;
}

.call-preview[aria-pressed="true"] .call-preview-stop-icon {
  display: block;
}

.call-ringing-controls {
  display: grid;
  width: 100%;
  max-width: 460px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 22px;
  margin-top: auto;
}

.call-control {
  display: grid;
  min-width: 0;
  padding: 0;
  justify-items: center;
  gap: 12px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  outline: none;
}

.call-control-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1.7px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.call-control[aria-pressed="true"] .call-control-icon {
  background: #edf4ff;
}

@media (hover: hover) {
  .call-control:hover .call-control-icon { background: #edf4ff; }
}

.call-control:focus-visible .call-control-icon {
  outline: 3px solid rgba(23, 107, 255, 0.4);
  outline-offset: 4px;
}

.call-volume-label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
.call-volume-label output { color: var(--blue); font-variant-numeric: tabular-nums; }
.call-volume { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.call-output-hint { margin: 0 0 8px; color: #526071; font-size: 12px; line-height: 1.4; text-wrap: pretty; }

.call-control svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.call-mic-muted-icon,
#call-mute[aria-pressed="true"] .call-mic-live-icon {
  display: none;
}

#call-mute[aria-pressed="true"] .call-mic-muted-icon {
  display: block;
}

.call-control.call-end .call-control-icon {
  width: 94px;
  height: 94px;
  border: 0;
  background: #f21f2b;
  box-shadow: 0 10px 24px rgba(242, 31, 43, 0.2);
  color: var(--white);
}

.call-dialog[data-call-state="start"] .call-control.call-end .call-control-icon {
  background: #16a765;
  box-shadow: 0 10px 24px rgba(22, 167, 101, 0.22);
}

.call-dialog[data-call-state="start"] .call-control.call-end:hover .call-control-icon {
  background: #108a52;
}

.call-dialog[data-call-state="start"] .call-control.call-end svg {
  transform: none;
}

.call-dialog[data-call-state="start"] .call-control.call-end:disabled {
  cursor: wait;
  opacity: 0.72;
}

.call-control.call-end:hover .call-control-icon {
  background: #dd1420;
}

.call-control.call-end svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  stroke: none;
  transform: rotate(135deg);
  transform-origin: center;
}

.call-voicemail-link {
  margin: 30px 0 0;
  padding: 8px 10px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.call-voicemail-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.call-voicemail-link:disabled {
  cursor: wait;
  opacity: 0.58;
  text-decoration: none;
}

.call-output-menu {
  position: absolute;
  z-index: 8;
  right: 28px;
  bottom: 32px;
  left: 28px;
  width: min(430px, calc(100% - 56px));
  margin-inline: auto;
  padding: 18px;
  border: 1px solid #d7e2f1;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(5, 10, 19, 0.2);
  animation: call-output-enter 160ms ease-out;
  max-height: calc(100% - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.call-output-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.call-output-heading p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.call-output-heading button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  appearance: none;
  border: 1px solid #d8e0ec;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.call-output-heading svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.call-output-options {
  display: grid;
  max-height: min(260px, 42svh);
  gap: 7px;
  overflow-y: auto;
}

.call-output-option {
  display: grid;
  width: 100%;
  min-height: 52px;
  padding: 10px 13px;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  text-align: left;
  appearance: none;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.3;
}

.call-output-option:hover {
  border-color: #9fc1ff;
  background: #f4f8ff;
}

.call-output-option[aria-checked="true"] {
  border-color: var(--blue);
  background: #edf4ff;
  color: var(--blue);
}

.call-output-check {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  font-size: 0.78rem;
}

.call-output-option[aria-checked="true"] .call-output-check {
  background: var(--blue);
  color: var(--white);
}

.call-output-status {
  margin: 10px 2px 0;
  color: #697486;
  font-size: 0.72rem;
  line-height: 1.4;
}

.voicemail-controls {
  display: grid;
  width: 100%;
  max-width: 420px;
  min-height: 140px;
  margin-top: auto;
  place-items: center;
}

.voicemail-record {
  display: grid;
  padding: 0;
  justify-items: center;
  gap: 12px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.call-dialog[data-call-state="voicemail"] .voicemail-record {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.call-dialog[data-call-state="voicemail"] .call-caption {
  visibility: hidden;
  opacity: 0;
}

.call-dialog[data-call-state="recording"] .call-caption,
.call-dialog[data-call-state="recording"] .voicemail-record {
  animation: voicemail-record-in 180ms ease-out both;
}

.voicemail-record-icon {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 11px 26px rgba(23, 107, 255, 0.2);
  color: var(--white);
}

.voicemail-record svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.voicemail-stop-icon { display: none; }

.call-dialog[data-call-state="recording"] .voicemail-record-icon {
  background: #f21f2b;
  animation: recording-pulse 1.5s ease-in-out infinite;
}

.call-dialog[data-call-state="recording"] .voicemail-mic-icon { display: none; }
.call-dialog[data-call-state="recording"] .voicemail-stop-icon { display: block; }

.voicemail-ready-actions {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.voicemail-ready-actions button {
  min-height: 52px;
  padding: 0 18px;
  appearance: none;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.voicemail-ready-actions #voicemail-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
}

.voicemail-ready-actions #voicemail-done svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.voicemail-ready-actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.voicemail-delivery-status {
  width: 100%;
  margin: 12px 0 0;
  color: #526071;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.voicemail-delivery-status[data-tone="error"] {
  color: #a22525;
}

.call-close:focus-visible,
.call-voicemail-link:focus-visible,
.voicemail-record:focus-visible,
.voicemail-ready-actions button:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(23, 107, 255, 0.32);
  outline-offset: 4px;
}

@keyframes call-ring-radiate {
  0% { transform: scale(1); }
  100% { transform: scale(1.65); }
}

@keyframes call-ring-fade {
  0% { opacity: 0; }
  7% { opacity: 0.82; }
  100% { opacity: 0; }
}

@keyframes recording-pulse {
  50% { box-shadow: 0 0 0 11px rgba(242, 31, 43, 0.11); }
}

@keyframes site-toast-show {
  0% { opacity: 0; transform: translate(-50%, 12px); }
  8%, 84% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -5px); }
}

@keyframes voicemail-record-in {
  from { opacity: 0; }
}

@keyframes call-output-enter {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 720px) {
  .call-dialog {
    width: 100%;
    height: 100svh;
    border-radius: 0;
  }

  .call-topbar { min-height: 82px; padding: 25px 24px 12px; }
  .call-wordmark { font-size: 1.05rem; letter-spacing: 0.28em; }
  .call-close { width: 42px; height: 42px; }
  .call-close svg { width: 23px; height: 23px; }
  .call-stage { padding: 10px 24px 32px; }
  .call-identity { width: min(315px, 40svh); margin-bottom: 16px; }
  .call-copy { min-height: 78px; }
  .call-status { font-size: clamp(1.55rem, 7vw, 2rem); }
  .call-caption { margin-top: 10px; font-size: 0.92rem; }
  .call-ringing-controls { max-width: 390px; gap: 12px; }
  .call-control-icon { width: 68px; height: 68px; }
  .call-control.call-end .call-control-icon { width: 84px; height: 84px; }
  .call-voicemail-link { margin-top: 22px; }
  .call-output-menu { right: 18px; bottom: 24px; left: 18px; width: calc(100% - 36px); }
}

@media (max-width: 600px) {
  .site-navigation { gap: 8px; }
  .call-action { width: 40px; height: 40px; margin-top: -7px; }
  .call-action svg { width: 20px; height: 20px; }
}

@media (max-width: 390px) {
  .call-stage { padding-inline: 18px; padding-bottom: 24px; }
  .call-identity { width: min(292px, 38svh); }
  .call-ringing-controls { gap: 7px; }
  .call-control { gap: 9px; font-size: 0.64rem; letter-spacing: 0.08em; }
  .call-control-icon { width: 62px; height: 62px; }
  .call-control.call-end .call-control-icon { width: 78px; height: 78px; }
  .call-control svg { width: 32px; height: 32px; }
  .call-voicemail-link { font-size: 0.76rem; }
}

@media (max-height: 700px) {
  .call-topbar { min-height: 68px; padding-top: 16px; }
  .call-stage { padding-bottom: 20px; }
  .call-identity { width: min(245px, 36svh); margin-bottom: 8px; }
  .call-copy { min-height: 66px; }
  .call-caption { margin-top: 7px; }
  .call-control-icon { width: 60px; height: 60px; }
  .call-control.call-end .call-control-icon { width: 74px; height: 74px; }
  .call-voicemail-link { margin-top: 13px; }
}

/* Keep the whole call flow inside the visible mobile viewport in landscape.
   The layout switches sideways before vertical space becomes scarce, leaving
   the voicemail action on-screen even while browser chrome is expanded. */
@media (orientation: landscape) and (max-height: 520px) {
  .call-topbar {
    min-height: 52px;
    padding: max(7px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 5px max(16px, env(safe-area-inset-left));
  }

  .call-wordmark {
    font-size: 0.9rem;
    letter-spacing: 0.24em;
  }

  .call-close {
    width: 36px;
    height: 36px;
  }

  .call-close svg {
    width: 19px;
    height: 19px;
  }

  .call-stage {
    display: grid;
    grid-template-columns: minmax(136px, 0.82fr) minmax(250px, 1.18fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    column-gap: clamp(12px, 3.5vw, 34px);
    padding: 2px max(18px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }

  .call-identity {
    width: min(100%, calc(var(--call-viewport-height, 100dvh) - 76px));
    max-height: 100%;
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: center;
    margin: 0;
  }

  .call-copy {
    min-height: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .call-availability {
    margin-bottom: 5px;
    font-size: 0.58rem;
  }

  .call-status {
    font-size: clamp(1.15rem, 3.6vw, 1.62rem);
    line-height: 1.05;
  }

  .call-caption {
    margin-top: 5px;
    font-size: 0.78rem;
  }

  .call-duration {
    min-height: 22px;
    margin-top: 5px;
  }

  .call-timer {
    font-size: 0.86rem;
  }

  .call-ringing-controls {
    width: 100%;
    max-width: 340px;
    grid-column: 2;
    grid-row: 2;
    gap: 8px;
    margin: 0 auto;
  }

  .call-control {
    gap: 5px;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .call-control-icon {
    width: 48px;
    height: 48px;
  }

  .call-control.call-end .call-control-icon {
    width: 58px;
    height: 58px;
  }

  .call-control svg {
    width: 27px;
    height: 27px;
  }

  .call-control.call-end svg {
    width: 29px;
    height: 29px;
  }

  .call-voicemail-link {
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
    margin: 5px 0 0;
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  .voicemail-controls {
    width: 100%;
    max-width: 340px;
    min-height: 0;
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: center;
    justify-self: center;
    margin: 5px 0 0;
  }

  .voicemail-record {
    gap: 5px;
    font-size: 0.65rem;
  }

  .voicemail-record-icon {
    width: 60px;
    height: 60px;
  }

  .voicemail-record svg {
    width: 30px;
    height: 30px;
  }

  .voicemail-ready-actions {
    gap: 8px;
  }

  .voicemail-ready-actions button {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.64rem;
  }

  .voicemail-delivery-status {
    margin-top: 6px;
    font-size: 0.68rem;
  }

  .call-output-menu {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: auto;
    width: min(340px, calc(58% - 28px));
    max-height: calc(100% - 8px);
    padding: 12px;
  }

  .call-output-heading {
    margin-bottom: 7px;
  }

  .call-output-options {
    max-height: 112px;
  }

  .call-output-option {
    min-height: 40px;
    padding-block: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-dialog[data-call-state="ringing"].is-ring-pulsing .call-ring,
  .call-dialog[data-call-state="recording"] .call-caption,
  .call-dialog[data-call-state="recording"] .voicemail-record,
  .call-dialog[data-call-state="recording"] .voicemail-record-icon {
    animation: none;
  }

  .call-dialog[data-call-state="ringing"].is-ring-pulsing .call-ring {
    opacity: 0.18;
    transform: none;
  }

  .call-output-menu {
    animation: none;
  }

  .site-toast.is-visible {
    animation: none;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
