/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  --background: #f3f4ef;
  --foreground: #15201d;
  --muted: #65706c;
  --panel: #fff;
  --line: #dbe1dd;
  --accent: #176f66;
  --accent-strong: #0d5049;
  --gold: #b88a3b;
  --danger: #b42318;
  --shadow: 0 28px 80px rgba(19, 35, 30, .18);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 88% 4%, rgba(180, 139, 65, .1), transparent 23rem),
    radial-gradient(circle at 4% 26%, rgba(48, 115, 90, .08), transparent 28rem),
    #f5f6f2;
  color: var(--foreground);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100%;
}
body::before {
  background-image: linear-gradient(rgba(22, 44, 37, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 44, 37, .025) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
          mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
  position: fixed;
}
button, textarea { font: inherit; }
input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--voice-primary, var(--accent)) 26%, transparent);
  outline-offset: 3px;
}

/* Authentication */
.auth-page { align-items: center; display: flex; justify-content: center; min-height: 100vh; padding: 28px; position: relative; }
.auth-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(205,216,210,.92);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(20,43,35,.16);
  padding: clamp(30px, 6vw, 58px);
  width: min(480px, 100%);
}
.auth-card--checking { color: var(--muted); text-align: center; }
.auth-card__eyebrow { color: var(--accent); font-size: .7rem; font-weight: 850; letter-spacing: .13em; margin: 0 0 18px; text-transform: uppercase; }
.auth-card h1 { font-size: clamp(2.8rem, 9vw, 4.6rem); line-height: .95; }
.auth-card__intro { color: var(--muted); line-height: 1.6; margin: 22px 0 26px; }
.auth-form { display: grid; grid-gap: 16px; gap: 16px; }
.auth-form label { color: #3f4b47; display: grid; font-size: .78rem; font-weight: 800; grid-gap: 7px; gap: 7px; }
.auth-form input { background: #fff; border: 1px solid #cdd8d2; border-radius: 13px; color: var(--foreground); min-height: 48px; padding: 10px 14px; }
.auth-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,111,102,.1); outline: none; }
.auth-form button { background: var(--accent); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font-weight: 800; min-height: 49px; padding: 12px 18px; }
.auth-form button:disabled { cursor: wait; opacity: .65; }
.auth-form__error { color: var(--danger); font-size: .82rem; margin: -3px 0 0; }
.auth-card__note { color: #7a837f; font-size: .72rem; margin: 20px 0 0; text-align: center; }
.session-bar { align-items: center; display: flex; font-size: .72rem; gap: 12px; justify-content: flex-end; padding: 12px 24px 0; position: relative; z-index: 2; }
.session-bar button { background: rgba(255,255,255,.75); border: 1px solid #ccd7d1; border-radius: 999px; color: var(--accent-strong); cursor: pointer; font-size: .72rem; font-weight: 800; padding: 7px 12px; }

/* Landing page */
.page { min-height: 100vh; padding: 34px 28px 76px; position: relative; }
.shell { margin: 0 auto; width: min(1240px, 100%); }
.header { padding: 38px 0 48px; }
.header__status { align-items: center; display: flex; justify-content: space-between; margin-bottom: 30px; }
.eyebrow, .header__availability { font-size: .72rem; font-weight: 800; letter-spacing: .11em; margin: 0; text-transform: uppercase; }
.eyebrow { align-items: center; color: var(--accent-strong); display: flex; gap: 9px; }
.eyebrow span { background: #38a879; border-radius: 50%; box-shadow: 0 0 0 5px rgba(56, 168, 121, .12); height: 7px; width: 7px; }
.header__availability { color: #7c837f; letter-spacing: .04em; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
  margin: 0;
  max-width: 1050px;
}
h1 em { color: var(--accent); font-weight: 400; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.22rem); line-height: 1.65; margin: 34px 0 28px; max-width: 700px; }
.header__features { display: flex; flex-wrap: wrap; gap: 9px; }
.header__features span {
  align-items: center;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(210,219,214,.85);
  border-radius: 999px;
  color: #48534f;
  display: flex;
  font-size: .76rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
}
.header__features span::before { color: var(--accent); content: "✓"; font-size: .7rem; }
.demo-section { border-top: 1px solid #d7deda; padding-top: 30px; }
.section-heading-inline { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 22px; }
.section-heading-inline h2 { font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: -.035em; margin: 4px 0 0; }
.section-heading-inline > p { color: var(--muted); line-height: 1.5; margin: 0 0 3px; max-width: 440px; text-align: right; }
.section-index { color: var(--accent); font-size: .66rem; font-weight: 850; letter-spacing: .12em; margin: 0; }
.widget-grid { display: grid; grid-gap: 12px; gap: 12px; grid-template-columns: 1fr; }

/* Distinct assistant cards */
.voice-launcher {
  --voice-primary: var(--accent);
  --voice-secondary: #a7cfa9;
  --voice-accent: var(--gold);
  --voice-background: #eff7f0;
  --voice-surface: #fff;
  --voice-surface-strong: #e3f0e5;
  --voice-text: var(--foreground);
  --voice-muted: var(--muted);
  --voice-border: var(--line);
  --voice-glow: #78b98a;
  --voice-danger: var(--danger);
  background: var(--voice-surface);
  border: 1px solid color-mix(in srgb, var(--voice-border) 72%, #fff);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(28, 45, 39, .07), inset 0 1px rgba(255,255,255,.9);
  color: var(--voice-text);
  align-items: center;
  display: grid;
  grid-gap: 10px 24px;
  gap: 10px 24px;
  grid-template-columns: minmax(220px, 1.1fr) minmax(190px, 1fr) minmax(290px, .9fr);
  overflow: hidden;
  padding: 20px 22px;
  position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}
.voice-launcher:hover { box-shadow: 0 26px 54px color-mix(in srgb, var(--voice-primary) 14%, transparent); transform: translateY(-4px); }
.voice-launcher--greencare { background: linear-gradient(105deg, #fbfffc, #edf7f0); }
.voice-launcher--petcare { background: linear-gradient(105deg, #fffdf9, #fbf0e5); }
.voice-launcher--drivewise { background: linear-gradient(105deg, #f9fcff, #eaf2ff); }
.voice-launcher--freshlaundry { background: linear-gradient(105deg, #fbfeff, #eaf9fc); }
.voice-launcher--securefence { background: linear-gradient(105deg, #fffdfb, #f7eee9); }
.voice-launcher::before {
  background: var(--voice-primary);
  border-radius: 0 4px 4px 0;
  content: "";
  inset: 18px auto 18px 0;
  position: absolute;
  width: 3px;
}
.voice-launcher__brand-row { align-items: center; display: flex; gap: 11px; min-width: 0; }
.voice-launcher__brand-mark {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  border: 1px solid color-mix(in srgb, var(--voice-border) 70%, #fff);
  border-radius: 12px;
  flex: 0 0 auto;
  height: 42px;
  width: 42px;
}
.voice-launcher__kicker { color: var(--voice-primary); display: block; font-size: .63rem; font-weight: 850; letter-spacing: .06em; margin-bottom: 3px; text-transform: uppercase; }
.voice-launcher h2 { font-family: Georgia, serif; font-size: 1.28rem; font-weight: 500; line-height: 1.1; margin: 0; }
.voice-launcher > p { color: var(--voice-muted); font-size: .86rem; grid-column: 2; grid-row: 1; line-height: 1.45; margin: 0; }
.voice-launcher__capabilities { display: flex; gap: 6px; grid-column: 2; grid-row: 2; }
.voice-launcher__capabilities span { border: 1px solid color-mix(in srgb, var(--voice-primary) 16%, #ddd); border-radius: 999px; color: var(--voice-muted); font-size: .62rem; font-weight: 750; padding: 5px 8px; text-transform: uppercase; }
.voice-launcher__actions { display: grid; grid-gap: 8px; gap: 8px; grid-column: 3; grid-row: 1 / span 2; grid-template-columns: 1fr 1fr; margin-top: 0; }
.voice-launcher__button, .voice-launcher__text-button, .voice-selection__continue, .connection-error button, .call-ended button {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
}
.voice-launcher__button { background: var(--voice-primary); border: 1px solid var(--voice-primary); box-shadow: 0 9px 18px color-mix(in srgb, var(--voice-primary) 18%, transparent); color: #fff; }
.voice-launcher__text-button { background: rgba(255,255,255,.62); border: 1px solid color-mix(in srgb, var(--voice-primary) 24%, var(--voice-border)); color: var(--voice-primary); }
.voice-launcher__button:hover, .voice-launcher__text-button:hover { filter: brightness(.94); }
.button-icon { display: inline-block; height: 15px; margin-right: 7px; position: relative; width: 15px; }
.button-icon--voice { border: 1.8px solid currentColor; border-radius: 8px; height: 13px; width: 8px; }
.button-icon--voice::after { border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; border-radius: 0 0 8px 8px; border-right: 1.5px solid currentColor; content: ""; inset: 5px -4px -4px; position: absolute; }
.button-icon--text { border: 1.6px solid currentColor; border-radius: 4px; }
.button-icon--text::after { border-left: 4px solid currentColor; border-top: 4px solid transparent; bottom: -3px; content: ""; left: 2px; position: absolute; }
.voice-launcher__site-link { align-items: center; color: var(--voice-primary); display: flex; font-size: .75rem; font-weight: 750; grid-column: 1 / -1; justify-content: space-between; padding: 6px 4px 0; text-decoration: none; }
.voice-launcher__site-link:hover { text-decoration: underline; }

/* Docked widget foundation */
.voice-modal, .text-modal {
  --voice-primary: var(--accent);
  --voice-secondary: #a7cfa9;
  --voice-accent: var(--gold);
  --voice-background: #eff7f0;
  --voice-surface: #fff;
  --voice-surface-strong: #e3f0e5;
  --voice-text: var(--foreground);
  --voice-muted: var(--muted);
  --voice-border: var(--line);
  --voice-glow: #78b98a;
  --voice-danger: var(--danger);
  bottom: 22px;
  position: fixed;
  right: 22px;
  z-index: 1000;
}
.voice-modal__backdrop, .text-modal__backdrop { display: none; }
.voice-modal__panel, .text-modal__panel {
  animation: widgetEnter .28s ease both;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--voice-surface) 98%, transparent), color-mix(in srgb, var(--voice-background) 92%, #fff));
  border: 1px solid color-mix(in srgb, var(--voice-border) 72%, #fff);
  box-shadow: 0 30px 80px rgba(18, 32, 28, .2), 0 8px 24px rgba(18, 32, 28, .09);
  color: var(--voice-text);
  overflow: hidden;
  position: relative;
}
.voice-modal__panel { border-radius: 28px; max-height: min(760px, calc(100vh - 44px)); overflow-y: auto; padding: 25px; width: min(440px, calc(100vw - 44px)); }
.voice-modal__panel::before {
  background: radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--voice-glow) 14%, transparent), transparent 180px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.voice-modal__panel > * { position: relative; }
.voice-modal__window-actions, .text-chat__window-actions { display: flex; gap: 6px; position: absolute; right: 16px; top: 16px; z-index: 5; }
.voice-modal__close, .voice-modal__minimize, .text-chat__close, .text-chat__minimize {
  align-items: center;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--voice-border);
  border-radius: 50%;
  color: var(--voice-muted);
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}
.voice-modal__close:hover, .voice-modal__minimize:hover, .text-chat__close:hover, .text-chat__minimize:hover { background: #fff; color: var(--voice-text); }
.chat-widget-launcher {
  align-items: center;
  animation: widgetEnter .25s ease both;
  background: var(--voice-primary);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--voice-primary) 30%, transparent);
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 62px;
  padding: 8px 18px 8px 8px;
  position: relative;
}
.chat-widget-launcher__mark {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 72%;
  border-radius: 50%;
  height: 46px;
  width: 46px;
}
.chat-widget-launcher > span:last-child { display: grid; text-align: left; }
.chat-widget-launcher strong { font-size: .85rem; }
.chat-widget-launcher small { opacity: .75; }
.chat-widget-launcher__pulse { background: #5ce39f; border: 2px solid var(--voice-primary); border-radius: 50%; height: 10px; left: 43px; position: absolute; top: 7px; width: 10px; z-index: 2; }

/* Voice selection */
.voice-selection__heading { padding-right: 74px; }
.voice-modal__eyebrow { color: var(--voice-primary); font-size: .63rem; font-weight: 850; letter-spacing: .1em; margin: 0 0 7px; text-transform: uppercase; }
.voice-selection__heading h2, .assistant-identity h2, .connection-error h2, .call-ended h2 { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 8px; }
.voice-selection__heading p, .assistant-identity p, .connection-error p, .call-ended p { color: var(--voice-muted); font-size: .88rem; line-height: 1.45; margin: 0; }
.voice-selection__preview { align-items: center; background: color-mix(in srgb, var(--voice-surface-strong) 75%, #fff); border: 1px solid var(--voice-border); border-radius: 14px; display: flex; font-size: .76rem; justify-content: space-between; margin-top: 16px; padding: 10px 12px; }
.voice-selection__preview span { color: var(--voice-muted); }
.voice-selection__preview strong { color: var(--voice-primary); }
.voice-grid { display: grid; grid-gap: 8px; gap: 8px; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 16px 0 12px; }
.voice-card { background: rgba(255,255,255,.68); border: 1px solid var(--voice-border); border-radius: 15px; display: grid; grid-gap: 8px; gap: 8px; padding: 11px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.voice-card:hover { border-color: color-mix(in srgb, var(--voice-primary) 45%, var(--voice-border)); transform: translateY(-1px); }
.voice-card--selected { background: color-mix(in srgb, var(--voice-surface-strong) 52%, #fff); border-color: var(--voice-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--voice-primary) 12%, transparent); }
.voice-card__select { background: transparent; border: 0; color: inherit; cursor: pointer; display: grid; grid-gap: 4px; gap: 4px; padding: 0; text-align: left; }
.voice-card__topline { align-items: center; display: flex; justify-content: space-between; }
.voice-card__name { font-family: Georgia, serif; font-size: 1.03rem; font-weight: 600; }
.voice-card__check { align-items: center; background: var(--voice-primary); border-radius: 50%; color: #fff; display: flex; font-size: .58rem; height: 17px; justify-content: center; opacity: 0; transform: scale(.7); transition: .18s; width: 17px; }
.voice-card--selected .voice-card__check { opacity: 1; transform: scale(1); }
.voice-card__meta { color: var(--voice-primary); font-size: .59rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.voice-card__description { color: var(--voice-muted); font-size: .72rem; line-height: 1.35; min-height: 29px; }
.voice-card__preview { background: rgba(255,255,255,.8); border: 1px solid var(--voice-border); border-radius: 999px; color: var(--voice-primary); cursor: pointer; font-size: .69rem; font-weight: 800; min-height: 30px; }
.voice-card__play-icon { font-size: .6rem; margin-right: 4px; }
.voice-selection__error { background: #fff2ef; border: 1px solid #f4c7bf; border-radius: 10px; color: var(--danger); font-size: .78rem; padding: 9px; }
.voice-selection__continue { background: var(--voice-primary); border: 0; color: #fff; position: -webkit-sticky; position: sticky; bottom: 0; width: 100%; }
.voice-selection__continue:disabled { background: #aab3af; cursor: not-allowed; }

/* Active call */
.voice-preparing { align-items: center; display: grid; grid-gap: 18px; gap: 18px; justify-items: center; min-height: 470px; padding: 6px 0 12px; text-align: center; }
.voice-preparing .assistant-identity { justify-self: stretch; }
.voice-preparing__signal { align-items: center; display: flex; height: 104px; justify-content: center; position: relative; width: 104px; }
.voice-preparing__signal span { border: 1px solid color-mix(in srgb, var(--voice-primary) 45%, transparent); border-radius: 50%; inset: 0; position: absolute; }
.voice-preparing__signal span:nth-child(1) { animation: preparePulse 1.8s ease-out infinite; background: radial-gradient(circle, color-mix(in srgb, var(--voice-glow) 42%, #fff), color-mix(in srgb, var(--voice-primary) 16%, #fff)); border: 0; inset: 28px; }
.voice-preparing__signal span:nth-child(2) { animation: preparePulse 1.8s .35s ease-out infinite; inset: 14px; }
.voice-preparing__signal span:nth-child(3) { animation: preparePulse 1.8s .7s ease-out infinite; }
.voice-preparing__copy h3 { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.025em; margin: 0 0 7px; }
.voice-preparing__copy > p:last-child { color: var(--voice-muted); font-size: .8rem; line-height: 1.5; margin: 0 auto; max-width: 290px; }
.voice-preparing__steps { display: grid; grid-gap: 6px; gap: 6px; grid-template-columns: repeat(3, 1fr); width: 100%; }
.voice-preparing__step { background: rgba(255,255,255,.65); border: 1px solid var(--voice-border); border-radius: 999px; color: var(--voice-muted); font-size: .61rem; font-weight: 800; padding: 7px 8px; text-transform: uppercase; }
.voice-preparing__step::before { animation: prepareDot 1.2s ease infinite; background: var(--voice-primary); border-radius: 50%; content: ""; display: inline-block; height: 5px; margin-right: 6px; vertical-align: 1px; width: 5px; }
.voice-preparing__step--complete::before { animation: none; background: #36aa72; }
.voice-call { align-items: center; display: grid; grid-gap: 14px; gap: 14px; justify-items: center; padding-top: 2px; text-align: center; }
.assistant-identity { align-items: center; display: flex; gap: 11px; justify-self: stretch; padding-right: 72px; text-align: left; }
.assistant-identity__avatar { align-items: center; background: linear-gradient(145deg, var(--voice-primary), var(--voice-accent)); border: 1px solid var(--voice-border); border-radius: 14px; display: flex; flex: 0 0 auto; height: 48px; justify-content: center; overflow: hidden; width: 48px; }
.assistant-identity__avatar img { height: 100%; object-fit: cover; width: 100%; }
.assistant-identity__avatar span { color: #fff; font-weight: 900; }
.assistant-identity h2 { font-size: 1.35rem; margin-bottom: 2px; }
.assistant-identity__subtitle { color: var(--voice-muted); display: block; font-size: .7rem; margin-top: 2px; }
.voice-orb-stack { align-items: center; display: grid; grid-gap: 8px; gap: 8px; justify-items: center; margin: 3px 0; }
.voice-orb { --voice-level: .2; align-items: center; display: flex; height: 142px; justify-content: center; position: relative; transform: scale(calc(.96 + var(--voice-level) * .1)); transition: transform .14s; width: 142px; }
.voice-orb__core { background: radial-gradient(circle at 34% 27%, #fff, color-mix(in srgb, var(--voice-glow) 60%, #fff) 30%, var(--voice-primary) 66%, color-mix(in srgb, var(--voice-primary) 62%, #000)); border-radius: 50%; box-shadow: 0 18px 45px color-mix(in srgb, var(--voice-glow) 36%, transparent), inset 0 0 26px rgba(255,255,255,.5); height: 116px; position: absolute; width: 116px; }
.voice-orb__ring { border: 1.5px solid color-mix(in srgb, var(--voice-primary) 55%, transparent); border-radius: 50%; inset: 0; position: absolute; }
.voice-orb__ring--two { inset: -8px; opacity: 0; }
.voice-orb__label { display: none; }
.voice-orb-caption { background: color-mix(in srgb, var(--voice-surface-strong) 72%, #fff); border: 1px solid var(--voice-border); border-radius: 999px; color: var(--voice-primary); font-size: .61rem; font-weight: 900; letter-spacing: .08em; min-width: 102px; padding: 7px 11px; text-transform: uppercase; }
.voice-orb--playful .voice-orb__core { border-radius: 42% 58% 48% 52%; }
.voice-orb--radar .voice-orb__ring--one { border-style: dashed; }
.voice-orb--fluid .voice-orb__core { animation: fluidMorph 4.2s ease-in-out infinite; border-radius: 47% 53% 55% 45%; }
.voice-orb--geometric .voice-orb__core, .voice-orb--geometric .voice-orb__ring { border-radius: 28%; }
.voice-orb--radar .voice-orb__wave { border-top: 2px solid var(--voice-accent); height: 1px; position: absolute; transform-origin: left; width: 68px; }
.voice-orb--wave-bars .voice-orb__wave { background: repeating-linear-gradient(90deg, var(--voice-accent) 0 3px, transparent 3px 8px); bottom: 34px; height: 17px; opacity: .58; position: absolute; width: 55px; }
.voice-orb--wave-line .voice-orb__wave { border-top: 2px solid var(--voice-accent); bottom: 34px; position: absolute; width: 55px; }
.voice-orb--listening .voice-orb__ring--one { animation: breatheRing 1.8s ease infinite; }
.voice-orb--thinking .voice-orb__ring--one, .voice-orb--connecting .voice-orb__ring--one, .voice-orb--requesting_microphone .voice-orb__ring--one, .voice-orb--reconnecting .voice-orb__ring--one { animation: orbit 2s linear infinite; border-style: dashed; }
.voice-orb--speaking .voice-orb__ring--one { animation: speakRing .9s ease infinite; }
.voice-orb--speaking .voice-orb__ring--two { animation: speakRing .9s .15s ease infinite; opacity: 1; }
.voice-orb--muted { filter: grayscale(.65); }
.voice-status { background: color-mix(in srgb, var(--voice-surface-strong) 68%, #fff); border: 1px solid var(--voice-border); border-radius: 14px; display: grid; grid-gap: 4px; gap: 4px; padding: 10px 13px; width: 100%; }
.voice-status__row { align-items: center; display: flex; gap: 8px; justify-content: center; }
.voice-status__dot { background: var(--voice-primary); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--voice-primary) 12%, transparent); height: 7px; width: 7px; }
.voice-status__detail { color: var(--voice-text); font-size: .78rem; font-weight: 650; margin: 0; }
.voice-status__timer { color: var(--voice-muted); font-size: .67rem; margin: 0; }
.call-controls { display: grid; grid-gap: 8px; gap: 8px; grid-template-columns: repeat(2, 1fr); width: 100%; }
.call-controls button { background: rgba(255,255,255,.75); border: 1px solid var(--voice-border); border-radius: 14px; color: var(--voice-primary); cursor: pointer; display: grid; grid-gap: 2px; gap: 2px; min-height: 52px; padding: 8px; }
.call-controls__end { background: var(--voice-danger) !important; border-color: var(--voice-danger) !important; color: #fff !important; }
.call-controls__mute--muted { background: #fff0ec !important; color: var(--voice-danger) !important; }
.call-controls__transcript--open { background: color-mix(in srgb, var(--voice-secondary) 38%, #fff) !important; }
.call-controls__button-title { font-size: .78rem; font-weight: 850; }
.call-controls__button-subtitle { font-size: .56rem; font-weight: 750; opacity: .7; text-transform: uppercase; }
.transcript-panel { background: rgba(255,255,255,.76); border: 1px solid var(--voice-border); border-radius: 14px; max-height: 190px; overflow: auto; padding: 12px; text-align: left; width: 100%; }
.transcript-panel h3 { font-family: Georgia, serif; margin: 0 0 10px; }
.transcript-panel__line { display: grid; font-size: .75rem; grid-gap: 3px; gap: 3px; margin: 0 0 10px; }
.transcript-panel__line strong { color: var(--voice-primary); }
.transcript-panel__line--interim { opacity: .6; }
.transcript-panel__empty { color: var(--voice-muted); font-size: .75rem; margin: 0; }
.connection-error, .call-ended { display: grid; grid-gap: 14px; gap: 14px; padding: 30px 0 8px; }
.connection-error__actions, .call-ended__actions { display: flex; gap: 8px; }
.connection-error button, .call-ended button { border: 1px solid var(--voice-border); }
.connection-error button:first-child, .call-ended button:first-child { background: var(--voice-primary); border-color: var(--voice-primary); color: #fff; }
.connection-error button + button, .call-ended button + button { background: #fff; color: var(--voice-primary); }
.call-ended__note { font-size: .75rem !important; font-weight: 700; }

/* Text chat widget */
.text-modal__panel { border-radius: 28px; display: grid; grid-template-rows: auto minmax(280px,1fr) auto auto auto; height: min(650px, calc(100vh - 44px)); width: min(410px, calc(100vw - 44px)); }
.text-chat__header { align-items: center; background: color-mix(in srgb, var(--voice-surface-strong) 42%, #fff); border-bottom: 1px solid var(--voice-border); display: grid; grid-gap: 11px; gap: 11px; grid-template-columns: 44px 1fr auto; padding: 16px; position: relative; }
.text-chat__brand, .text-chat__empty-mark { background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: 70%; border: 1px solid var(--voice-border); border-radius: 13px; height: 44px; width: 44px; }
.text-chat__header h2 { font-family: Georgia, serif; font-size: 1.18rem; font-weight: 600; line-height: 1; margin: 0 0 5px; }
.text-chat__header p { align-items: center; color: var(--voice-muted); display: flex; font-size: .64rem; gap: 6px; margin: 0; }
.text-chat__online { background: #36aa72; border-radius: 50%; box-shadow: 0 0 0 3px rgba(54,170,114,.12); height: 6px; width: 6px; }
.text-chat__window-actions { position: static; }
.text-chat__messages { align-content: start; display: grid; grid-gap: 10px; gap: 10px; overflow-y: auto; padding: 18px 16px; }
.text-chat__empty { align-items: center; align-self: center; color: var(--voice-muted); display: grid; grid-gap: 7px; gap: 7px; justify-items: center; padding: 40px 20px; text-align: center; }
.text-chat__empty-mark { height: 52px; margin-bottom: 5px; width: 52px; }
.text-chat__empty strong { color: var(--voice-text); font-family: Georgia, serif; font-size: 1.08rem; }
.text-chat__empty span:last-child { font-size: .74rem; line-height: 1.4; }
.text-chat__message { display: flex; }
.text-chat__message span, .text-chat__thinking, .text-chat__error { border-radius: 16px 16px 16px 5px; font-size: .82rem; line-height: 1.45; max-width: 84%; padding: 10px 12px; }
.text-chat__message--assistant span, .text-chat__thinking { background: #fff; border: 1px solid var(--voice-border); }
.text-chat__message--user { justify-content: flex-end; }
.text-chat__message--user span { background: var(--voice-primary); border-radius: 16px 16px 5px 16px; color: #fff; }
.text-chat__message small { align-self: end; color: var(--voice-danger); margin-left: 6px; }
.text-chat__thinking { color: var(--voice-muted); font-style: italic; width: -moz-fit-content; width: fit-content; }
.text-chat__error { background: #fff2ef; border: 1px solid #f4c7bf; color: var(--voice-danger); }
.text-chat__quick { display: flex; gap: 7px; overflow-x: auto; padding: 0 16px 11px; scrollbar-width: none; }
.text-chat__quick button, .text-chat__footer button { background: color-mix(in srgb, var(--voice-surface-strong) 65%, #fff); border: 1px solid var(--voice-border); border-radius: 999px; color: var(--voice-primary); cursor: pointer; flex: 0 0 auto; font-size: .67rem; font-weight: 750; padding: 7px 10px; }
.text-chat__composer { align-items: end; border-top: 1px solid var(--voice-border); display: grid; grid-gap: 9px; gap: 9px; grid-template-columns: 1fr auto; padding: 12px 14px; }
.text-chat__composer textarea { background: rgba(255,255,255,.85); border: 1px solid var(--voice-border); border-radius: 15px; color: var(--voice-text); min-height: 48px; outline: 0; padding: 12px; resize: none; }
.text-chat__composer textarea:focus { border-color: var(--voice-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--voice-primary) 10%, transparent); }
.text-chat__composer button { background: var(--voice-primary); border: 0; border-radius: 50%; color: #fff; cursor: pointer; font-size: 1.1rem; height: 44px; transform: rotate(45deg); width: 44px; }
.text-chat__composer button span { display: block; transform: rotate(-45deg); }
.text-chat__composer button:disabled { background: #a8b1ad; cursor: not-allowed; }
.text-chat__footer { align-items: center; color: var(--voice-muted); display: flex; font-size: .63rem; justify-content: space-between; padding: 0 14px 12px; }

@keyframes widgetEnter { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes preparePulse { 0% { opacity: .25; transform: scale(.72); } 55% { opacity: .85; } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes prepareDot { 50% { opacity: .28; } }
@keyframes breatheRing { 50% { opacity: .5; transform: scale(1.06); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes speakRing { from { opacity: .8; transform: scale(.94); } to { opacity: 0; transform: scale(1.18); } }
@keyframes fluidMorph { 50% { border-radius: 58% 42% 44% 56%; } }

@media (max-width: 900px) {
  .voice-launcher { gap: 10px 18px; grid-template-columns: minmax(210px, .9fr) 1.1fr; }
  .voice-launcher > p { grid-column: 2; grid-row: 1; }
  .voice-launcher__capabilities { grid-column: 1; grid-row: 2; }
  .voice-launcher__actions { grid-column: 2; grid-row: 2; }
}
@media (max-width: 620px) {
  .page { padding: 20px 14px 50px; }
  .header { padding: 25px 0 38px; }
  .header__status { align-items: flex-start; gap: 12px; margin-bottom: 25px; }
  .header__availability { display: none; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .lede { margin-top: 25px; }
  .section-heading-inline { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-heading-inline > p { text-align: left; }
  .widget-grid { grid-template-columns: 1fr; }
  .voice-launcher { align-items: stretch; gap: 12px; grid-template-columns: 1fr; padding: 18px; }
  .voice-launcher__brand-row, .voice-launcher > p, .voice-launcher__capabilities, .voice-launcher__actions { grid-column: 1; grid-row: auto; }
  .voice-modal, .text-modal { bottom: 0; left: 0; right: 0; }
  .voice-modal__panel, .text-modal__panel { border: 0; border-radius: 0; height: 100dvh; max-height: 100dvh; width: 100%; }
  .voice-modal__panel { padding: max(22px, env(safe-area-inset-top)) 17px max(20px, env(safe-area-inset-bottom)); }
  .voice-grid { grid-template-columns: 1fr 1fr; }
  .chat-widget-launcher { bottom: max(14px, env(safe-area-inset-bottom)); margin-left: auto; margin-right: 14px; width: -moz-fit-content; width: fit-content; }
  .text-chat__composer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 390px) {
  .voice-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 1ms !important; }
}

