:root {
  color-scheme: dark;
  --bg: #070706;
  --panel: #11110f;
  --panel-2: #191814;
  --paper: #f6f2ea;
  --paper-soft: #cbc3b5;
  --muted: #8c867b;
  --line: rgba(246, 242, 234, 0.14);
  --gold: #d8ad45;
  --gold-soft: #f8d878;
  --electric: #53dcff;
  --electric-2: #a4f2ff;
  --ember: #f05a69;
  --green: #6ee7b7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
  --wide: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(83, 220, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #070706 0%, #11100d 48%, #060605 100%);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.storm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.storm-backdrop::before,
.storm-backdrop::after,
.cloud-sheet,
.signal-grid {
  position: absolute;
  inset: -18%;
  content: "";
}

.storm-backdrop::before {
  background:
    linear-gradient(110deg, transparent 0%, rgba(83, 220, 255, 0.08) 44%, transparent 58%),
    linear-gradient(145deg, rgba(216, 173, 69, 0.08), transparent 38%),
    linear-gradient(15deg, transparent, rgba(240, 90, 105, 0.06) 62%, transparent);
  filter: blur(18px);
  animation: skySweep 14s ease-in-out infinite alternate;
}

.storm-backdrop::after {
  background:
    repeating-linear-gradient(118deg, transparent 0 40px, rgba(246, 242, 234, 0.045) 41px, transparent 43px),
    repeating-linear-gradient(22deg, transparent 0 72px, rgba(83, 220, 255, 0.04) 73px, transparent 75px);
  opacity: 0.5;
  transform: translate3d(0, 0, 0);
  animation: rainSlide 16s linear infinite;
}

.cloud-sheet {
  opacity: 0.44;
  background:
    radial-gradient(ellipse at 22% 35%, rgba(246, 242, 234, 0.12), transparent 34%),
    radial-gradient(ellipse at 74% 28%, rgba(83, 220, 255, 0.1), transparent 31%),
    radial-gradient(ellipse at 48% 72%, rgba(216, 173, 69, 0.07), transparent 36%);
  filter: blur(28px);
  mix-blend-mode: screen;
}

.cloud-sheet-one {
  animation: cloudFloatOne 22s ease-in-out infinite alternate;
}

.cloud-sheet-two {
  opacity: 0.3;
  animation: cloudFloatTwo 28s ease-in-out infinite alternate;
}

.signal-grid {
  inset: 0;
  background:
    linear-gradient(rgba(246, 242, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 234, 0.03) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 76%, transparent);
  opacity: 0.32;
  animation: gridTravel 18s linear infinite;
}

#stormCanvas {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: none;
  width: 24px;
  height: 24px;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 160ms ease;
}

.custom-cursor::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(164, 242, 255, 0.9);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(83, 220, 255, 0.7),
    inset 0 0 10px rgba(83, 220, 255, 0.24);
  content: "";
}

.custom-cursor::after {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 9px;
  height: 16px;
  background: linear-gradient(180deg, var(--gold-soft), var(--electric-2));
  clip-path: polygon(58% 0, 100% 0, 62% 43%, 100% 43%, 28% 100%, 46% 55%, 0 55%);
  content: "";
  filter: drop-shadow(0 0 8px rgba(83, 220, 255, 0.9));
}

@media (pointer: fine) {
  body.cursor-enabled,
  body.cursor-enabled a,
  body.cursor-enabled button,
  body.cursor-enabled input,
  body.cursor-enabled select,
  body.cursor-enabled textarea {
    cursor: none;
  }

  body.cursor-enabled .custom-cursor {
    display: block;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 28px), var(--wide));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 7, 6, 0.74);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.site-header > * {
  min-width: 0;
}

.site-header.is-scrolled {
  border-color: rgba(83, 220, 255, 0.26);
  background: rgba(7, 7, 6, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: 0;
  min-width: 0;
  white-space: nowrap;
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(248, 216, 120, 0.44);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(248, 216, 120, 0.22), rgba(83, 220, 255, 0.11)),
    #11100d;
  color: var(--gold-soft);
  box-shadow: 0 0 24px rgba(216, 173, 69, 0.24);
  overflow: hidden;
}

.brand-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.ghost-link,
.staff-access-link {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--paper-soft);
  font-size: 14px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.ghost-link:hover,
.staff-access-link:hover {
  color: var(--paper);
  background: rgba(246, 242, 234, 0.08);
}

.staff-nav-link,
.staff-access-link {
  border: 1px solid rgba(248, 216, 120, 0.24);
  background: rgba(248, 216, 120, 0.075);
  color: var(--gold-soft) !important;
}

[data-staff-only],
[data-staff-menu],
[data-authenticated-only],
[data-anonymous-only] {
  display: none !important;
}

body.is-staff-user [data-staff-only],
body.is-staff-user [data-staff-menu],
[data-staff-only].is-staff-visible {
  display: inline-flex !important;
}

body.is-staff-user .site-nav [data-staff-only],
.site-nav [data-staff-only].is-staff-visible {
  display: inline-flex !important;
}

body.is-staff-user .quick-access [data-staff-only],
.quick-access [data-staff-only].is-staff-visible {
  display: grid !important;
}

body.is-authenticated [data-authenticated-only]:not([data-staff-menu]),
body:not(.is-authenticated) [data-anonymous-only] {
  display: flex !important;
}

body:not(.is-staff-user) [data-staff-menu] {
  display: none !important;
}

.staff-nav-link:hover,
.staff-nav-link.is-active,
.staff-access-link:hover {
  border-color: rgba(248, 216, 120, 0.48);
  background: rgba(248, 216, 120, 0.14) !important;
  box-shadow: 0 0 24px rgba(216, 173, 69, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-menu {
  position: relative;
  z-index: 2;
}

.profile-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(83, 220, 255, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(83, 220, 255, 0.12), rgba(248, 216, 120, 0.08)),
    rgba(255, 255, 255, 0.045);
  color: var(--paper);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.profile-toggle:hover,
.profile-menu.is-open .profile-toggle {
  border-color: rgba(248, 216, 120, 0.48);
  box-shadow: 0 0 24px rgba(83, 220, 255, 0.18);
  transform: translateY(-1px);
}

.profile-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(248, 216, 120, 0.9), rgba(83, 220, 255, 0.72));
  color: #11100d;
  font-size: 13px;
  font-weight: 860;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: min(280px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 7, 6, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-menu.is-open .profile-dropdown {
  display: grid;
  gap: 6px;
}

.profile-dropdown-user {
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border-bottom: 1px solid rgba(246, 242, 234, 0.1);
  margin-bottom: 4px;
}

.profile-dropdown-user strong {
  color: var(--paper);
}

.profile-dropdown-user small {
  color: var(--paper-soft);
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-menu-item {
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper-soft);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.profile-menu-item:hover {
  background: rgba(83, 220, 255, 0.1);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--paper);
  transition: transform 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(248, 216, 120, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(248, 216, 120, 0.96), rgba(216, 173, 69, 0.9)),
    var(--gold);
  color: #17130b;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(216, 173, 69, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button::after {
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 2px);
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.48) 46%, transparent 62%);
  opacity: 0;
  transform: translateX(-38%);
  transition:
    opacity 180ms ease,
    transform 420ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(216, 173, 69, 0.28);
  filter: saturate(1.08);
}

.button:hover::after {
  opacity: 0.55;
  transform: translateX(38%);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.button-secondary {
  border-color: rgba(83, 220, 255, 0.34);
  background: rgba(83, 220, 255, 0.1);
  color: var(--paper);
  box-shadow: none;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 54px 0;
}

.section-dark {
  position: relative;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding: 58px max(16px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.055), rgba(246, 242, 234, 0.02)),
    rgba(17, 17, 15, 0.76);
  border-block: 1px solid rgba(246, 242, 234, 0.08);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: center;
  padding: 106px max(16px, calc((100vw - var(--max)) / 2)) 34px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 74% 48%, rgba(72, 202, 255, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.72) 46%, rgba(7, 7, 6, 0.2));
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(118deg, transparent 0%, rgba(83, 220, 255, 0.16) 42%, transparent 54%),
    repeating-linear-gradient(115deg, transparent 0 56px, rgba(248, 216, 120, 0.06) 58px, transparent 60px);
  mix-blend-mode: screen;
  opacity: 0.76;
  animation: heroCharge 9s ease-in-out infinite alternate;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.98) 0%, rgba(7, 7, 6, 0.84) 38%, rgba(7, 7, 6, 0.3) 74%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.08), #070706 94%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  transform: translateX(1.5%) scale(0.96);
  filter: saturate(1.04) contrast(1.04);
  animation: stormDrift 18s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 32px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 26px rgba(83, 220, 255, 0.2),
    0 18px 70px rgba(0, 0, 0, 0.58);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-lead,
.section-heading p,
.feature-card p,
.important-item p,
.faq-answer,
.payment-panel p,
.download-tile small,
.site-footer,
.cabinet-promo-copy p,
.account-hero p {
  color: var(--paper-soft);
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.metrics div {
  min-width: 126px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(246, 242, 234, 0.06);
  backdrop-filter: blur(12px);
}

.metrics dt {
  color: var(--electric-2);
  font-size: 28px;
  font-weight: 780;
}

.metrics dd {
  margin: 0;
  color: var(--paper-soft);
  font-size: 13px;
}

.quick-access {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(calc(100% - 32px), var(--max));
  margin: -16px auto 0;
  padding: 0 0 16px;
}

.quick-card {
  display: grid;
  min-height: 118px;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(83, 220, 255, 0.075), rgba(246, 242, 234, 0.035)),
    rgba(17, 17, 15, 0.82);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.quick-card:hover {
  border-color: rgba(83, 220, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(83, 220, 255, 0.12), rgba(246, 242, 234, 0.045)),
    rgba(17, 17, 15, 0.9);
  transform: translateY(-2px);
}

.quick-card span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 820;
}

.quick-card strong {
  color: var(--paper);
  font-size: 18px;
}

.quick-card small {
  color: var(--paper-soft);
}

.quick-card-staff {
  border-color: rgba(248, 216, 120, 0.32);
  background:
    linear-gradient(145deg, rgba(248, 216, 120, 0.12), rgba(83, 220, 255, 0.06)),
    rgba(17, 17, 15, 0.88);
}

.connection-card {
  position: relative;
  min-height: 440px;
  padding: 22px;
  border: 1px solid rgba(246, 242, 234, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(25, 24, 20, 0.78), rgba(7, 7, 6, 0.88)),
    rgba(17, 17, 15, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.connection-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0%, rgba(83, 220, 255, 0.2) 48%, transparent 54%),
    linear-gradient(rgba(246, 242, 234, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 234, 0.05) 1px, transparent 1px);
  background-size:
    100% 100%,
    36px 36px,
    36px 36px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  opacity: 0.55;
  animation: gridPulse 5s linear infinite;
}

.card-topline,
.connection-row,
.connection-map,
.bolt-meter {
  position: relative;
  z-index: 1;
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--paper-soft);
  font-size: 14px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 20px var(--electric);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.bolt-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 28px 0;
}

.bolt-meter span {
  height: 84px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(83, 220, 255, 0.12), rgba(248, 216, 120, 0.32));
  transform-origin: bottom;
  animation: meterRise 1.8s ease-in-out infinite;
}

.bolt-meter span:nth-child(2) {
  animation-delay: 180ms;
}

.bolt-meter span:nth-child(3) {
  animation-delay: 340ms;
}

.bolt-meter span:nth-child(4) {
  animation-delay: 520ms;
}

.connection-map {
  height: 170px;
  margin-bottom: 22px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(83, 220, 255, 0.08), transparent 50%),
    rgba(0, 0, 0, 0.18);
}

.node {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(246, 242, 234, 0.2);
  border-radius: 50%;
  background: #11100d;
  color: var(--paper);
  font-size: 13px;
  font-weight: 780;
}

.node-home {
  left: 18px;
  bottom: 24px;
}

.node-active {
  right: 38px;
  top: 30px;
  border-color: rgba(83, 220, 255, 0.65);
  box-shadow: 0 0 26px rgba(83, 220, 255, 0.26);
}

.node-alt {
  right: 92px;
  bottom: 20px;
  color: var(--gold-soft);
}

.route {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--gold-soft), transparent);
  transform-origin: left center;
  opacity: 0.8;
  animation: routeFlash 2.7s ease-in-out infinite;
}

.route-one {
  left: 62px;
  top: 101px;
  width: 228px;
  transform: rotate(-19deg);
}

.route-two {
  left: 86px;
  top: 122px;
  width: 188px;
  transform: rotate(10deg);
  animation-delay: 400ms;
}

.connection-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(246, 242, 234, 0.1);
  color: var(--paper-soft);
}

.connection-row strong {
  color: var(--paper);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1fr;
  gap: 48px;
  align-items: start;
}

.section-heading {
  max-width: 720px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 18px;
}

.feature-grid,
.pricing-grid,
.download-grid,
.important-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.price-card,
.important-item {
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(246, 242, 234, 0.045);
}

.feature-card,
.important-item {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--electric);
  font-size: 13px;
  font-weight: 780;
}

.server-section {
  padding-top: 32px;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.server-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(83, 220, 255, 0.08), transparent 48%),
    rgba(246, 242, 234, 0.045);
  overflow: hidden;
}

.server-card::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(110, 231, 183, 0.72);
  content: "";
  animation: pulseDot 1.8s ease-in-out infinite;
}

.server-card h3 {
  margin-bottom: 2px;
}

.server-card small {
  color: var(--paper-soft);
}

.server-card strong {
  color: var(--electric-2);
  font-size: 28px;
}

.server-flag {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(248, 216, 120, 0.28);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 820;
}

.load-bar {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.load-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric), var(--gold-soft));
  box-shadow: 0 0 18px rgba(83, 220, 255, 0.34);
  transition: width 420ms ease;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.pricing-switchboard {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(83, 220, 255, 0.1), rgba(248, 216, 120, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: var(--paper-soft);
}

.pricing-switchboard strong {
  color: var(--paper);
  font-size: 22px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.06), rgba(246, 242, 234, 0.03)),
    var(--panel);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.price-card::after {
  position: absolute;
  inset: auto 18px 72px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 220, 255, 0.45), transparent);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.price-card:hover,
.price-card.is-selected {
  border-color: rgba(83, 220, 255, 0.42);
  box-shadow: 0 26px 70px rgba(83, 220, 255, 0.12);
  transform: translateY(-6px);
}

.price-card:hover::after,
.price-card.is-selected::after {
  opacity: 1;
}

.price-card-featured {
  border-color: rgba(248, 216, 120, 0.44);
  transform: translateY(-12px);
  box-shadow: 0 22px 60px rgba(216, 173, 69, 0.14);
}

.badge,
.status-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(83, 220, 255, 0.2);
  background: rgba(83, 220, 255, 0.1);
  color: var(--electric-2);
  font-size: 12px;
  font-weight: 760;
}

.status-value {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: 999px;
  background: rgba(246, 242, 234, 0.07);
  color: var(--paper);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.2;
  white-space: normal;
}

.status-pill.is-open {
  border-color: rgba(83, 220, 255, 0.34);
  background: rgba(83, 220, 255, 0.12);
  color: var(--electric-2);
}

.status-pill.is-closed {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(148, 163, 184, 0.12);
  color: var(--paper-soft);
}

.status-pill.is-active-status,
.status-pill.is-paid,
.status-pill.is-on,
.status-value.is-active-status,
.status-value.is-paid,
.status-value.is-on,
.status-value.is-verified {
  border-color: rgba(110, 231, 183, 0.34);
  background: rgba(110, 231, 183, 0.12);
  color: #b8ffe5;
}

.status-pill.is-warning,
.status-pill.is-pending,
.status-value.is-warning,
.status-value.is-pending {
  border-color: rgba(248, 216, 120, 0.36);
  background: rgba(248, 216, 120, 0.13);
  color: var(--gold-soft);
}

.status-pill.is-danger,
.status-value.is-danger {
  border-color: rgba(240, 90, 105, 0.42);
  background: rgba(240, 90, 105, 0.13);
  color: #ffb8c0;
}

.status-pill.is-off,
.status-pill.is-neutral,
.status-value.is-off,
.status-value.is-neutral {
  border-color: rgba(246, 242, 234, 0.14);
  background: rgba(246, 242, 234, 0.075);
  color: var(--paper-soft);
}

.status-value.role-admin,
.role-banner.role-admin {
  border-color: rgba(248, 216, 120, 0.44);
  background:
    linear-gradient(135deg, rgba(248, 216, 120, 0.18), rgba(240, 90, 105, 0.08)),
    rgba(248, 216, 120, 0.08);
  color: var(--gold-soft);
}

.status-value.role-support,
.role-banner.role-support {
  border-color: rgba(83, 220, 255, 0.42);
  background: rgba(83, 220, 255, 0.13);
  color: var(--electric-2);
}

.status-value.role-user,
.role-banner.role-user {
  border-color: rgba(246, 242, 234, 0.18);
  background: rgba(246, 242, 234, 0.08);
  color: var(--paper);
}

.status-value.is-bonus,
.status-pill.is-bonus {
  border-color: rgba(167, 139, 250, 0.36);
  background: rgba(167, 139, 250, 0.13);
  color: #ddd0ff;
}

.price-label {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 780;
}

.price {
  margin-bottom: 0;
  color: var(--paper-soft);
}

.price span {
  color: var(--paper);
  font-size: 52px;
  font-weight: 820;
  letter-spacing: 0;
}

.price-note {
  display: inline-flex;
  margin-top: 8px;
  color: var(--paper-soft);
}

.plan-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.plan-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric), var(--gold-soft));
  box-shadow: 0 0 20px rgba(83, 220, 255, 0.28);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--paper-soft);
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.payment-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 0.45fr)) auto;
  gap: 16px;
  align-items: end;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 7, 6, 0.56);
}

label {
  display: grid;
  gap: 8px;
  color: var(--paper-soft);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(246, 242, 234, 0.16);
  border-radius: var(--radius);
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  padding: 0 13px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--paper-soft) 50%),
    linear-gradient(135deg, var(--paper-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

textarea {
  min-height: 120px;
  padding: 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(83, 220, 255, 0.64);
  box-shadow: 0 0 0 3px rgba(83, 220, 255, 0.12);
}

.download-section {
  text-align: center;
}

.download-section .section-heading {
  margin: 0 auto 34px;
}

.download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-tile {
  display: grid;
  min-height: 178px;
  align-content: end;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(83, 220, 255, 0.08), transparent 46%),
    rgba(246, 242, 234, 0.045);
  text-align: left;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.download-tile:hover {
  border-color: rgba(83, 220, 255, 0.42);
  background:
    linear-gradient(160deg, rgba(83, 220, 255, 0.14), transparent 46%),
    rgba(246, 242, 234, 0.06);
  transform: translateY(-3px);
}

.download-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(248, 216, 120, 0.26);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 820;
}

.download-tile strong {
  font-size: 22px;
}

.app-motion-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: center;
}

.app-motion-copy {
  max-width: 620px;
}

.app-motion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.app-motion-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: 999px;
  background: rgba(83, 220, 255, 0.08);
  color: var(--electric-2);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 760;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
}

.phone-orbit {
  position: absolute;
  width: min(84%, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(83, 220, 255, 0.12), transparent 42%),
    radial-gradient(circle at 70% 24%, rgba(248, 216, 120, 0.12), transparent 22%);
  animation: phoneOrbit 12s linear infinite;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: min(270px, 72vw);
  aspect-ratio: 0.52;
  border: 1px solid rgba(246, 242, 234, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(246, 242, 234, 0.16), rgba(246, 242, 234, 0.04)),
    #0a0a09;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(83, 220, 255, 0.18);
  padding: 12px;
  transform: rotate(-5deg);
  animation: phoneFloat 5.8s ease-in-out infinite;
}

.phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  height: 100%;
  padding: 42px 18px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(83, 220, 255, 0.12), rgba(248, 216, 120, 0.08)),
    #11110f;
  overflow: hidden;
}

.phone-status,
.phone-connection {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.phone-status span,
.phone-connection span {
  color: var(--paper-soft);
  font-size: 12px;
}

.phone-status strong {
  color: var(--green);
}

.phone-qr {
  position: relative;
  display: grid;
  width: 142px;
  height: 142px;
  place-self: center;
  place-items: center;
  border: 1px solid rgba(248, 216, 120, 0.24);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(90deg, rgba(246, 242, 234, 0.9) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(0deg, rgba(83, 220, 255, 0.52) 0 7px, transparent 7px 14px),
    #f6f2ea;
  background-blend-mode: multiply;
  overflow: hidden;
}

.phone-qr span {
  width: 46px;
  height: 46px;
  border: 8px solid #11110f;
  border-radius: 4px;
}

.phone-qr i {
  position: absolute;
  inset: 12px auto auto 12px;
  width: 28px;
  height: 28px;
  border: 6px solid #11110f;
  border-radius: 3px;
}

.phone-scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 130px;
  height: 2px;
  background: var(--electric-2);
  box-shadow: 0 0 22px rgba(83, 220, 255, 0.82);
  animation: qrScan 2.6s ease-in-out infinite;
}

.phone-bolt {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 84px;
  background: linear-gradient(180deg, var(--gold-soft), var(--electric-2));
  clip-path: polygon(56% 0, 100% 0, 64% 42%, 100% 42%, 28% 100%, 46% 56%, 0 56%);
  filter: drop-shadow(0 0 18px rgba(83, 220, 255, 0.64));
  opacity: 0.8;
}

.phone-bolt-one {
  right: 16%;
  top: 22%;
  transform: rotate(14deg);
  animation: boltBlink 2.8s ease-in-out infinite;
}

.phone-bolt-two {
  left: 14%;
  bottom: 18%;
  transform: rotate(-18deg) scale(0.7);
  animation: boltBlink 3.4s ease-in-out infinite 500ms;
}

.reviews-section {
  padding-top: 34px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.review-card {
  display: grid;
  gap: 16px;
  min-height: 210px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(83, 220, 255, 0.08), transparent 48%),
    rgba(246, 242, 234, 0.045);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-head span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(248, 216, 120, 0.28);
  border-radius: 50%;
  background: rgba(248, 216, 120, 0.1);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 820;
}

.review-card p {
  margin: 0;
  color: var(--paper-soft);
}

.cabinet-promo {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 58px max(16px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.76)),
    linear-gradient(140deg, rgba(240, 90, 105, 0.1), transparent 40%);
  border-block: 1px solid rgba(246, 242, 234, 0.08);
}

.cabinet-promo-copy {
  max-width: 620px;
}

.account-preview {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 300px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.08), rgba(246, 242, 234, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid rgba(246, 242, 234, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.preview-sidebar span {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(83, 220, 255, 0.14);
}

.preview-sidebar small {
  color: var(--green);
}

.preview-main {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
}

.preview-line,
.preview-stats span,
.preview-device {
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(83, 220, 255, 0.09), rgba(248, 216, 120, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.preview-line {
  width: 52%;
  height: 20px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-stats span {
  height: 92px;
}

.preview-device {
  height: 72px;
}

.preview-device.is-muted {
  opacity: 0.62;
}

.important-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-top: 34px;
}

.faq-item {
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(7, 7, 6, 0.46);
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq-question span::before,
.faq-question span::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-soft);
  content: "";
  transition: transform 180ms ease;
}

.faq-question span::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] span::after {
  transform: rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 20px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 20px;
}

.account-page {
  min-height: 100vh;
}

.account-main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 116px 0 58px;
}

.account-hero {
  max-width: 820px;
  margin-bottom: 24px;
}

.account-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 9vw, 104px);
}

.account-hero p {
  max-width: 680px;
  font-size: 18px;
}

.account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-sidebar,
.account-panel {
  border: 1px solid rgba(246, 242, 234, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.075), rgba(246, 242, 234, 0.035)),
    rgba(17, 17, 15, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.account-sidebar {
  position: sticky;
  top: 96px;
  padding: 18px;
}

.account-user {
  display: grid;
  gap: 5px;
  padding: 10px 10px 18px;
  border-bottom: 1px solid rgba(246, 242, 234, 0.1);
}

.account-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid rgba(83, 220, 255, 0.34);
  border-radius: 50%;
  color: var(--electric-2);
  font-weight: 820;
  box-shadow: 0 0 28px rgba(83, 220, 255, 0.2);
}

.account-user small {
  color: var(--paper-soft);
  word-break: break-word;
}

.account-role-line {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 4px 6px 4px 10px;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper-soft);
}

.account-tabs {
  display: grid;
  gap: 6px;
  padding-top: 14px;
}

.account-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper-soft);
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.account-tabs button:hover,
.account-tabs button.is-active {
  background: rgba(83, 220, 255, 0.1);
  color: var(--paper);
}

.account-content {
  min-width: 0;
  overflow: hidden;
}

.account-panel {
  display: none;
  padding: 26px;
  min-width: 0;
}

.account-panel.is-active {
  display: block;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.panel-head h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-grid div {
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-grid-large div {
  min-height: 120px;
}

.profile-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.profile-status-grid div {
  padding: 14px;
  border: 1px solid rgba(246, 242, 234, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(83, 220, 255, 0.07), rgba(248, 216, 120, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.profile-status-grid small {
  display: block;
  margin-bottom: 6px;
  color: var(--paper-soft);
}

.compact-status {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.dashboard-grid small,
.config-box small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.dashboard-grid strong {
  color: var(--paper);
  overflow-wrap: anywhere;
}

.config-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(83, 220, 255, 0.07);
}

.account-config {
  margin-top: 16px;
  padding: 16px;
}

code {
  min-width: 0;
  overflow: hidden;
  color: var(--electric-2);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-form {
  display: grid;
  gap: 16px;
}

.compact-form {
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.6fr) auto;
  align-items: end;
  margin-bottom: 18px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.verification-box {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(83, 220, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(83, 220, 255, 0.06);
}

.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.smart-notices {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.smart-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(83, 220, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(83, 220, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.smart-notice::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(83, 220, 255, 0.28);
  border-radius: 50%;
  color: var(--electric-2);
  content: "!";
  font-weight: 820;
}

.smart-notice.is-warning {
  border-color: rgba(248, 216, 120, 0.24);
  background:
    linear-gradient(135deg, rgba(248, 216, 120, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.smart-notice.is-warning::before {
  border-color: rgba(248, 216, 120, 0.36);
  color: var(--gold-soft);
}

.smart-notice.is-good::before {
  border-color: rgba(110, 231, 183, 0.34);
  color: var(--green);
  content: "✓";
}

.smart-notice strong {
  display: block;
  color: var(--paper);
}

.smart-notice small {
  color: var(--paper-soft);
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.billing-card,
.referral-card,
.notification-card,
.security-card {
  padding: 18px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.billing-card p,
.referral-card p,
.notification-card p,
.security-card p {
  color: var(--paper-soft);
}

.billing-summary-card {
  grid-column: 1 / -1;
}

.billing-summary-grid,
.notification-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.billing-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.billing-summary-grid span,
.notification-list span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.billing-summary-grid small,
.notification-list span {
  color: var(--paper-soft);
}

.billing-summary-grid strong {
  color: var(--paper);
}

.toggle-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}

.toggle-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle-row span {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
  border: 1px solid rgba(246, 242, 234, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.toggle-row span::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.toggle-row input:checked + span {
  border-color: rgba(83, 220, 255, 0.48);
  background: rgba(83, 220, 255, 0.2);
}

.toggle-row input:checked + span::before {
  transform: translateX(22px);
  background: var(--electric-2);
}

.payment-history {
  display: grid;
  gap: 12px;
}

.panel-subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.panel-subhead h3 {
  margin-bottom: 0;
}

.panel-subhead small {
  color: var(--paper-soft);
}

.payment-list {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.payment-row small {
  color: var(--paper-soft);
}

.payment-row strong {
  color: var(--paper);
  overflow-wrap: anywhere;
}

.referral-card {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.referral-share-actions,
.security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notification-layout,
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.device-list,
.ticket-list {
  display: grid;
  gap: 10px;
}

.device-card,
.ticket-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.ticket-card {
  width: 100%;
  appearance: none;
  border-color: rgba(246, 242, 234, 0.1);
  color: inherit;
  font: inherit;
}

.ticket-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ticket-preview {
  display: -webkit-box;
  overflow: hidden;
  color: var(--paper);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ticket-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.ticket-list {
  align-content: start;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.ticket-card {
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.ticket-card:hover,
.ticket-card.is-active {
  border-color: rgba(83, 220, 255, 0.36);
  background: rgba(83, 220, 255, 0.08);
}

.ticket-card.is-active {
  transform: translateX(2px);
}

.ticket-chat,
.staff-chat-panel {
  min-height: 520px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.ticket-chat-shell {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  min-height: 520px;
}

.ticket-chat-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(246, 242, 234, 0.1);
}

.ticket-chat-head > * {
  min-width: 0;
}

.ticket-chat-head h3 {
  margin-bottom: 4px;
}

.ticket-chat-head small {
  color: var(--paper-soft);
}

.ticket-chat-messages {
  display: grid;
  align-content: end;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding: 16px;
}

.chat-bubble {
  max-width: 78%;
  padding: 12px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.chat-bubble.is-user {
  justify-self: end;
  border-color: rgba(248, 216, 120, 0.2);
  background: rgba(248, 216, 120, 0.08);
}

.chat-bubble.is-staff {
  justify-self: start;
  border-color: rgba(83, 220, 255, 0.22);
  background: rgba(83, 220, 255, 0.08);
}

.chat-bubble strong {
  display: block;
  margin-bottom: 4px;
  color: var(--electric-2);
}

.chat-bubble small {
  color: var(--paper-soft);
}

.chat-bubble p {
  margin-bottom: 6px;
}

.chat-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  border-top: 1px solid rgba(246, 242, 234, 0.1);
}

.chat-reply-form label {
  min-width: 0;
}

.chat-reply-form textarea {
  min-height: 54px;
  resize: vertical;
}

.chat-closed-note {
  padding: 16px;
  border-top: 1px solid rgba(246, 242, 234, 0.1);
  color: var(--paper-soft);
}

.device-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.device-card-rich {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
}

.device-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(83, 220, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(83, 220, 255, 0.08);
  color: var(--electric-2);
  font-size: 13px;
  font-weight: 880;
}

.device-copy {
  min-width: 0;
}

.device-copy code {
  display: block;
  overflow: hidden;
  margin: 8px 0 4px;
  color: var(--gold-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-card strong,
.ticket-card strong {
  display: block;
  margin-bottom: 4px;
}

.device-card small,
.ticket-card small {
  color: var(--paper-soft);
}

.device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.notification-feed-card {
  grid-column: 1 / -1;
}

.account-notification-feed {
  display: grid;
  gap: 10px;
}

.account-notification {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.account-notification.is-unread {
  border-color: rgba(248, 216, 120, 0.28);
  background: rgba(248, 216, 120, 0.08);
}

.account-notification p {
  margin: 4px 0;
  color: var(--paper-soft);
}

.notification-type {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--electric-2);
  box-shadow: 0 0 18px rgba(83, 220, 255, 0.55);
}

.notification-type.success {
  background: #72f0b5;
  box-shadow: 0 0 18px rgba(114, 240, 181, 0.5);
}

.notification-type.warning {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(248, 216, 120, 0.5);
}

.mini-button {
  min-height: 34px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
  padding: 0 10px;
  cursor: pointer;
}

.empty-state {
  padding: 18px;
  border: 1px dashed rgba(246, 242, 234, 0.16);
  border-radius: var(--radius);
  color: var(--paper-soft);
}

.auth-main,
.guide-main,
.staff-main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 116px 0 58px;
}

.staff-page .staff-main {
  width: min(calc(100% - 32px), var(--wide));
}

.auth-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.auth-copy {
  max-width: 680px;
}

.auth-copy h1,
.guide-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 104px);
}

.auth-copy p,
.guide-hero p,
.guide-step p,
.platform-card li,
.guide-help p {
  color: var(--paper-soft);
}

.auth-shell {
  border: 1px solid rgba(246, 242, 234, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.075), rgba(246, 242, 234, 0.035)),
    rgba(17, 17, 15, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(246, 242, 234, 0.1);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper-soft);
  cursor: pointer;
}

.auth-tabs button.is-active,
.auth-tabs button:hover {
  background: rgba(83, 220, 255, 0.1);
  color: var(--paper);
}

.auth-form {
  display: none;
  gap: 16px;
  padding: 24px;
}

.auth-form.is-active {
  display: grid;
}

.auth-form h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.auth-form p {
  color: var(--paper-soft);
}

.guide-hero {
  max-width: 850px;
  margin-bottom: 24px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 64px;
}

.guide-step,
.platform-card,
.guide-help {
  border: 1px solid rgba(246, 242, 234, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(83, 220, 255, 0.08), transparent 48%),
    rgba(246, 242, 234, 0.045);
}

.guide-step {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 330px;
  padding: 22px;
}

.guide-step span {
  color: var(--electric-2);
  font-size: 13px;
  font-weight: 820;
}

.guide-step h2 {
  font-size: 28px;
}

.platform-guides {
  margin-bottom: 64px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.platform-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.platform-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.guide-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
}

.staff-hero {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(320px, 0.86fr) auto;
  gap: 18px 28px;
  align-items: end;
  margin-bottom: 18px;
}

.staff-hero h1 {
  grid-column: 1;
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
}

.staff-hero .eyebrow,
.staff-hero p,
.role-banner {
  grid-column: 1;
}

.staff-hero > p:not(.eyebrow) {
  max-width: 820px;
  color: var(--paper-soft);
  font-size: 17px;
}

.role-banner {
  display: inline-flex;
  margin-top: 14px;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(83, 220, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(83, 220, 255, 0.08);
  color: var(--electric-2);
  padding: 0 12px;
  font-weight: 760;
}

.role-banner.is-warning {
  border-color: rgba(248, 216, 120, 0.38);
  background: rgba(248, 216, 120, 0.12);
  color: var(--gold-soft);
}

.staff-hero-actions {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.staff-layout {
  display: grid;
  gap: 14px;
  align-items: start;
}

.staff-layout-chat {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.staff-layout-chat.has-admin-tools {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) minmax(300px, 360px);
}

.staff-panel {
  border: 1px solid rgba(246, 242, 234, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.075), rgba(246, 242, 234, 0.035)),
    rgba(17, 17, 15, 0.84);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.staff-panel .panel-head h2,
.admin-tools h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}

.staff-queue-panel .panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.staff-queue-panel .button {
  min-height: 42px;
  padding-inline: 14px;
}

.staff-ticket-list,
.admin-user-list,
.admin-users {
  display: grid;
  gap: 12px;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.staff-stats span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--paper-soft);
  font-size: 12px;
}

.staff-stats strong {
  color: var(--paper);
  font-size: 20px;
}

.staff-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.staff-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--paper-soft);
  font-size: 13px;
}

.staff-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.staff-filter button {
  min-height: 34px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--paper-soft);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.staff-filter button.is-active,
.staff-filter button:hover {
  border-color: rgba(83, 220, 255, 0.34);
  background: rgba(83, 220, 255, 0.1);
  color: var(--electric-2);
}

.staff-ticket-list {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.staff-ticket-card,
.admin-user-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.staff-ticket-card {
  width: 100%;
  appearance: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.staff-ticket-card:hover,
.staff-ticket-card.is-active {
  border-color: rgba(83, 220, 255, 0.36);
  background: rgba(83, 220, 255, 0.08);
}

.ticket-message-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.ticket-message {
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.ticket-message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--electric-2);
}

.ticket-message small,
.admin-user-card small {
  color: var(--paper-soft);
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.staff-reply-form,
.admin-user-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
}

.admin-role-select {
  min-width: 190px;
}

.admin-role-select select {
  min-height: 38px;
}

.staff-chat-panel {
  padding: 0;
  overflow: hidden;
}

.admin-tools {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 116px);
  overflow: auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-promo-list,
.admin-audit-list {
  display: grid;
  gap: 10px;
}

.admin-promo-card {
  grid-template-columns: minmax(0, 1fr);
}

.audit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.audit-row small {
  color: var(--paper-soft);
}

.check-main,
.guide-main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.check-hero {
  display: grid;
  gap: 16px;
  padding: 118px 0 32px;
}

.check-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.9;
}

.check-hero p {
  max-width: 760px;
  color: var(--paper-soft);
  font-size: 18px;
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 70px;
}

.check-panel,
.check-tips,
.knowledge-section {
  border: 1px solid rgba(246, 242, 234, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 242, 234, 0.075), rgba(246, 242, 234, 0.035)),
    rgba(17, 17, 15, 0.84);
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: blur(18px);
}

.check-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.check-result-grid div {
  display: grid;
  gap: 5px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.check-result-grid small {
  color: var(--paper-soft);
}

.check-result-grid strong {
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 22px;
}

.check-tips {
  display: grid;
  gap: 14px;
}

.knowledge-section {
  margin: 18px 0;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.knowledge-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 260px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.knowledge-card span {
  color: var(--electric-2);
  font-weight: 880;
}

.knowledge-card p {
  color: var(--paper-soft);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid rgba(246, 242, 234, 0.1);
}

.site-footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(83, 220, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(7, 7, 6, 0.92);
  color: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes skySweep {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
    opacity: 0.72;
  }
  to {
    transform: translate3d(2%, 1%, 0) rotate(2deg);
    opacity: 1;
  }
}

@keyframes rainSlide {
  from {
    transform: translate3d(-2%, -3%, 0);
  }
  to {
    transform: translate3d(2%, 3%, 0);
  }
}

@keyframes cloudFloatOne {
  from {
    transform: translate3d(-4%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 2%, 0) scale(1.08);
  }
}

@keyframes cloudFloatTwo {
  from {
    transform: translate3d(5%, -2%, 0) scale(1.08);
  }
  to {
    transform: translate3d(-3%, 2%, 0) scale(1);
  }
}

@keyframes gridTravel {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 78px 78px, 78px 78px;
  }
}

@keyframes stormDrift {
  from {
    transform: translate3d(1.5%, 0, 0) scale(0.96);
  }
  to {
    transform: translate3d(0.2%, 0.8%, 0) scale(0.98);
  }
}

@keyframes heroCharge {
  from {
    opacity: 0.36;
    transform: translateX(-2%);
  }
  to {
    opacity: 0.86;
    transform: translateX(2%);
  }
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.36;
  }
  50% {
    opacity: 0.68;
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.7;
  }
}

@keyframes meterRise {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.68;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes routeFlash {
  0%,
  100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.96;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

@keyframes phoneOrbit {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.03);
  }
}

@keyframes qrScan {
  0%,
  100% {
    transform: translateY(-68px);
  }
  50% {
    transform: translateY(126px);
  }
}

@keyframes boltBlink {
  0%,
  100% {
    opacity: 0.28;
    filter: drop-shadow(0 0 10px rgba(83, 220, 255, 0.32));
  }
  45%,
  58% {
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(248, 216, 120, 0.64));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 7, 6, 0.94);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .ghost-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-bg {
    opacity: 0.82;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 7, 6, 0.8) 0%, rgba(7, 7, 6, 0.72) 46%, #070706 100%),
      linear-gradient(90deg, rgba(7, 7, 6, 0.9), rgba(7, 7, 6, 0.38));
  }

  .hero-bg img {
    object-fit: cover;
    object-position: 62% center;
    transform: none;
    opacity: 0.72;
    animation: none;
  }

  .hero-grid,
  .section-split,
  .payment-panel,
  .cabinet-promo,
  .account-layout,
  .compact-form,
  .auth-main,
  .billing-grid,
  .billing-summary-grid,
  .notification-layout,
  .security-grid,
  .staff-layout,
  .staff-layout-chat,
  .staff-layout-chat.has-admin-tools,
  .ticket-workspace,
  .check-layout,
  .knowledge-grid,
  .app-motion-section,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .quick-access {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-hero {
    grid-template-columns: 1fr;
  }

  .staff-hero .eyebrow,
  .staff-hero h1,
  .staff-hero p,
  .role-banner,
  .staff-hero-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .staff-hero-actions {
    justify-content: flex-start;
  }

  .account-sidebar,
  .admin-tools {
    position: static;
  }

  .account-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .account-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .feature-grid,
  .pricing-grid,
  .download-grid,
  .important-grid,
  .server-grid,
  .guide-steps,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .price-card-featured {
    transform: none;
  }

  .payment-panel {
    align-items: stretch;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-stage {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(180deg, #070706 0%, #11100d 54%, #060605 100%);
  }

  .storm-backdrop::before,
  .storm-backdrop::after,
  .cloud-sheet {
    inset: -8%;
  }

  .signal-grid {
    background-size: 48px 48px;
    opacity: 0.2;
  }

  #stormCanvas {
    display: none;
  }

  .site-header {
    width: calc(100% - 18px);
    margin-top: 9px;
    padding: 8px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .header-actions {
    gap: 6px;
  }

  .profile-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .profile-icon {
    width: 28px;
    height: 28px;
  }

  .site-nav {
    max-height: calc(100svh - 86px);
    overflow: auto;
  }

  .header-actions .button-small {
    display: none;
  }

  .staff-access-link {
    display: none;
  }

  .hero {
    padding: 94px 16px 34px;
  }

  .hero-bg {
    opacity: 1;
  }

  .hero-bg::before {
    opacity: 0.4;
    animation: none;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 7, 6, 0.68) 0%, rgba(7, 7, 6, 0.78) 44%, #070706 100%),
      linear-gradient(90deg, rgba(7, 7, 6, 0.94), rgba(7, 7, 6, 0.56) 58%, rgba(7, 7, 6, 0.72));
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63% top;
    transform: none;
    opacity: 0.52;
  }

  .hero-grid {
    gap: 22px;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-lead {
    margin-bottom: 18px;
    font-size: 17px;
  }

  h1 {
    font-size: clamp(44px, 16vw, 70px);
    line-height: 0.92;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(29px, 10vw, 42px);
    line-height: 1.06;
  }

  h3 {
    font-size: 20px;
  }

  .hero-actions,
  .inline-actions,
  .form-actions,
  .device-actions,
  .guide-help,
  .pricing-switchboard {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .inline-actions .button,
  .payment-panel .button,
  .form-actions .button,
  .compact-form .button,
  .config-box .button,
  .mini-button,
  .guide-help .button {
    width: 100%;
  }

  .metrics,
  .quick-access,
  .dashboard-grid,
  .check-result-grid,
  .form-row,
  .config-box,
  .smart-notice,
  .account-preview,
  .device-card,
  .device-card-rich,
  .account-notification,
  .payment-row,
  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .metrics {
    display: grid;
    gap: 10px;
  }

  .metrics div {
    min-width: 0;
    padding: 12px 14px;
  }

  .preview-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 242, 234, 0.1);
  }

  .connection-card {
    min-height: 330px;
    padding: 18px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  }

  .bolt-meter {
    gap: 6px;
    margin: 22px 0;
  }

  .bolt-meter span {
    height: 58px;
  }

  .connection-map {
    height: 132px;
    margin-bottom: 16px;
  }

  .node {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .node-active {
    right: 24px;
    top: 24px;
  }

  .node-alt {
    right: 72px;
    bottom: 18px;
  }

  .route-one {
    left: 54px;
    top: 78px;
    width: min(170px, 54vw);
  }

  .route-two {
    left: 70px;
    top: 100px;
    width: min(140px, 45vw);
  }

  .connection-row {
    gap: 10px;
    font-size: 14px;
  }

  .connection-row strong {
    text-align: right;
  }

  .section,
  .section-muted,
  .cabinet-promo {
    padding-block: 46px;
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
  }

  .section-muted,
  .cabinet-promo {
    padding-inline: 12px;
  }

  .quick-access {
    width: min(calc(100% - 24px), var(--max));
    margin-top: 0;
    padding-bottom: 8px;
  }

  .quick-card,
  .server-card,
  .download-tile,
  .important-item,
  .review-card,
  .feature-card {
    min-height: auto;
  }

  .price-card {
    min-height: auto;
  }

  .price span {
    font-size: 44px;
  }

  .payment-panel {
    padding: 16px;
  }

  .download-icon {
    margin-bottom: 12px;
  }

  .app-motion-section {
    gap: 22px;
  }

  .app-motion-points span {
    width: 100%;
    justify-content: center;
  }

  .account-main {
    width: 100%;
    padding: 92px 12px 38px;
    overflow: hidden;
  }

  .account-hero {
    margin-bottom: 12px;
    padding-inline: 4px;
  }

  .account-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.96;
    max-width: 9ch;
  }

  .account-hero p {
    max-width: 34rem;
    font-size: 15px;
    line-height: 1.55;
  }

  .account-layout {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .account-sidebar {
    padding: 12px;
    margin-bottom: 12px;
    overflow: hidden;
  }

  .account-user {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
    padding: 4px 4px 12px;
  }

  .account-user strong,
  .account-user small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .account-avatar {
    grid-row: 1 / span 3;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .account-role-line {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .account-tabs {
    display: flex;
    gap: 8px;
    margin: 0 -12px;
    padding: 12px 12px 2px;
    max-width: calc(100% + 24px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .account-tabs button {
    flex: 0 0 max-content;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(246, 242, 234, 0.1);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
  }

  .account-panel {
    padding: 16px;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }

  .panel-head,
  .panel-subhead,
  .ticket-chat-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .panel-head h2 {
    max-width: 100%;
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .status-pill,
  .status-value {
    width: fit-content;
    max-width: 100%;
  }

  .overview-actions,
  .referral-share-actions,
  .security-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .overview-actions .button,
  .referral-share-actions .button,
  .security-actions .button {
    width: 100%;
  }

  .billing-card,
  .referral-card,
  .notification-card,
  .security-card {
    padding: 16px;
  }

  .billing-summary-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid div,
  .profile-status-grid div,
  .billing-card,
  .referral-card,
  .notification-card,
  .security-card,
  .device-card,
  .ticket-card,
  .config-box {
    min-width: 0;
  }

  .settings-form label,
  .compact-form label,
  input,
  select,
  textarea {
    min-width: 0;
    width: 100%;
  }

  .payment-row {
    gap: 8px;
  }

  .ticket-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .ticket-chat,
  .ticket-chat-shell,
  .staff-chat-panel {
    min-height: 360px;
  }

  .ticket-chat-messages {
    max-height: 320px;
    padding: 12px;
  }

  .chat-reply-form {
    padding: 12px;
  }

  .account-notification {
    gap: 10px;
    overflow: hidden;
  }

  .account-notification .mini-button {
    width: 100%;
  }

  .auth-main,
  .guide-main,
  .staff-main {
    padding-top: 112px;
  }

  .verification-box,
  .staff-reply-form,
  .admin-user-actions,
  .chat-reply-form,
  .profile-status-grid,
  .compact-status {
    grid-template-columns: 1fr;
  }

  .ticket-chat,
  .ticket-chat-shell,
  .staff-chat-panel {
    min-height: 420px;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .price-card,
  .feature-card,
  .important-item,
  .review-card,
  .account-panel,
  .account-sidebar {
    padding: 20px;
  }

  .phone-stage {
    min-height: 320px;
  }

  .phone-mockup {
    width: min(216px, 76vw);
  }

  .storm-backdrop::before,
  .storm-backdrop::after,
  .cloud-sheet,
  .signal-grid,
  .phone-orbit,
  .phone-mockup,
  .phone-bolt,
  .bolt-meter span,
  .route {
    animation: none;
  }

  .account-panel {
    padding: 16px;
  }

  .account-sidebar {
    padding: 12px;
  }

  .phone-orbit {
    width: min(92%, 330px);
  }

  .phone-bolt-one {
    right: 7%;
  }

  .phone-bolt-two {
    left: 6%;
  }

  .account-preview {
    min-height: 0;
  }

  .preview-main,
  .preview-sidebar {
    padding: 18px;
  }

  .preview-stats {
    grid-template-columns: 1fr;
  }

  .preview-stats span {
    height: 58px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-inline: 12px;
  }

  .hero-bg img {
    object-position: 58% top;
    opacity: 0.48;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

  .quick-card,
  .price-card,
  .feature-card,
  .important-item,
  .review-card,
  .account-panel,
  .account-sidebar {
    padding: 14px;
  }

  .account-main {
    padding-inline: 10px;
  }

  .account-hero h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .panel-head h2 {
    font-size: clamp(23px, 7.4vw, 30px);
  }

  .account-tabs {
    margin-inline: -10px;
    padding-inline: 10px;
    max-width: calc(100% + 20px);
  }

  .connection-card {
    padding: 16px;
  }

  .route-one {
    width: 128px;
  }

  .route-two {
    width: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #stormCanvas {
    display: none;
  }
}
