@import url('fonts.css');

:root {
  --bg: #0A0A0E;
  --surface: #14141C;
  --surface-hi: #1C1C28;
  --accent: #B4A7F5;
  --accent-hi: #D4C9FF;
  --accent-dim: #6F62B8;
  --text: #F4F3F8;
  --mute: #8D8B9A;
  --border: #24242E;
  --danger: #F87171;
  --warn: #FBBF24;
  --ok: #4ADE80;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --gutter: 16px;
  --maxw: 1200px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.02) inset, 0 20px 50px -30px rgba(0,0,0,0.9);
  --glow-accent: 0 0 0 1px rgba(180,167,245,0.35), 0 10px 40px -10px rgba(180,167,245,0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--accent);
  color: #0A0A0E;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section { padding: 72px 0; position: relative; }
.section--tight { padding: 48px 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 5vw, 44px);
  margin-top: 14px;
}
.section-head p {
  color: var(--mute);
  font-size: 17px;
  margin-top: 14px;
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(180,167,245,0.35), transparent);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #0A0A0E;
  box-shadow: 0 8px 24px -10px rgba(180,167,245,0.6);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(212,201,255,0.5), 0 12px 36px -8px rgba(180,167,245,0.85);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface-hi);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent-dim); background: #22222f; }

.btn--discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(88,101,242,0.7);
}
.btn--discord:hover { box-shadow: 0 0 0 1px rgba(120,130,255,0.6), 0 12px 36px -8px rgba(88,101,242,0.9); transform: translateY(-1px); }

.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.announce {
  background: linear-gradient(90deg, rgba(180,167,245,0.14), rgba(180,167,245,0.06));
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text);
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 44px 9px 16px;
  position: relative;
  text-align: center;
}
.announce strong { color: var(--accent-hi); font-weight: 600; }
.announce a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 2px; }
.announce__close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--mute);
  font-size: 18px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
}
.announce__close:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.announce[hidden] { display: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,14,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--border);
  background: rgba(10,10,14,0.9);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand img { width: 26px; height: 26px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--mute);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav__links a.active { color: var(--text); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mute);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.online b { color: var(--text); font-weight: 600; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(180,167,245,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(180,167,245,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(180,167,245,0); }
  100% { box-shadow: 0 0 0 0 rgba(180,167,245,0); }
}

.nav__toggle {
  display: none;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px; height: 40px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

.hero {
  position: relative;
  padding: 92px 0 80px;
  overflow: hidden;
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(180,167,245,0.55), rgba(180,167,245,0.08) 55%, transparent 70%);
}
.hero__orb {
  width: 620px; height: 620px;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(40px, 8vw, 78px);
  font-weight: 700;
  margin-top: 22px;
  letter-spacing: -0.04em;
}
.hero h1 .grad {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--mute);
  font-size: clamp(16px, 2.4vw, 19px);
  margin: 22px auto 0;
  max-width: 560px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--mute);
}
.stars { display: inline-flex; gap: 2px; color: var(--warn); }
.stars svg { width: 16px; height: 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.03em;
  color: var(--text);
}
.stat span { color: var(--mute); font-size: 13.5px; margin-top: 6px; display: block; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
.card:hover {
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-card), 0 0 40px -12px rgba(180,167,245,0.25);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a26, #101019);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(10,10,14,0.7);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.product__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__title { font-size: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product__status {
  font-size: 11px; font-weight: 600;
  color: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
}
.product__status .dot { background: var(--ok); width: 7px; height: 7px; }
.product__desc { color: var(--mute); font-size: 14.5px; }
.product__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.chip {
  font-size: 12px;
  color: var(--text);
  background: var(--surface-hi);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.product__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.product__price span { color: var(--mute); font-weight: 500; font-size: 13px; }

.product--soon { opacity: 0.6; }
.product--soon .product__media { display: flex; align-items: center; justify-content: center; }
.soon-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0.04em;
  font-size: 15px;
}

.dash-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}
.dash-card { padding: 26px; }
.dash-card h3 { font-size: 22px; margin-bottom: 8px; }
.dash-card p.lead { color: var(--mute); font-size: 15px; margin-bottom: 20px; }

.keyrow {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.keyrow__label { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.keyrow code {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: var(--accent-hi);
  flex: 1;
}
.copy-btn {
  background: var(--surface-hi);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.copy-btn:hover { border-color: var(--accent-dim); }
.copy-btn.copied { color: var(--ok); border-color: var(--ok); }

.dash-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.dash-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}
.dash-list .ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(180,167,245,0.12);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
}
.dash-list .ico svg { width: 18px; height: 18px; }
.dash-list b { display: block; }
.dash-list span { color: var(--mute); font-size: 13px; }
.dash-list .meta { margin-left: auto; color: var(--mute); font-size: 12.5px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(180,167,245,0.2), rgba(180,167,245,0.06));
  border: 1px solid rgba(180,167,245,0.2);
  color: var(--accent);
  display: grid; place-items: center;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--mute); font-size: 15px; }
.feature ul { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.feature ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
}
.feature ul li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 3px;
  flex: none;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feature__shot {
  margin-top: 6px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(180,167,245,0.12), transparent 50%),
    linear-gradient(135deg, #15151f, #0d0d15);
  display: grid; place-items: center;
  color: var(--mute);
  font-size: 13px;
  overflow: hidden;
}

.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.support-card { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.support-card h3 { font-size: 24px; }
.support-card p { color: var(--mute); font-size: 15px; }
.support-card .btn { align-self: flex-start; margin-top: 6px; }

.reviews {
  columns: 3;
  column-gap: 20px;
}
.review {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.review__stars { color: var(--warn); display: flex; gap: 2px; margin-bottom: 12px; }
.review__stars svg { width: 15px; height: 15px; }
.review p { font-size: 14.5px; color: var(--text); }
.review__who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #0A0A0E;
  flex: none;
}
.review__who b { font-size: 14px; }
.review__who span { font-size: 12px; color: var(--mute); display: block; }

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0;
}
.cta-band .orb { width: 500px; height: 500px; bottom: -280px; left: 50%; transform: translateX(-50%); opacity: 0.4; }
.cta-band__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(30px, 5vw, 48px); }
.cta-band p { color: var(--mute); font-size: 17px; margin: 16px auto 28px; max-width: 480px; }

.discord-band {
  background: linear-gradient(135deg, rgba(88,101,242,0.16), rgba(88,101,242,0.05));
  border: 1px solid rgba(88,101,242,0.25);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.discord-band__text { flex: 1; min-width: 240px; }
.discord-band h2 { font-size: clamp(26px, 4vw, 38px); }
.discord-band p { color: var(--mute); font-size: 16px; margin-top: 10px; }

.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  overflow: hidden;
}
.footer__orb { width: 480px; height: 480px; bottom: -340px; left: 10%; opacity: 0.22; }
.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer__brand { max-width: 320px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { color: var(--mute); font-size: 14px; }
.footer__bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer__bullets li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--mute); }
.footer__bullets .ico { color: var(--accent); display: inline-flex; }
.footer__bullets .ico svg { width: 16px; height: 16px; }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--text); font-size: 14px; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pay-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-row img { height: 26px; width: auto; opacity: 0.9; }
.status-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.status-line .dot { background: var(--ok); }
.copyright { font-size: 13px; color: var(--mute); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}
.price {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price--featured {
  border-color: var(--accent-dim);
  box-shadow: var(--shadow-card), 0 0 50px -16px rgba(180,167,245,0.4);
}
.price__badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--warn);
  color: #1A1206;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--mute); }
.price__amount { display: flex; align-items: baseline; gap: 6px; }
.price__amount b { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; }
.price__amount span { color: var(--mute); font-size: 14px; }
.price ul { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.price ul li::before {
  content: "";
  width: 16px; height: 16px; margin-top: 3px; flex: none;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.auth-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 60px 16px;
  position: relative;
  overflow: hidden;
}
.auth-wrap .orb { width: 520px; height: 520px; top: -160px; left: 50%; transform: translateX(-50%); opacity: 0.4; }
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 40px 34px;
  text-align: center;
}
.auth-card .brand { justify-content: center; margin-bottom: 22px; font-size: 22px; }
.auth-card h1 { font-size: 26px; }
.auth-card p { color: var(--mute); font-size: 15px; margin: 12px 0 28px; }
.auth-card .btn--discord { width: 100%; }
.auth-card .fine { font-size: 12.5px; color: var(--mute); margin-top: 22px; }
.auth-card .fine a { color: var(--accent); }

.dash-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px;
  flex-wrap: wrap;
}
.dash-head .avatar { width: 56px; height: 56px; font-size: 22px; }
.dash-head__id b { font-family: var(--font-display); font-size: 20px; display: block; }
.dash-head__id span { color: var(--mute); font-size: 13.5px; }
.dash-head .btn { margin-left: auto; }
.badge-plan {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(180,167,245,0.14);
  color: var(--accent-hi);
  border: 1px solid rgba(180,167,245,0.25);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  margin-top: 6px;
}

.dash-cols {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.panel { padding: 26px; }
.panel h3 { font-size: 18px; margin-bottom: 16px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--mute); }
.kv b { font-weight: 600; }
.dash-actions { display: flex; flex-direction: column; gap: 12px; }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .chev {
  flex: none;
  width: 20px; height: 20px;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.faq-a p { color: var(--mute); font-size: 15px; padding-bottom: 20px; }
.faq-item.open .faq-a { max-height: 400px; }

.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); }
.legal .updated { color: var(--mute); font-size: 14px; margin: 12px 0 36px; }
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--mute); font-size: 15.5px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }

.error-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
  position: relative;
  overflow: hidden;
}
.error-wrap .orb { width: 560px; height: 560px; top: -200px; left: 50%; transform: translateX(-50%); opacity: 0.4; }
.error-wrap__inner { position: relative; z-index: 1; max-width: 480px; }
.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(90px, 20vw, 160px);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-wrap h1 { font-size: 28px; margin-top: 10px; }
.error-wrap p { color: var(--mute); margin: 14px 0 28px; }

.page-head { padding: 72px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 6vw, 56px); margin-top: 16px; }
.page-head p { color: var(--mute); font-size: 17px; margin: 16px auto 0; max-width: 560px; }

.nav__drawer { display: none; }

@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { columns: 2; }
  .dash-preview { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .dash-cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .nav__links { display: none; }
  .online { display: none; }
  .nav__right .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .reviews { columns: 1; }
  .discord-band { padding: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .nav__drawer {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 320px);
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 150;
    padding: 24px 20px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .nav__drawer.open { transform: translateX(0); }
  .nav__drawer a {
    display: block;
    padding: 14px 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    border-radius: 10px;
    color: var(--text);
  }
  .nav__drawer a:hover { background: var(--surface-hi); }
  .nav__drawer .btn { margin-top: 16px; width: 100%; }
  .drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
  }
  .drawer-backdrop.open { opacity: 1; visibility: visible; }
  .drawer-close {
    background: var(--surface-hi);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    width: 40px; height: 40px;
    margin-left: auto;
    display: flex; align-items: center; justify-content: center;
  }
  .drawer-head { display: flex; align-items: center; margin-bottom: 16px; }
}

@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
