@font-face { font-family: "Golos Text"; src: url("./assets/golos.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
:root {
  color-scheme: light;
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #241b42;
  --dim: #635a7b;
  --paper: #fffdff;
  --lavender: #eee8fa;
  --purple: #542da1;
  --line: #e7def2;
  --green: #16865d;
  --red: #dc3d57;
  color: var(--ink);
  background: #f5f0ff;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 290px; min-height: 100svh; background: radial-gradient(ellipse at 15% 0, #fff4de, transparent 48%), radial-gradient(ellipse at 90% 86%, #dfe9ff, transparent 49%), #f5f0ff; }
[hidden], .definitions { display: none !important; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.shell { max-width: 1170px; margin-inline: auto; padding: 24px clamp(18px, 5vw, 64px) 32px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 3px 22px; }
.brand, .type { display: inline-flex; align-items: center; gap: 9px; }
.brand { font-size: 17px; font-weight: 780; letter-spacing: -.027em; }
.logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: #ffca77; color: #412738; }
.logo svg { width: 23px; height: 23px; }
.type { font-size: 13px; color: var(--dim); font-weight: 590; }
.type svg { width: 17px; height: 17px; }
.call-card { background: var(--paper); border: 1px solid #4835641a; border-radius: 29px; padding: 17px; box-shadow: 0 22px 55px #39235a16, 0 4px 10px #39235a0a; }
.call-header { display: flex; align-items: center; justify-content: space-between; margin: 0 5px 14px; }
.call-header > div { display: flex; align-items: center; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; }
h1 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1; font-weight: 850; letter-spacing: -.055em; }
.status, .timer { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 10px; background: #f1edf8; color: #5a4f73; white-space: nowrap; font-size: 13px; font-weight: 660; }
.timer { min-width: 58px; justify-content: center; font-variant-numeric: tabular-nums; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #16865d; }
[data-state="dialing"] .dot { background: #bd6d0b; animation: pulse .72s ease-in-out infinite alternate; }
[data-state="ended"] .dot { background: #766c84; }
[data-state="speaking"] .dot { background: #7e4bc7; }
@keyframes pulse { to { opacity: .34; } }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stage, .caller-stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.25; border-radius: 19px; }
.stage { background: linear-gradient(151deg, #b5efff, #84d9f3 63%, #5bc8ee); }
.scenery { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; pointer-events: none; }
.kitten { position: absolute; height: 116%; left: 50%; bottom: -17%; aspect-ratio: 664/898; transform: translateX(-50%); pointer-events: none; }
.kitten canvas, .kitten img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 11px 13px #2485bb33); }
.screen-name { position: absolute; bottom: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 9px; border-radius: 8px; background: #251d43dd; color: white; font-size: 13px; font-weight: 660; }
.screen-name svg { width: 14px; height: 14px; }
.caller-stage { display: grid; place-items: center; background: radial-gradient(circle at 52% 48%, #e9ddff 0 23%, #ded2f4 24% 44%, transparent 45%), #e5dcf4; }
.caller-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); background: #302746; }
.camera-placeholder { display: grid; place-items: center; gap: 11px; color: #5b4a79; font-size: 14px; font-weight: 660; text-align: center; padding: 8px; }
.camera-avatar { display: grid; place-items: center; width: clamp(48px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%; background: #f9f3ff; color: #6d48aa; }
.camera-avatar svg { width: 54%; height: 54%; stroke-width: 1.55; }
.call-footer { display: grid; place-items: center; gap: 12px; min-height: 99px; padding: 16px 0 0; }
.entry { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 17px; }
.primary, .demo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; white-space: nowrap; }
.primary { min-height: 53px; padding: 0 24px; border-radius: 999px; color: #fff; background: var(--green); box-shadow: 0 4px 0 #075d40; font-size: 16px; font-weight: 750; }
.primary:hover { background: #127853; }
.primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #075d40; }
.demo { min-height: 44px; color: #513c77; padding: 0 6px; background: transparent; font-size: 14px; font-weight: 630; }
.demo:hover { text-decoration: underline; }
.primary svg, .demo svg { width: 20px; height: 20px; }
.controls { display: flex; align-items: flex-start; justify-content: center; gap: clamp(12px, 3vw, 25px); }
.control { min-width: 63px; text-align: center; display: grid; justify-items: center; gap: 5px; }
.control > span { color: var(--dim); font-size: 12px; font-weight: 610; }
.round { --button-bg: #eee8f8; color: #432f66; display: grid; place-items: center; width: 53px; height: 53px; padding: 0; border: 0; border-radius: 50%; background: var(--button-bg); }
.round:not(:disabled):hover { --button-bg: #e2d6f3; }
.round:disabled { opacity: .55; }
.round .off-mark { display: none; }
.round.is-off .off-mark, .round.camera-off .off-mark { display: inline; }
.slash-shadow { stroke: #eee8f8; stroke-width: 4.7; }
.round.end { --button-bg: var(--red); color: #fff; }
.round.end:hover { --button-bg: #c92d48; }
.suggestions { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.suggestions button { border: 1px solid #e4d9f0; border-radius: 999px; padding: 8px 10px; min-height: 38px; font-size: 13px; color: #4b346f; background: #f6f0ff; }
.suggestions button:hover { background: #eadff8; }
.notice { margin: 0; padding: 8px 12px; border-radius: 11px; color: #633d22; background: #fff1da; font-size: 14px; line-height: 1.45; }
@media (max-width: 690px) {
  .shell { padding: 15px clamp(12px, 4vw, 28px) 22px; }
  .topbar { margin-bottom: 14px; }
  .brand { font-size: 15px; }
  .logo { width: 32px; height: 32px; border-radius: 10px; }
  .logo svg { width: 20px; height: 20px; }
  .call-card { border-radius: 22px; padding: 12px; }
  .call-header { margin-bottom: 11px; }
  .call-header > div { display: grid; justify-items: start; }
  .screens { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stage, .caller-stage { aspect-ratio: 1.92; border-radius: 14px; }
  .kitten { height: 129%; bottom: -28%; }
  .screen-name { left: 8px; bottom: 8px; font-size: 12px; }
  .call-footer { min-height: 86px; padding-top: 12px; }
  .entry { gap: 2px 12px; }
  .round { width: 48px; height: 48px; }
}
@media (max-width: 355px) {
  .control { min-width: 54px; }
  .controls { gap: 6px; }
  .control > span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; } }
