:root {
  --sand: #f7f3ec;
  --turquoise-soft: #bfe8e3;
  --turquoise: #079f98;
  --navy: #264653;
  --orange: #ff9d4d;
  --orange-dark: #ed8330;
  --text: #3d3d3d;
  --white: #fff;
  --error: #a32936;
  --shadow: 0 12px 34px rgba(38, 70, 83, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--sand);
  color: var(--text);
  font-family: "Heebo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input { font: inherit; }
a { color: inherit; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; right: 20px; z-index: 100; border-radius: 10px; background: var(--navy); color: #fff; padding: 10px 18px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
:is(button, a):focus-visible { outline: 3px solid #087d77; outline-offset: 3px; }

.poc-header { position: sticky; top: 0; z-index: 20; height: 74px; border-bottom: 1px solid rgba(38,70,83,.08); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.poc-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; border: 1px solid rgba(38,70,83,.07); border-radius: 11px; background: #fff; box-shadow: 0 6px 18px rgba(38,70,83,.11); overflow: hidden; }
.brand img { display: block; width: 124px; height: 56px; object-fit: cover; object-position: center 43%; }
.cbot-mini { display: flex; align-items: center; gap: 9px; color: #60777b; text-decoration: none; }
.cbot-mini__credit { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; white-space: nowrap; }
.cbot-mini__credit strong { color: var(--navy); font-size: 12px; font-weight: 700; }
.cbot-mini__credit small { margin-top: 3px; color: #758184; font-size: 10px; }
.cbot-mini img { width: 70px; height: 34px; object-fit: cover; object-position: center 48%; mix-blend-mode: multiply; }

.voice-hero { min-height: calc(100vh - 74px); display: grid; align-items: center; background: linear-gradient(135deg, #f1fbf9 0%, #d9f1ed 58%, #ccebe6 100%); padding-block: 42px 54px; }
.voice-layout { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.voice-copy { min-width: 0; text-align: center; }
.voice-card { grid-row: 1; }
.voice-copy { grid-row: 2; }
.project-logo-visual { position: relative; width: min(430px, 100%); aspect-ratio: 1.42; margin: 0 auto 24px; border: 1px solid rgba(38,70,83,.06); border-radius: 30px; background: #fff; overflow: hidden; }
.project-logo { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; transform: scale(1.08); }
.project-logo-caption { position: absolute; right: 10%; bottom: 2%; width: 80%; min-height: 32%; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; color: #174f5a; font-size: clamp(10px, 3vw, 16px); font-weight: 500; line-height: 1.35; text-align: center; }
.project-logo-caption span { width: 100%; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.project-logo-caption span::before, .project-logo-caption span::after { content: ""; height: 1px; flex: 1; background: #14aaa4; }
.project-logo-caption strong { font-weight: 500; }
.eyebrow { margin: 0 0 9px; color: #087f79; font-size: 15px; font-weight: 700; letter-spacing: .025em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 17px; color: var(--navy); font-size: clamp(37px, 10vw, 54px); line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
.voice-lead { max-width: 560px; margin: 0 auto 8px; color: #456368; font-size: 18px; line-height: 1.65; text-wrap: balance; }
.project-action { max-width: 560px; margin: 0 auto 21px; color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.6; text-wrap: balance; }
.independence-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; border: 1px solid rgba(15,126,120,.18); border-radius: 999px; background: rgba(255,255,255,.66); color: #536e72; padding: 7px 12px; font-size: 13px; font-weight: 500; }
.independence-note span { color: #087f79; }

.voice-card { width: 100%; max-width: 780px; min-width: 0; margin-inline: auto; border: 1px solid #d4e0e4; border-top: 6px solid #63c8c1; border-radius: 24px; background: #fff; padding: 28px; box-shadow: 0 18px 46px rgba(38,70,83,.13); text-align: center; }
.voice-card__head { margin-bottom: 20px; text-align: center; }
.voice-card__head .eyebrow { margin-bottom: 7px; font-size: 21px; }
.voice-card h2 { margin: 0; color: var(--navy); font-size: 30px; line-height: 1.25; }
.voice-card__intro { max-width: 520px; margin: 12px auto 0; color: #607174; font-size: 18px; line-height: 1.6; text-align: center; }
.voice-card__intro strong { color: var(--navy); font-weight: 700; }
.agent-presence { display: grid; justify-items: center; margin: 2px 0 14px; }
.agent-portrait { position: relative; display: grid; place-items: end center; width: 230px; height: 230px; border: 1px solid rgba(7,159,152,.18); border-radius: 50%; background: linear-gradient(145deg, #f5fcfb, #dff4f1); box-shadow: 0 12px 30px rgba(38,70,83,.12); isolation: isolate; }
.agent-portrait::before { content: ""; position: absolute; inset: -7px; z-index: -1; border: 2px solid transparent; border-radius: inherit; opacity: 0; transform: scale(.96); }
.agent-portrait img { display: block; width: 202px; height: 216px; object-fit: contain; object-position: center bottom; }
.agent-name { margin: 10px 0 0; color: var(--navy); font-size: 18px; font-weight: 800; }
.agent-role { margin: 3px 0 0; color: #536e72; font-size: 19px; font-weight: 600; }
.voice-presence { height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; }
.voice-presence span { width: 7px; height: 19px; border-radius: 999px; background: #74d7d0; transform-origin: center; transition: height 180ms ease, background 180ms ease; }
body[data-agent-state="speaking"] .agent-portrait::before { border-color: rgba(7,159,152,.5); box-shadow: 0 0 0 7px rgba(7,159,152,.08); opacity: 1; animation: agent-speaking 1.4s ease-in-out infinite; }
body[data-agent-state="speaking"] .voice-presence span { background: var(--turquoise); animation: voice-wave .82s ease-in-out infinite alternate; }
body[data-agent-state="speaking"] .voice-presence span:nth-child(2), body[data-agent-state="speaking"] .voice-presence span:nth-child(4) { animation-delay: -.36s; }
body[data-agent-state="speaking"] .voice-presence span:nth-child(3) { animation-delay: -.18s; }
body[data-agent-state="listening"] .agent-portrait::before { border-color: rgba(255,157,77,.55); box-shadow: 0 0 0 7px rgba(255,157,77,.09); opacity: 1; animation: agent-listening 1.8s ease-in-out infinite; }
body[data-agent-state="listening"] .voice-presence span { height: 10px; background: #ffb879; animation: listening-pulse 1.25s ease-in-out infinite; }
.primary-status { margin: 0; color: var(--navy); font-size: 20px; font-weight: 700; }
.permission-note { margin: 8px 0 18px; color: #607174; font-size: 13px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; padding: 0 25px; font-size: 17px; font-weight: 700; cursor: pointer; transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease; }
.button--primary { width: 100%; border: 0; background: var(--orange); color: #362b20; box-shadow: 0 8px 18px rgba(244,162,97,.28); }
.button--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 11px 22px rgba(232,140,66,.32); }
.button--secondary { border: 1px solid #a9c8c5; background: #fff; color: var(--navy); }
.button--secondary:hover { background: #edf8f6; transform: translateY(-1px); }
.voice-stop-button { width: 100%; margin-top: 10px; }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.selected-area { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; border-radius: 16px; background: #edf8f6; color: var(--navy); padding: 14px; text-align: right; }
.selected-area__check { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: var(--turquoise); color: #fff; font-weight: 800; }
.selected-area small, .selected-area strong { display: block; }
.selected-area small { color: #607174; font-size: 12px; }
.selected-area strong { font-size: 19px; }
.email-form { margin-top: 18px; text-align: right; }
.email-form label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 700; }
.email-form__controls { display: grid; gap: 9px; }
.email-form input[type="email"] { width: 100%; min-height: 50px; border: 1px solid #aacbc8; border-radius: 13px; background: #fff; color: var(--navy); padding: 0 14px; text-align: left; }
.email-form input:focus { border-color: var(--turquoise); outline: 3px solid rgba(7,159,152,.15); outline-offset: 2px; }
.email-form input[aria-invalid="true"] { border-color: var(--error); }
.consent-group { display: grid; gap: 10px; margin: 14px 0; border: 0; padding: 0; }
.consent-group legend { margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 700; }
.email-form .consent-option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: start; margin: 0; color: #475c61; font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.consent-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--turquoise); }
.email-form__message { min-height: 24px; margin: 7px 2px 0; color: #607174; font-size: 13px; font-weight: 600; }
.email-form__message.is-error { color: var(--error); }
.email-form__message.is-success { color: #087d77; }
.voice-error { margin: 16px 0 0; border-radius: 11px; background: #fff0f1; color: var(--error); padding: 10px 12px; font-size: 14px; font-weight: 600; }

.how-it-works { background: #edf5f2; padding: 76px 0 82px; text-align: center; }
.how-it-works .eyebrow { margin-bottom: 7px; }
.how-it-works h2 { margin: 0; color: var(--navy); font-size: 34px; line-height: 1.25; }
.signup-steps { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(230px, 282px) minmax(46px, 1fr) minmax(230px, 282px) minmax(46px, 1fr) minmax(230px, 282px); align-items: center; margin: 38px auto 0; padding: 0; list-style: none; }
.signup-steps article { position: relative; isolation: isolate; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(7,159,152,.16); border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,249,247,.94)); padding: clamp(24px, 2.5vw, 34px); box-shadow: 0 12px 30px rgba(38,70,83,.08); text-align: center; }
.signup-steps article::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(circle at 8% 0%, rgba(7,159,152,.16), rgba(7,159,152,0) 38%); }
.signup-steps .step-number { position: absolute; top: 15%; right: 20%; color: rgba(7,125,119,.24); font-size: 25px; line-height: 1; font-weight: 800; }
.signup-steps .step-icon { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(7,159,152,.18); border-radius: 50%; background: linear-gradient(145deg, #e3f6f3, #f7fcfb); color: #078c85; font-size: 24px; line-height: 1; font-weight: 700; }
.signup-steps h3 { margin: 14px 0 5px; color: var(--navy); font-size: 20px; line-height: 1.3; }
.signup-steps p { max-width: 24ch; margin: 0; color: #526b70; font-size: 14px; line-height: 1.55; }
.step-connector { color: #29b3ac; font-size: 36px; line-height: 1; font-weight: 400; }

.test-panel-section { padding-block: 32px 54px; }
.test-panel { max-width: 760px; margin-inline: auto; border: 1px solid #d9e4e7; border-radius: 18px; background: rgba(255,255,255,.72); padding: 18px; box-shadow: 0 12px 36px rgba(38,70,83,.045); }
.test-panel summary { color: var(--navy); font-weight: 700; cursor: pointer; }
.test-panel dl { display: grid; gap: 9px; margin: 18px 0; }
.test-panel dl div { display: grid; grid-template-columns: minmax(105px, .6fr) minmax(0, 1.4fr); gap: 12px; border-radius: 12px; background: #fff; padding: 10px 12px; }
.test-panel dt { color: #607174; font-size: 13px; font-weight: 600; }
.test-panel dd { min-width: 0; margin: 0; color: var(--navy); overflow-wrap: anywhere; font-weight: 600; }

.poc-footer { background: #173943; color: #dfeaec; padding: 30px 0; }
.poc-footer__inner { display: flex; align-items: center; flex-direction: column; gap: 12px; text-align: center; }
.poc-footer img { width: 150px; height: 76px; object-fit: contain; filter: brightness(0) invert(1); }
.poc-footer p { margin: 2px 0 0; color: #b9cccf; font-size: 13px; }
.poc-footer .copyright { margin-top: 4px; color: #8fa8ac; font-size: 12px; }
.poc-footer a { border-radius: 10px; color: #bdebe7; font-size: 14px; font-weight: 700; }
[hidden] { display: none !important; }
#remote-audio { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@keyframes voice-wave { from { height: 14px; } to { height: 53px; } }
@keyframes listening-pulse { 50% { opacity: .45; transform: scaleY(.7); } }
@keyframes agent-speaking { 50% { opacity: .65; transform: scale(1.035); } }
@keyframes agent-listening { 50% { opacity: .62; transform: scale(1.025); } }

@media (min-width: 901px) {
  .container { width: min(1200px, calc(100% - 64px)); }
  .poc-header { height: 86px; }
  .brand img { width: 166px; height: 66px; }
  .voice-hero { min-height: calc(100vh - 86px); padding-block: 64px; }
  .voice-layout { grid-template-columns: minmax(400px, .78fr) minmax(0, 1.22fr); gap: clamp(42px, 4vw, 64px); }
  .voice-copy, .voice-card { grid-row: auto; }
  .voice-copy { text-align: right; }
  .project-logo-visual { width: min(370px, 100%); margin-inline: 0; margin-bottom: 26px; }
  .project-logo-caption { font-size: clamp(12px, 1.25vw, 17px); }
  .voice-lead { margin-inline: 0; font-size: 23px; line-height: 1.5; }
  .project-action { margin-inline: 0; font-size: 21px; line-height: 1.5; }
  .voice-card { padding: 44px 52px; }
  .agent-portrait { width: 270px; height: 270px; }
  .agent-portrait img { width: 238px; height: 254px; }
  .email-form .button { width: 100%; }
  .poc-footer__inner { flex-direction: row; justify-content: space-between; text-align: right; }
}

@media (max-width: 900px) {
  .how-it-works { padding: 60px 0 66px; }
  .signup-steps { grid-template-columns: 1fr; gap: 12px; }
  .signup-steps article { width: min(100%, 280px); justify-self: center; }
  .step-connector { height: 42px; display: grid; place-items: center; transform: rotate(-90deg); }
}

@media (max-width: 640px) {
  .cbot-mini__credit { display: none; }
}

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