:root {
  --bg: #08080a; --fg: #ededf0; --dim: #9a9aa6; --line: rgba(255,255,255,.09); --card: rgba(255,255,255,.04);
  --accent: #f2f2f2; --font: 'Space Grotesk', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--fg); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
body.landing { background: radial-gradient(1200px 600px at 50% -10%, #1d1b2e 0%, transparent 60%), var(--bg); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
canvas.stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 22px max(20px, env(safe-area-inset-left)); max-width: 1100px; width: 100%; margin: 0 auto; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.top nav a { color: var(--dim); text-decoration: none; font-size: 15px; transition: color .2s; }
.top nav a:hover { color: var(--fg); }

.hero { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px 30px; }
.hero h1 { margin: 0; font-size: clamp(44px, 9vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 700; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 span { background: linear-gradient(90deg, #fff, #9f9fff 50%, #ff9fd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1.mid { font-size: clamp(34px, 6vw, 60px); }
.lead { max-width: 520px; color: var(--dim); font-size: 17px; line-height: 1.55; margin: 22px auto 30px; animation: rise .9s .08s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.claim {
  display: flex; align-items: center; width: min(460px, 100%); padding: 6px 6px 6px 18px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08); animation: rise .9s .16s cubic-bezier(.2,.8,.2,1) both;
  transition: border-color .2s, box-shadow .2s;
}
.claim:focus-within { border-color: rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 4px rgba(255,255,255,.05); }
.claim .pre { color: var(--dim); font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.claim input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--fg); font: 600 15px var(--mono); padding: 10px 6px 10px 2px; }
.claim input::placeholder { color: #5d5d68; }

.cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; animation: rise .9s .24s cubic-bezier(.2,.8,.2,1) both; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line);
  font: 600 15px var(--font); text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.2,1.4,.4,1), background .2s, border-color .2s;
  background: rgba(255,255,255,.05); color: var(--fg);
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.2); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #0b0b0e; border-color: transparent; }
.btn.primary:hover { background: #fff; }
.btn.ghost { background: transparent; }

.features { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; width: 100%; margin: 10px auto 40px; padding: 0 20px; }
.features div { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.features b { font-size: 16px; }
.features p { margin: 8px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.foot { position: relative; z-index: 1; text-align: center; padding: 0 0 26px; font-size: 13px; }
.foot a { color: var(--dim); }

body.doc { display: block; }
.docbody { max-width: 720px; margin: 0 auto; padding: 10px 22px 60px; line-height: 1.65; color: #d6d6dc; }
.docbody h1 { font-size: 38px; letter-spacing: -.03em; color: var(--fg); }
.docbody h2 { margin-top: 32px; font-size: 20px; color: var(--fg); }
.docbody .note { padding: 12px 14px; border-radius: 12px; background: rgba(255,200,80,.08); border: 1px solid rgba(255,200,80,.2); color: #f3d08a; font-size: 14px; }

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .claim .pre { font-size: 12px; }
}

/* ---------- floating top bar ---------- */
:root { --violet: #b77cff; --violet2: #8a4dff; }
.nav-wrap { position: sticky; top: 0; z-index: 20; padding: 14px max(14px, env(safe-area-inset-left)) 0; }
.nav-pill {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 9px 9px 16px; border-radius: 20px;
  background: rgba(14,14,18,.66); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.35);
  animation: navIn .7s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.brand i { font-style: normal; color: var(--violet); }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 9px 14px; border-radius: 12px; color: #c9c9d3; text-decoration: none; font-size: 15px; transition: background .2s, color .2s; }
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-cta, .acct-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 6px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(183,124,255,.28), rgba(138,77,255,.18)); border: 1px solid rgba(183,124,255,.35);
  color: #fff; font: 600 15px var(--font); text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,1.4,.4,1), background .2s, border-color .2s;
}
.nav-cta { padding: 0 16px; }
.nav-cta svg { width: 19px; height: 19px; }
.nav-cta:hover, .acct-btn:hover { border-color: rgba(183,124,255,.6); background: linear-gradient(135deg, rgba(183,124,255,.36), rgba(138,77,255,.24)); }
.nav-cta:active, .acct-btn:active { transform: scale(.96); }
.acct { position: relative; }
.acct-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.acct-btn .chev { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.2,1.2,.3,1); }
.acct.open .acct-btn .chev { transform: rotate(180deg); }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 14px;
  background: rgba(18,18,24,.96); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .18s, transform .25s cubic-bezier(.2,1.2,.3,1), visibility 0s .2s;
}
.acct.open .acct-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .3s cubic-bezier(.2,1.2,.3,1), visibility 0s; }
.acct-menu a, .acct-menu button {
  display: block; width: 100%; padding: 10px 12px; border-radius: 9px; border: 0; background: none; text-align: left;
  color: #ddd; font: 500 14px var(--font); text-decoration: none; cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover { background: rgba(255,255,255,.07); color: #fff; }
.acct-menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.07); }
.acct-menu form button { color: #ff8d90; }

/* the hero headline + buttons pick up the purple accent */
.hero h1 span { background: linear-gradient(90deg, #fff 0%, #d7b8ff 45%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn.primary { background: linear-gradient(135deg, #c9a2ff, var(--violet2)); color: #fff; }
.btn.primary:hover { background: linear-gradient(135deg, #d6b6ff, #9a63ff); }

/* ---------- pricing ---------- */
.pricing { position: relative; z-index: 1; max-width: 900px; width: 100%; margin: 30px auto 50px; padding: 0 20px; scroll-margin-top: 90px; }
.pricing h2 { text-align: center; font-size: clamp(28px, 4.6vw, 44px); letter-spacing: -.03em; margin: 0 0 26px; }
.pricing h2 span { color: var(--violet); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.plan { position: relative; padding: 26px; border-radius: 22px; background: rgba(18,18,22,.72); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.plan.pro {
  background: radial-gradient(120% 80% at 80% 0%, rgba(183,124,255,.22), transparent 60%), rgba(22,16,30,.85);
  border-color: rgba(183,124,255,.35); box-shadow: 0 30px 80px rgba(138,77,255,.15); padding-top: 34px;
}
.plan h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 22px; }
.plan h3 svg { width: 22px; height: 22px; color: #fff; }
.plan .tag { position: absolute; top: -12px; right: 18px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #1a1424; border: 1px solid rgba(183,124,255,.4); color: #d8bcff; }
.price { margin: 16px 0 4px; font-size: 38px; font-weight: 700; letter-spacing: -.03em; }
.price small { font-size: 15px; font-weight: 500; color: var(--dim); margin-left: 4px; }
.pdesc { margin: 0 0 16px; color: var(--dim); font-size: 14.5px; }
.pdesc.accent { color: #d0a8ff; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #e6e6ec; }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--violet); margin-top: 1px; }
.btn.wide { width: 100%; justify-content: center; }
.fine { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--dim); }
.fine a { color: #d0a8ff; }

@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .acct-btn span { display: none; }
  .brand span { font-size: 17px; }
}

/* ---------- terms page ---------- */
.docbody { position: relative; z-index: 1; max-width: 760px; padding-top: 30px; }
.docbody h1 { margin: 10px 0 4px; font-size: clamp(32px, 5vw, 44px); }
.docbody .updated { margin: 0 0 18px; color: var(--violet, #b77cff); font-size: 14px; }
.docbody .intro { font-size: 16.5px; color: #e2e2e8; }
.toc { margin: 22px 0 34px; padding: 18px 20px; border-radius: 16px; background: rgba(18,18,22,.72); border: 1px solid var(--line); }
.toc b { display: block; margin-bottom: 8px; color: #fff; }
.toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.toc li { break-inside: avoid; padding: 3px 0; }
.toc a { color: #c9c9d3; text-decoration: none; font-size: 14.5px; }
.toc a:hover { color: #fff; text-decoration: underline; }
.docbody section { scroll-margin-top: 96px; padding-top: 6px; }
.docbody h2 { margin: 30px 0 10px; font-size: 21px; }
.docbody h2 a { color: inherit; text-decoration: none; }
.docbody h2 a:hover { color: var(--violet, #b77cff); }
.docbody h3 { margin: 18px 0 6px; font-size: 16px; color: #fff; }
.docbody ul { padding-left: 20px; }
.docbody li { margin: 6px 0; }
.docbody a { color: #d0a8ff; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- leaderboard ---------- */
.lb-link { display: inline-flex; align-items: center; gap: 6px; }
.lb-link svg { width: 16px; height: 16px; color: #f6cf7a; }
.lbmain { position: relative; z-index: 1; max-width: 760px; width: 100%; margin: 0 auto; padding: 34px 18px 40px; }
.lbmain h1 { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; font-size: clamp(36px, 6vw, 56px); letter-spacing: -.04em; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.lbmain .tico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #ffe08a, #f0a92c); color: #2a1a00; box-shadow: 0 10px 30px rgba(240,169,44,.35); }
.lbmain .tico svg { width: 28px; height: 28px; }
.lbmain .lead { text-align: center; margin: 14px auto 22px; }
.ltabs { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 30px; padding: 4px; border-radius: 14px; background: rgba(18,18,22,.8); border: 1px solid var(--line); }
.ltabs button { border: 0; background: none; color: var(--dim); font: 600 14.5px var(--font); padding: 9px 18px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.ltabs button:hover { color: #fff; }
.ltabs button.on { background: linear-gradient(135deg, rgba(183,124,255,.35), rgba(138,77,255,.25)); color: #fff; }

.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 12px; margin-bottom: 18px; }
.pod {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 0; border-radius: 20px 20px 14px 14px;
  text-decoration: none; text-align: center; background: rgba(18,18,22,.75); border: 1px solid var(--line); overflow: hidden;
  animation: rise .7s calc(var(--d) * .12s) cubic-bezier(.2,.8,.2,1) both; transition: transform .3s cubic-bezier(.2,1.3,.4,1), border-color .2s;
}
.pod:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.pod img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mc, #555); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.pod.gold img { width: 82px; height: 82px; }
.pod b { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; margin-top: 6px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod small { color: var(--dim); font-size: 12.5px; }
.pod .pv { margin: 6px 0 10px; font-size: 13px; color: #e6e6ec; }
.pod .step { display: grid; place-items: center; align-self: stretch; height: 42px; font: 700 20px var(--font); color: #111; background: var(--mc); }
.pod.gold { --mc: linear-gradient(135deg, #ffe08a, #f0a92c); padding-top: 26px; border-color: rgba(246,207,122,.4); box-shadow: 0 20px 60px rgba(240,169,44,.15); }
.pod.gold img { border-color: #f6cf7a; } .pod.gold .step { height: 60px; font-size: 24px; }
.pod.silver { --mc: linear-gradient(135deg, #f1f1f4, #a9aab4); } .pod.silver img { border-color: #d6d7de; } .pod.silver .step { height: 44px; }
.pod.bronze { --mc: linear-gradient(135deg, #f0b98a, #b8733d); } .pod.bronze img { border-color: #dd9a64; } .pod.bronze .step { height: 32px; }
.pod .crown { height: 22px; color: #f6cf7a; } .pod .crown svg { width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(246,207,122,.6)); }
.pdia { display: inline-grid; color: #c9a2ff; } .pdia svg { width: 13px; height: 13px; }

.lrows { display: flex; flex-direction: column; gap: 8px; }
.lrow {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 12px; border-radius: 14px; text-decoration: none;
  background: rgba(18,18,22,.72); border: 1px solid var(--line);
  animation: rise .5s calc(.25s + var(--i) * .035s) cubic-bezier(.2,.8,.2,1) both; transition: background .2s, transform .25s cubic-bezier(.2,1.3,.4,1);
}
.lrow:hover { background: rgba(28,28,34,.85); transform: translateX(4px); }
.lrow .rk { width: 40px; text-align: center; font: 700 15px var(--mono); color: var(--dim); }
.lrow img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.lrow .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lrow .who b { display: inline-flex; align-items: center; gap: 5px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .who small { color: var(--dim); font-size: 12.5px; }
.lrow .vw { font: 700 15px var(--mono); white-space: nowrap; }
.lrow .vw small { font: 500 12px var(--font); color: var(--dim); }
.board.enter .pod, .board.enter .lrow { animation-name: rise; }
.lempty { text-align: center; color: var(--dim); padding: 40px 0; }
.lnote { text-align: center; margin-top: 26px; font-size: 13px; color: var(--dim); }
@media (max-width: 560px) {
  .podium { gap: 8px; }
  .pod img { width: 52px; height: 52px; } .pod.gold img { width: 64px; height: 64px; }
  .pod b { font-size: 13px; }
  .lrow { gap: 10px; padding: 9px 12px 9px 8px; }
  .lrow .rk { width: 30px; font-size: 13px; }
}

/* ---------- announcement banner ---------- */
.ann {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 1080px; margin: 12px auto 0; width: calc(100% - 28px);
  padding: 11px 44px 11px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.4;
  background: rgba(88,101,242,.14); border: 1px solid rgba(88,101,242,.4); color: #dfe2ff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: rise .6s .1s cubic-bezier(.2,.8,.2,1) both; transition: opacity .3s, transform .35s;
}
.ann.gone { opacity: 0; transform: translateY(-8px); }
.ann-tag { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: rgba(88,101,242,.35); color: #fff; }
.ann-text a { color: #fff; font-weight: 600; }
.ann-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; border: 0; background: none; color: inherit; font-size: 20px; cursor: pointer; opacity: .7; }
.ann-x:hover { opacity: 1; background: rgba(255,255,255,.08); }
.ann-update { background: rgba(35,165,90,.12); border-color: rgba(35,165,90,.4); color: #c9f1da; } .ann-update .ann-tag { background: rgba(35,165,90,.4); }
.ann-warning { background: rgba(240,178,50,.12); border-color: rgba(240,178,50,.45); color: #f6e0b0; } .ann-warning .ann-tag { background: rgba(240,178,50,.45); color: #1c1300; }
.ann-alert { background: rgba(242,63,67,.14); border-color: rgba(242,63,67,.5); color: #ffd3d4; } .ann-alert .ann-tag { background: #f23f43; }

/* ---------- maintenance page ---------- */
.maint-ico { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 18px; border-radius: 22px; color: #1c1300;
  background: linear-gradient(135deg, #ffe08a, #f0a92c); box-shadow: 0 14px 40px rgba(240,169,44,.35); animation: wobble 3s ease-in-out infinite; }
.maint-ico svg { width: 36px; height: 36px; }
@keyframes wobble { 50% { transform: rotate(-8deg) translateY(-3px); } }

/* suspended account page */
.ban-ico { background: linear-gradient(135deg, #ff5a5f, #a8121a) !important; color: #fff !important; box-shadow: 0 0 0 1px rgba(255,90,95,.35), 0 0 34px rgba(242,40,48,.55), 0 14px 60px rgba(160,10,20,.6) !important; }
.banbox { display: flex; flex-direction: column; gap: 4px; margin: 6px auto 4px; padding: 14px 18px; max-width: 460px; border-radius: 14px; background: rgba(242,63,67,.1); border: 1px solid rgba(242,63,67,.45); text-align: center; }
.banbox span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #ff8d90; }
.banbox b { font-size: 16px; color: #ffe1e2; }
.lead.small { font-size: 14px; }
.lead.small a { color: #c9c3ff; }
body.banned-bg {
  background:
    radial-gradient(900px 560px at 50% -8%, rgba(140,12,22,.55) 0%, rgba(70,4,10,.25) 45%, transparent 75%),
    radial-gradient(1000px 500px at 50% 115%, rgba(90,0,10,.45) 0%, transparent 70%),
    #000;
}
body.banned-bg .stars { opacity: .55; }
.suspended { padding-bottom: 60px; }
.suspended .lead { color: #c9b9ba; }
.banbox { background: rgba(120,10,18,.22); }
.appeal, .astatus {
  width: 100%; max-width: 520px; margin: 22px auto 6px; padding: 22px; text-align: left; border-radius: 18px;
  background: rgba(14,6,8,.78); border: 1px solid rgba(242,63,67,.28); box-shadow: 0 20px 60px rgba(0,0,0,.5); backdrop-filter: blur(10px);
}
.appeal h2 { margin: 0 0 6px; font-size: 19px; }
.appeal .muted, .astatus .muted { color: #a99a9b; font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
.alab { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: #eadede; }
.alab span { font-weight: 400; color: #8f8183; }
.appeal textarea {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 120px; padding: 12px 14px; border-radius: 12px;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.1); color: #f2eaea; font: 14px/1.5 inherit; font-family: inherit;
}
.appeal textarea:focus, .afile:focus-visible { outline: none; border-color: rgba(242,63,67,.6); box-shadow: 0 0 0 3px rgba(242,63,67,.18); }
.afile { width: 100%; box-sizing: border-box; padding: 10px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.18); background: rgba(0,0,0,.35); color: #cdbfc0; font: 13px inherit; font-family: inherit; }
.afile::file-selector-button { margin-right: 12px; padding: 7px 12px; border: 0; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font: 600 13px inherit; font-family: inherit; cursor: pointer; }
.abtn { width: 100%; margin-top: 18px; justify-content: center; background: linear-gradient(135deg, #ff4b52, #b3161d) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 10px 30px rgba(200,20,30,.35); }
.aerr { margin: 0 0 6px; padding: 10px 12px; border-radius: 10px; background: rgba(242,63,67,.15); border: 1px solid rgba(242,63,67,.45); color: #ffc9cb; font-size: 13.5px; }
.ahead { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.adot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #f0b232; box-shadow: 0 0 0 4px rgba(240,178,50,.18); }
.astatus.declined .adot { background: #f23f43; box-shadow: 0 0 0 4px rgba(242,63,67,.2); }
.astatus p { color: #cbbcbd; font-size: 14px; line-height: 1.55; margin: 10px 0 0; }
.astatus.declined { border-color: rgba(242,63,67,.55); }
.anote { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.4); font-size: 14px; color: #f0e6e6; }
.anote span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #ff8d90; margin-bottom: 3px; }
.astatus details { margin-top: 12px; font-size: 13.5px; color: #a99a9b; }
.astatus summary { cursor: pointer; }
.amsg { white-space: pre-wrap; overflow-wrap: anywhere; color: #e2d6d6 !important; }

/* ---------- hover glow on buttons ---------- */
.btn, .nav-cta { transition: transform .2s cubic-bezier(.2,1.4,.4,1), background .2s, border-color .2s, box-shadow .3s ease; }
.btn:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 6px 22px rgba(255,255,255,.08); }
.btn.primary:hover { box-shadow: 0 0 18px rgba(183,124,255,.45), 0 8px 28px rgba(138,77,255,.3); }
.btn.ghost:hover { box-shadow: 0 0 16px rgba(183,124,255,.18); border-color: rgba(183,124,255,.4); }
.nav-cta:hover { box-shadow: 0 0 16px rgba(183,124,255,.35); }
@media (prefers-reduced-motion: reduce) { .btn, .nav-cta { transition: none; } }

/* ---------- claim box: live "is this name free?" ---------- */
.claim-hint {
  min-height: 20px; margin: 10px 0 -8px; font: 500 13px var(--mono); color: var(--dim);
  opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1), color .2s;
}
.claim-hint.on { opacity: 1; transform: none; }
.claim-hint.ok { color: #d0a8ff; }
.claim-hint.bad { color: #ff8d90; }
.claim-hint.checking { color: var(--dim); }
.claim.ok { border-color: rgba(183,124,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 22px rgba(183,124,255,.18); }
.claim.bad { border-color: rgba(255,110,115,.45); }
.claim.shake { animation: claimShake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes claimShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- announcements: dismissed ones stay hidden, new ones pop in live ---------- */
.ann[hidden] { display: none; }
.ann.pop { animation: annPop .75s cubic-bezier(.2,1.25,.3,1) both; }
@keyframes annPop { from { opacity: 0; transform: translateY(-16px) scale(.96); filter: blur(8px); } }
.ann.pop .ann-tag { animation: annPing 1.4s .55s ease-out 2; }
@keyframes annPing { from { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } to { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .ann.pop, .ann.pop .ann-tag, .claim.shake { animation: none; } }

/* ---------- main page: first screen fills the window, one scroll glides to pricing ---------- */
body.home { display: block; }
.home .nav-wrap { position: fixed; left: 0; right: 0; top: 0; }
.home .screen {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh; padding-top: 76px;
}
.home .screen .hero { flex: 1; }
.home .screen .features { margin-bottom: 18px; }
.home .pricing { margin-top: 0; padding-top: 96px; scroll-margin-top: 0; min-height: 100vh; min-height: 100dvh; }
.to-pricing {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 0 auto 18px; padding: 4px 12px; color: var(--dim); text-decoration: none; font: 500 12px var(--mono);
  letter-spacing: .08em; transition: color .2s;
  animation: rise .9s .5s cubic-bezier(.2,.8,.2,1) both;
}
.to-pricing svg { width: 18px; height: 18px; animation: nudge 2.2s 1.4s ease-in-out infinite; }
.to-pricing:hover { color: #d0a8ff; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .to-pricing svg { animation: none; } }

/* ---------- Get Premium paused: greyed out, can't be clicked ---------- */
.btn.disabled, .btn.disabled:hover {
  background: rgba(255,255,255,.06); color: #6f6f7a; border-color: rgba(255,255,255,.08);
  box-shadow: none; transform: none; cursor: not-allowed; filter: grayscale(1); user-select: none;
}

/* ---------- pricing: centered in its screen, equal cards, buttons lined up ---------- */
.home .pricing { display: flex; flex-direction: column; padding-top: 84px; padding-bottom: 0; }
.home .pricing h2 { margin-top: auto; }
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan ul { flex: 1; }
.plan .fine { min-height: 2.6em; }

/* ---------- footer ---------- */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  max-width: 900px; width: 100%; margin: 40px auto 0; padding: 18px 20px 26px; border-top: 1px solid var(--line);
  color: var(--dim);
}
.home .pricing .foot { margin-top: auto; padding-left: 0; padding-right: 0; }
.foot-brand { font-weight: 700; color: var(--fg); letter-spacing: -.02em; }
.foot-brand i { font-style: normal; color: var(--violet); }
.foot-brand small { margin-left: 6px; font-weight: 500; color: var(--dim); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--dim); text-decoration: none; transition: color .2s; }
.foot a:hover { color: #fff; }
@media (max-width: 640px) { .foot { justify-content: center; text-align: center; } .foot nav { justify-content: center; gap: 14px; } }

/* ---------- logged in: your own page instead of the claim box ---------- */
.claim.mypage { gap: 6px; padding: 6px 6px 6px 18px; }
.claim.mypage b { flex: 1; min-width: 0; font: 700 15px var(--mono); color: var(--fg); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.claim.mypage .btn { padding: 9px 14px; font-size: 14px; }
.claim.mypage .copy.done { color: #d0a8ff; border-color: rgba(183,124,255,.45); }

/* ---------- keyboard focus you can actually see ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
.claim input:focus-visible { outline: none; }
/* ---------- top bar: brand + live status light ---------- */
:root { --ok: #3ecf72; --warn: #f0b232; --bad: #f23f43; --maint: #b77cff; --unk: #6f6f7a; }
.nav-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 10px; border-radius: 11px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); color: #c9c9d3; text-decoration: none;
  font: 500 13.5px var(--font); white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .25s cubic-bezier(.2,1.4,.4,1);
}
.status-pill:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.16); }
.status-pill:active { transform: scale(.96); }
.sdot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--unk)); box-shadow: 0 0 8px var(--c, var(--unk)); flex: none; }
.sdot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c, var(--unk)); opacity: 0; animation: sping 2.4s ease-out infinite; }
@keyframes sping { 0% { transform: scale(.5); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.st-ok { --c: var(--ok); } .st-slow { --c: var(--warn); } .st-down { --c: var(--bad); } .st-maint { --c: var(--maint); } .st-unknown { --c: var(--unk); }
.st-unknown .sdot::after { animation: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar on phones: page links move into a menu ---------- */
.more { position: relative; display: none; }
.more-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: #ddd; cursor: pointer; }
.more-btn svg { width: 19px; height: 19px; }
.more-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 14px;
  background: rgba(18,18,24,.96); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .18s, transform .25s cubic-bezier(.2,1.2,.3,1), visibility 0s .2s;
}
.more.open .more-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .3s cubic-bezier(.2,1.2,.3,1), visibility 0s; }
.more-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; color: #ddd; font: 500 14px var(--font); text-decoration: none; }
.more-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.more-menu svg { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .more { display: block; }
  .nav-left { gap: 8px; }
}
@media (max-width: 520px) {
  .status-pill { padding: 0 10px; }
  .status-pill span { display: none; }
  .brand span { display: none; }
}

/* ---------- pricing: hint to the faq below ---------- */
.home .pricing .to-next { margin: auto auto 18px; }

/* ---------- faq ---------- */
.faq { position: relative; z-index: 1; max-width: 820px; width: 100%; margin: 0 auto; padding: 0 20px; }
.home .faq { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding-top: 96px; }
.faq h2 { margin: auto 0 26px; text-align: center; font-size: clamp(28px, 4.6vw, 44px); letter-spacing: -.03em; }
.faq h2 span { color: var(--violet); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.qa { border-radius: 16px; background: rgba(18,18,22,.72); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: border-color .25s, background .25s, box-shadow .3s; }
.qa:hover { border-color: rgba(255,255,255,.14); }
.qa.open { border-color: rgba(183,124,255,.32); background: rgba(22,18,30,.82); box-shadow: 0 14px 40px rgba(138,77,255,.08); }
.qa .q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px;
  background: none; border: 0; color: var(--fg); font: 600 16px var(--font); text-align: left; cursor: pointer; border-radius: 16px;
}
.qa .q svg { width: 20px; height: 20px; flex: none; color: var(--dim); transition: transform .4s cubic-bezier(.2,1.3,.4,1), color .2s; }
.qa .q:hover svg { color: #fff; }
.qa.open .q svg { transform: rotate(180deg); color: var(--violet); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.qa.open .a { grid-template-rows: 1fr; }
.qa .a > div { overflow: hidden; }
.qa .a p {
  margin: 0; padding: 0 20px 18px; color: #cfcfd8; font-size: 15px; line-height: 1.6;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.qa.open .a p { opacity: 1; transform: none; transition-delay: .08s; }
.qa .a a { color: #d0a8ff; }
.faq-more { margin: 22px 0 0; text-align: center; color: var(--dim); font-size: 14px; }
.faq-more a { color: #d0a8ff; }
.home .faq .foot { margin-top: auto; padding-left: 0; padding-right: 0; }
@media (prefers-reduced-motion: reduce) { .qa .a, .qa .a p, .qa .q svg { transition: none; } .sdot::after { animation: none; } }

/* ---------- status page ---------- */
body.statuspage { display: block; }
.stmain { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 18px 20px 20px; }
.st-hero {
  position: relative; overflow: hidden; padding: 64px 24px 92px; border-radius: 26px; text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, rgba(183,124,255,.32), transparent 70%), linear-gradient(160deg, #2a1840, #17111f 70%);
  border: 1px solid rgba(183,124,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
}
.st-hero h1 { position: relative; margin: 0; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.035em; }
.st-hero h1 i { font-style: normal; color: var(--violet); }
.st-hero p { position: relative; margin: 12px auto 0; max-width: 520px; color: #c9c0d6; font-size: 16px; }
.st-shapes span { position: absolute; color: rgba(183,124,255,.16); }
.st-shapes svg { width: 100%; height: 100%; }
.st-shapes .s0 { width: 90px; height: 90px; left: 4%; top: 10%; transform: rotate(-18deg); }
.st-shapes .s1 { width: 60px; height: 60px; left: 22%; bottom: 8%; transform: rotate(12deg); }
.st-shapes .s2 { width: 54px; height: 54px; right: 24%; top: 6%; transform: rotate(20deg); }
.st-shapes .s3 { width: 80px; height: 80px; right: 4%; bottom: 14%; transform: rotate(-10deg); }
.st-shapes .s4 { width: 46px; height: 46px; left: 40%; top: -8px; transform: rotate(-24deg); opacity: .7; }
.st-shapes .s5 { width: 70px; height: 70px; right: 8%; top: 18%; transform: rotate(8deg); opacity: .6; }
.st-shapes .s6 { width: 40px; height: 40px; left: 12%; top: 58%; transform: rotate(30deg); opacity: .7; }
.st-shapes .s7 { width: 50px; height: 50px; right: 36%; bottom: 4%; transform: rotate(-30deg); opacity: .6; }

#st-live { transition: opacity .18s; }
#st-live.st-swap { opacity: .4; }
.st-overall {
  position: relative; display: flex; align-items: center; gap: 14px; width: min(760px, calc(100% - 24px)); margin: -46px auto 0; padding: 18px 22px;
  border-radius: 20px; background: rgba(20,20,24,.92); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 24px 60px rgba(0,0,0,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: rise .8s .1s cubic-bezier(.2,.8,.2,1) both;
}
.st-overall .st-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.st-overall .st-ico svg { width: 24px; height: 24px; }
.st-overall b { display: block; font-size: 17px; }
.st-overall small { color: var(--dim); font-size: 13.5px; }
.st-h { margin: 52px 0 16px; font-size: 22px; letter-spacing: -.02em; }
.st-h span { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.st-empty {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 20px; border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.14); background: rgba(18,18,22,.55); color: var(--ok);
}
.st-empty svg { width: 24px; height: 24px; flex: none; }
.st-empty b { display: block; color: var(--fg); font-size: 15px; }
.st-empty small { color: var(--dim); font-size: 13.5px; }
.st-incs { display: flex; flex-direction: column; gap: 10px; }
.st-inc { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(18,18,22,.75); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.st-inc .st-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }
.st-inc b { font-size: 15.5px; }
.st-inc p { margin: 4px 0 6px; color: #cfcfd8; font-size: 14px; }
.st-inc small { color: var(--dim); font-size: 12.5px; }
.st-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.st-card { border-radius: 20px; background: rgba(18,18,22,.78); border: 1px solid var(--line); overflow: hidden; backdrop-filter: blur(10px); }
.st-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.st-card-head b { font-size: 16px; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; color: #c9c9d3; font-size: 13px; }
.st-pill svg { width: 17px; height: 17px; color: var(--c); }
.st-row { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.045); }
.st-row:last-child { border-bottom: 0; }
.st-ic { display: grid; place-items: center; width: 20px; color: #8d8d99; }
.st-ic svg { width: 17px; height: 17px; }
.st-name { flex: 1; min-width: 0; font-size: 15px; }
.st-speed { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #a9a9b4; font-size: 13px; cursor: default; }
.st-speed i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.st-fast { --c: var(--ok); } .st-average { --c: var(--warn); } .st-paused { --c: #8a8a96; }
.st-history { padding: 8px 20px 16px; }
.st-hrow { display: grid; grid-template-columns: 170px 1fr 58px; align-items: center; gap: 14px; padding: 9px 0; }
.st-hname { font-size: 14px; color: #d6d6dc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-bars { display: flex; gap: 3px; height: 26px; }
.st-bars i { position: relative; flex: 1; min-width: 2px; border-radius: 3px; background: var(--ok); opacity: .9; transition: opacity .15s, transform .2s; }
.st-bars i.warn { background: var(--warn); } .st-bars i.bad { background: var(--bad); } .st-bars i.nodata { background: rgba(255,255,255,.08); }
.st-bars i:hover { opacity: 1; transform: scaleY(1.12); }
.st-up { text-align: right; font: 600 13px var(--mono); color: #d6d6dc; }
.st-hlegend { display: flex; justify-content: space-between; margin: 4px 0 0 184px; margin-right: 72px; color: var(--dim); font-size: 12px; }
.st-note { margin: 22px 0 0; color: var(--dim); font-size: 13px; text-align: center; }
/* hover tips for speeds and days */
[data-tip] { position: relative; }
[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  padding: 6px 10px; border-radius: 9px; white-space: nowrap; pointer-events: none;
  background: rgba(10,10,14,.96); border: 1px solid rgba(255,255,255,.12); color: #eee; font: 500 12px var(--font);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.st-speed[data-tip]:hover::after { left: auto; right: -6px; transform: none; }
@media (max-width: 760px) {
  .st-groups { grid-template-columns: 1fr; }
  .st-hrow { grid-template-columns: 1fr 52px; gap: 6px 10px; }
  .st-hname { grid-column: 1 / -1; }
  .st-hlegend { margin: 4px 62px 0 0; }
  .st-bars { gap: 2px; }
  .st-hero { padding: 48px 18px 84px; }
}