:root{--bg: #0b1320;--surface: #121e31;--surface-2: #1b2a42;--line: #1e2f48;--text: #ffffff;--muted: #94a3b8;--dim: #64748b;--accent: #10b981;--speak: #38bdf8;--danger: #ef4444;--sans: "Manrope", "Noto Sans TC", "Noto Sans JP", -apple-system, "Segoe UI", sans-serif;--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--display: "DM Sans", "Noto Sans TC", "Noto Sans JP", -apple-system, sans-serif;--gutter: 80px;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 var(--sans);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}.page{display:flex;flex-direction:column;min-height:100dvh}.nav{display:flex;align-items:center;justify-content:space-between;padding:calc(24px + env(safe-area-inset-top)) var(--gutter) 24px;border-bottom:1px solid var(--line)}.logo{display:flex;align-items:center}.logo--nav{gap:8px}.logo--footer{gap:10px}.logo__mark{display:flex;align-items:center;gap:2px;width:24px;height:16px;justify-content:center}.logo__mark span{width:2px;border-radius:1px;background:var(--accent)}.logo__word{font-weight:800;letter-spacing:-.01em}.logo--nav .logo__word{font-size:20px}.logo--footer .logo__word{font-family:var(--display);font-size:22px}.badge{display:flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-family:var(--mono);font-size:11px;font-weight:600;color:var(--muted)}.badge__dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.hero{position:relative;display:flex;flex-direction:column;align-items:center;gap:48px;padding:80px var(--gutter) 100px;overflow-x:clip}.hero__glow,.footer__glow{position:absolute;pointer-events:none;background:radial-gradient(closest-side,rgba(16,185,129,.18),transparent 100%)}.hero__glow{top:-100px;left:50%;width:800px;height:400px;transform:translate(-50%)}.hero__head{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;width:min(800px,100%);text-align:center}.pill{padding:8px 16px;border:1px solid var(--line);border-radius:100px;background:var(--surface);font-size:14px;font-weight:600;color:var(--accent)}.hero h1{font-size:40px;font-weight:800;letter-spacing:-.01em}.hero__sub{display:flex;flex-direction:column;max-width:704px;font-size:18px;color:var(--muted)}.widget{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:24px;width:min(560px,100%);min-height:648px;padding:32px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 16px 32px #0000004d}.widget__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.clinic h2{font-size:22px;font-weight:800}.langs{display:flex;flex-shrink:0;gap:2px;padding:3px;border-radius:100px;background:var(--surface-2)}.lang{border:none;border-radius:100px;background:transparent;color:var(--dim);font:500 12px var(--sans);padding:4px 12px;cursor:pointer}.lang--on{background:var(--surface);color:var(--text);font-weight:600}.lang:disabled{cursor:not-allowed;opacity:.55}.providers{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:2px;margin-top:14px;padding:3px;border-radius:14px;background:var(--surface-2)}.provider{display:flex;flex-direction:column;align-items:center;gap:1px;border:none;border-radius:11px;background:transparent;color:var(--dim);padding:6px 8px;cursor:pointer}.provider__name{font:600 12px var(--sans)}.provider__model{font:400 11px var(--mono);opacity:.8}.provider--on{background:var(--surface);color:var(--text)}.provider:disabled{cursor:not-allowed;opacity:.55}.reasoning{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.reasoning__label{color:var(--dim);font:500 12px var(--sans)}.orb{display:grid;place-items:center;height:180px}.orb__ring{display:grid;place-items:center;width:160px;height:160px;border:1px solid rgba(16,185,129,.2);border-radius:50%;background:#10b9811a;transition:transform 90ms linear}.orb__core{display:grid;place-items:center;align-content:center;gap:2px;width:120px;height:120px;border:2px solid var(--line);border-radius:50%;background:var(--surface);text-align:center}.orb__label{font-size:16px;font-weight:600;padding:0 10px}.orb__mono{font-family:var(--mono);font-size:11px;font-weight:500;color:var(--accent)}.orb--listening .orb__core{border-color:var(--accent)}.orb--speaking .orb__core{border-color:var(--speak);animation:breathe 1.6s ease-in-out infinite}.orb--speaking .orb__mono{color:var(--speak)}.orb--thinking .orb__mono,.orb--connecting .orb__mono{animation:fade 1.2s ease-in-out infinite}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.045)}}@keyframes fade{0%,to{opacity:1}50%{opacity:.45}}.log{flex:1 1 auto;display:flex;flex-direction:column;gap:8px;min-height:160px;max-height:40vh;overflow-y:auto;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}.log--empty{flex:0 0 auto;height:160px;align-items:center;justify-content:center;text-align:center;gap:0}.log__hint{font-size:15px;line-height:1.6;color:var(--muted)}.bubble{max-width:82%;padding:9px 13px;border-radius:14px;font-size:15px;white-space:pre-wrap;word-break:break-word}.bubble--agent{align-self:flex-start;background:var(--surface-2);border-bottom-left-radius:4px}.bubble--patient{align-self:flex-end;background:#10b98129;border:1px solid rgba(16,185,129,.28);border-bottom-right-radius:4px}.bubble--live{opacity:.6;font-style:italic}.widget__foot{display:grid;gap:12px;justify-items:center}.error{width:100%;padding:10px 12px;border:1px solid rgba(239,68,68,.35);border-radius:8px;background:#ef44441f;font-size:13px;color:#fca5a5}.ended{font-size:13px;color:var(--muted);text-align:center}.sid{padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:var(--bg);font-family:var(--mono);font-size:11px;color:var(--dim)}.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:16px 24px;border:none;border-radius:16px;font:700 16px var(--sans);color:#fff;cursor:pointer;transition:filter .12s ease}.btn:hover{filter:brightness(1.08)}.btn--start{background:var(--accent)}.btn--end{background:var(--danger)}.features{display:flex;flex-direction:column;gap:104px;padding:100px var(--gutter) 120px}.features__head{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}.features__head h2{font-size:32px;font-weight:800}.rule{width:60px;height:3px;background:var(--accent)}.features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{display:flex;flex-direction:column;gap:20px;padding:40px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.card header{display:flex;align-items:center;gap:12px}.card__dot{flex-shrink:0;width:10px;height:10px;border-radius:50%;background:var(--accent)}.card h3{font-size:20px;font-weight:700}.card__body{font-size:16px;line-height:1.6;color:var(--muted)}.footer{position:relative;display:flex;flex-direction:column;gap:60px;padding:80px var(--gutter) calc(40px + env(safe-area-inset-bottom));overflow:hidden}.footer__glow{top:243px;left:calc(50% - 591px);width:453px;height:400px;transform:translate(-50%)}.contact{position:relative;display:flex;flex-direction:column;gap:16px;text-align:center}.contact h2{font-size:28px;font-weight:800}.contact p{font-size:16px;color:var(--muted)}.contact__divider{align-self:center;width:280px;height:1px;background:var(--line)}.footer__cols{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:40px}.footer__brand,.footer__contact{display:flex;flex-direction:column;font-family:var(--display)}.footer__brand{gap:16px;width:320px}.footer__contact{gap:12px;width:480px}.footer__brand p,.footer__contact p{font-size:14px;line-height:1.5;color:var(--muted)}.footer__contact a{font-size:20px;font-weight:700;color:var(--accent);text-decoration:none}.footer__contact a:hover{text-decoration:underline}.footer__bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid var(--line);font-family:var(--display);font-size:12px;color:var(--muted)}.footer__dim{color:var(--dim)}@media (max-width: 900px){:root{--gutter: 24px}.hero{gap:32px;padding-top:48px;padding-bottom:64px}.hero h1{font-size:28px}.hero__sub{font-size:15px}.widget{min-height:0;padding:24px;border-radius:20px}.features{gap:48px;padding:64px var(--gutter) 72px}.features__head h2{font-size:24px}.features__grid{grid-template-columns:1fr}.card{padding:28px}.footer{gap:40px;padding-top:56px}.footer__cols{flex-direction:column;gap:32px}.footer__brand,.footer__contact{width:100%}.footer__bottom{flex-direction:column;align-items:flex-start;gap:8px}.footer__glow{display:none}}
