:root{--bg:#0f1a2b;--bg2:#16243a;--card:#1b2c46;--ink:#eaf1fa;--mute:#a9b9cf;--accent:#8fb8e8;--green:#34c759;--red:#ff453a;--warn:#3a2a1c}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;-webkit-text-size-adjust:100%}
body{min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
[hidden]{display:none!important}
.screen{max-width:520px;margin:0 auto;padding:12px 20px 28px;display:flex;flex-direction:column;gap:18px;min-height:100dvh}
.top{display:flex;justify-content:space-between;align-items:center}
h1{font-size:28px;margin:0;letter-spacing:.5px;font-weight:600}
h2{font-size:20px;margin:0 0 6px}
button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}
.icon-btn,.link-btn{min-height:48px;min-width:48px;padding:0 16px;background:var(--bg2);border:1px solid #2b4263;border-radius:24px}
.link-btn{background:none;border:0;color:var(--accent);font-weight:600}
.emergency{background:var(--warn);border:1px solid #7a5530;color:#ffd9b0;border-radius:14px;padding:12px 14px;font-size:16px}
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:12px 0}
.halo-mark{width:120px;height:120px;border-radius:50%;border:14px solid #dbe8f7;box-shadow:0 0 60px #6f9fd488,inset 0 0 30px #6f9fd444;animation:breathe 6s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(1.07);opacity:.85}}
.lead{font-size:22px;margin:0;max-width:20em}
.talk{width:100%;min-height:76px;font-size:22px;font-weight:600;border:0;border-radius:38px;background:linear-gradient(180deg,#7fb0ea,#4f86c9);color:#071427;padding:14px 24px;box-shadow:0 10px 30px #4f86c955}
.talk:active{transform:scale(.98)}
.sub{color:var(--mute);margin:0;font-size:16px}
.family{color:#9fe0b0}
.credits{background:var(--card);border-radius:20px;padding:18px}
.buy{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}
.buy-btn{min-height:56px;border-radius:14px;background:var(--bg2);border:1px solid #2b4263}
.notice{margin-top:auto;text-align:center;color:var(--mute);font-size:14px;padding-top:8px}
.sheet{position:fixed;inset:0;background:#000a;display:flex;align-items:flex-end;z-index:20}
.sheet-card{width:100%;max-width:520px;margin:0 auto;background:var(--card);border-radius:24px 24px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}
.sheet-head{display:flex;justify-content:space-between;align-items:center}
.sheet-head h2{margin:0}
.seg{border:0;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.seg legend{color:var(--mute);font-size:15px;margin-bottom:8px;padding:0}
.seg label input{position:absolute;opacity:0}
.seg label span{display:flex;align-items:center;justify-content:center;min-height:56px;border-radius:14px;background:var(--bg2);border:2px solid #2b4263}
.seg input:checked+span{border-color:var(--accent);background:#25406a;font-weight:600}
.facts{margin:0;display:flex;flex-direction:column;gap:8px}
.facts div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #2b4263}
.facts dt{color:var(--mute)}.facts dd{margin:0;font-weight:600}
.call{position:fixed;inset:0;z-index:30;background:linear-gradient(180deg,#1c2f4d,#0a1322);display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:calc(60px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));text-align:center}
.avatar{width:110px;height:110px;margin:0 auto 18px;border-radius:50%;background:#2a4670;display:grid;place-items:center}
.avatar span{width:56px;height:56px;border-radius:50%;border:8px solid #dbe8f7}
.call.ringing .avatar{animation:ring 1.4s ease-in-out infinite}
@keyframes ring{50%{box-shadow:0 0 0 22px #8fb8e822}}
.caller{font-size:28px;margin:0;font-weight:500}
.call-status{color:var(--mute);font-size:20px;margin:8px 0 0;font-variant-numeric:tabular-nums}
.call-error{color:#ffb4ae;background:#3a1c1a;border-radius:12px;padding:10px 14px;margin:0}
.call-actions{display:flex;gap:56px;justify-content:center;width:100%}
.act{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:15px;color:var(--mute)}
.round{width:76px;height:76px;border-radius:50%;border:0;font-size:24px;font-weight:600;color:#fff}
.round.green{background:var(--green)}.round.red{background:var(--red)}.round.grey{background:#3b4a60;font-size:17px}
.round.grey[aria-pressed=true]{background:#fff;color:#111}
#end{font-size:17px}
.call-notice{font-size:13px;color:var(--mute);margin:0}
@media (prefers-reduced-motion:reduce){*{animation:none!important}}
