/* V2 Premium: responsive, resolution-independent vector visual system */
:root{--bg:#070e1c;--panel:#101d31;--line:#2b405d;--text:#f1f6ff;--muted:#aabbd2;--accent:#a5d7ff;--ice:#e4f3ff;--focus:#a5d7ff;color-scheme:dark}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-padding-top:105px}
body{min-height:100vh;background:radial-gradient(ellipse at 82% 8%,#1b3859 0,transparent 39%),radial-gradient(ellipse at 0% 34%,#12223c 0,transparent 37%),#070e1c;color:var(--text);font:15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.shell,.topbar,footer{max-width:1320px;width:100%;padding-inline:clamp(20px,5vw,76px)}
.topbar{height:84px;background:transparent;border-bottom:1px solid #a9d7ff24;position:relative;z-index:5}
.brand{letter-spacing:-.4px;font-size:19px;font-weight:720;gap:12px;white-space:nowrap}
.brand-mark{width:44px;height:44px;border-radius:13px;color:#10223c;background:linear-gradient(145deg,#eff9ff,#9bcfff);box-shadow:0 0 24px #93caff25;font-size:16px;letter-spacing:-.8px}
.brand-name b{font-weight:750;color:#a5d7ff}
.topbar nav{gap:clamp(16px,3vw,36px)}
.topbar nav a{font-size:13px;font-weight:550;color:#c6d4e7}
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,6vw,90px);align-items:center;text-align:left;padding:clamp(55px,8vw,118px) 0 76px;border-bottom:1px solid #90b7e01c}
.hero-copy{min-width:0}
.eyebrow{font-size:10px;letter-spacing:2.25px;font-weight:750;color:#9ed0fa}
.hero .eyebrow{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;border:1px solid #8cc6f737;background:#9bd1ff0b;letter-spacing:1.6px}
.eyebrow i{background:#a5d7ff;box-shadow:0 0 10px #a5d7ff}
h1{font-size:clamp(46px,6.6vw,90px);line-height:1.04;letter-spacing:-.065em;font-weight:740;margin:24px 0}
.hero h1 span{color:#b9e0ff;background:linear-gradient(100deg,#d6efff 0,#9bd2ff 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.intro{font-size:clamp(15px,1.5vw,19px);line-height:1.7;margin:0 0 18px;color:#b7c8de;max-width:470px}
.notice{color:#aabbd2;font-size:12px;line-height:1.6}
#release-status{max-width:475px;margin:18px 0 0;font-size:11px;border-left:2px solid #6486ad;padding-left:12px;color:#9eafc8}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.primary-cta,.secondary-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;text-decoration:none;border-radius:10px;padding:13px 20px;font-size:13px;font-weight:750}
.primary-cta{background:linear-gradient(115deg,#e0f1ff,#a2d3fc);color:#122842;box-shadow:0 9px 28px #8ecbff22}
.secondary-cta{border:1px solid #4a6586;color:#d9e9fc;background:#182c4766}
.hero-facts{display:flex;flex-wrap:wrap;gap:10px 20px;color:#a7bad3;font-size:11px;margin-top:28px}
.hero-facts span::before{content:"";display:inline-block;width:5px;height:5px;margin-right:8px;border-radius:50%;background:#90c8f4;vertical-align:middle}
.hero-visual{position:relative;isolation:isolate;min-width:0}
.hero-visual::before{content:"";position:absolute;z-index:-1;inset:-45px -15px;background:repeating-radial-gradient(circle at 50% 43%,transparent 0 32px,#8bc7ff0d 33px 34px);mask-image:radial-gradient(ellipse,#000,transparent 74%);pointer-events:none}
.connect-card{width:100%;max-width:445px;margin:auto;text-align:center;padding:24px 26px;background:linear-gradient(150deg,#233d59d9,#111f34 55%,#0b172a);border:1px solid #54769d;border-radius:26px;box-shadow:0 35px 90px #0008,inset 0 1px 0 #c0e6ff2d;position:relative}
.card-head{font-size:10px;gap:8px;letter-spacing:1px;align-items:center;text-align:left}
.card-head b{color:#f3d1a5;font-size:9px;border:1px solid #f3d1a533;border-radius:5px;background:#eab8780c;padding:4px 6px;text-align:center}
.orb-wrap{padding:32px 0 20px}
.orb{width:160px;height:160px;color:#c8e7ff;background:radial-gradient(circle at 40% 25%,#486987,#233c58 42%,#102033 75%);border:1px solid #9cd5ff77;box-shadow:0 0 0 10px #a5d7ff0b,0 0 0 21px #a5d7ff05,0 0 52px #78b6ff26,inset 0 0 25px #a2d3fc16;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
.orb svg{width:65px;height:75px;filter:drop-shadow(0 0 8px #a5d7ff55)}
.orb span{font-size:15px;font-weight:800;letter-spacing:3px;color:#d6eaff;margin-top:1px}
.connect-card h2{font-size:21px;letter-spacing:-.6px;font-weight:680}
.connect-card p{font-size:12px;color:#b5c7df;min-height:36px}
.connect{border-radius:11px;padding:14px;background:linear-gradient(115deg,#e0f1ff,#a2d3fc);font-size:13px;font-weight:750;color:#122842}
.connect-card .notice{font-size:10px;margin-top:10px}
#apiStatus[data-state="ok"],#serverStatus[data-state="ok"]{color:#9be8c7}
.section{padding:56px 0 48px;border-bottom:1px solid #9ec7f11a}
.section h2{font-size:clamp(25px,3vw,39px);font-weight:670;line-height:1.2;letter-spacing:-.035em;margin:8px 0 22px}
.section-title{gap:15px;margin-bottom:14px;align-items:center}
.section-title h2{margin-bottom:0}
#usageDate,#selectedLabel{font-size:12px;color:#b2c6de}
.usage-panel{max-width:100%;padding:clamp(20px,3.5vw,34px);border-radius:22px;border-color:#354c69;background:linear-gradient(135deg,#172a40,#0e1c30);box-shadow:0 15px 40px #0003}
.usage-summary strong{font-size:clamp(22px,3vw,35px);font-weight:670;letter-spacing:-.045em}
.usage-summary span{font-size:12px;color:#a8bdd7}
.quota-track{background:#273b55;height:9px;margin-block:22px 10px}
.quota-track span{background:linear-gradient(90deg,#7db5ed,#cae6ff)}
.login-fields{gap:16px;margin-top:22px}
label{color:#c1d0e5;font-size:12px}
input:not([type=checkbox]){border:1px solid #3a5372;background:#081625;color:var(--text);border-radius:10px;padding:12px;font:inherit;width:100%;min-width:0}
input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.plan-button{border-color:#456285;background:#1a304b;color:#dfedff;border-radius:10px;padding:12px 14px;font-size:12px;font-weight:650;line-height:1.4}
#loginForm .plan-button{margin-right:8px}
#loginButton{background:#a5d7ff;color:#10233a;border-color:#a5d7ff}
button:not(:disabled):hover,.primary-cta:hover,.secondary-cta:hover{filter:brightness(1.1)}
button:disabled{cursor:not-allowed}
.reward-panel{background:#0b182a;border:1px solid #2f4560;border-radius:14px;padding:20px}
.reward-panel h3{font-size:19px;font-weight:650}
.reward-step{border-color:#3b526d;background:#17283d;font-size:11px}
.server-grid{grid-template-columns:minmax(0,1fr)}
.server{background:#14273e;border:1px solid #3c587a}
#selectedLabel{border-radius:999px;border:1px solid #477399;padding:8px 15px;background:#142d46}
.feature-grid{gap:16px}
.feature-grid article,.membership-grid article{padding:24px;background:linear-gradient(155deg,#192e47,#101e33);border:1px solid #354e6a;border-radius:18px;box-shadow:0 12px 30px #0002}
.feature-grid article>b{display:grid;place-items:center;background:#abcfff15;border:1px solid #a0d6ff2e;color:#c3e3ff;border-radius:12px;width:44px;height:44px;font-size:23px}
.feature-grid h3{font-size:17px;font-weight:670;margin:16px 0 8px}
.feature-grid p,.plan-grid p{font-size:13px;line-height:1.6;color:#acbfd6}
.membership-grid{gap:14px}
.membership-grid article{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.membership-grid article:has(.royal-price){background:linear-gradient(155deg,#1d3653,#0e1c30);border-color:#456485}
.membership-grid h3{font-size:21px;letter-spacing:-.6px;font-weight:670;margin:8px 0}
.membership-grid article small{letter-spacing:1px;color:#abcdf0}
.membership-grid .royal-price{font-size:clamp(25px,3vw,37px);font-weight:730;color:#e0efff;letter-spacing:-1.6px}
.membership-grid .regular-price{font-size:11px;letter-spacing:0;line-height:1.5}
.membership-grid .plan-users{font-size:13px;font-weight:600;color:#b3c6dc}
.membership-grid article .plan-button{margin-top:10px}
.membership-grid button[disabled]{opacity:.75;background:#17283d;color:#b1c2d6;border-color:#3c526d}
#members-join-form{max-width:500px;margin-top:24px}
#members-join-form input{display:block;margin-top:9px}
#members-refresh,#members-invite,#logoutButton{max-width:260px}
footer{padding-block:28px 40px;gap:14px;font-size:11px;line-height:1.7;color:#98adc8;border:none}
footer a{color:#bcd8f3;text-decoration:none}
footer a:hover{text-decoration:underline}
button:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
@media(min-width:1100px){.usage-panel{max-width:100%}.membership-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1099px){.membership-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-grid article:last-child{grid-column:auto}}
@media(max-width:800px){.hero{grid-template-columns:1fr;gap:36px;padding:44px 0}.hero-copy{text-align:center}.intro,#release-status{margin-inline:auto}.hero-actions,.hero-facts{justify-content:center}.hero-visual{width:100%}.topbar nav{gap:14px}.hero h1{font-size:clamp(48px,9vw,72px)}}
@media(max-width:620px){.shell,.topbar,footer{padding-inline:18px}.topbar{height:68px}.brand{font-size:16px}.brand-mark{width:38px;height:38px}.topbar nav{background:#13263c;border-color:#435f80;right:18px;top:60px;min-width:170px}.hero{padding:36px 0 38px;gap:30px}.hero h1{font-size:54px;margin:20px 0}.hero .intro{font-size:15px}.hero-facts{font-size:10px}.connect-card{padding:21px}.orb{width:138px;height:138px}.orb svg{width:56px;height:63px}.section{padding:35px 0}.section-title{align-items:flex-start}.feature-grid,.membership-grid{grid-template-columns:1fr}.feature-grid article,.membership-grid article{padding:20px}.login-fields{grid-template-columns:1fr}.usage-summary{align-items:flex-start}.usage-summary strong{font-size:21px}.usage-panel{padding:18px}.hero-visual::before{inset:-15px 0}.hero-actions a{flex:1;min-width:120px}.section h2{font-size:28px}}
@media(max-width:360px){.hero h1{font-size:46px}.card-head{font-size:9px}.card-head b{font-size:8px}.hero-actions{gap:8px}.hero-actions a{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
