:root {
    font-family:Arial,Helvetica,sans-serif;
    color:#0a0a0a;
    background:#fafaf8;
    font-synthesis:none;
    --ink:#0a0a0a;
    --muted:#676762;
    --line:#deded8;
    --blue:#a0beff;
    --coral:#ff8189;
    --lime:#dde275;
    --level:0;
    color-scheme:light
}
.recovery-controls { display:flex; flex-wrap:wrap; justify-content:center; gap:8px }
.recovery-controls button {
    padding:12px 18px;
    border:1px solid var(--line);
    border-radius:6px;
    background:white
}
* {
    box-sizing:border-box
}
body {
    margin:0
}
button,input,select {
    font:inherit
}
button,a,input,select,summary {
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation
}
button {
    cursor:pointer;
    color:inherit;
    border:0
}
button:disabled {
    cursor:default;
    opacity:.45
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible {
    outline:2px solid #285cac;
    outline-offset:5px
}
button:active:not(:disabled) {
    transform:translateY(1px)
}
[hidden] {
    display:none!important
}
.icon-library {
    position:absolute;
    width:0;
    height:0;
    overflow:hidden
}
.icon {
    width:22px;
    height:22px;
    flex-shrink:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round
}
.sr-only,.skip-link:not(:focus) {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap
}
.skip-link:focus {
    position:fixed;
    z-index:10;
    background:var(--ink);
    color:white;
    padding:16px
}
.app-shell {
    min-height:100svh;
    display:flex;
    flex-direction:column;
    padding:0 56px;
    max-width:1600px;
    margin:auto
}
.site-header {
    height:112px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--line)
}
.brand {
    display:inline-flex
}
.brand img {
    width:200px;
    height:auto
}
.header-actions {
    display:flex;
    align-items:center;
    gap:24px
}
.prototype-tag {
    font-size:11px;
    letter-spacing:.065em;
    display:inline-block;
    border:1px solid #bdbdb5;
    padding:6px 9px;
    line-height:1;
    text-transform:uppercase
}
.settings-trigger {
    display:flex;
    align-items:center;
    gap:14px;
    min-height:44px;
    background:transparent;
    padding:8px 0 8px 16px;
    font-size:13px
}
.settings-trigger:hover {
    color:#426291
}
.settings-trigger .icon {
    width:24px;
    height:24px
}
main {
    flex:1;
    width:100%;
    max-width:1040px;
    margin:0 auto
}
.voice-stage {
    text-align:center;
    padding:45px 0 0
}
.eyebrow {
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:11px;
    line-height:1.6;
    margin:0 0 17px
}
.hero-copy h1 {
    font-size:clamp(40px,4.5vw,64px);
    font-weight:400;
    line-height:1.06;
    letter-spacing:-.05em;
    margin:0
}
.hero-description {
    font-size:15px;
    line-height:1.6;
    color:var(--muted);
    margin:20px 0 0
}
.voice-visual {
    height:254px;
    width:280px;
    position:relative;
    margin:21px auto 2px;
    display:grid;
    place-items:center;
    isolation:isolate
}
.voice-bubble {
    position:relative;
    display:grid;
    place-items:center;
    width:184px;
    height:184px;
    background:var(--blue);
    border-radius:50% 50% 46% 50%;
    isolation:isolate
}
.voice-bubble:before {
    content:"";
    position:absolute;
    bottom:7px;
    right:14px;
    width:39px;
    height:43px;
    background:inherit;
    clip-path:polygon(0 0,100% 100%,100% 0);
    transform:rotate(8deg);
    z-index:-1
}
.voice-bubble:after {
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:radial-gradient(circle at 30% 26%,#ffffff26,transparent 65%);
    pointer-events:none
}
.voice-bars { display:flex; align-items:center; height:57px; gap:7px }
.voice-bars i { width:7px; height:13px; border-radius:999px; background:var(--ink) }
.voice-bars i:nth-child(2),.voice-bars i:nth-child(4) { height:27px }
.voice-bars i:nth-child(3) { height:43px }
.mic-symbol {
    display:none;
    width:38%;
    height:38%;
    fill:none;
    stroke:currentColor;
    stroke-width:3;
    stroke-linecap:round;
    stroke-linejoin:round;
    transform:scale(calc(1 + var(--level)*.52));
    transition:transform .1s ease-out
}
.mic-level-fill {
    fill:#176448;
    stroke:none;
    clip-path:inset(calc((1 - var(--level)) * 100%) 0 0) fill-box;
    transition:clip-path .1s ease-out
}
.voice-stage[data-mic=open] .voice-bars { display:none }
.voice-stage[data-mic=open] .mic-symbol { display:block }
.voice-stage[data-mic=open] .voice-bubble { background:#81dfa7; color:#103b2c }
.voice-stage[data-mic=open] .voice-halo { border-color:#78c89a; background:#dff5e8 }
.voice-stage[data-output=playing] .voice-bars i {
    height:calc(7px + var(--band-level) * var(--bar-growth,43px))
}
.voice-bars i:nth-child(1) { --band-level:var(--output-band-1,0) }
.voice-bars i:nth-child(2) { --band-level:var(--output-band-2,0) }
.voice-bars i:nth-child(3) { --band-level:var(--output-band-3,0) }
.voice-bars i:nth-child(4) { --band-level:var(--output-band-4,0) }
.voice-bars i:nth-child(5) { --band-level:var(--output-band-5,0) }
.voice-halo {
    position:absolute;
    width:224px;
    height:224px;
    border:1px solid #dce3f1;
    border-radius:50%;
    opacity:.7
}
.visual-spark {
    position:absolute;
    display:block;
    z-index:-1
}
.spark-one {
    width:11px;
    height:11px;
    background:var(--coral);
    border-radius:50%;
    left:25px;
    top:71px
}
.spark-two {
    width:16px;
    height:16px;
    background:var(--lime);
    right:18px;
    bottom:55px;
    transform:rotate(-15deg)
}
.voice-caption {
    min-height:61px
}
.adviser-name {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:13px;
    margin:0 0 9px
}
.status-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:#82837c
}
#voice-status {
    font-size:12px;
    line-height:1.5;
    color:var(--muted);
    margin:0 auto;
    max-width:550px;
    padding:0 12px;
    overflow-wrap:anywhere
}
.conversation-button {
    position:relative;
    min-height:52px;
    min-width:230px;
    padding:16px 24px 16px 50px;
    background:var(--coral);
    border-radius:3px;
    font-size:14px;
    transition:background .2s,box-shadow .2s
}
.conversation-button:before {
    content:"";
    position:absolute;
    left:25px;
    top:18px;
    width:9px;
    height:14px;
    border:1.5px solid var(--ink);
    border-radius:6px
}
.conversation-button:after {
    content:"";
    position:absolute;
    left:22px;
    top:23px;
    width:15px;
    height:12px;
    border:1.5px solid var(--ink);
    border-top:0;
    border-radius:0 0 9px 9px
}
.conversation-button:hover {
    background:#f65d67
}
.conversation-button[aria-pressed=true] {
    background:var(--ink);
    color:white
}
.conversation-button[aria-pressed=true]:before {
    width:10px;
    height:10px;
    top:21px;
    left:25px;
    background:white;
    border:0;
    border-radius:2px
}
.conversation-button[aria-pressed=true]:after {
    display:none
}
.voice-hint {
    font-size:11px;
    color:var(--muted);
    margin:12px 0 0;
    min-height:14px
}
.suggestions {
    display:flex;
    justify-content:center;
    gap:9px;
    align-items:center;
    margin:33px 0 0;
    flex-wrap:wrap
}
.suggestion-label {
    font-size:11px;
    color:var(--muted);
    margin-right:4px
}
.suggestion {
    display:flex;
    align-items:center;
    gap:18px;
    background:transparent;
    border:1px solid var(--line);
    border-radius:4px;
    padding:12px 14px;
    font-size:12px;
    text-align:left;
    min-height:43px;
    transition:background .2s,border-color .2s
}
.suggestion:hover {
    background:#efefe9;
    border-color:#a5a59d
}
.suggestion .icon {
    height:15px;
    width:15px
}
.conversation-area {
    max-width:680px;
    margin:0 auto;
    padding:0 0 22px
}
.survey-invitation {
    margin:12px auto 0;
    font-size:14px
}
.survey-invitation a { display:inline-flex; align-items:center; gap:9px; padding:8px 12px; color:var(--ink); text-underline-offset:3px }
.survey-invitation .icon { width:17px; height:17px }
.survey-invitation a[aria-disabled=true] { color:var(--muted) }
.text-toggle {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin:23px auto 0;
    background:transparent;
    color:var(--muted);
    font-size:12px;
    min-height:44px;
    padding:8px 16px
}
.text-toggle:hover {
    color:var(--ink)
}
.text-toggle .icon {
    width:19px;
    height:19px
}
#text-panel {
    margin-top:10px
}
#chat-form {
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid #c6c6be;
    padding:7px;
    background:white;
    border-radius:8px
}
#message-input {
    border:0;
    background:transparent;
    min-width:0;
    flex:1;
    padding:10px;
    font-size:14px;
    line-height:1.5
}
#message-input:focus {
    outline-offset:-2px
}
#chat-form button {
    padding:13px 18px;
    background:var(--ink);
    color:white;
    border-radius:4px;
    font-size:12px
}
.transcript {
    margin:24px 0 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line)
}
.transcript summary {
    list-style:none;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:12px;
    cursor:pointer;
    padding:16px 3px;
    min-height:52px
}
.transcript summary::-webkit-details-marker {
    display:none
}
.transcript summary .icon {
    width:18px;
    height:18px
}
.message-count {
    font-size:10px;
    background:#e9e9e3;
    border-radius:20px;
    min-width:21px;
    text-align:center;
    padding:4px
}
.disclosure-chevron {
    margin-left:auto;
    width:7px;
    height:7px;
    border-right:1px solid;
    border-bottom:1px solid;
    transform:rotate(45deg);
    transition:transform .2s
}
.transcript[open] .disclosure-chevron {
    transform:rotate(225deg)
}
#messages {
    max-height:350px;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:5px 4px 20px;
    display:flex;
    flex-direction:column;
    gap:16px
}
.message {
    font-size:14px;
    line-height:1.65;
    max-width:90%;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    padding:14px 17px;
    border-radius:12px
}
.message-label {
    display:block;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.08em;
    line-height:1.3;
    margin-bottom:7px;
    color:var(--muted)
}
.message.user {
    align-self:flex-end;
    background:#e8edf8;
    border-bottom-right-radius:2px
}
.message.assistant {
    align-self:flex-start;
    background:white;
    border:1px solid #e8e8e2;
    border-bottom-left-radius:2px
}
.message.notice,.message.error {
    align-self:center;
    background:#f2f0df;
    font-size:12px
}
.site-footer {
    flex-shrink:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    min-height:76px;
    border-top:1px solid var(--line);
    font-size:11px;
    color:var(--muted)
}
.footer-signoff {
    color:var(--ink)
}
.privacy-trigger {
    display:flex;
    align-items:center;
    gap:7px;
    min-height:44px;
    font-size:11px;
    color:var(--muted);
    background:transparent;
    padding:0
}
.privacy-trigger .icon {
    width:15px;
    height:15px
}
.privacy-trigger:hover {
    color:var(--ink)
}
.voice-stage[data-mic=open] .status-dot {
    background:#18734c;
    box-shadow:0 0 0 3px #a0dfb950
}
.voice-stage[data-state=error] .voice-bubble {
    background:#ffb4b9
}
.voice-stage:not([data-state=idle]) .suggestions {
    display:none
}
.settings-panel {
    position:fixed;
    inset:0 0 0 auto;
    margin:0;
    height:100dvh;
    max-height:100dvh;
    width:440px;
    max-width:100%;
    border:0;
    border-left:1px solid var(--line);
    padding:36px;
    background:#fafaf8;
    color:var(--ink);
    overflow-y:auto;
    overscroll-behavior:contain
}
.settings-panel[open] {
    display:flex;
    flex-direction:column;
    animation:panel-enter .2s ease-out
}
.settings-panel::backdrop {
    background:#0a0a0a4d;
    backdrop-filter:blur(3px)
}
body:has(dialog[open]) {
    overflow:hidden
}
.panel-heading {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:36px
}
.panel-heading .eyebrow {
    margin-bottom:10px;
    font-size:10px
}
.panel-heading h2 {
    font-size:30px;
    font-weight:400;
    letter-spacing:-.03em;
    margin:0
}
.icon-button {
    display:grid;
    place-items:center;
    background:transparent;
    border:1px solid var(--line);
    border-radius:50%;
    width:44px;
    height:44px;
    flex-shrink:0
}
.icon-button:hover {
    background:#e9e9e3
}
.demo-settings {
    display:grid;
    gap:22px
}
label {
    display:grid;
    gap:10px;
    font-size:13px
}
select,input[type=date],input[type=time],input[type=email] {
    width:100%;
    min-height:48px;
    border:1px solid #bdbdb5;
    border-radius:3px;
    background:white;
    padding:12px;
    color:var(--ink)
}
select {
    cursor:pointer
}
.setting-note {
    font-size:12px;
    line-height:1.7;
    color:var(--muted);
    margin:0
}
.about-demo {
    border-top:1px solid var(--line);
    margin-top:30px;
    padding-top:30px
}
.about-demo h3 {
    font-size:22px;
    font-weight:400;
    letter-spacing:-.02em;
    margin:20px 0 14px
}
.about-demo p {
    font-size:12px;
    line-height:1.8;
    color:var(--muted)
}
.panel-done {
    background:var(--ink);
    color:white;
    padding:16px;
    min-height:48px;
    border-radius:3px;
    margin-top:30px;
    width:100%;
    flex-shrink:0
}
.journey {
    background:#f0f1e2;
    border:1px solid #dcdec6;
    padding:20px;
    border-radius:5px;
    margin-top:20px;
    font-size:13px;
    line-height:1.6
}
.demo-label {
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.07em;
    margin:0 0 14px
}
.journey-actions {
    display:flex;
    gap:8px;
    flex-wrap:wrap
}
.journey button {
    min-height:42px;
    font-size:12px;
    background:white;
    border:1px solid #c8cab3;
    padding:10px 12px;
    border-radius:3px
}
.journey button:hover:not(:disabled) {
    background:#dde275
}
.journey h2 {
    font-size:22px;
    font-weight:400;
    margin-top:24px
}
.journey #continue-questions {
    margin-top:16px;
    background:transparent
}
.journey #booking-submit,.journey #opening-confirm {
    background:var(--ink);
    color:white
}
#booking-form {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px
}
#booking-form label:nth-child(3),#booking-submit {
    grid-column:1/-1
}
@keyframes panel-enter {
    from {
        transform:translateX(30px);
        opacity:0
    }
}
@media(min-width:1600px) {
    .voice-stage {
        padding-top:64px
    }
    .voice-visual {
        margin-top:30px;
        height:290px
    }
    .voice-bubble {
        width:210px;
        height:210px
    }
    .voice-halo {
        width:252px;
        height:252px
    }
    .suggestions {
        margin-top:40px
    }
}
@media(max-width:700px) {
    .app-shell {
        padding:0 22px
    }
    .site-header {
        height:88px
    }
    .brand img {
        width:159px
    }
    .header-actions {
        gap:8px
    }
    .header-actions>.prototype-tag {
        display:none
    }
    .settings-trigger {
        gap:9px;
        font-size:12px
    }
    .voice-stage {
        padding-top:34px
    }
    .eyebrow {
        font-size:10px;
        letter-spacing:.11em;
        margin-bottom:16px
    }
    .hero-copy h1 {
        font-size:46px;
        letter-spacing:-.055em
    }
    .hero-description {
        max-width:275px;
        margin:17px auto 0;
        font-size:13px;
        line-height:1.65
    }
    .voice-visual {
        height:230px;
        width:250px;
        margin-top:14px
    }
    .voice-bubble {
        width:166px;
        height:166px
    }
    .voice-halo {
        width:204px;
        height:204px
    }
    .spark-one {
        left:19px
    }
    .spark-two {
        right:10px
    }
    .voice-caption {
        min-height:67px
    }
    .adviser-name {
        font-size:12px
    }
    #voice-status {
        font-size:11px;
        max-width:320px
    }
    .conversation-button {
        min-height:52px;
        min-width:226px
    }
    .voice-hint {
        font-size:10px
    }
    .suggestions {
        margin-top:27px;
        gap:8px
    }
    .suggestion-label {
        width:100%;
        margin:0 0 3px;
        font-size:10px
    }
    .suggestion {
        font-size:11px;
        gap:10px;
        min-height:40px;
        padding:10px 12px
    }
    .suggestion:last-child {
        display:none
    }
    .text-toggle {
        margin-top:18px
    }
    .conversation-area {
        padding-bottom:15px
    }
    .site-footer {
        justify-content:center;
        min-height:64px
    }
    .footer-signoff {
        display:none
    }
    .privacy-trigger {
        font-size:10px
    }
    .settings-panel {
        padding:28px 24px
    }
    .panel-heading {
        margin-bottom:30px
    }
    .message {
        font-size:13px;
        max-width:95%
    }
    .journey {
        padding:16px
    }
    .journey-actions {
        display:grid
    }
    .journey-actions button {
        text-align:left
    }
    #chat-form button {
        padding:13px 12px
    }
}
@media(max-width:360px) {
    .app-shell {
        padding:0 16px
    }
    .hero-copy h1 {
        font-size:40px
    }
    .brand img {
        width:143px
    }
    .settings-trigger {
        font-size:11px
    }
    .suggestion {
        font-size:10px;
        padding:9px
    }
    .voice-visual {
        height:216px
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important
    }
    .voice-bubble,.voice-halo,.mic-symbol {
        transform:none!important
    }
    .voice-bars {
        --bar-growth:28px
    }
}
/* Keep the voice control above the fold on compact phones and active calls. */
@media(max-width:700px) {
    .voice-stage {
        padding-top:26px
    }
    .voice-visual {
        height:206px;
        margin-top:10px
    }
    .voice-caption {
        min-height:60px
    }
    .suggestions {
        margin-top:22px
    }
    .hero-copy h1 {
        font-size:clamp(37px,10.6vw,46px)
    }
}
@media(max-width:700px) and (max-height:760px) {
    .site-header {
        height:74px
    }
    .voice-stage {
        padding-top:22px
    }
    .hero-description {
        margin-top:12px
    }
    .voice-visual {
        height:180px;
        margin-top:8px
    }
    .voice-bubble {
        width:142px;
        height:142px
    }
    .voice-halo {
        width:172px;
        height:172px
    }
    .voice-caption {
        min-height:56px
    }
    .suggestions {
        margin-top:18px
    }
    .text-toggle {
        margin-top:12px
    }
    .hero-copy h1 {
        font-size:38px
    }
    .site-footer {
        min-height:54px
    }
}
@media(max-width:700px) {
    .voice-stage:not([data-state=idle]):not([data-state=error]) .hero-copy h1 {
        font-size:32px
    }
    .voice-stage:not([data-state=idle]):not([data-state=error]) .hero-description {
        display:none
    }
}
@media(max-width:700px) and (min-height:761px) {
    .voice-stage {
        padding-top:22px
    }
    .voice-stage .eyebrow {
        margin-bottom:12px
    }
    .hero-description {
        margin-top:12px;
        line-height:1.5
    }
    .voice-visual {
        margin-top:4px
    }
    .suggestions {
        margin-top:18px
    }
    .text-toggle {
        margin-top:12px
    }
}
