:root{color-scheme:dark;--bg:#101010;--panel:#181818;--border:#2b2b2b;--text:#f7f7f7;--muted:#a6a6a6;--accent:#f5f5f5;--active:#ededed;font-family:"Manrope",system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 0%,#202020 0%,var(--bg) 43%);color:var(--text);font-size:1rem}
button{font:inherit;cursor:pointer;color:inherit}
button:disabled{cursor:wait;opacity:.65}
button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.shell{max-width:680px;margin:auto;padding:calc(18px + max(env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px))) 22px calc(17px + env(safe-area-inset-bottom))}
.top,.identity,.section-head,.link-card,.sheet-head,footer{display:flex;align-items:center}
.top,.section-head,.sheet-head,footer{justify-content:space-between}
.top{margin-bottom:20px;gap:14px}
.identity{gap:12px}.identity strong,.identity small{display:block}.identity strong{font-size:1.04rem;letter-spacing:-.03em}.identity small{color:var(--muted);font-size:.77rem;margin-top:3px}
.brand-mark{height:42px;width:42px;border-radius:13px;background:var(--accent);display:grid;place-items:center}
.brand-mark i{display:block;width:22px;height:20px;background:#151515;clip-path:polygon(0 0,26% 0,50% 59%,74% 0,100% 0,59% 100%,41% 100%)}
.avatar,.close{width:42px;height:42px;border-radius:50%;border:1px solid #383838;background:#232323;font-weight:800}.avatar{color:var(--accent)}
.hero{position:relative;overflow:hidden;isolation:isolate;border:1px solid #565656;border-radius:25px;padding:24px;min-height:263px;background:radial-gradient(ellipse at 85% 50%,#414141 0%,#2b2b2b 44%,#1c1c1c 72%);box-shadow:0 12px 40px #0004}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,transparent 95%,#ffffff21 100%),linear-gradient(transparent 95%,#ffffff21 100%);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent 30%,#000)}
.hero-content{position:relative;z-index:1}.status{border:1px solid #88888870;border-radius:100px;padding:6px 10px;display:inline-flex;align-items:center;gap:7px;background:#222222;color:#dedede;font-size:.81rem;font-weight:800}.status i{width:7px;height:7px;border-radius:50%;background:#a9a9a9}.status.active{color:var(--active);border-color:#ededed55}.status.active i{background:var(--active)}
h1,h2,p{margin:0}h1{font-size:clamp(2.4rem,8vw,3.55rem);line-height:1;letter-spacing:-.075em;margin:19px 0 11px;font-weight:800}h2{font-size:1.19rem;letter-spacing:-.035em;font-weight:800}
.hero p{color:#cdcdcd;line-height:1.4;margin-bottom:20px}
.orbital{position:absolute;z-index:0;right:4%;top:50%;translate:0 -50%;width:43%;aspect-ratio:1;display:grid;place-items:center;pointer-events:none}
.orbital i{position:absolute;inset:0;border:1px solid #f2f2f24d;border-radius:50%;box-shadow:0 0 30px #ffffff12,inset 0 0 22px #ffffff13}.orbital i:nth-child(2){inset:9%;border-style:dashed}.orbital i:nth-child(3){inset:20%;border-color:#ffffff6b}
.orbital::before,.orbital::after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#ffffff;box-shadow:0 0 12px 3px #dddddd80}.orbital::before{top:12%;right:15%}.orbital::after{bottom:14%;left:13%;width:4px;height:4px}
.emblem{width:48%;aspect-ratio:1.12;position:relative;filter:drop-shadow(0 0 17px #dbdbdb70);transform:rotate(-8deg)}
.emblem b{position:absolute;inset:0;background:linear-gradient(135deg,#ffffff 18%,#bcbcbc 55%,#6c6c6c 80%);clip-path:polygon(0 0,27% 0,59% 72%,46% 100%)}
.emblem b+b{background:linear-gradient(140deg,#727272 18%,#a6a6a6 43%,#ececec 82%);clip-path:polygon(76% 0,100% 0,57% 100%,46% 100%,48% 65%)}
.button{min-height:46px;padding:11px 15px;border-radius:13px;border:1px solid var(--border);font-weight:800;background:#272727;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}.button.primary{color:#161616;background:var(--accent);border-color:transparent}.button.primary:hover{background:#dddddd}.button:not(.primary):hover,.link-card:hover{background:#262626}.symbol{font-family:system-ui,sans-serif;font-size:1.2em;line-height:1}.muted{color:var(--muted);font-size:.82rem}
.section{margin-top:22px}.section-head{margin-bottom:10px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.card{min-width:0;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:12px}.card p{font-size:.84rem;color:var(--muted);margin:7px 0 4px}.card strong{display:block;font-size:1.08rem;white-space:nowrap;letter-spacing:-.035em}.card small{color:var(--muted);font-size:.75em;font-weight:700}.glyph{color:var(--accent);line-height:1;display:inline-block;font-size:1.13rem}
progress{display:block;width:100%;height:4px;margin-top:8px;border:0;border-radius:9px;background:#383838;color:var(--accent);overflow:hidden}progress::-webkit-progress-bar{background:#383838}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}
.links{display:grid;gap:8px;margin-top:18px}.link-card{width:100%;background:var(--panel);border:1px solid var(--border);border-radius:15px;text-align:left;gap:12px;padding:9px 13px;min-height:60px}.tile{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#2c2c2c;color:var(--accent);font-size:1.15rem;flex:none}.link-label{flex:1}.link-label strong,.link-label small{display:block}.link-label strong{font-size:.94rem}.link-label small{font-size:.77rem;color:var(--muted);margin-top:2px}.chevron{display:block;width:7px;height:7px;border-top:1.5px solid var(--muted);border-right:1.5px solid var(--muted);transform:rotate(45deg);margin-right:4px}
footer{padding-top:16px;margin-top:17px;border-top:1px solid var(--border);color:var(--muted);gap:10px}.foot-brand{font-size:.73rem;font-weight:800;letter-spacing:.15em}.foot-brand span{color:var(--accent)}footer button{padding:4px 0;background:none;border:0;color:var(--muted);font-size:.81rem}footer button:hover{color:var(--text)}
dialog{background:#1b1b1b;color:var(--text);border:1px solid #393939;border-radius:22px;padding:0;width:min(510px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-shadow:0 22px 80px #0009}dialog::backdrop{background:#080808c9}.sheet-inner{padding:21px}.sheet-head{gap:10px;margin-bottom:16px}.sheet-head p{min-height:0;color:var(--accent);font-size:.79rem;font-weight:800}.sheet-head p:not(:empty){margin-bottom:4px}.sheet-head h2{font-size:1.5rem}.close{flex:none;font-size:1.4rem;height:40px;width:40px}.sheet-copy{color:#c7c7c7;line-height:1.55}.stack{display:grid;gap:10px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choices .selected,.plan.selected{border-color:var(--accent);color:var(--accent);background:#353535}.sheet-body{display:grid}.plan,.device{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:13px;border-radius:12px;border:1px solid var(--border);background:#252525}.plan small,.device small{display:block;color:var(--muted);margin-top:3px}.plan-price{white-space:nowrap;color:var(--accent)}.wide{width:100%}.steps{margin:0;padding-left:23px;color:#dadada;line-height:1.5}.steps li+li{margin-top:6px}details{padding:11px 13px;border:1px solid var(--border);border-radius:12px;background:#252525}summary{cursor:pointer;font-weight:800}details p{margin-top:8px}.toast{position:fixed;z-index:5;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);border-radius:12px;background:#ededed;color:#1e1e1e;padding:10px 14px;font-weight:800;font-size:.88rem;box-shadow:0 6px 22px #0006;pointer-events:none}.toast:empty{display:none}.in-sheet-status{min-height:1.2em;color:var(--accent);font-size:.88rem}.in-sheet-status:empty{display:none}.access-qr{display:block;max-width:min(220px,100%);margin:4px auto;background:#fff;padding:8px;border-radius:10px}
@media(max-width:520px){.shell{padding-inline:15px}.hero{padding:19px;min-height:242px}.hero p{font-size:.94rem}.orbital{right:-2%;width:48%;top:45%}dialog{margin:auto auto 0;width:100%;max-width:100%;border-radius:22px 22px 0 0}.sheet-inner{padding-bottom:calc(22px + env(safe-area-inset-bottom))}}
@media(max-width:365px){.shell{padding-inline:12px}.hero{padding-inline:15px}.card{padding:9px}.card p{font-size:.77rem}.card strong{font-size:.96rem}.orbital{opacity:.68;right:-5%}}
@media(prefers-reduced-motion:no-preference){button{transition:background .16s ease,border-color .16s ease}dialog[open]{animation:enter .18s ease-out}@keyframes enter{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}}
a.button{text-decoration:none}
