:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-solid: #f5f5f3;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.18);
  --text: #111114;
  --muted: #5f5f65;
  --primary: #D90A2C;
  --primary-light: #B80825;
  --cyan: #111114;
  --success: #1a8a4a;
  --danger: #c0392b;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #ffffff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.page-noise { display: none; }

.ambient { display: none; }
.ambient-one { display: none; }
.ambient-two { display: none; }

.site-header,
.site-footer,
.shell {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 10, 44, 0.2);
  border-radius: 8px;
  background: rgba(217, 10, 44, 0.06);
  box-shadow: none;
}

.brand-mark span {
  display: block;
  width: 3px;
  border-radius: 10px;
  background: var(--primary);
  animation: brandWave 1.3s ease-in-out infinite alternate;
}

.brand-mark span:nth-child(1) {
  height: 10px;
}

.brand-mark span:nth-child(2) {
  height: 20px;
  animation-delay: -0.5s;
}

.brand-mark span:nth-child(3) {
  height: 14px;
  animation-delay: -0.9s;
}

.brand-text {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #111;
}

.brand-text span {
  color: var(--primary);
  margin-left: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: #f5f5f3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(94, 228, 167, 0.9);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(94, 228, 167, 0.5);
  border-radius: 50%;
  animation: ping 1.8s ease-out infinite;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.78fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
  min-height: 100vh;
  padding: 56px 0;
}

.hero {
  position: relative;
  padding: 10px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 30px;
  height: 1px;
  background: var(--primary);
}

h1,
h2 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #111;
  font-weight: 900;
}

h1 em {
  color: var(--primary);
  font-style: normal;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-copy {
  max-width: 560px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-top: 30px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f5f5f3;
}

.proof-icon svg {
  width: 13px;
  fill: var(--primary);
}

.voice-stage {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 55px;
  padding-left: 6px;
}

.voice-orb {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(217, 10, 44, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.25), transparent 13%),
    linear-gradient(145deg, #D90A2C 5%, #8B0619 48%, #5a0311);
  box-shadow:
    0 0 40px rgba(217, 10, 44, 0.3),
    inset 0 -18px 32px rgba(80, 0, 20, 0.4);
}

.voice-orb::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
}

.wave-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}

.wave-bars i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.65);
  animation: wave 0.9s ease-in-out infinite alternate;
}

.wave-bars i:nth-child(2) { animation-delay: -0.7s; }
.wave-bars i:nth-child(3) { animation-delay: -0.4s; }
.wave-bars i:nth-child(4) { animation-delay: -0.1s; }
.wave-bars i:nth-child(5) { animation-delay: -0.5s; }
.wave-bars i:nth-child(6) { animation-delay: -0.8s; }
.wave-bars i:nth-child(7) { animation-delay: -0.25s; }

.orbit {
  position: absolute;
  left: 49px;
  top: 43px;
  border: 1px solid rgba(217, 10, 44, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 112px;
  height: 112px;
  animation: orbitPulse 2.3s ease-out infinite;
}

.orbit-two {
  width: 144px;
  height: 144px;
  animation: orbitPulse 2.3s 0.8s ease-out infinite;
}

.voice-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 24px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.voice-label span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.form-card {
  position: relative;
  min-height: 558px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-card::before { display: none; }

.card-topline {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}

#formView,
.success-view {
  padding: clamp(27px, 4vw, 44px);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.step-label,
.success-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-heading h2,
.success-view h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #111;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: #8f99ad;
  font-size: 11px;
}

.secure-badge svg {
  width: 14px;
  fill: #768196;
}

.progress-track {
  width: 100%;
  height: 3px;
  margin: 28px 0 37px;
  overflow: hidden;
  border-radius: 20px;
  background: #e9e9e7;
}

.progress-fill {
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  box-shadow: none;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step {
  display: none;
  min-height: 193px;
  animation: stepIn 0.36s ease both;
}

.form-step.is-active {
  display: block;
}

.form-step > label:first-child {
  display: block;
  margin-bottom: 7px;
  color: #111;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.field-help {
  margin: 0 0 18px;
  color: #808a9f;
  font-size: 13px;
  line-height: 1.5;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  fill: #707b91;
  transform: translateY(-50%);
  transition: fill 0.2s ease;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 17px 0 48px;
  border: 1px solid var(--line-strong);
  outline: none;
  border-radius: 6px;
  color: #111;
  background: #fff;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap input::placeholder {
  color: #a4a4aa;
}

.input-wrap input:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.input-wrap input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217, 10, 44, 0.08);
}

.input-wrap:focus-within > svg {
  fill: var(--primary);
}

.input-wrap input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(217, 10, 44, 0.08);
}

.error-text {
  min-height: 20px;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 12px;
}

.consent-row {
  position: relative;
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  color: #919caf;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.5;
}

.consent-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-check {
  position: relative;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;
}

.consent-row input:checked + .custom-check {
  border-color: var(--primary);
  background: var(--primary);
}

.consent-row input:checked + .custom-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

.consent-row input:focus-visible + .custom-check {
  box-shadow: 0 0 0 4px rgba(115, 87, 255, 0.18);
}

.consent-row.is-invalid .custom-check {
  border-color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease, border 0.2s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

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

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  gap: 8px;
  min-width: 145px;
  margin-left: auto;
  padding: 0 24px;
  color: white;
  background: var(--primary);
  box-shadow: none;
  border-radius: 4px;
}

.button-primary:hover:not(:disabled) {
  background: var(--primary-light);
  filter: none;
  box-shadow: none;
}

.button-back {
  gap: 5px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
}

.button-submit {
  display: none;
  min-width: 178px;
}

.button-submit .button-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.button-submit svg {
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
}

.button-submit.is-visible {
  display: inline-flex;
}

.button-submit.is-loading .button-text {
  display: none;
}

.button-submit .button-loading {
  display: none;
  align-items: center;
  gap: 9px;
}

.button-submit.is-loading .button-loading {
  display: inline-flex;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 12px;
  text-align: right;
}

.micro-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.micro-copy svg {
  flex: 0 0 auto;
  width: 15px;
  fill: var(--muted);
}

.success-view {
  display: flex;
  min-height: 558px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: successIn 0.45s ease both;
}

.success-view[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 1px solid rgba(94, 228, 167, 0.4);
  border-radius: 50%;
  background: rgba(94, 228, 167, 0.08);
  box-shadow: 0 0 45px rgba(94, 228, 167, 0.13);
}

.success-icon svg {
  width: 34px;
  fill: none;
  stroke: var(--success);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-view p {
  max-width: 385px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.success-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #bac2d1;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(94, 228, 167, 0.5);
  animation: statusPulse 1.8s infinite;
}

.button-secondary {
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: #cad1df;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #596276;
  font-size: 11px;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #465066;
}

@keyframes brandWave {
  to { height: 24px; }
}

@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes wave {
  0% { height: 7px; opacity: 0.7; }
  100% { height: 31px; opacity: 1; }
}

@keyframes orbitPulse {
  0% { transform: translate(-50%, -50%) scale(0.72); opacity: 0; }
  35% { opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.16); opacity: 0; }
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes successIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 228, 167, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(94, 228, 167, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 228, 167, 0); }
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 55px;
    min-height: auto;
    padding-top: 65px;
  }

  .hero {
    max-width: 760px;
  }

  .voice-stage {
    margin-top: 42px;
  }

  .form-card {
    width: min(100%, 650px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .shell {
    width: min(100% - 28px, 1220px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand-text {
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .live-pill {
    padding: 8px 10px;
    font-size: 10px;
  }

  .shell {
    gap: 45px;
    padding: 38px 0 45px;
  }

  h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .proof-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .voice-stage {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .form-card {
    min-height: 540px;
    border-radius: 21px;
  }

  #formView,
  .success-view {
    padding: 27px 21px;
  }

  .secure-badge {
    display: none;
  }

  .progress-track {
    margin: 23px 0 31px;
  }

  .form-step {
    min-height: 215px;
  }

  .form-step > label:first-child {
    font-size: 17px;
  }

  .form-actions {
    margin-top: 13px;
  }

  .button-primary {
    min-width: 132px;
  }

  .button-submit {
    min-width: 165px;
  }

  .success-view {
    min-height: 540px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.phone-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.field-group {
  min-width: 0;
}

.mini-label {
  display: block;
  margin: 0 0 7px;
  color: #6b6b72;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.country-combobox {
  position: relative;
  z-index: 30;
}

.country-search-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  width: 18px;
  fill: #74747c;
  transform: translateY(-50%);
  pointer-events: none;
}

.country-combobox > input[type="search"] {
  width: 100%;
  height: 54px;
  padding: 0 46px 0 47px;
  border: 1px solid #d8d8d5;
  outline: none;
  border-radius: 6px;
  color: #111114;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.country-combobox > input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.country-combobox > input[type="search"]::placeholder {
  color: #9a9aa1;
}

.country-combobox > input[type="search"]:hover {
  border-color: #ababaf;
}

.country-combobox > input[type="search"]:focus,
.country-combobox.is-open > input[type="search"] {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 10, 44, 0.09);
}

.country-combobox.is-invalid > input[type="search"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.09);
}

.country-combobox:focus-within .country-search-icon {
  fill: var(--primary);
}

.select-chevron {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #77777e;
  border-bottom: 2px solid #77777e;
  transform: translateY(-68%) rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.country-combobox.is-open .select-chevron {
  border-color: var(--primary);
  transform: translateY(-20%) rotate(225deg);
}

.country-options {
  position: absolute;
  z-index: 100;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 248px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #d8d8d5;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  scrollbar-width: thin;
  scrollbar-color: #b8b8bc #f2f2f0;
}

.country-options::-webkit-scrollbar {
  width: 8px;
}

.country-options::-webkit-scrollbar-track {
  background: #f2f2f0;
  border-radius: 8px;
}

.country-options::-webkit-scrollbar-thumb {
  background: #b8b8bc;
  border: 2px solid #f2f2f0;
  border-radius: 8px;
}

.country-options[hidden] {
  display: none;
}

.country-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  color: #111114;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.country-option:hover,
.country-option.is-active {
  color: #111114;
  background: #f5f5f3;
}

.country-option.is-selected {
  color: #111114;
  background: rgba(217, 10, 44, 0.08);
}

.country-option.is-selected:hover,
.country-option.is-selected.is-active {
  background: rgba(217, 10, 44, 0.12);
}

.country-code-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 27px;
  border: 1px solid rgba(217, 10, 44, 0.16);
  border-radius: 4px;
  color: var(--primary);
  background: rgba(217, 10, 44, 0.055);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.country-option-name {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-option-dial {
  color: #696970;
  font-size: 12px;
  font-weight: 700;
}

.country-option.is-selected .country-option-dial {
  color: var(--primary);
}

.country-empty {
  padding: 20px 14px;
  color: #6d6d74;
  font-size: 12px;
  text-align: center;
}

.phone-input-wrap input {
  height: 54px;
  padding: 0 17px 0 86px;
  font-size: 16px;
}

.phone-input-wrap > svg {
  display: none;
}

.dial-code-prefix {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  min-width: 55px;
  max-width: 62px;
  overflow: hidden;
  padding-right: 12px;
  border-right: 1px solid #d8d8d5;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
}

@media (max-width: 620px) {
  .country-options {
    position: absolute;
    max-height: 230px;
  }

  .country-option {
    min-height: 48px;
  }

  .phone-input-wrap input {
    padding-left: 82px;
  }
}

/* Versys Media page overrides */
.content-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 54px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
}
.content-brand strong { color: var(--primary-light); }
.content-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(217,10,44,.5);
  border-radius: 4px;
  background: var(--primary);
  font-size: 21px;
  letter-spacing: 0;
  box-shadow: 0 12px 30px rgba(217,10,44,.2);
}
.form-card { border-radius: 8px; }
.card-topline { background: linear-gradient(90deg, var(--primary), #ff3152); }
.button, input, .country-combobox { border-radius: 4px; }
.voice-orb { border-radius: 8px; transform: rotate(45deg); }
.wave-bars { transform: rotate(-45deg); }
.orbit { border-color: rgba(217,10,44,.18); }
@media (max-width: 760px) {
  .content-brand { margin-bottom: 34px; }
}


/* AI caller live call status hotfix */
.call-status-view {
  transition: opacity .2s ease, transform .2s ease;
}

.call-status-icon {
  border-color: rgba(217, 10, 44, .3);
  background: rgba(217, 10, 44, .06);
  box-shadow: 0 0 45px rgba(217, 10, 44, .12);
}

.call-status-icon svg {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-status-view[data-state="calling"] .call-status-icon {
  animation: callIconPulse 1.5s ease-in-out infinite;
}

.call-status-view[data-state="connected"] .call-status-icon {
  border-color: rgba(94, 228, 167, .45);
  background: rgba(94, 228, 167, .08);
  box-shadow: 0 0 45px rgba(94, 228, 167, .14);
}

.call-status-view[data-state="connected"] .call-status-icon svg,
.call-status-view[data-state="connected"] .success-kicker {
  stroke: var(--success);
  color: var(--success);
}

.call-status-view[data-state="completed"] .call-status-icon {
  border-color: rgba(94, 228, 167, .45);
  background: rgba(94, 228, 167, .08);
}

.call-status-view[data-state="completed"] .call-status-icon svg,
.call-status-view[data-state="completed"] .success-kicker {
  stroke: var(--success);
  color: var(--success);
}

.call-status-view[data-state="no_answer"] .call-status-icon,
.call-status-view[data-state="failed"] .call-status-icon {
  border-color: rgba(217, 10, 44, .35);
  background: rgba(217, 10, 44, .06);
}

.call-status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.call-status-actions .button {
  margin-top: 0;
  min-height: 48px;
}

.calendly-button {
  min-width: 235px;
  text-decoration: none;
}

.success-details {
  color: #6b6b72;
  background: #fafafa;
}

.call-status-view[data-state="preparing"] .pulse-ring,
.call-status-view[data-state="calling"] .pulse-ring {
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(217, 10, 44, .35);
}

.call-status-view[data-state="connected"] .pulse-ring,
.call-status-view[data-state="completed"] .pulse-ring {
  background: var(--success);
}

.call-status-view[data-state="no_answer"] .pulse-ring,
.call-status-view[data-state="failed"] .pulse-ring {
  background: var(--primary);
  animation: none;
}

@keyframes callIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.call-status-actions .button-secondary {
  border-color: #d5d5d8;
  color: #151519;
  background: #ffffff;
}

.call-status-actions .button-secondary:hover {
  border-color: #bdbdc2;
  background: #f7f7f7;
}


/* Simplified post-request booking state */
.booking-actions {
  margin-top: 34px;
  gap: 16px;
}

.call-status-view .success-details {
  display: none;
}

.call-status-view[data-state="calling"] .call-status-icon {
  animation: callIconPulse 1.5s ease-in-out infinite;
}

.call-status-view .calendly-button {
  min-width: 235px;
}


/* === Versys Apps dark theme 20260819-platform2 === */
body.ai-caller-page {
  --bg:#08090b; --surface:#111318; --surface-solid:#0d0f12; --line:#2a2e36;
  --line-strong:#3a404a; --text:#f7f7f8; --muted:#9da2ac; --primary:#e30b31;
  --primary-light:#ff3858; --success:#47c982; --danger:#ff6478; --shadow:none;
  background:#08090b; color:#f7f7f8;
}
.ai-caller-page .shell {
  width:min(1280px,calc(100% - 48px)); min-height:calc(100svh - var(--versys-header-height,82px));
  grid-template-columns:minmax(0,1.02fr) minmax(390px,.78fr); gap:clamp(34px,5vw,72px);
  padding:clamp(48px,6vw,76px) 0;
}
.ai-caller-page .hero { padding:0; }
.ai-caller-page h1 { max-width:760px; color:#fff; font-size:clamp(2.65rem,4.7vw,4.9rem); line-height:1.01; }
.ai-caller-page h1 em { color:#e30b31; }
.ai-caller-page .hero-copy { margin-top:24px; color:#a0a5af; font-size:1rem; line-height:1.75; }
.ai-caller-page .proof-row { margin-top:26px; }
.ai-caller-page .proof-item { color:#b0b5be; }
.ai-caller-page .proof-icon { border-color:#30343c; background:#111318; }
.ai-caller-page .proof-icon svg { fill:#e30b31; }
.ai-caller-page .voice-stage { margin-top:36px; padding:14px 16px; border:1px solid #292d35; border-radius:10px; background:#0d0f12; }
.ai-caller-page .orbit { display:none; }
.ai-caller-page .voice-orb { width:54px; height:54px; border:1px solid #3a3f48; border-radius:9px; background:#15181d; box-shadow:none; transform:none; }
.ai-caller-page .voice-orb::before { display:none; }
.ai-caller-page .wave-bars { height:24px; transform:none; }
.ai-caller-page .wave-bars i { background:#e30b31; box-shadow:none; }
.ai-caller-page .voice-label { margin-left:16px; color:#f5f5f6; }
.ai-caller-page .voice-label span { color:#e30b31; }
.ai-caller-page .form-card { min-height:548px; border:1px solid #2b3038; border-radius:12px; background:#111318; box-shadow:none; overflow:visible; }
.ai-caller-page .card-topline { height:3px; border-radius:12px 12px 0 0; background:#e30b31; }
.ai-caller-page #formView,.ai-caller-page .success-view { padding:clamp(26px,3.3vw,42px); }
.ai-caller-page .form-heading h2,.ai-caller-page .success-view h2 { color:#fff; }
.ai-caller-page .step-label,.ai-caller-page .success-kicker { color:#e30b31; }
.ai-caller-page .secure-badge { color:#aeb3bc; border-color:#30343c; background:#0d0f12; }
.ai-caller-page .progress-track { background:#242830; }
.ai-caller-page .progress-fill { background:#e30b31; }
.ai-caller-page .form-step > label:first-child,.ai-caller-page .mini-label { color:#f7f7f8; }
.ai-caller-page .field-help { color:#8f949e; }
.ai-caller-page .input-wrap input,.ai-caller-page .country-combobox > input[type="search"] { color:#fff; border-color:#30343c; background:#0b0d10; box-shadow:none; }
.ai-caller-page .input-wrap input::placeholder,.ai-caller-page .country-combobox > input[type="search"]::placeholder { color:#6f747d; }
.ai-caller-page .input-wrap input:hover,.ai-caller-page .country-combobox > input[type="search"]:hover { border-color:#444a54; }
.ai-caller-page .input-wrap input:focus,.ai-caller-page .country-combobox > input[type="search"]:focus,.ai-caller-page .country-combobox.is-open > input[type="search"] { border-color:#e30b31; box-shadow:0 0 0 2px rgba(227,11,49,.12); }
.ai-caller-page .input-wrap > svg,.ai-caller-page .country-search-icon { fill:#7d828c; }
.ai-caller-page .dial-code-prefix { color:#b9bdc5; }
.ai-caller-page .country-options { border-color:#30343c; background:#111318; box-shadow:0 18px 48px rgba(0,0,0,.5); }
.ai-caller-page .country-option { color:#dfe1e5; border-color:#242830; }
.ai-caller-page .country-option:hover,.ai-caller-page .country-option.is-active { background:#181b20; }
.ai-caller-page .country-option.is-selected { background:#211116; }
.ai-caller-page .country-code-badge { border-color:#343943; background:#0b0d10; color:#d8dbe0; }
.ai-caller-page .consent-row { color:#a7acb5; }
.ai-caller-page .consent-row a,.ai-caller-page .micro-copy a { color:#ff4965; text-decoration:underline; text-underline-offset:2px; }
.ai-caller-page .custom-check { border-color:#444a54; background:#0b0d10; }
.ai-caller-page .button { border-radius:7px; box-shadow:none; }
.ai-caller-page .button-primary { background:#e30b31; border-color:#e30b31; color:#fff; }
.ai-caller-page .button-primary:hover:not(:disabled) { background:#bd0828; border-color:#bd0828; }
.ai-caller-page .button-back,.ai-caller-page .button-secondary { color:#e2e4e8; border-color:#343943; background:#171a1f; }
.ai-caller-page .button-back:hover:not(:disabled),.ai-caller-page .button-secondary:hover { border-color:#505762; background:#1c2026; }
.ai-caller-page .micro-copy { color:#7f848e; border-color:#292d35; }
.ai-caller-page .micro-copy svg { fill:#858a94; }
.ai-caller-page .success-view p { color:#9ca1ab; }
.ai-caller-page .success-icon { border-color:#3b414b; background:#15181d; box-shadow:none; }
.ai-caller-page .success-icon svg { fill:#e30b31; }
@media(max-width:980px) {
  .ai-caller-page .shell { grid-template-columns:1fr; width:min(100% - 36px,760px); min-height:auto; padding:48px 0 64px; }
  .ai-caller-page .hero { max-width:720px; }
  .ai-caller-page .voice-stage { margin-top:28px; }
}
@media(max-width:560px) {
  .ai-caller-page .shell { width:min(100% - 28px,760px); padding:38px 0 52px; gap:32px; }
  .ai-caller-page h1 { font-size:clamp(2.25rem,11.5vw,3.25rem); }
  .ai-caller-page .proof-row { display:grid; grid-template-columns:1fr; gap:10px; }
  .ai-caller-page .voice-stage { width:100%; }
  .ai-caller-page .form-card { min-height:0; }
}

/* === AI Caller desktop viewport-fit hotfix 20260819 ===
   Keep the complete hero, CTA and proof row visible below the site header
   on common laptop/desktop viewport heights without shrinking mobile UI. */
@media (min-width: 981px) and (max-height: 900px) {
  .ai-caller-page .shell {
    align-items: start;
    padding-top: clamp(28px, 4vh, 38px);
    padding-bottom: 28px;
  }

  .ai-caller-page .eyebrow {
    margin-bottom: 16px;
  }

  .ai-caller-page .hero-copy {
    margin-top: 20px;
  }

  .ai-caller-page .voice-stage {
    margin-top: 26px;
  }

  .ai-caller-page .proof-row {
    margin-top: 20px;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .ai-caller-page .shell {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .ai-caller-page h1 {
    font-size: clamp(2.55rem, 4.25vw, 4.45rem);
  }

  .ai-caller-page .hero-copy {
    margin-top: 16px;
    line-height: 1.6;
  }

  .ai-caller-page .voice-stage {
    margin-top: 20px;
    padding-block: 11px;
  }

  .ai-caller-page .proof-row {
    margin-top: 16px;
  }

  .ai-caller-page .form-card {
    min-height: 520px;
  }

  .ai-caller-page #formView,
  .ai-caller-page .success-view {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* Compact public platform scale. Scoped to marketing layout, not voice engine state. */
@media (min-width: 901px) {
  .ai-caller-page .shell { width: min(1140px, calc(100% - 48px)); gap: clamp(30px,4vw,55px); padding-top: 52px; padding-bottom: 52px; }
  .ai-caller-page .hero h1 { font-size: clamp(35px,4.4vw,54px); line-height:1.1; }
  .ai-caller-page .hero-copy { margin-top: 16px; font-size: .94rem; line-height: 1.65; }
  .ai-caller-page .voice-stage { margin-top: 23px; }
}
@media (max-width: 900px) {
  .ai-caller-page .shell { padding-top: 32px; padding-bottom: 43px; gap: 24px; }
  .ai-caller-page .hero h1 { font-size: clamp(32px, 8vw, 43px); line-height:1.13; }
  .ai-caller-page .hero-copy { margin-top: 12px; line-height: 1.65; }
}
