:root { color-scheme: light; font: 16px/1.5 "Inter","Segoe UI",sans-serif; color:#26273d; background:#eef0f9; }
* { box-sizing:border-box; }
body { margin:0; min-height:100svh; background:radial-gradient(ellipse at 30% 38%,#f9f7fc 5%,transparent 64%),#eef0f9; }
main { max-width:1020px; padding:0 36px 32px; margin:auto; }
header { min-height:96px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #d5d7e5; gap:14px; }
.brand { display:inline-flex; align-items:center; gap:10px; font:650 24px "Inter","Segoe UI",sans-serif; letter-spacing:-1px; }
.brand i { display:grid; place-items:center; background:#33364f; color:white; width:32px; height:32px; border-radius:11px; font:26px/1 Georgia,serif; }
.product,label { font-size:.87rem; color:#52556c; }
section { min-height:65svh; display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:clamp(2rem,6vw,6rem); padding:60px 0; }
.instrument { aspect-ratio:1; display:grid; place-items:center; width:min(100%,420px); justify-self:center; }
.rim,.core { display:grid; place-items:center; border-radius:50%; }
.rim { width:88%; height:88%; background:repeating-radial-gradient(ellipse at center,transparent 0 7px,#8587b536 8px,transparent 9px 12px); }
.core { width:74%; height:74%; background:radial-gradient(circle at 32% 23%,#e7e3ff 0%,#c7bcfa 21%,#979bdc 48%,#5e6498 73%,#383b61 98%); box-shadow:inset 0 0 20px #b1b4f1,0 12px 40px #62699533; }
.wave { display:flex; align-items:center; justify-content:center; gap:4px; height:40%; width:64%; }
.wave i { display:block; flex:1; max-width:6px; height:var(--bar); background:#fff; border-radius:4px; box-shadow:0 1px 4px #323c6450; }
[data-mode="talk"] .wave i,[data-mode="listen"] .wave i { animation:pulse .72s ease-in-out infinite alternate; animation-delay:var(--delay); }
[data-mode="wait"] .core { animation:breathe 1.6s ease-in-out infinite alternate; }
@keyframes pulse { to { transform:scaleY(.36); } }
@keyframes breathe { to { opacity:.74; } }
.controls { width:min(100%,390px); }
h1 { font:600 clamp(2.1rem,4vw,3.35rem)/1.09 "Inter","Segoe UI",sans-serif; margin:0; letter-spacing:-.055em; }
#status { margin:13px 0 25px; color:#565a72; }
label { display:block; margin-bottom:6px; }
input,button { font:inherit; border-radius:12px; }
input { width:100%; border:1px solid #9b9db5; padding:11px 14px; background:#fafaff; color:inherit; }
button { min-height:48px; padding:10px 18px; cursor:pointer; font-weight:600; border:1px solid #b5b8cb; background:#f8f8fd; color:inherit; }
button:hover { filter:brightness(.96); }
button:disabled { opacity:.55; cursor:default; }
button:focus-visible,input:focus-visible { outline:3px solid #6566b0; outline-offset:3px; }
.primary { width:100%; color:white; border-color:#41446d; background:#41446d; }
form button { margin-top:12px; }
.during { display:flex; gap:8px; flex-wrap:wrap; }
.during button { flex:1 auto; }
.end { color:#953c52; border-color:#d5acba; background:#ffeff3; }
#notice { margin:18px 0 0; color:#853d46; font-size:.92rem; }
[hidden] { display:none !important; }
@media(max-width:680px) {
  main { padding:0 22px 32px; } header { min-height:72px; } .brand { font-size:21px; }
  section { grid-template-columns:1fr; gap:16px; justify-items:center; padding:24px 0; }
  .instrument { width:min(72vw,290px); } h1,#status { text-align:center; }
}
@media(prefers-reduced-motion:reduce) { *,*::before { animation:none !important; } }
