:root{color-scheme:light;--ink:#252321;--muted:#77716c;--cream:#f7f3ed;--gold:#d6ae83;--line:#e8dfd4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--cream);color:var(--ink)}body{min-height:100svh}.friend-shell{min-height:100svh;display:flex;flex-direction:column;max-width:1120px;margin:auto;padding:clamp(16px,3vw,34px)}.friend-header{display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;gap:10px;align-items:center;color:inherit;text-decoration:none;font-size:20px;font-weight:750;letter-spacing:-.04em}.brand img{width:34px;height:34px;object-fit:contain}.home-link{color:var(--muted);text-decoration:none;font-size:14px;padding:10px 14px;border:1px solid var(--line);border-radius:999px}.home-link:hover{color:var(--ink);background:#fff}.friend-stage{position:relative;isolation:isolate;flex:1;min-height:580px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:50px 20px 32px;overflow:hidden}.halo{position:absolute;z-index:-1;width:min(64vw,560px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fffdfa 0%,#f6ecdf 56%,rgba(247,243,237,0) 72%);opacity:.9}.ghost{width:min(45vw,340px);height:min(45vw,300px);object-fit:contain;filter:drop-shadow(0 22px 22px rgba(37,35,33,.12));animation:float 4.4s ease-in-out infinite;transition:opacity .22s ease,transform .35s ease}.friend-stage.recording .ghost{animation:listen 2.5s ease-in-out infinite}.friend-stage.playing .ghost{animation:float 1.6s ease-in-out infinite}.eyebrow{margin:5px 0 9px;color:#90765d;font-size:11px;letter-spacing:.2em;font-weight:750}.friend-stage h1{margin:0;font-size:clamp(28px,4.2vw,42px);line-height:1.12;letter-spacing:-.045em}.friend-status{margin:13px 0 23px;color:var(--muted);font-size:15px;min-height:24px}.talk-button{appearance:none;border:0;min-width:142px;min-height:58px;padding:0 32px;border-radius:999px;background:var(--ink);color:#fff;font:700 16px/1 inherit;box-shadow:0 12px 30px rgba(37,35,33,.2);cursor:pointer;transition:transform .16s ease,background .2s ease,box-shadow .2s ease}.talk-button:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(37,35,33,.24)}.talk-button:focus-visible,.home-link:focus-visible,.brand:focus-visible{outline:3px solid #b77d4a;outline-offset:4px}.talk-button[aria-pressed=true]{background:#60483a}.privacy-note{margin:14px 0 0;color:#817a73;font-size:12px}.sound-waves{height:30px;display:flex;gap:5px;align-items:center;justify-content:center;margin:12px 0 2px;opacity:0;transition:opacity .2s}.sound-waves i{display:block;width:3px;height:7px;border-radius:4px;background:#bd9973;transform:scaleY(.5)}.recording .sound-waves,.playing .sound-waves{opacity:.8}.recording .sound-waves i,.playing .sound-waves i{animation:wave .8s ease-in-out infinite alternate}.sound-waves i:nth-child(2){animation-delay:.2s}.sound-waves i:nth-child(3){animation-delay:.4s}.friend-stage.error .friend-status{color:#9d403a}.friend-stage.saving .ghost{animation:savePulse 1s ease-in-out infinite alternate}@keyframes float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}@keyframes listen{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.015)}}@keyframes wave{to{transform:scaleY(2.2)}}@keyframes savePulse{to{transform:scale(1.025)}}@media(max-width:600px){.friend-shell{padding:16px}.friend-stage{min-height:calc(100svh - 74px);padding:25px 8px 36px}.ghost{width:min(78vw,330px);height:min(67vw,280px)}.halo{width:94vw}.friend-stage h1{font-size:32px}.friend-status{max-width:270px;line-height:1.5}.talk-button{width:min(76vw,280px);min-height:60px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
