:root {
  --bg: #030a1d;
  --bg-deep: #07183a;
  --surface: rgba(7, 14, 34, 0.84);
  --surface-strong: rgba(9, 18, 42, 0.96);
  --surface-soft: rgba(13, 27, 62, 0.76);
  --surface-dark: #040b1b;
  --text: #edf4ff;
  --text-soft: #c8d4f1;
  --muted: #95a9d2;
  --line: rgba(108, 155, 255, 0.18);
  --brand: #91ecff;
  --brand-deep: #3ca7ff;
  --accent: #78d4ff;
  --accent-deep: #2f63ff;
  --gold: #b6dcff;
  --success: #3fd7a0;
  --danger: #ff6b87;
  --shadow-lg: 0 28px 120px rgba(2, 8, 24, 0.62);
  --shadow-md: 0 16px 56px rgba(3, 9, 24, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1260px;
  --auth-modal-safe-top: 84px;
  --auth-modal-safe-bottom: 20px;
  --auth-modal-available-height: min(calc(100dvh - var(--auth-modal-safe-top) - var(--auth-modal-safe-bottom)), 760px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 8%, rgba(124, 213, 255, 0.26), transparent 20%),
    radial-gradient(circle at 18% 18%, rgba(54, 119, 255, 0.18), transparent 26%),
    radial-gradient(circle at 82% 34%, rgba(129, 232, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(44, 110, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #020713 0%, #030c20 28%, #06142f 58%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body.login-modal-open,
body.dashboard-modal-open {
  overflow: hidden;
}

body.login-modal-open .site-header,
body.login-modal-open .site-header-premium,
body.dashboard-modal-open .site-header,
body.dashboard-modal-open .site-header-premium {
  z-index: 1;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background-image:
    radial-gradient(rgba(234, 246, 255, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(112, 195, 255, 0.1) 1px, transparent 1px);
  background-position: 0 0, 72px 72px;
  background-size: 144px 144px;
  opacity: 0.18;
}

body::after {
  z-index: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(144, 229, 255, 0.14), transparent 18%),
    radial-gradient(circle at 18% 72%, rgba(96, 164, 255, 0.08), transparent 20%),
    linear-gradient(104deg, transparent 0%, transparent 46%, rgba(118, 212, 255, 0.12) 50%, transparent 54%, transparent 100%) -18% 14% / 160% 2px no-repeat,
    linear-gradient(101deg, transparent 0%, transparent 45%, rgba(90, 154, 255, 0.105) 49.5%, transparent 54%, transparent 100%) 116% 34% / 170% 2px no-repeat,
    linear-gradient(98deg, transparent 0%, transparent 45%, rgba(118, 222, 255, 0.1) 50%, transparent 55%, transparent 100%) -12% 58% / 175% 1px no-repeat,
    linear-gradient(96deg, transparent 0%, transparent 46%, rgba(88, 146, 255, 0.09) 50%, transparent 54%, transparent 100%) 112% 76% / 168% 1px no-repeat;
}

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

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

button {
  cursor: pointer;
  border: 0;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

#site-main:focus-visible {
  outline: none;
}

.skip-link {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 12px;
  z-index: 1000;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 12px;
  color: #031023;
  background: var(--brand);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transform: translateY(calc(-100% - 24px));
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none !important;
}

::selection {
  background: rgba(114, 232, 255, 0.22);
  color: white;
}

.page-glow {
  display: none;
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(96px);
  opacity: 0.34;
  pointer-events: none;
  z-index: 0;
}

.page-glow-a {
  top: -9rem;
  left: -8rem;
  background: rgba(110, 203, 255, 0.72);
}

.page-glow-b {
  right: -11rem;
  top: 8rem;
  background: rgba(63, 111, 255, 0.62);
  animation-delay: -7s;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 205, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 205, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 94%);
  opacity: 0.26;
}

.page-streams {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  contain: layout paint style;
  transform: translateZ(0);
}

.page-stream {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: var(--stream-width, 160px);
  height: var(--stream-height, 2px);
  border-radius: 999px;
  pointer-events: none;
  contain: layout paint style;
  mix-blend-mode: screen;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(76, 166, 255, 0.04) 8%,
      rgba(96, 194, 255, 0.34) 18%,
      rgba(170, 236, 255, 0.98) 42%,
      rgba(129, 216, 255, 0.95) 58%,
      rgba(84, 168, 255, 0.26) 82%,
      transparent 100%
    );
  box-shadow:
    0 0 10px rgba(126, 220, 255, 0.28),
    0 0 22px rgba(62, 138, 255, 0.18);
  opacity: 0;
  filter: blur(0.12px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.96) 16%, rgba(0, 0, 0, 1) 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.96) 16%, rgba(0, 0, 0, 1) 84%, transparent 100%);
  transform-origin: left center;
  will-change: transform, opacity;
  animation: page-stream-travel var(--stream-duration, 4200ms) linear var(--stream-delay, 0ms) forwards;
}

.page-stream.is-secondary {
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(68, 140, 255, 0.03) 10%,
      rgba(96, 178, 255, 0.22) 18%,
      rgba(114, 198, 255, 0.8) 44%,
      rgba(92, 176, 255, 0.76) 60%,
      rgba(74, 136, 255, 0.18) 82%,
      transparent 100%
    );
  box-shadow:
    0 0 8px rgba(104, 184, 255, 0.2),
    0 0 16px rgba(52, 118, 255, 0.14);
}

@media (min-width: 961px) {
  :root.landing-stream-boost .page-stream {
    min-height: 3px;
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(86, 178, 255, 0.1) 8%,
        rgba(112, 208, 255, 0.54) 18%,
        rgba(196, 246, 255, 1) 42%,
        rgba(145, 226, 255, 1) 58%,
        rgba(82, 174, 255, 0.42) 82%,
        transparent 100%
      );
    box-shadow:
      0 0 14px rgba(150, 232, 255, 0.42),
      0 0 32px rgba(72, 150, 255, 0.3),
      0 0 52px rgba(40, 104, 255, 0.16);
    filter: blur(0.04px);
  }

  :root.landing-stream-boost .page-stream.is-secondary {
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(76, 156, 255, 0.06) 10%,
        rgba(102, 196, 255, 0.38) 18%,
        rgba(126, 216, 255, 0.9) 44%,
        rgba(96, 188, 255, 0.84) 60%,
        rgba(74, 146, 255, 0.28) 82%,
        transparent 100%
      );
    box-shadow:
      0 0 10px rgba(118, 204, 255, 0.3),
      0 0 24px rgba(58, 132, 255, 0.22);
  }
}
#site-header {
  position: relative;
  z-index: 5;
}

#site-main,
#site-footer {
  position: relative;
  z-index: 2;
}

.container {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  backdrop-filter: blur(26px);
  background: linear-gradient(180deg, rgba(2, 7, 18, 0.96), rgba(3, 9, 23, 0.9));
  border-bottom: 1px solid rgba(82, 122, 196, 0.08);
  box-shadow: 0 6px 18px rgba(2, 8, 20, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-copy {
  display: grid;
  gap: 4px;
  max-width: 34rem;
}

.brand-badge {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(114, 232, 255, 0.3), transparent 46%),
    radial-gradient(circle at 70% 70%, rgba(208, 109, 255, 0.28), transparent 46%),
    linear-gradient(160deg, rgba(15, 23, 49, 0.98), rgba(6, 11, 26, 0.96));
  border: 1px solid rgba(114, 232, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(114, 232, 255, 0.22),
    0 0 54px rgba(208, 109, 255, 0.18);
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  text-shadow:
    0 0 18px rgba(114, 232, 255, 0.72),
    0 0 26px rgba(208, 109, 255, 0.6);
}

.brand-badge::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 232, 255, 0.85), rgba(208, 109, 255, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.65;
}

.brand-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.brand-subtitle,
.footer-meta {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.brand-subtitle {
  max-width: 44ch;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(11, 18, 39, 0.7);
  border: 1px solid rgba(122, 146, 214, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.locale-button {
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.locale-button.is-active {
  background: linear-gradient(135deg, rgba(114, 232, 255, 0.18), rgba(208, 109, 255, 0.18));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(114, 232, 255, 0.2);
}

.nav-link,
.ghost-button,
.primary-button,
.soft-button,
.danger-button,
.chip,
.tab-button {
  border-radius: 999px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.nav-link,
.ghost-button,
.soft-button,
.tab-button {
  padding: 12px 16px;
  background: rgba(12, 19, 42, 0.72);
  border: 1px solid rgba(122, 146, 214, 0.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-link:hover,
.ghost-button:hover,
.soft-button:hover,
.primary-button:hover,
.danger-button:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.nav-link:hover,
.ghost-button:hover,
.soft-button:hover,
.tab-button:hover {
  border-color: rgba(114, 232, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(114, 232, 255, 0.08);
}

.primary-button,
.danger-button {
  padding: 13px 18px;
  color: white;
  box-shadow: var(--shadow-md);
}

.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.danger-button {
  background: linear-gradient(135deg, #ff6b87, #c14d6d);
}

.soft-button {
  background: rgba(114, 232, 255, 0.08);
  color: var(--brand);
  border-color: rgba(114, 232, 255, 0.22);
}

.hero {
  padding: 84px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  gap: 32px;
  align-items: start;
}

.hero-copy,
.hero-panel,
.surface-card,
.dashboard-shell,
.section-panel,
.legal-panel,
.auth-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(122, 146, 214, 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(13, 20, 43, 0.94), rgba(7, 12, 28, 0.94)),
    radial-gradient(circle at top left, rgba(114, 232, 255, 0.08), transparent 38%);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}

.hero-copy::before,
.hero-panel::before,
.dashboard-shell::before,
.section-panel::before,
.legal-panel::before,
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(114, 232, 255, 0.54), rgba(208, 109, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: var(--auth-modal-safe-top) 18px var(--auth-modal-safe-bottom);
  overflow-y: auto;
  isolation: isolate;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 18, 0.66);
}

.login-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 468px);
  max-height: var(--auth-modal-available-height);
  min-height: 0;
}

.login-modal-card {
  display: grid;
  gap: 12px;
  padding: 20px 20px 18px;
  background:
    radial-gradient(circle at top right, rgba(118, 204, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 22, 46, 0.98), rgba(8, 13, 29, 0.98));
  max-height: inherit;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
  scroll-padding: 18px 0 24px;
  -webkit-overflow-scrolling: touch;
}

.login-modal-card > * {
  min-width: 0;
}

.login-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.login-modal-header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.login-modal-title {
  display: block;
  margin: 4px 0 0;
  font-size: clamp(1.52rem, 1.18rem + 1.05vw, 2.02rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.login-modal-subtitle {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.42;
}

.login-modal-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  aspect-ratio: 1 / 1;
  display: inline-grid;
  place-items: center;
  align-self: flex-start;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(122, 146, 214, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 1.22rem;
  box-sizing: border-box;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.login-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(140, 192, 255, 0.24);
  color: var(--text);
}

.login-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.login-modal-links > * {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}

.login-modal-policy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.38;
  text-align: center;
}

.login-modal-policy a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(114, 232, 255, 0.46);
  text-underline-offset: 0.14em;
}

.login-modal-policy a:hover {
  color: var(--brand);
}

.register-modal-referral {
  width: fit-content;
  max-width: 100%;
}

.register-modal-card:has(#register-form) .login-modal-subtitle {
  display: none;
}

.login-modal-card .form-grid {
  gap: 10px;
}

.login-modal-card label {
  display: grid;
  gap: 5px;
}

.login-modal-card .muted {
  font-size: 0.78rem;
}

.login-modal-card .input,
.login-modal-card .textarea,
.login-modal-card .select {
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 0.95rem;
}

.login-modal-card .primary-button,
.login-modal-card .soft-button,
.login-modal-card .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 15px;
  min-width: 0;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.login-modal-card .primary-button {
  background: linear-gradient(135deg, #102247, #1c4a93);
  border: 1px solid rgba(118, 188, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(7, 21, 54, 0.34);
}

.login-modal-card .primary-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 36px rgba(8, 24, 60, 0.4);
}

.login-modal-card .telegram-login-slot {
  gap: 8px;
  padding: 12px;
  margin-top: 4px;
}

.telegram-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.18;
}

.telegram-login-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.telegram-login-button__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.login-modal-card .auth-hint {
  font-size: 0.81rem;
  line-height: 1.35;
}

.login-modal-card .inline-code {
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 0.8rem;
}

.login-modal-card .auth-register-deadline {
  font-size: 0.8rem;
}

.login-modal-card .auth-register-mail-note {
  font-size: 0.8rem;
}

.form-error {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 135, 0.3);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 135, 0.18), transparent 34%),
    rgba(255, 107, 135, 0.1);
  color: #ffdbe3;
  font-size: 0.92rem;
  line-height: 1.45;
}

.login-modal-card .form-error {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.84rem;
}

.hero-panel {
  padding: 30px;
  display: grid;
  gap: 20px;
  background:
    radial-gradient(circle at 14% 0%, rgba(114, 232, 255, 0.14), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(208, 109, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(13, 20, 45, 0.98), rgba(7, 12, 29, 0.96));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(114, 232, 255, 0.08);
  border: 1px solid rgba(114, 232, 255, 0.16);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.eyebrow-accent {
  background: linear-gradient(135deg, rgba(114, 232, 255, 0.14), rgba(208, 109, 255, 0.14));
  border-color: rgba(208, 109, 255, 0.22);
}

.hero-title,
.section-title,
.dashboard-title,
.auth-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-title {
  margin: 22px 0 18px;
  max-width: 9.5ch;
  font-size: clamp(3.2rem, 5.2vw, 5.3rem);
}

.hero-lead,
.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.hero-lead {
  max-width: 40rem;
}

.section-lead {
  max-width: 36rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.hero-orbit {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 232, 255, 0.14), rgba(208, 109, 255, 0.08), transparent 72%);
  filter: blur(10px);
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(114, 232, 255, 0.28);
  animation: orbitPulse 6s ease-in-out infinite;
}

.hero-orbit-ring-a {
  inset: 0;
}

.hero-orbit-ring-b {
  inset: 18px;
  border-color: rgba(208, 109, 255, 0.3);
  animation-delay: -2s;
}

.hero-sigil-mark {
  position: relative;
  z-index: 2;
  width: 98px;
  height: 98px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(114, 232, 255, 0.22), transparent 40%),
    radial-gradient(circle at 70% 68%, rgba(208, 109, 255, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(18, 28, 60, 0.98), rgba(8, 14, 30, 0.98));
  border: 1px solid rgba(122, 146, 214, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 30px rgba(114, 232, 255, 0.26),
    0 0 48px rgba(208, 109, 255, 0.22);
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 3.7rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  text-shadow:
    0 0 18px rgba(114, 232, 255, 0.7),
    0 0 26px rgba(208, 109, 255, 0.7);
}

.hero-panel-meta {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hero-panel-meta strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-panel-grid,
.stat-grid,
.mini-grid,
.summary-grid,
.plans-grid,
.feature-grid,
.faq-grid,
.dashboard-cards,
.subscription-grid,
.payment-grid,
.history-grid,
.wholesale-grid,
.tier-grid {
  display: grid;
  gap: 18px;
}

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

.hero-panel .hero-panel-grid,
.hero-panel .signal-list,
.hero-panel .terminal {
  margin-top: 0;
}

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

.stat-card,
.mini-card,
.summary-card,
.plan-card,
.feature-card,
.faq-card,
.data-card,
.subscription-card,
.payment-card,
.history-card,
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(16, 24, 52, 0.9), rgba(8, 13, 29, 0.96));
  border: 1px solid rgba(122, 146, 214, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 40px rgba(2, 8, 24, 0.18);
}

.stat-value,
.summary-value,
.data-value {
  display: block;
  margin-top: 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: white;
}

.mini-card .stat-value {
  font-size: 1.38rem;
}

.muted {
  color: var(--muted);
}

.card-note {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.stat-card .card-note,
.mini-card .card-note {
  margin-top: auto;
  padding-top: 12px;
}

.signal-list,
.plan-list,
.inline-list,
.detail-list,
.metric-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.signal-list {
  margin-top: 18px;
}

.signal-item,
.plan-list li,
.inline-list li,
.detail-list li,
.metric-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 13, 30, 0.76);
  border: 1px solid rgba(122, 146, 214, 0.1);
}

.signal-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 100%;
  color: var(--text-soft);
}

.signal-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow:
    0 0 14px rgba(114, 232, 255, 0.7),
    0 0 20px rgba(208, 109, 255, 0.55);
}

.hero-panel .terminal {
  margin-top: 18px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(122, 146, 214, 0.14);
  border-radius: 40px;
  background:
    radial-gradient(circle at 12% 0%, rgba(114, 232, 255, 0.08), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(208, 109, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(11, 18, 39, 0.98), rgba(5, 10, 24, 0.98));
  box-shadow: var(--shadow-lg);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(114, 232, 255, 0.54), rgba(208, 109, 255, 0.18), transparent 72%);
}

.hero-main,
.hero-side {
  padding: 54px 52px;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-side {
  display: grid;
  gap: 28px;
  align-content: start;
  border-left: 1px solid rgba(122, 146, 214, 0.14);
  background:
    radial-gradient(circle at top right, rgba(208, 109, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(8, 13, 30, 0.94), rgba(5, 10, 24, 0.98));
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-caption,
.hero-metric-label,
.hero-rail-index,
.signature-index,
.partner-note-index,
.faq-index {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-caption,
.hero-metric-label {
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(122, 146, 214, 0.16);
}

.hero-metric {
  display: grid;
  align-content: start;
  gap: 10px;
}

.hero-metric-value {
  display: block;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: white;
}

.hero-metric-note,
.hero-rail-item p,
.hero-side-note p,
.signature-item p,
.plan-band p,
.partner-pane p,
.partner-note p,
.faq-entry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.hero-side-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.hero-side-mark {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(114, 232, 255, 0.22), transparent 42%),
    radial-gradient(circle at 70% 68%, rgba(208, 109, 255, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(18, 28, 60, 0.98), rgba(8, 14, 30, 0.98));
  border: 1px solid rgba(122, 146, 214, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 26px rgba(114, 232, 255, 0.2),
    0 0 38px rgba(208, 109, 255, 0.18);
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.hero-side-copy {
  display: grid;
  gap: 14px;
}

.hero-side-copy strong,
.partner-pane h3,
.signature-item h3,
.faq-entry h3,
.plan-band h3 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
  color: white;
}

.hero-side-copy strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.04;
}

.hero-rail {
  display: grid;
  border-top: 1px solid rgba(122, 146, 214, 0.16);
}

.hero-rail-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(122, 146, 214, 0.12);
}

.hero-rail-index,
.signature-index,
.faq-index {
  color: var(--brand);
}

.hero-rail-item h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.hero-side-note {
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(122, 146, 214, 0.16);
}

.hero-side-note strong {
  font-size: 1.08rem;
  color: white;
}

.signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: start;
}

.signature-copy {
  position: sticky;
  top: 112px;
}

.signature-list,
.faq-stack {
  display: grid;
  border-top: 1px solid rgba(122, 146, 214, 0.16);
}

.signature-item,
.faq-entry {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(122, 146, 214, 0.12);
}

.signature-item h3,
.faq-entry h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  line-height: 1.08;
}

.plan-band-stack {
  display: grid;
  gap: 16px;
}

.plan-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(170px, 0.35fr) minmax(0, 0.86fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px 32px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 18, 39, 0.96), rgba(6, 11, 25, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 44px rgba(2, 8, 24, 0.24);
}

.plan-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(114, 232, 255, 0.7), rgba(208, 109, 255, 0.5));
}

.plan-band-premium {
  background:
    radial-gradient(circle at 0% 0%, rgba(114, 232, 255, 0.1), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(208, 109, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(14, 22, 48, 0.98), rgba(8, 13, 29, 0.98));
}

.plan-band-wholesale::before {
  background: linear-gradient(180deg, rgba(208, 109, 255, 0.72), rgba(126, 101, 255, 0.54));
}

.plan-band-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-band h3 {
  margin: 0 0 10px;
  font-size: 1.54rem;
  line-height: 1.08;
}

.plan-band-price {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
}

.plan-band-price span {
  color: var(--muted);
}

.plan-band-price strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 3vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: white;
}

.value-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.value-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.66;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow:
    0 0 10px rgba(114, 232, 255, 0.5),
    0 0 14px rgba(208, 109, 255, 0.35);
}

.plan-band-cta {
  display: flex;
  justify-content: flex-end;
}

.partner-panes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-pane {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 19, 42, 0.96), rgba(7, 12, 28, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 44px rgba(2, 8, 24, 0.22);
}

.partner-pane::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(114, 232, 255, 0.42), rgba(208, 109, 255, 0.18), transparent 76%);
}

.partner-pane-accent {
  background:
    radial-gradient(circle at top right, rgba(208, 109, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(12, 19, 42, 0.98), rgba(7, 12, 28, 0.98));
}

.partner-pane h3 {
  margin: 18px 0 12px;
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  line-height: 1.02;
}

.partner-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.partner-note {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(122, 146, 214, 0.12);
}

.partner-note-index {
  color: var(--accent);
}

.section {
  padding: 34px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title,
.dashboard-title,
.auth-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-title {
  max-width: 12ch;
}

.plans-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.08fr) minmax(0, 0.94fr);
}

.plan-card {
  padding: 24px;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(114, 232, 255, 0.4), rgba(208, 109, 255, 0.1), transparent 75%);
}

.plan-card-lite::after {
  background: linear-gradient(90deg, rgba(114, 232, 255, 0.7), transparent 78%);
}

.plan-card-premium::after,
.plan-card.highlighted::after {
  background: linear-gradient(90deg, rgba(114, 232, 255, 0.72), rgba(208, 109, 255, 0.72), transparent 88%);
}

.plan-card-wholesale::after {
  background: linear-gradient(90deg, rgba(208, 109, 255, 0.64), rgba(126, 101, 255, 0.6), transparent 82%);
}

.plan-card.highlighted {
  transform: translateY(-18px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 70px rgba(12, 20, 48, 0.42),
    0 0 50px rgba(114, 232, 255, 0.12);
}

.plan-card:hover,
.feature-card:hover,
.faq-card:hover,
.data-card:hover,
.subscription-card:hover,
.payment-card:hover,
.history-card:hover,
.tier-card:hover,
.summary-card:hover,
.stat-card:hover,
.mini-card:hover {
  border-color: rgba(114, 232, 255, 0.24);
}

.plan-header,
.card-header,
.tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-icon,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  background: rgba(114, 232, 255, 0.08);
  border: 1px solid rgba(114, 232, 255, 0.16);
  color: var(--text-soft);
  font-size: 0.86rem;
}

.chip-glow {
  background: linear-gradient(135deg, rgba(114, 232, 255, 0.14), rgba(208, 109, 255, 0.14));
  border-color: rgba(208, 109, 255, 0.24);
}

.plan-price {
  margin: 18px 0 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: white;
}

.feature-grid,
.faq-grid,
.dashboard-cards,
.subscription-grid,
.payment-grid,
.history-grid,
.wholesale-grid,
.tier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.history-grid > .history-card:only-child {
  grid-column: 1 / -1;
}

.feature-card h3,
.faq-card h3,
.summary-card strong,
.data-card strong,
.subscription-card strong,
.payment-card strong,
.history-card strong,
.tier-card strong {
  margin: 0;
  font-size: 1.05rem;
}

.dashboard-shell {
  margin: 34px auto 46px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(114, 232, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(208, 109, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(12, 18, 40, 0.98), rgba(7, 11, 27, 0.98));
}

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

.dashboard-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  box-shadow: 0 12px 28px rgba(23, 41, 92, 0.36);
}

.dashboard-grid {
  display: grid;
  gap: 18px;
}

.summary-card {
  background:
    linear-gradient(180deg, rgba(18, 28, 60, 0.92), rgba(9, 14, 32, 0.96));
}

.data-card pre,
.terminal,
.code-block {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.terminal,
.code-block,
.inline-code {
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.96), rgba(7, 12, 24, 0.98));
  border: 1px solid rgba(114, 232, 255, 0.12);
  color: #edf7ff;
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.inline-code {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}

.field-grid,
.form-grid {
  display: grid;
  gap: 14px;
}

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

.input,
.textarea,
.select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(122, 146, 214, 0.18);
  background: rgba(7, 12, 28, 0.92);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(141, 153, 187, 0.7);
}

.input:disabled,
.textarea:disabled,
.select:disabled {
  opacity: 0.75;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(114, 232, 255, 0.42);
  box-shadow:
    0 0 0 4px rgba(114, 232, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 16, 37, 0.92);
  border: 1px solid rgba(122, 146, 214, 0.14);
}

fieldset input[type="radio"] {
  accent-color: var(--brand);
}

.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  padding: 48px 0;
  align-items: start;
}

.auth-panel {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(208, 109, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 19, 42, 0.98), rgba(7, 12, 28, 0.98));
}

.auth-title {
  margin-bottom: 12px;
}

.auth-subtitle {
  margin: 0 0 24px;
  color: var(--text-soft);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(122, 146, 214, 0.16);
}

.telegram-login-slot {
  display: grid;
  gap: 12px;
  padding: 18px;
  margin-top: 8px;
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 28, 0.9);
  border: 1px solid rgba(122, 146, 214, 0.14);
}

.telegram-login-shell {
  display: grid;
  gap: 0;
  min-height: 40px;
}

.auth-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.auth-wrap-register {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  align-items: stretch;
}

.section-panel-register {
  display: grid;
  gap: 24px;
  min-height: 100%;
  background:
    radial-gradient(circle at 85% 12%, rgba(118, 204, 255, 0.14), transparent 28%),
    radial-gradient(circle at 16% 84%, rgba(90, 146, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(12, 18, 41, 0.96), rgba(6, 11, 27, 0.98));
}

.auth-panel-register {
  background:
    radial-gradient(circle at top right, rgba(132, 214, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(10, 16, 36, 0.98), rgba(6, 10, 24, 0.99));
}

.auth-form-shell {
  display: grid;
  gap: 18px;
}

.auth-progress {
  display: grid;
  gap: 12px;
}

.auth-progress-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-progress-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  background: rgba(9, 15, 34, 0.72);
}

.auth-progress-compact .auth-progress-step {
  grid-template-columns: auto;
  justify-items: start;
  gap: 8px;
  min-height: 100%;
}

.auth-progress-step.is-active {
  border-color: rgba(118, 198, 255, 0.28);
  background: rgba(14, 25, 55, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 26px rgba(7, 16, 38, 0.18);
}

.auth-progress-step.is-complete {
  border-color: rgba(106, 196, 255, 0.22);
  background: rgba(10, 19, 42, 0.82);
}

.auth-progress-index {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(18, 35, 76, 0.92);
  border: 1px solid rgba(116, 190, 255, 0.22);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.auth-progress-step.is-active .auth-progress-index {
  background: linear-gradient(135deg, #20428a, #3689db);
  border-color: rgba(160, 219, 255, 0.28);
}

.auth-progress-step.is-complete .auth-progress-index {
  background: rgba(19, 53, 98, 0.94);
}

.auth-progress-copy {
  display: grid;
  gap: 2px;
}

.auth-progress-copy strong {
  font-size: 0.96rem;
  color: var(--text);
}

.auth-progress-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-register-title {
  max-width: 13ch;
  margin-bottom: 0;
}

.auth-register-subtitle {
  max-width: 48rem;
  margin: 0;
}

.auth-register-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-register-feature {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(12, 18, 39, 0.88), rgba(8, 13, 29, 0.92));
}

.auth-register-feature strong {
  font-size: 1rem;
  color: var(--text);
}

.auth-register-feature span {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.auth-register-teaser {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(118, 186, 255, 0.18);
  background:
    radial-gradient(circle at 82% 14%, rgba(116, 214, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(13, 22, 51, 0.92), rgba(8, 14, 31, 0.94));
}

.auth-register-teaser-head {
  display: grid;
  gap: 6px;
}

.auth-register-teaser-head strong {
  font-size: 1.02rem;
  color: var(--text);
}

.auth-register-teaser-head span {
  color: var(--muted);
  font-size: 0.94rem;
}

.auth-register-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-register-plan {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  background: rgba(8, 14, 30, 0.68);
}

.auth-register-plan strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  color: var(--text);
}

.auth-register-plan span {
  color: var(--text-soft);
  line-height: 1.5;
}

.auth-register-plan small {
  color: rgba(153, 208, 255, 0.92);
  font-size: 0.9rem;
}

.auth-register-referral {
  width: fit-content;
  max-width: 100%;
}

.auth-register-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.auth-form-kicker {
  width: fit-content;
}

.auth-form-actions {
  margin-top: 4px;
}

.auth-code-input {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.34em;
}

.auth-register-deadline {
  margin-top: -2px;
}

.auth-register-mail-note {
  margin-top: 2px;
  line-height: 1.5;
}

.auth-cta-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-panel,
.section-panel {
  padding: 28px;
}

.footer {
  padding: 32px 0 46px;
  border-top: 1px solid rgba(122, 146, 214, 0.1);
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.2), rgba(5, 9, 20, 0.42));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-badge {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-size: 1.3rem;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a,
.footer-links span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(12, 19, 42, 0.68);
  border: 1px solid rgba(122, 146, 214, 0.12);
  color: var(--text-soft);
}

.empty-state {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(122, 146, 214, 0.22);
  color: var(--muted);
  background: rgba(8, 13, 30, 0.58);
}

.toast-root {
  position: fixed;
  top: 20px;
  right: 20px;
  display: grid;
  gap: 10px;
  z-index: 20000;
  pointer-events: none;
}

.toast {
  min-width: 280px;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 20px;
  color: white;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
}

.toast.success {
  background: linear-gradient(135deg, #30c98d, #158c62);
}

.toast.error {
  background: linear-gradient(135deg, #ff6b87, #b63d62);
}

.toast.info {
  background: linear-gradient(135deg, #2ab7ff, #7e65ff);
}

.pill-row,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section-anchor {
  scroll-margin-top: 110px;
}

.hidden {
  display: none !important;
}

.noscript {
  padding: 18px;
  background: #050914;
  color: white;
  text-align: center;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 24px, 0) scale(1.06);
  }
}

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

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@media (min-width: 1180px) {
  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    justify-content: end;
  }

  .header-nav {
    justify-content: flex-end;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(9, 14, 31, 0.78);
    border: 1px solid rgba(122, 146, 214, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .nav-link,
  .ghost-button,
  .soft-button,
  .primary-button {
    white-space: nowrap;
  }

  .hero-copy {
    min-height: 100%;
  }

  .hero-panel-grid,
  .signal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-list {
    gap: 12px;
  }

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

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

  .dashboard-head {
    align-items: end;
  }

  .auth-wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 32px;
  }
}

@media (min-width: 1440px) {
  :root {
    --content: 1480px;
  }

  .container {
    width: min(calc(100% - 56px), var(--content));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
    gap: 36px;
  }

  .hero-copy,
  .hero-panel,
  .dashboard-shell,
  .section-panel,
  .legal-panel,
  .auth-panel {
    padding: 34px;
  }

  .section-title {
    font-size: clamp(2.2rem, 3vw, 3.6rem);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .auth-wrap,
  .plans-grid,
  .feature-grid,
  .faq-grid,
  .dashboard-cards,
  .subscription-grid,
  .payment-grid,
  .history-grid,
  .wholesale-grid,
  .tier-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-shell,
  .signature-grid,
  .partner-panes,
  .partner-notes,
  .plan-band {
    grid-template-columns: 1fr;
  }

  .hero-side {
    border-left: 0;
    border-top: 1px solid rgba(122, 146, 214, 0.14);
  }

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

  .signature-copy {
    position: static;
  }

  .plan-band-cta {
    justify-content: flex-start;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .section-title {
    max-width: none;
  }

  .plan-card.highlighted {
    transform: none;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .auth-progress-compact,
  .auth-register-feature-grid,
  .auth-register-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 0;
  }

  .header-row,
  .dashboard-head,
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-main,
  .hero-side,
  .plan-band,
  .partner-pane {
    padding: 24px;
  }

  .hero-topline,
  .hero-side-head,
  .hero-rail-item,
  .signature-item,
  .partner-note,
  .faq-entry {
    grid-template-columns: 1fr;
  }

  .hero-side-mark {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 2.4rem;
  }

  .hero-copy,
  .hero-panel,
  .dashboard-shell,
  .section-panel,
  .legal-panel,
  .auth-panel {
    padding: 22px;
  }

  .auth-wrap-register {
    gap: 20px;
    padding: 28px 0 36px;
  }

  .section-panel-register,
  .auth-panel-register {
    padding: 24px;
  }

  .auth-progress {
    gap: 10px;
  }

  .auth-progress-step {
    padding: 11px 12px;
  }

  .auth-progress-compact .auth-progress-step {
    grid-template-columns: auto 1fr;
    justify-items: stretch;
  }

  .auth-register-title {
    max-width: none;
  }

  .auth-code-input {
    letter-spacing: 0.18em;
    font-size: 1.15rem;
  }

  .field-grid.two,
  .form-grid.two,
  .stat-grid,
  .hero-panel-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4.1rem);
  }

  .toast-root {
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }
}

:root[data-theme="light"] {
  --bg: #f4f5fb;
  --bg-deep: #eceff7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(243, 245, 251, 0.9);
  --surface-dark: #eef1f8;
  --text: #0d1328;
  --text-soft: #3c4663;
  --muted: #65708e;
  --line: rgba(98, 111, 148, 0.16);
  --brand: #3a62ff;
  --brand-deep: #2447d6;
  --accent: #865dff;
  --accent-deep: #5e49d7;
  --gold: #2b7aff;
  --shadow-lg: 0 28px 90px rgba(49, 63, 101, 0.16);
  --shadow-md: 0 16px 42px rgba(54, 66, 102, 0.12);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 16%, rgba(74, 102, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(130, 93, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #fafbff 0%, #f2f5fb 52%, #ebeff8 100%);
}

:root[data-theme="light"] body::before {
  opacity: 0.13;
}

:root[data-theme="light"] body::after {
  background:
    radial-gradient(circle at 72% 16%, rgba(119, 190, 255, 0.1), transparent 18%),
    radial-gradient(circle at 20% 76%, rgba(88, 148, 255, 0.06), transparent 18%),
    linear-gradient(104deg, transparent 0%, transparent 46%, rgba(72, 161, 255, 0.06) 50%, transparent 54%, transparent 100%) -18% 14% / 160% 2px no-repeat,
    linear-gradient(101deg, transparent 0%, transparent 45%, rgba(64, 138, 255, 0.054) 49.5%, transparent 54%, transparent 100%) 116% 34% / 170% 2px no-repeat,
    linear-gradient(98deg, transparent 0%, transparent 45%, rgba(110, 186, 255, 0.05) 50%, transparent 55%, transparent 100%) -12% 58% / 175% 1px no-repeat,
    linear-gradient(96deg, transparent 0%, transparent 46%, rgba(96, 158, 255, 0.046) 50%, transparent 54%, transparent 100%) 112% 76% / 168% 1px no-repeat;
}

:root[data-theme="light"] .page-grid {
  opacity: 0.12;
}

:root[data-theme="light"] .page-streams {
  opacity: 1;
}

:root[data-theme="light"] .page-stream {
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(78, 148, 255, 0.02) 8%,
      rgba(91, 164, 255, 0.18) 18%,
      rgba(82, 156, 255, 0.62) 42%,
      rgba(104, 186, 255, 0.54) 58%,
      rgba(84, 158, 255, 0.14) 82%,
      transparent 100%
    );
  box-shadow:
    0 0 6px rgba(94, 162, 255, 0.14),
    0 0 14px rgba(80, 144, 255, 0.1);
}

:root[data-theme="light"] .page-stream.is-secondary {
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(98, 172, 255, 0.015) 10%,
      rgba(112, 196, 255, 0.12) 18%,
      rgba(108, 188, 255, 0.42) 44%,
      rgba(92, 172, 255, 0.38) 60%,
      rgba(74, 136, 255, 0.1) 82%,
      transparent 100%
    );
}

@media (min-width: 961px) {
  :root[data-theme="light"].landing-stream-boost .page-stream {
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(38, 126, 255, 0.06) 8%,
        rgba(56, 150, 255, 0.34) 18%,
        rgba(60, 166, 255, 0.82) 42%,
        rgba(80, 190, 255, 0.76) 58%,
        rgba(54, 142, 255, 0.28) 82%,
        transparent 100%
      );
    box-shadow:
      0 0 10px rgba(74, 154, 255, 0.22),
      0 0 26px rgba(64, 138, 255, 0.16);
  }

  :root[data-theme="light"].landing-stream-boost .page-stream.is-secondary {
    background:
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(50, 136, 255, 0.04) 10%,
        rgba(74, 166, 255, 0.24) 18%,
        rgba(76, 178, 255, 0.62) 44%,
        rgba(70, 160, 255, 0.58) 60%,
        rgba(58, 132, 255, 0.18) 82%,
        transparent 100%
      );
  }
}

:root[data-theme="light"] .page-glow {
  opacity: 0.12;
}

:root[data-theme="light"] .site-header {
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.94), rgba(251, 252, 255, 0.72));
  border-bottom-color: rgba(98, 111, 148, 0.12);
  box-shadow: 0 10px 26px rgba(55, 67, 103, 0.08);
}

:root[data-theme="light"] .nav-link,
:root[data-theme="light"] .ghost-button,
:root[data-theme="light"] .soft-button,
:root[data-theme="light"] .tab-button,
:root[data-theme="light"] .locale-switcher,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .pricing-switcher-chip,
:root[data-theme="light"] .faq-question {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(98, 111, 148, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

:root[data-theme="light"] .dashboard-mobile-tabs .tab-button {
  color: #496189;
  -webkit-text-fill-color: #496189;
}

:root[data-theme="light"] .dashboard-mobile-tabs .tab-button.is-active {
  border-color: rgba(77, 138, 228, 0.32);
  background:
    linear-gradient(180deg, rgba(218, 233, 255, 1), rgba(203, 223, 255, 0.98)) !important;
  color: #17355e !important;
  -webkit-text-fill-color: #17355e !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 22px rgba(88, 109, 156, 0.1);
  text-shadow: 0 0 0 currentColor;
}

:root[data-theme="light"] .dashboard-mobile-tabs .tab-button:hover {
  border-color: rgba(105, 150, 230, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(236, 244, 255, 0.98));
}

:root[data-theme="light"] .primary-button,
:root[data-theme="light"] .cta-button-light {
  background: linear-gradient(135deg, #101633, #2a3565);
  color: #f8f9ff;
}

:root[data-theme="light"] .hero-offer-card,
:root[data-theme="light"] .reference-feature-card,
:root[data-theme="light"] .pricing-card,
:root[data-theme="light"] .pricing-wide-card,
:root[data-theme="light"] .partner-pane,
:root[data-theme="light"] .service-stat {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(98, 111, 148, 0.14);
  box-shadow: var(--shadow-md);
}

:root[data-theme="light"] .hero-reference-stage {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-header-premium {
  padding: 16px 0;
  backdrop-filter: blur(22px);
}

.header-row-premium {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand-lockup-minimal {
  gap: 0;
  position: relative;
  min-width: 0;
  margin-left: -12px;
  padding-right: 28px;
}

.brand-logo-image {
  display: block;
  width: auto;
  height: 60px;
  max-width: min(292px, 26vw);
  object-fit: contain;
}

.brand-logo-light {
  display: none;
}

:root[data-theme="light"] .brand-logo-dark {
  display: none;
}

:root[data-theme="light"] .brand-logo-light {
  display: block;
}

.header-nav-premium {
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.nav-link-premium {
  position: relative;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: rgba(226, 236, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-link-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(128, 202, 255, 0.9), transparent);
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link-premium:hover,
.nav-link-premium.is-active {
  transform: none;
  color: #f4f8ff;
}

.nav-link-premium:hover::after,
.nav-link-premium.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

:root:not([data-theme="light"]) .site-header .nav-link,
:root:not([data-theme="light"]) .site-header .ghost-button,
:root:not([data-theme="light"]) .site-header .soft-button,
:root:not([data-theme="light"]) .site-header .tab-button {
  background: rgba(7, 13, 30, 0.42);
  border-color: rgba(97, 136, 206, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

:root:not([data-theme="light"]) .site-header .nav-link:hover,
:root:not([data-theme="light"]) .site-header .ghost-button:hover,
:root:not([data-theme="light"]) .site-header .soft-button:hover,
:root:not([data-theme="light"]) .site-header .tab-button:hover {
  border-color: rgba(120, 182, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(120, 182, 255, 0.04);
}

:root:not([data-theme="light"]) .site-header .locale-switcher,
:root:not([data-theme="light"]) .site-header .theme-toggle {
  background: rgba(7, 13, 30, 0.48);
  border-color: rgba(97, 136, 206, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

:root:not([data-theme="light"]) .site-header .nav-link-premium {
  background: transparent;
  border: 0;
  box-shadow: none;
}

:root:not([data-theme="light"]) .site-header .nav-link-premium:hover {
  border: 0;
  box-shadow: none;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(12, 19, 42, 0.72);
  border: 1px solid rgba(122, 146, 214, 0.14);
  color: var(--text);
  font-size: 1.12rem;
}

.theme-toggle-minimal {
  width: 44px;
  height: 44px;
  background: rgba(8, 15, 33, 0.34);
  border-color: rgba(104, 146, 222, 0.12);
  color: rgba(233, 241, 255, 0.84);
  box-shadow: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.theme-toggle-minimal:hover {
  background: rgba(244, 248, 255, 0.9);
  border-color: rgba(129, 185, 255, 0.38);
  color: #16295b;
  box-shadow:
    0 10px 26px rgba(97, 148, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateY(-1px) scale(1.03);
}

.locale-switcher-premium {
  padding: 4px;
  gap: 4px;
  background: rgba(8, 15, 33, 0.3);
  border-color: rgba(104, 146, 222, 0.1);
  box-shadow: none;
}

.locale-switcher-premium .locale-button {
  padding: 8px 12px;
  font-size: 0.96rem;
}

.locale-switcher-premium .locale-button.is-active {
  background: rgba(107, 142, 209, 0.18);
  box-shadow: inset 0 0 0 1px rgba(137, 185, 255, 0.14);
}

.header-dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #102247, #1c4a93);
  border: 1px solid rgba(118, 188, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(7, 21, 54, 0.34);
}

.header-dashboard-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 36px rgba(8, 24, 60, 0.4);
}

:root[data-theme="light"] .nav-link-premium {
  color: rgba(23, 36, 70, 0.82);
}

:root[data-theme="light"] .nav-link-premium:hover,
:root[data-theme="light"] .nav-link-premium.is-active {
  color: #131f40;
}

:root[data-theme="light"] .nav-link-premium::after {
  background: linear-gradient(90deg, transparent, rgba(38, 88, 202, 0.74), transparent);
}

:root[data-theme="light"] .locale-switcher-premium,
:root[data-theme="light"] .theme-toggle-minimal {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(86, 106, 156, 0.16);
  box-shadow: 0 6px 18px rgba(81, 102, 151, 0.08);
}

:root[data-theme="light"] .theme-toggle-minimal {
  color: rgba(24, 40, 84, 0.9);
}

:root[data-theme="light"] .theme-toggle-minimal:hover {
  background: rgba(7, 15, 34, 0.88);
  border-color: rgba(109, 164, 255, 0.22);
  color: rgba(238, 244, 255, 0.96);
  box-shadow:
    0 14px 30px rgba(7, 21, 54, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] .header-dashboard-button {
  background: linear-gradient(135deg, #16254f, #2358ad);
  color: #f8fbff;
}

:root[data-theme="light"] .section-panel-register {
  background:
    radial-gradient(circle at 82% 12%, rgba(76, 186, 255, 0.14), transparent 26%),
    radial-gradient(circle at 18% 80%, rgba(97, 152, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.94));
  border-color: rgba(97, 122, 182, 0.12);
}

:root[data-theme="light"] .auth-panel-register {
  background:
    radial-gradient(circle at top right, rgba(116, 204, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.96));
  border-color: rgba(97, 122, 182, 0.12);
}

:root[data-theme="light"] .login-modal-backdrop {
  background: rgba(242, 247, 255, 0.7);
}

:root[data-theme="light"] .login-modal-card {
  background:
    radial-gradient(circle at top right, rgba(116, 204, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
  border-color: rgba(97, 122, 182, 0.14);
  box-shadow:
    0 26px 72px rgba(72, 101, 155, 0.18),
    0 0 0 1px rgba(116, 154, 226, 0.08);
}

:root[data-theme="light"] .login-modal-card .input,
:root[data-theme="light"] .login-modal-card .textarea,
:root[data-theme="light"] .login-modal-card .select {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.95));
  border-color: rgba(110, 133, 186, 0.22);
  color: #142347;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(116, 140, 189, 0.05);
}

:root[data-theme="light"] .login-modal-card .input::placeholder,
:root[data-theme="light"] .login-modal-card .textarea::placeholder {
  color: rgba(72, 94, 146, 0.64);
}

:root[data-theme="light"] .login-modal-card .input:focus,
:root[data-theme="light"] .login-modal-card .textarea:focus,
:root[data-theme="light"] .login-modal-card .select:focus {
  border-color: rgba(67, 129, 233, 0.38);
  box-shadow:
    0 0 0 4px rgba(84, 152, 255, 0.12),
    0 12px 28px rgba(96, 124, 184, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .login-modal-card .muted,
:root[data-theme="light"] .login-modal-policy,
:root[data-theme="light"] .login-modal-subtitle,
:root[data-theme="light"] .login-modal-card .auth-hint {
  color: rgba(56, 76, 121, 0.82);
}

:root[data-theme="light"] .login-modal-card .auth-divider {
  color: rgba(81, 100, 145, 0.72);
}

:root[data-theme="light"] .form-error {
  border-color: rgba(202, 64, 99, 0.24);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 135, 0.16), transparent 34%),
    rgba(255, 107, 135, 0.08);
  color: #7a1832;
}

:root[data-theme="light"] .login-modal-card .auth-divider::before,
:root[data-theme="light"] .login-modal-card .auth-divider::after {
  background: rgba(110, 133, 186, 0.18);
}

:root[data-theme="light"] .login-modal-card .telegram-login-slot {
  background:
    radial-gradient(circle at 84% 16%, rgba(122, 203, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.96));
  border-color: rgba(110, 133, 186, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 30px rgba(96, 124, 184, 0.08);
}

:root[data-theme="light"] .login-modal-card .primary-button {
  background: linear-gradient(135deg, #2558b7, #5bafff);
  color: #f8fbff;
  border-color: rgba(73, 134, 232, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(65, 114, 197, 0.22);
}

:root[data-theme="light"] .login-modal-card .primary-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 38px rgba(65, 114, 197, 0.28);
}

:root[data-theme="light"] .login-modal-card .soft-button,
:root[data-theme="light"] .login-modal-card .ghost-button {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(110, 133, 186, 0.18);
  color: #18346b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 22px rgba(116, 140, 189, 0.06);
}

:root[data-theme="light"] .login-modal-card .soft-button:hover,
:root[data-theme="light"] .login-modal-card .ghost-button:hover {
  border-color: rgba(84, 152, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 28px rgba(116, 140, 189, 0.1);
}

:root[data-theme="light"] .login-modal-close {
  background: rgba(45, 79, 150, 0.06);
  border-color: rgba(97, 122, 182, 0.14);
  color: rgba(29, 55, 107, 0.84);
}

:root[data-theme="light"] .auth-progress-step {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(97, 122, 182, 0.12);
}

:root[data-theme="light"] .auth-progress-step.is-active {
  background: rgba(244, 249, 255, 0.96);
  border-color: rgba(104, 168, 255, 0.2);
  box-shadow: 0 14px 28px rgba(70, 97, 148, 0.12);
}

:root[data-theme="light"] .auth-progress-step.is-complete {
  background: rgba(250, 252, 255, 0.88);
}

:root[data-theme="light"] .auth-progress-index {
  background: rgba(234, 241, 255, 0.96);
  border-color: rgba(105, 166, 255, 0.18);
  color: #18346b;
}

:root[data-theme="light"] .auth-progress-step.is-active .auth-progress-index {
  background: linear-gradient(135deg, #1d4a97, #48a8ee);
  color: #f8fbff;
}

:root[data-theme="light"] .auth-register-feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 255, 0.92));
  border-color: rgba(97, 122, 182, 0.12);
}

:root[data-theme="light"] .auth-register-teaser {
  background:
    radial-gradient(circle at 82% 14%, rgba(118, 208, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.95));
  border-color: rgba(104, 168, 255, 0.16);
  box-shadow: 0 24px 48px rgba(90, 116, 168, 0.12);
}

:root[data-theme="light"] .auth-register-plan {
  background: rgba(244, 248, 255, 0.86);
  border-color: rgba(97, 122, 182, 0.12);
}

:root[data-theme="light"] .login-modal-policy a {
  color: #1f4eaa;
  text-decoration-color: rgba(49, 102, 203, 0.32);
}

:root[data-theme="light"] .login-modal-policy a:hover {
  color: #153b85;
}

.hero-reference {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 40px 0 54px;
}

.landing-hero-flow > .hero-reference {
  overflow: visible;
}

.landing-hero-flow {
  position: relative;
  isolation: isolate;
}

@supports (content-visibility: auto) {
  .landing-hero-flow > .section:not(.hero-reference) {
    content-visibility: auto;
    contain-intrinsic-size: 960px;
  }
}

.landing-hero-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 60% 22%, rgba(112, 198, 255, 0.12), transparent 22%),
    radial-gradient(circle at 28% 38%, rgba(60, 122, 255, 0.08), transparent 26%),
    linear-gradient(104deg, transparent 0%, transparent 46%, rgba(118, 212, 255, 0.08) 50%, transparent 54%, transparent 100%) -26% 22% / 190% 2px no-repeat,
    linear-gradient(98deg, transparent 0%, transparent 44%, rgba(100, 170, 255, 0.07) 49%, transparent 54%, transparent 100%) 118% 48% / 210% 2px no-repeat,
    linear-gradient(96deg, transparent 0%, transparent 45%, rgba(91, 154, 255, 0.06) 50%, transparent 55%, transparent 100%) -16% 72% / 180% 1px no-repeat;
  opacity: 0.82;
}

.landing-hero-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(2, 8, 24, 0.12) 0%, rgba(2, 8, 24, 0.04) 24%, rgba(3, 11, 29, 0.32) 58%, rgba(5, 16, 38, 0.82) 84%, rgba(5, 16, 38, 0.98) 100%),
    linear-gradient(90deg, rgba(2, 8, 24, 0.94) 0%, rgba(3, 11, 29, 0.76) 34%, rgba(6, 22, 56, 0.34) 62%, rgba(4, 15, 39, 0.72) 100%),
    radial-gradient(circle at 66% 48%, rgba(122, 220, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #020713 0%, #06142f 68%, var(--bg-deep) 100%);
  background-position:
    0 0,
    0 0,
    66% 48%,
    0 0;
  background-size:
    100% 100%,
    100% 100%,
    720px 720px,
    100% 100%;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat;
  transform-origin: center top;
}

:root[data-theme="light"] .landing-hero-flow::before {
  background-image:
    linear-gradient(180deg, rgba(244, 245, 251, 0.04) 0%, rgba(244, 245, 251, 0.08) 26%, rgba(244, 245, 251, 0.26) 58%, rgba(244, 247, 253, 0.78) 84%, rgba(246, 249, 255, 0.98) 100%),
    linear-gradient(90deg, rgba(244, 245, 251, 0.28) 0%, rgba(244, 245, 251, 0.12) 36%, rgba(244, 245, 251, 0.04) 64%, rgba(244, 245, 251, 0.16) 100%),
    radial-gradient(circle at 52% 46%, rgba(46, 184, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f4f7fd 0%, #f7faff 68%, #eef5ff 100%);
  background-position:
    0 0,
    0 0,
    52% 46%,
    0 0;
  background-size:
    100% 100%,
    100% 100%,
    720px 720px,
    100% 100%;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat;
}

:root[data-theme="light"] .landing-hero-flow::after {
  background:
    radial-gradient(circle at 56% 24%, rgba(80, 190, 255, 0.1), transparent 24%),
    radial-gradient(circle at 30% 42%, rgba(76, 138, 255, 0.06), transparent 28%),
    linear-gradient(104deg, transparent 0%, transparent 46%, rgba(102, 193, 255, 0.05) 50%, transparent 54%, transparent 100%) -26% 22% / 190% 2px no-repeat,
    linear-gradient(98deg, transparent 0%, transparent 44%, rgba(93, 154, 255, 0.045) 49%, transparent 54%, transparent 100%) 118% 48% / 210% 2px no-repeat,
    linear-gradient(96deg, transparent 0%, transparent 45%, rgba(84, 143, 255, 0.04) 50%, transparent 55%, transparent 100%) -16% 72% / 180% 1px no-repeat;
  opacity: 0.74;
}

.hero-reference::before {
  content: none;
}

:root[data-theme="light"] .hero-reference::before {
  content: none;
}

.hero-reference-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 30px;
  align-items: start;
  min-height: 650px;
}

.hero-reference-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-hero-flow > .hero-reference .hero-reference-media {
  bottom: auto;
  height: clamp(760px, 66.667vw, 1120px);
}

.hero-reference-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 24, 0.72) 0%, rgba(3, 11, 29, 0.22) 26%, rgba(6, 18, 44, 0.1) 54%, rgba(6, 19, 45, 0.2) 76%, rgba(5, 16, 38, 0.3) 100%),
    linear-gradient(90deg, rgba(2, 8, 24, 0.94) 0%, rgba(3, 11, 29, 0.76) 34%, rgba(6, 22, 56, 0.38) 62%, rgba(4, 15, 39, 0.72) 100%),
    radial-gradient(circle at 66% 48%, rgba(122, 220, 255, 0.2), transparent 24%);
}

:root[data-theme="light"] .hero-reference-media::after {
  background:
    linear-gradient(180deg, rgba(244, 245, 251, 0.18) 0%, rgba(244, 245, 251, 0.06) 26%, rgba(244, 245, 251, 0.02) 54%, rgba(244, 245, 251, 0.08) 76%, rgba(244, 245, 251, 0.18) 100%),
    linear-gradient(90deg, rgba(244, 245, 251, 0.22) 0%, rgba(244, 245, 251, 0.12) 36%, rgba(244, 245, 251, 0.03) 64%, rgba(244, 245, 251, 0.12) 100%),
    radial-gradient(circle at 52% 46%, rgba(46, 184, 255, 0.16), transparent 24%);
}

.hero-reference-media-picture,
.hero-reference-media-image {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-reference-media-image {
  object-fit: cover;
  object-position: center top;
}

.hero-reference-copy {
  position: relative;
  z-index: 2;
  padding: 54px 0 0;
}

.eyebrow-subtle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-reference-title {
  margin: 0 0 18px;
  max-width: 18ch;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.7rem, 4.1vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--text);
}

.hero-reference-lead {
  max-width: 50rem;
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-reference-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.hero-reference-copytext {
  display: grid;
  gap: 10px;
  max-width: 47rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-reference-copytext p {
  margin: 0;
}

.hero-reference-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.hero-reference-stage {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 74px;
  z-index: 2;
}

.landing-motion-enabled .hero-reference-title,
.landing-motion-enabled .hero-reference-lead,
.landing-motion-enabled .hero-actions,
.landing-motion-enabled .hero-reference-note,
.landing-motion-enabled .hero-offer-card {
  opacity: 0;
  will-change: transform, opacity;
}

.landing-motion-enabled .hero-reference-title,
.landing-motion-enabled .hero-reference-lead,
.landing-motion-enabled .hero-actions,
.landing-motion-enabled .hero-reference-note {
  transform: translateY(22px);
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 700ms ease;
}

.landing-motion-enabled .hero-offer-card {
  transform: translate3d(26px, 12px, 0) scale(0.985);
  transition:
    transform 820ms cubic-bezier(0.18, 0.86, 0.24, 1),
    opacity 820ms ease,
    box-shadow 220ms ease;
}

.landing-motion-ready .hero-reference-title,
.landing-motion-ready .hero-reference-lead,
.landing-motion-ready .hero-actions,
.landing-motion-ready .hero-reference-note,
.landing-motion-ready .hero-offer-card {
  opacity: 1;
  transform: none;
}

.landing-motion-enabled .hero-reference-title {
  transition-delay: 40ms;
}

.landing-motion-enabled .hero-reference-lead {
  transition-delay: 120ms;
}

.landing-motion-enabled .hero-actions {
  transition-delay: 190ms;
}

.landing-motion-enabled .hero-reference-note {
  transition-delay: 250ms;
}

.landing-motion-enabled .hero-offer-card {
  transition-delay: 180ms;
}

.hero-offer-card {
  position: relative;
  top: auto;
  right: auto;
  width: min(100%, 344px);
  margin-left: clamp(88px, 9vw, 164px);
  overflow: hidden;
  padding: 32px 30px 26px;
  border-radius: 28px;
  border: 1px solid rgba(138, 183, 255, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(128, 205, 255, 0.14), transparent 54%),
    linear-gradient(180deg, rgba(63, 68, 106, 0.96), rgba(40, 46, 81, 0.98));
  box-shadow:
    0 34px 92px rgba(4, 8, 24, 0.48),
    0 0 0 1px rgba(122, 171, 255, 0.05),
    0 0 56px rgba(70, 132, 255, 0.12);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .hero-offer-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(119, 196, 255, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.96));
  border-color: rgba(92, 125, 193, 0.16);
  box-shadow:
    0 28px 60px rgba(78, 101, 151, 0.16),
    0 0 0 1px rgba(116, 154, 226, 0.08);
}

.landing-motion-ready .hero-offer-card {
  animation: hero-card-float 6.8s ease-in-out 1.1s infinite;
}

.hero-offer-title {
  display: block;
  margin: 0 0 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.15rem;
  line-height: 1.04;
  text-align: center;
  color: var(--text);
}

.hero-offer-subtitle {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.5;
}

.hero-offer-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 22px;
  padding: 0;
  list-style: none;
  text-align: center;
  font-weight: 700;
  font-size: 1.04rem;
}

.hero-offer-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-offer-tags span {
  min-width: 94px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  font-size: 0.9rem;
  text-align: center;
}

.hero-offer-button {
  width: 100%;
  justify-content: center;
}

.hero-offer-link {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-button-light {
  background: #f2f0fb;
  color: #0f1220;
  box-shadow: 0 18px 40px rgba(6, 9, 22, 0.18);
}

.cta-button-ghost {
  border-color: rgba(171, 194, 255, 0.22);
  background: rgba(12, 16, 33, 0.22);
  color: var(--text);
  backdrop-filter: blur(14px);
}

:root[data-theme="light"] .cta-button-ghost {
  border-color: rgba(46, 79, 151, 0.16);
  background: rgba(255, 255, 255, 0.6);
}

.section-reference,
.section-reference-alt {
  padding-top: 56px;
}

.section-title-center {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 34px;
  text-align: center;
}

.section-title-center h1,
.section-title-center h2 {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-title-center p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reference-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reference-feature-card {
  position: relative;
  min-height: 240px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 22, 44, 0.92), rgba(10, 13, 28, 0.98));
  overflow: hidden;
}

.reference-feature-copy {
  max-width: 26rem;
}

.reference-feature-copy h3 {
  margin: 0 0 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.7rem;
  line-height: 1.04;
}

.reference-feature-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.reference-feature-mark {
  position: absolute;
  right: 30px;
  bottom: 26px;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 4.6rem;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.08);
}

.section-capabilities {
  padding-top: 58px;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.capability-lead h1,
.capability-lead h2 {
  margin: 0 0 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.capability-lead p {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  min-height: 198px;
  padding: 24px 22px 22px;
  border-radius: 26px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  background:
    linear-gradient(180deg, rgba(19, 25, 50, 0.94), rgba(8, 13, 31, 0.98));
  box-shadow:
    0 24px 56px rgba(3, 9, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  align-items: start;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.capability-item-artwork {
  grid-template-columns: 108px 1fr;
  gap: 18px;
}

.capability-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(122, 146, 214, 0.14);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
}

.capability-icon-image {
  width: 108px;
  height: 108px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.capability-icon-asset {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  transition: transform 260ms ease;
}

.capability-item-connection .capability-icon-image,
.capability-item-privacy .capability-icon-image,
.capability-item-regions .capability-icon-image,
.capability-item-interface .capability-icon-image,
.capability-item-devices .capability-icon-image {
  position: relative;
}

.capability-item-connection .capability-icon-asset,
.capability-item-privacy .capability-icon-asset,
.capability-item-regions .capability-icon-asset,
.capability-item-interface .capability-icon-asset,
.capability-item-devices .capability-icon-asset {
  position: absolute;
  inset: 0;
}

.capability-item-connection .capability-icon-asset-light,
.capability-item-privacy .capability-icon-asset-light,
.capability-item-regions .capability-icon-asset-light,
.capability-item-interface .capability-icon-asset-light,
.capability-item-devices .capability-icon-asset-light {
  display: none;
}

.capability-item h3 {
  margin: 0 0 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.16rem;
}

.capability-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.capability-item:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 176, 255, 0.24);
  box-shadow:
    0 28px 66px rgba(3, 9, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(114, 167, 255, 0.04);
}

.capability-item:hover .capability-icon-asset {
  transform: translateY(-2px) scale(1.02);
}

:root[data-theme="light"] .capability-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.94));
  border-color: rgba(98, 111, 148, 0.14);
  box-shadow:
    0 22px 48px rgba(78, 101, 151, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .capability-icon {
  background: rgba(53, 92, 180, 0.08);
  border-color: rgba(98, 111, 148, 0.14);
  color: rgba(25, 52, 111, 0.86);
}

:root[data-theme="light"] .capability-item-artwork .capability-icon-image {
  background: transparent;
  border: 0;
}

:root[data-theme="light"] .capability-item-artwork .capability-icon-asset {
  filter: none;
}

:root[data-theme="light"] .capability-item-connection .capability-icon-asset-dark {
  display: none;
}

:root[data-theme="light"] .capability-item-connection .capability-icon-asset-light {
  display: block;
}

:root[data-theme="light"] .capability-item-privacy .capability-icon-asset-dark {
  display: none;
}

:root[data-theme="light"] .capability-item-privacy .capability-icon-asset-light {
  display: block;
}

:root[data-theme="light"] .capability-item-regions .capability-icon-asset-dark {
  display: none;
}

:root[data-theme="light"] .capability-item-regions .capability-icon-asset-light {
  display: block;
}

:root[data-theme="light"] .capability-item-interface .capability-icon-asset-dark {
  display: none;
}

:root[data-theme="light"] .capability-item-interface .capability-icon-asset-light {
  display: block;
}

:root[data-theme="light"] .capability-item-devices .capability-icon-asset-dark {
  display: none;
}

:root[data-theme="light"] .capability-item-devices .capability-icon-asset-light {
  display: block;
}

.pricing-switcher {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 28px;
  width: fit-content;
  border-radius: 16px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  overflow: hidden;
}

.pricing-switcher-chip {
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  border-right: 1px solid rgba(122, 146, 214, 0.14);
}

.pricing-switcher-chip:last-child {
  border-right: 0;
}

.pricing-switcher-chip.is-active {
  background: #f2f0fb;
  color: #0f1220;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 30px 34px;
  border-radius: 28px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 22, 44, 0.94), rgba(9, 13, 28, 0.98));
  box-shadow: var(--shadow-md);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 176, 255, 0.22);
  box-shadow:
    0 28px 62px rgba(2, 8, 24, 0.28),
    0 0 0 1px rgba(108, 159, 255, 0.04);
}

.pricing-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.pricing-card-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
}

.pricing-card h3 {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.8rem;
  line-height: 1.02;
}

.pricing-card-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(122, 146, 214, 0.12);
  color: var(--text-soft);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.pricing-card-link {
  display: inline-block;
  margin: 18px 0 20px;
  color: var(--text-soft);
  text-decoration: underline;
}

.pricing-card-specs {
  display: grid;
  flex: 1 1 auto;
  align-content: start;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
}

.pricing-card-specs li {
  position: relative;
  padding-left: 18px;
}

.pricing-card-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.pricing-card-period {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

.pricing-card-price {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-card-button {
  width: 100%;
  margin-top: 24px;
}

.pricing-card-premium {
  background:
    radial-gradient(circle at top right, rgba(208, 109, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(17, 22, 44, 0.94), rgba(9, 13, 28, 0.98));
}

.pricing-wide-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: 28px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background: rgba(14, 19, 40, 0.78);
}

.pricing-wide-card h3 {
  margin: 10px 0 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.7rem;
  line-height: 1.04;
}

.pricing-wide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.pricing-card-plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 26px 28px;
}

.pricing-card-lite {
  background:
    radial-gradient(circle at top left, rgba(108, 183, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(17, 22, 44, 0.94), rgba(9, 13, 28, 0.98));
}

.pricing-card-pro {
  background:
    radial-gradient(circle at top right, rgba(97, 190, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(17, 22, 44, 0.94), rgba(9, 13, 28, 0.98));
}

.pricing-card-plan.is-active {
  border-color: rgba(131, 189, 255, 0.26);
  box-shadow:
    0 28px 70px rgba(4, 11, 28, 0.28),
    0 0 0 1px rgba(116, 193, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pricing-card-plan.is-period-refresh .pricing-price-panel,
.pricing-card-plan.is-period-refresh .pricing-period-section,
.pricing-card-plan.is-period-refresh .pricing-card-price,
.pricing-card-plan.is-period-refresh .pricing-price-secondary {
  animation: pricing-period-refresh 320ms ease;
}

.pricing-card-head-plan {
  align-items: start;
}

.pricing-card-head-plan h3 {
  font-size: clamp(1.5rem, 2.15vw, 2.05rem);
  line-height: 1.08;
  min-height: 2.16em;
}

.pricing-card-plan .pricing-card-button {
  margin-top: auto;
}

.pricing-plan-caption {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

.pricing-plan-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
}

.pricing-plan-features li {
  position: relative;
  padding-left: 18px;
}

.pricing-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(126, 205, 255, 0.88);
  box-shadow: 0 0 14px rgba(102, 191, 255, 0.28);
}

.pricing-period-section {
  display: grid;
  gap: 10px;
}

.pricing-period-title {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.pricing-period-chip {
  display: grid;
  gap: 5px;
  justify-items: start;
  min-height: 66px;
  padding: 12px 12px 11px;
  border-radius: 18px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pricing-period-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(133, 188, 255, 0.22);
}

.pricing-period-chip.is-active {
  background: linear-gradient(180deg, rgba(111, 199, 255, 0.18), rgba(49, 88, 171, 0.18));
  border-color: rgba(124, 200, 255, 0.3);
  box-shadow:
    0 10px 24px rgba(17, 35, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-period-chip-label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.pricing-period-chip-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(214, 235, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.pricing-price-panel {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  background: rgba(10, 16, 34, 0.46);
}

.pricing-price-header {
  display: grid;
  gap: 4px;
}

.pricing-price-header strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.04;
}

.pricing-price-header span {
  color: var(--muted);
}

.pricing-price-secondary {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.45;
}

.pricing-price-facts {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.pricing-price-facts-placeholder {
  visibility: hidden;
}

.pricing-price-facts strong {
  color: var(--text);
}

.pricing-card-footnote {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.88rem;
}

:root[data-theme="light"] .pricing-card-plan {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.96));
  border-color: rgba(98, 111, 148, 0.14);
  box-shadow:
    0 24px 48px rgba(78, 101, 151, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

:root[data-theme="light"] .pricing-card-plan.is-active {
  border-color: rgba(77, 148, 225, 0.24);
  box-shadow:
    0 28px 56px rgba(78, 101, 151, 0.14),
    0 0 0 1px rgba(126, 198, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .pricing-plan-features li::before {
  background: rgba(48, 118, 214, 0.84);
  box-shadow: none;
}

:root[data-theme="light"] .pricing-period-chip {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(98, 111, 148, 0.14);
  color: rgba(27, 44, 84, 0.9);
}

:root[data-theme="light"] .pricing-period-chip.is-active {
  background: linear-gradient(180deg, rgba(39, 89, 188, 0.92), rgba(63, 125, 224, 0.88));
  border-color: rgba(39, 89, 188, 0.26);
  color: #f8fbff;
  box-shadow:
    0 12px 28px rgba(58, 106, 190, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

:root[data-theme="light"] .pricing-period-chip-badge {
  background: rgba(37, 74, 149, 0.1);
  color: rgba(28, 55, 111, 0.82);
}

:root[data-theme="light"] .pricing-period-chip.is-active .pricing-period-chip-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fbff;
}

:root[data-theme="light"] .pricing-price-panel {
  background: rgba(242, 247, 255, 0.9);
  border-color: rgba(98, 111, 148, 0.12);
}

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

.about-column {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 34px 36px 32px;
  border-radius: 30px;
  border: 1px solid rgba(122, 146, 214, 0.14);
  background: rgba(17, 25, 52, 0.52);
  box-shadow: 0 26px 60px rgba(4, 10, 26, 0.18);
  backdrop-filter: blur(18px);
}

.about-column h2 {
  margin: 0 0 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.about-column p {
  margin: 0 0 20px;
  color: var(--text-soft);
  line-height: 1.66;
  font-size: 1.04rem;
}

.about-column-block {
  margin-top: 4px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.about-column-block h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.35;
}

.about-column-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-column-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.56;
}

.about-column-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(142, 221, 255, 0.95), rgba(85, 127, 255, 0.95));
  box-shadow: 0 0 0 6px rgba(111, 170, 255, 0.08);
}

.about-column-signature {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 146, 214, 0.12);
  color: var(--text);
  font-size: 1.02rem;
}

.about-connection-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(122, 146, 214, 0.16);
  background: rgba(5, 13, 33, 0.52);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.96rem;
  color: #9fd7ff;
  overflow-wrap: anywhere;
}

.about-connection-block p:last-child {
  margin-bottom: 0;
}

.service-steps-shell {
  margin-top: 44px;
  padding: 36px 38px 0;
  border-top: 1px solid rgba(122, 146, 214, 0.1);
}

.service-steps-head {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 24px;
}

.service-steps-kicker {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-steps-head h3 {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

.service-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-step {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background: rgba(14, 19, 40, 0.72);
}

.service-step-index {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--text-soft);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-step strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.3rem;
  line-height: 1.05;
}

.service-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

:root[data-theme="light"] .about-column {
  background: rgba(249, 252, 255, 0.52);
  border-color: rgba(98, 111, 148, 0.12);
  box-shadow: 0 22px 52px rgba(105, 136, 194, 0.1);
}

:root[data-theme="light"] .about-column-block {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(98, 111, 148, 0.12);
}

:root[data-theme="light"] .about-column-signature {
  border-top-color: rgba(98, 111, 148, 0.12);
}

:root[data-theme="light"] .about-connection-link {
  background: rgba(240, 247, 255, 0.92);
  border-color: rgba(98, 111, 148, 0.12);
  color: #2f61c6;
}

:root[data-theme="light"] .service-steps-shell {
  border-top-color: rgba(98, 111, 148, 0.1);
}

:root[data-theme="light"] .service-step {
  background: rgba(244, 249, 255, 0.54);
  border-color: rgba(98, 111, 148, 0.12);
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.faq-question {
  display: block;
  align-self: start;
  overflow: clip;
  padding: 0 22px;
  border-radius: 24px;
  border: 1px solid rgba(122, 146, 214, 0.12);
  background: rgba(52, 55, 83, 0.8);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.faq-question summary {
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  line-height: 1.38;
  transition:
    color 180ms ease,
    padding 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-question summary::-webkit-details-marker {
  display: none;
}

.faq-question[open] summary {
  padding-bottom: 14px;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    grid-template-rows 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 280ms ease,
    transform 320ms ease;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 320ms ease;
}

.faq-question[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
}

.faq-question[open] .faq-answer-inner {
  padding-bottom: 22px;
}

.faq-question p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.62;
}

.faq-question p + p {
  margin-top: -8px;
}

.faq-question ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-question:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 177, 255, 0.18);
}

.motion-reveal {
  --motion-delay: 0ms;
}

.landing-motion-enabled .motion-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 700ms ease;
  transition-delay: var(--motion-delay);
  will-change: transform, opacity;
}

.landing-motion-enabled .motion-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.landing-motion-ready::after {
  animation: none;
}

.landing-motion-ready::before {
  animation: none;
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pricing-period-refresh {
  0% {
    opacity: 0.72;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes site-particle-drift {
  0% {
    background-position: 0 0, 72px 72px;
    opacity: 0.1;
  }
  50% {
    background-position: 54px 28px, 124px 96px;
    opacity: 0.16;
  }
  100% {
    background-position: 108px 56px, 176px 120px;
    opacity: 0.1;
  }
}

@keyframes site-data-flow {
  0% {
    background-position:
      70% 12%,
      18% 72%,
      -18% 14%,
      116% 34%,
      -12% 58%,
      112% 76%;
  }
  50% {
    background-position:
      68% 14%,
      20% 70%,
      62% 14%,
      28% 34%,
      60% 58%,
      20% 76%;
  }
  100% {
    background-position:
      70% 12%,
      18% 72%,
      142% 14%,
      -34% 34%,
      138% 58%,
      -28% 76%;
  }
}

@keyframes page-stream-travel {
  0% {
    opacity: 0;
    transform:
      translate3d(0, 0, 0)
      rotate(var(--stream-angle, 0deg))
      scaleX(0.84);
  }
  14% {
    opacity: var(--stream-opacity, 0.62);
  }
  76% {
    opacity: var(--stream-opacity, 0.62);
  }
  100% {
    opacity: 0;
    transform:
      translate3d(var(--stream-travel-x, 120px), var(--stream-travel-y, 0px), 0)
      rotate(var(--stream-angle, 0deg))
      scaleX(1);
  }
}

@keyframes page-stream-lines {
  0% {
    background-position:
      -26% 10%,
      120% 28%,
      -20% 48%,
      116% 64%,
      -14% 82%;
  }
  50% {
    background-position:
      64% 10%,
      26% 28%,
      68% 48%,
      22% 64%,
      62% 82%;
  }
  100% {
    background-position:
      152% 10%,
      -42% 28%,
      150% 48%,
      -34% 64%,
      144% 82%;
  }
}

@keyframes page-stream-particles {
  0% {
    background-position:
      0 0,
      96px 140px;
    transform: translate3d(0, 0, 0);
  }
  50% {
    background-position:
      112px 54px,
      182px 224px;
    transform: translate3d(0, -8px, 0);
  }
  100% {
    background-position:
      220px 108px,
      268px 308px;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-ambient-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.78;
  }
  50% {
    transform: translate3d(0, 10px, 0);
    opacity: 0.96;
  }
}

@keyframes hero-background-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.98;
  }
  to {
    transform: translate3d(0, -10px, 0) scale(1.018);
    opacity: 1;
  }
}

@keyframes hero-data-stream {
  0% {
    background-position:
      0 0,
      0 0,
      -26% 22%,
      118% 48%,
      -16% 72%;
  }
  50% {
    background-position:
      0 0,
      0 0,
      72% 22%,
      20% 48%,
      70% 72%;
  }
  100% {
    background-position:
      0 0,
      0 0,
      148% 22%,
      -36% 48%,
      136% 72%;
  }
}

.faq-inline-code {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(122, 146, 214, 0.16);
  background: rgba(9, 17, 41, 0.5);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
  color: #9fd7ff;
  overflow-wrap: anywhere;
}

.faq-support-note {
  margin: 28px auto 0;
  max-width: 980px;
  color: var(--text-soft);
  line-height: 1.6;
}

.faq-support-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.faq-support-link:hover {
  color: var(--accent-primary);
}

:root[data-theme="light"] .faq-inline-code {
  border-color: rgba(98, 111, 148, 0.12);
  background: rgba(240, 247, 255, 0.92);
  color: #2f61c6;
}

.footer-premium {
  position: relative;
  isolation: isolate;
  padding: 46px 0 56px;
  background: transparent;
  border-top: 1px solid rgba(88, 131, 206, 0.01);
}

.footer-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 13, 31, 0) 0%, rgba(4, 13, 31, 0.008) 42%, rgba(3, 10, 24, 0.02) 100%);
}

:root:not([data-theme="light"]) .footer-premium {
  background: linear-gradient(180deg, rgba(8, 20, 49, 0.9), rgba(8, 20, 49, 0.94));
  border-top-color: rgba(88, 131, 206, 0.015);
}

:root:not([data-theme="light"]) .footer-premium::before {
  content: none;
}

:root[data-theme="light"] .footer-premium {
  border-top-color: rgba(132, 160, 217, 0.05);
}

:root[data-theme="light"] .footer-premium::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(110, 195, 255, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(244, 245, 251, 0) 0%, rgba(238, 244, 251, 0.045) 42%, rgba(230, 239, 249, 0.085) 100%);
}

.footer-grid-premium {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column-wide {
  gap: 22px;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-label {
  color: var(--text);
  font-weight: 700;
}

.footer-strong {
  color: var(--text);
  font-size: 1.1rem;
}

.footer-links-minimal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--text-soft);
}

.footer-meta-tight {
  line-height: 1.55;
}

.site-notifications-widget {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-notifications-bell {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 164, 255, 0.24);
  background: linear-gradient(180deg, rgba(13, 29, 67, 0.96), rgba(8, 19, 45, 0.98));
  color: var(--text);
  box-shadow: 0 18px 38px rgba(4, 12, 28, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-notifications-bell:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 204, 255, 0.32);
  box-shadow: 0 20px 42px rgba(4, 12, 28, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-notifications-bell-glyph {
  font-size: 1.25rem;
  line-height: 1;
}

.site-notifications-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 118, 145, 0.98), rgba(232, 76, 111, 0.96));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(217, 73, 104, 0.32);
}

.site-notifications-panel {
  width: min(360px, calc(100vw - 40px));
  max-height: min(480px, calc(100vh - 120px));
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(102, 161, 255, 0.2);
  background: linear-gradient(180deg, rgba(8, 20, 49, 0.97), rgba(7, 17, 42, 0.985));
  box-shadow: 0 32px 74px rgba(3, 10, 25, 0.42);
  backdrop-filter: blur(26px);
}

.site-notifications-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(96, 152, 242, 0.12);
}

.site-notifications-panel-head strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.site-notifications-panel-head span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-notifications-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(96, 152, 242, 0.14);
  background: rgba(18, 34, 72, 0.86);
  color: var(--text-soft);
  font-size: 1.3rem;
}

.site-notifications-list {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  max-height: min(380px, calc(100vh - 210px));
  overflow: auto;
}

.site-notification-item,
.site-notifications-empty {
  border-radius: 18px;
  border: 1px solid rgba(98, 156, 248, 0.12);
  background: rgba(16, 31, 65, 0.88);
  padding: 14px 15px;
}

.site-notification-item.is-unread {
  border-color: rgba(120, 204, 255, 0.22);
  background: linear-gradient(180deg, rgba(18, 38, 79, 0.94), rgba(14, 29, 60, 0.94));
  box-shadow: inset 0 0 0 1px rgba(121, 194, 255, 0.04);
}

.site-notification-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.site-notification-item-meta {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
}

.site-notification-item-head strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.site-notification-item-head span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-notification-item p,
.site-notifications-empty {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.site-notification-dismiss {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(122, 165, 241, 0.18);
  border-radius: 999px;
  background: rgba(13, 24, 49, 0.72);
  color: rgba(222, 232, 247, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-notification-dismiss:hover {
  background: rgba(26, 41, 79, 0.92);
  border-color: rgba(143, 188, 255, 0.34);
  color: #f5f9ff;
  transform: translateY(-1px);
}

:root[data-theme="light"] .site-notifications-bell {
  border-color: rgba(133, 170, 225, 0.34);
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(236, 243, 255, 0.98));
  color: #214675;
  box-shadow: 0 18px 34px rgba(104, 132, 181, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .site-notifications-bell:hover {
  border-color: rgba(103, 152, 228, 0.42);
  box-shadow: 0 20px 38px rgba(104, 132, 181, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

:root[data-theme="light"] .site-notifications-panel {
  border-color: rgba(154, 183, 226, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
  box-shadow: 0 32px 70px rgba(130, 152, 190, 0.18);
}

:root[data-theme="light"] .site-notifications-panel-head {
  border-bottom-color: rgba(149, 180, 224, 0.28);
}

:root[data-theme="light"] .site-notifications-panel-head strong,
:root[data-theme="light"] .site-notification-item-head strong {
  color: #214675;
}

:root[data-theme="light"] .site-notifications-panel-head span,
:root[data-theme="light"] .site-notification-item p,
:root[data-theme="light"] .site-notifications-empty {
  color: #5b74a1;
}

:root[data-theme="light"] .site-notification-item,
:root[data-theme="light"] .site-notifications-empty {
  border-color: rgba(162, 186, 226, 0.28);
  background: rgba(247, 250, 255, 0.96);
}

:root[data-theme="light"] .site-notification-item.is-unread {
  border-color: rgba(119, 173, 235, 0.36);
  background: linear-gradient(180deg, rgba(239, 247, 255, 0.98), rgba(233, 243, 255, 0.98));
}

:root[data-theme="light"] .site-notification-item-head span,
:root[data-theme="light"] .site-notifications-close {
  color: #7c91b8;
}

:root[data-theme="light"] .site-notification-dismiss {
  background: rgba(244, 248, 255, 0.96);
  border-color: rgba(170, 194, 232, 0.62);
  color: rgba(60, 86, 129, 0.92);
}

:root[data-theme="light"] .site-notification-dismiss:hover {
  background: rgba(233, 242, 255, 0.98);
  border-color: rgba(128, 166, 224, 0.88);
  color: rgba(33, 58, 103, 0.96);
}

:root[data-theme="light"] .site-notifications-close {
  border-color: rgba(162, 186, 226, 0.32);
  background: rgba(243, 248, 255, 0.98);
}

@media (max-width: 760px) {
  .site-notifications-widget {
    left: 14px;
    bottom: 14px;
  }

  .site-notifications-panel {
    width: min(340px, calc(100vw - 28px));
  }
}

@media (max-width: 1180px) {
  .header-row-premium,
  .hero-reference-grid,
  .capability-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .header-nav-premium {
    justify-content: flex-start;
  }

  .header-utility {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-reference-stage {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-offer-card {
    margin-left: auto;
  }

  .reference-feature-grid,
  .pricing-card-grid,
  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }

  .faq-accordion-grid {
    grid-template-rows: none;
    grid-auto-flow: row;
    max-width: 980px;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

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

  .pricing-wide-card,
  .footer-grid-premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --auth-modal-safe-top: 124px;
    --auth-modal-safe-bottom: 10px;
  }

  body::before,
  body::after {
    animation: none;
  }

  body::before {
    opacity: 0.12;
  }

  body::after {
    opacity: 0.08;
  }

  .login-modal-layer {
    align-items: start;
    display: flex;
    justify-content: center;
    padding-right: 12px;
    padding-left: 12px;
    scroll-padding-top: var(--auth-modal-safe-top);
  }

  .login-modal-dialog {
    width: min(100%, 420px);
    max-height: var(--auth-modal-available-height);
  }

  .login-modal-card {
    padding: 18px 16px 16px;
    gap: 12px;
    max-height: inherit;
  }

  .login-modal-title {
    font-size: 1.48rem;
  }

  .login-modal-subtitle {
    font-size: 0.87rem;
    line-height: 1.36;
  }

  .login-modal-close {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .login-modal-links {
    flex-direction: column;
  }

  .login-modal-links > * {
    width: 100%;
  }

  .register-modal-card:has(#register-form) .login-modal-policy {
    margin-top: 2px;
    font-size: 0.77rem;
    line-height: 1.32;
  }

  .register-modal-card:has(#register-form) .login-modal-links {
    margin-top: 2px;
    gap: 6px;
  }

  .login-modal-card .input,
  .login-modal-card .textarea,
  .login-modal-card .select {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .login-modal-card .primary-button,
  .login-modal-card .soft-button,
  .login-modal-card .ghost-button {
    min-height: 44px;
    padding: 10px 14px;
    line-height: 1.18;
  }

  .login-modal-card .auth-divider {
    margin: 10px 0 8px;
  }

  .login-modal-card .telegram-login-slot {
    gap: 8px;
    margin-top: 0;
    padding: 10px;
    border-radius: 18px;
  }

  .telegram-login-button {
    width: 100%;
  }

  .site-header-premium {
    padding: 10px 0;
  }

  .brand-lockup-minimal {
    display: flex;
    margin-left: 0;
    padding-right: 0;
  }

  .brand-logo-image {
    height: 40px;
    max-width: min(174px, 50vw);
  }

  .header-row-premium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand utility"
      "nav nav";
    gap: 10px;
  }

  .brand-lockup-minimal {
    grid-area: brand;
  }

  .header-nav-premium {
    grid-area: nav;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav-premium::-webkit-scrollbar {
    display: none;
  }

  .header-nav-premium .nav-link-premium {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
  }

  .header-utility {
    grid-area: utility;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .header-utility .locale-switcher {
    display: none;
  }

  .header-utility .header-dashboard-button {
    min-height: 44px;
    padding: 9px 14px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero-reference {
    padding-top: 20px;
  }

  .landing-hero-flow::before {
    background-position:
      0 0,
      0 0,
      58% 22%,
      64% top,
      0 0;
    background-size:
      100% 100%,
      100% 100%,
      520px 520px,
      auto clamp(460px, 68vh, 620px),
      100% 100%;
  }

  :root[data-theme="light"] .landing-hero-flow::before {
    background-position:
      0 0,
      0 0,
      54% 22%,
      64% top,
      0 0;
    background-size:
      100% 100%,
      100% 100%,
      520px 520px,
      auto clamp(460px, 68vh, 620px),
      100% 100%;
  }

  .hero-reference-copy {
    padding-top: 18px;
  }

  .hero-reference-title,
  .capability-lead h1,
  .capability-lead h2 {
    max-width: none;
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .hero-reference-stage {
    min-height: auto;
    padding-top: 0;
  }

  .hero-offer-card {
    margin-left: 0;
    width: auto;
    padding: 24px 20px 20px;
  }

  .reference-feature-card,
  .pricing-card,
  .pricing-wide-card,
  .about-column,
  .service-step,
  .faq-question {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-steps-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .reference-feature-card {
    min-height: 220px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .reference-feature-mark {
    right: 20px;
    bottom: 18px;
    font-size: 3.4rem;
  }

  .pricing-switcher {
    width: 100%;
    justify-content: stretch;
  }

  .pricing-switcher-chip {
    flex: 1 1 0;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
  }

  .service-steps-grid {
    grid-template-columns: 1fr;
  }

  .landing-mobile-carousel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    overscroll-behavior-x: auto;
    scroll-padding-inline: 0;
    scroll-snap-type: none;
  }

  .landing-mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .landing-mobile-carousel > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .about-grid.landing-mobile-carousel {
    gap: 14px;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    scroll-padding-inline: 0;
  }

  .about-grid.landing-mobile-carousel > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: none;
  }

  .about-grid.landing-mobile-carousel > .about-column {
    overflow: hidden;
    background:
      radial-gradient(circle at 86% 8%, rgba(87, 151, 255, 0.08), transparent 30%),
      linear-gradient(180deg, rgba(12, 18, 40, 0.98), rgba(8, 14, 32, 0.99));
    box-shadow: 0 20px 48px rgba(4, 10, 26, 0.18);
  }

  :root[data-theme="light"] .about-grid.landing-mobile-carousel > .about-column {
    background:
      radial-gradient(circle at 86% 8%, rgba(76, 153, 255, 0.12), transparent 30%),
      linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(239, 246, 255, 0.99));
  }

  .faq-accordion-grid.landing-mobile-carousel > * {
    flex-basis: min(88vw, 390px);
  }

  .faq-accordion-grid.landing-mobile-carousel {
    grid-auto-flow: initial;
  }

  .pricing-card-plan {
    gap: 18px;
    width: 100%;
    min-width: 0;
    padding: 22px 20px;
  }

  .pricing-card-plan .pricing-card-head-plan {
    min-height: 0;
  }

  .pricing-card-head-plan h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    min-height: 0;
  }

  .pricing-plan-features {
    min-height: 0;
    align-content: start;
  }

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

  .pricing-period-chip {
    min-height: 64px;
    padding: 12px;
  }

  .pricing-price-panel {
    padding: 18px 18px 20px;
  }

  .pricing-card-footnote {
    font-size: 0.88rem;
  }

  .footer-line,
  .footer-links-minimal {
    gap: 14px;
  }
}

@media (pointer: coarse), (max-width: 820px) {
  html {
    scroll-behavior: auto;
  }

  body {
    background:
      radial-gradient(circle at 76% 8%, rgba(124, 213, 255, 0.16), transparent 20%),
      radial-gradient(circle at 18% 18%, rgba(54, 119, 255, 0.1), transparent 26%),
      linear-gradient(180deg, #020713 0%, #030c20 28%, #06142f 58%, var(--bg-deep) 100%);
    background-attachment: scroll;
  }

  body::before {
    display: none;
  }

  body::after {
    display: none;
  }

  .landing-hero-flow > .section:not(.hero-reference) {
    content-visibility: visible !important;
    contain-intrinsic-size: none;
  }

  .page-glow,
  .page-grid,
  .page-streams {
    display: none;
  }

  .landing-motion-ready::before,
  .landing-motion-ready::after {
    animation: none !important;
    will-change: auto !important;
  }

  .site-header,
  .site-header-premium {
    position: relative;
    top: auto;
    box-shadow: none;
  }

  .site-header,
  .site-header-premium,
  .hero-offer-card,
  .pricing-card,
  .pricing-wide-card,
  .reference-feature-card,
  .about-column,
  .service-step,
  .faq-question,
  .auth-panel,
  .dashboard-shell,
  .section-panel,
  .legal-panel,
  .theme-toggle,
  .locale-switcher,
  .header-dashboard-button,
  .header-link-premium,
  .pricing-period-chip,
  .pricing-price-panel,
  .footer-minimal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .login-modal-layer {
    padding-top: var(--auth-modal-safe-top);
  }

  .landing-motion-enabled .hero-reference-title,
  .landing-motion-enabled .hero-reference-lead,
  .landing-motion-enabled .hero-actions,
  .landing-motion-enabled .hero-reference-note,
  .landing-motion-enabled .hero-offer-card,
  .landing-motion-enabled .motion-reveal,
  .landing-motion-ready .hero-reference-title,
  .landing-motion-ready .hero-reference-lead,
  .landing-motion-ready .hero-actions,
  .landing-motion-ready .hero-reference-note,
  .landing-motion-ready .hero-offer-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
  }

  .hero-reference-stage,
  .hero-offer-card,
  .reference-feature-visual,
  .capability-artwork,
  .capability-visual {
    transform: none !important;
  }

  .faq-question {
    overflow: hidden;
    transform: none !important;
  }

  .faq-question,
  .faq-question summary,
  .faq-answer,
  .faq-answer-inner,
  .faq-support-note {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
  }

  .faq-answer {
    display: block;
    grid-template-rows: none;
    opacity: 1;
  }

  .faq-question:not([open]) .faq-answer {
    display: none;
  }

  .faq-question[open] .faq-answer-inner {
    padding-bottom: 22px;
  }
}

.dashboard-shell-immersive {
  display: grid;
  grid-template-columns: minmax(248px, 284px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(96, 134, 208, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 0%, rgba(110, 218, 255, 0.08), transparent 26%),
    radial-gradient(circle at 100% 12%, rgba(58, 116, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(9, 14, 33, 0.98), rgba(5, 10, 24, 0.98));
  box-shadow:
    0 24px 64px rgba(3, 8, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.dashboard-sidebar-card,
.dashboard-panel,
.dashboard-hero-card,
.dashboard-action-card,
.dashboard-profile-snapshot {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(102, 138, 211, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 18, 40, 0.94), rgba(8, 13, 29, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(4, 8, 20, 0.14);
}

.dashboard-sidebar-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.dashboard-sidebar-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.dashboard-sidebar-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-side-stat {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(96, 132, 208, 0.12);
  background: rgba(7, 12, 28, 0.72);
  display: grid;
  gap: 8px;
}

.dashboard-side-stat strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.dashboard-side-stat-label {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.dashboard-sidebar-nav {
  display: grid;
  gap: 10px;
}

.dashboard-nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(96, 132, 208, 0.12);
  background: rgba(8, 14, 31, 0.78);
  color: var(--text);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-nav-button:hover {
  transform: translateY(-1px);
  border-color: rgba(134, 198, 255, 0.22);
  box-shadow: 0 14px 28px rgba(8, 15, 34, 0.18);
}

.dashboard-nav-button.is-active {
  border-color: rgba(130, 201, 255, 0.28);
  background:
    radial-gradient(circle at 86% 14%, rgba(118, 214, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(25, 49, 102, 0.96), rgba(24, 84, 162, 0.92));
  box-shadow:
    0 18px 34px rgba(11, 24, 54, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-nav-copy {
  display: grid;
  gap: 4px;
}

.dashboard-nav-copy strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.dashboard-nav-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.dashboard-nav-button.is-active .dashboard-nav-copy small {
  color: rgba(225, 237, 255, 0.72);
}

.dashboard-nav-badge {
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(132, 190, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #eef5ff;
  font-size: 0.76rem;
  font-weight: 700;
}

.dashboard-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.dashboard-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-main-title {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.dashboard-main-lead {
  max-width: 60ch;
  margin-top: 12px;
}

.dashboard-grid-immersive {
  display: grid;
  gap: 18px;
}

.dashboard-mobile-tabs {
  display: none;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.dashboard-mobile-tabs::-webkit-scrollbar {
  display: none;
}

.dashboard-mobile-tabs .tab-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dashboard-panel {
  padding: 24px;
}

.dashboard-panel-header {
  margin-bottom: 18px;
}

.dashboard-panel-lead {
  max-width: 62ch;
}

.dashboard-title {
  margin: 8px 0 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.dashboard-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.dashboard-overview-grid-tight {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.dashboard-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.86fr);
  gap: 18px;
  padding: 26px;
  background:
    radial-gradient(circle at 72% 18%, rgba(116, 214, 255, 0.14), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(61, 121, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(13, 20, 46, 0.96), rgba(7, 12, 27, 0.98));
}

.dashboard-hero-card-warn {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 199, 118, 0.12), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(61, 121, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(16, 20, 39, 0.96), rgba(7, 12, 27, 0.98));
}

.dashboard-hero-main,
.dashboard-hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.dashboard-hero-title {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.dashboard-hero-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.dashboard-hero-list li {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(98, 138, 214, 0.12);
  background: rgba(8, 14, 31, 0.68);
  display: grid;
  gap: 6px;
}

.dashboard-hero-list span {
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-status-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(98, 138, 214, 0.12);
  background: rgba(8, 14, 31, 0.72);
  display: grid;
  gap: 10px;
}

.dashboard-status-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.dashboard-action-card {
  min-height: 100%;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.dashboard-profile-snapshot {
  padding: 18px;
}

.dashboard-purchase-flow {
  display: grid;
  gap: 18px;
}

.dashboard-cards-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-cards-compact .summary-card {
  min-height: 0;
  padding: 18px 20px;
}

.dashboard-shell-immersive .section-panel,
.dashboard-shell-immersive .data-card,
.dashboard-shell-immersive .history-card,
.dashboard-shell-immersive .subscription-card,
.dashboard-shell-immersive .plan-card,
.dashboard-shell-immersive .tier-card {
  border-color: rgba(98, 138, 214, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 18, 39, 0.92), rgba(7, 12, 27, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 32px rgba(6, 11, 25, 0.12);
}

.dashboard-shell-immersive .subscription-card,
.dashboard-shell-immersive .plan-card,
.dashboard-shell-immersive .tier-card,
.dashboard-shell-immersive .data-card,
.dashboard-shell-immersive .history-card {
  border-radius: 24px;
}

.dashboard-shell-immersive .subscription-grid,
.dashboard-shell-immersive .plans-grid,
.dashboard-shell-immersive .history-grid,
.dashboard-shell-immersive .tier-grid,
.dashboard-shell-immersive .wholesale-grid {
  gap: 16px;
}

.dashboard-shell-immersive .metric-list li,
.dashboard-shell-immersive .detail-list li {
  line-height: 1.6;
}

.dashboard-shell-immersive .inline-code {
  border-radius: 18px;
}

:root[data-theme="light"] .dashboard-shell-immersive {
  border-color: rgba(98, 122, 182, 0.12);
  background:
    radial-gradient(circle at 16% 0%, rgba(84, 194, 255, 0.1), transparent 26%),
    radial-gradient(circle at 100% 10%, rgba(68, 134, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.96));
  box-shadow:
    0 24px 56px rgba(80, 104, 156, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .dashboard-sidebar-card,
:root[data-theme="light"] .dashboard-panel,
:root[data-theme="light"] .dashboard-hero-card,
:root[data-theme="light"] .dashboard-action-card,
:root[data-theme="light"] .dashboard-profile-snapshot {
  border-color: rgba(98, 122, 182, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 36px rgba(84, 109, 162, 0.1);
}

:root[data-theme="light"] .dashboard-side-stat,
:root[data-theme="light"] .dashboard-nav-button,
:root[data-theme="light"] .dashboard-hero-list li,
:root[data-theme="light"] .dashboard-status-card {
  border-color: rgba(98, 122, 182, 0.12);
  background: rgba(244, 248, 255, 0.86);
}

:root[data-theme="light"] .dashboard-nav-copy small,
:root[data-theme="light"] .dashboard-side-stat-label,
:root[data-theme="light"] .dashboard-hero-list span,
:root[data-theme="light"] .dashboard-status-label {
  color: rgba(68, 89, 140, 0.8);
}

:root[data-theme="light"] .dashboard-nav-button.is-active {
  border-color: rgba(85, 148, 255, 0.18);
  background:
    radial-gradient(circle at 86% 14%, rgba(118, 214, 255, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(26, 74, 147, 0.98), rgba(70, 171, 255, 0.92));
  box-shadow:
    0 18px 34px rgba(76, 118, 196, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] .dashboard-nav-button.is-active .dashboard-nav-copy small,
:root[data-theme="light"] .dashboard-nav-button.is-active .dashboard-nav-badge {
  color: rgba(242, 247, 255, 0.94);
}

:root[data-theme="light"] .dashboard-nav-badge {
  border-color: rgba(90, 145, 255, 0.14);
  background: rgba(33, 84, 165, 0.08);
  color: #17408a;
}

:root[data-theme="light"] .dashboard-hero-card,
:root[data-theme="light"] .dashboard-hero-card-warn {
  background:
    radial-gradient(circle at 76% 16%, rgba(118, 214, 255, 0.14), transparent 24%),
    radial-gradient(circle at 16% 84%, rgba(84, 141, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.96));
}

:root[data-theme="light"] .dashboard-shell-immersive .section-panel,
:root[data-theme="light"] .dashboard-shell-immersive .data-card,
:root[data-theme="light"] .dashboard-shell-immersive .history-card,
:root[data-theme="light"] .dashboard-shell-immersive .subscription-card,
:root[data-theme="light"] .dashboard-shell-immersive .plan-card,
:root[data-theme="light"] .dashboard-shell-immersive .tier-card {
  border-color: rgba(98, 122, 182, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 32px rgba(84, 109, 162, 0.08);
}

@media (max-width: 1180px) {
  .dashboard-shell-immersive {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .dashboard-sidebar-nav {
    display: none;
  }

  .dashboard-mobile-tabs {
    display: flex;
  }

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

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

@media (max-width: 860px) {
  .dashboard-shell-immersive {
    padding: 16px;
    border-radius: 26px;
  }

  .dashboard-main-head {
    display: grid;
    gap: 14px;
  }

  .dashboard-main-head .button-row {
    justify-content: flex-start;
  }

  .dashboard-sidebar-metrics,
  .dashboard-cards-compact,
  .dashboard-overview-grid,
  .dashboard-overview-grid-tight,
  .dashboard-action-grid,
  .dashboard-hero-list {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar-card,
  .dashboard-panel,
  .dashboard-hero-card,
  .dashboard-action-card,
  .dashboard-profile-snapshot {
    border-radius: 22px;
  }

  .dashboard-panel,
  .dashboard-hero-card {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .dashboard-shell-immersive {
    padding: 14px;
    margin: 24px auto 40px;
  }

  .dashboard-main-title {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .dashboard-sidebar-card,
  .dashboard-panel,
  .dashboard-hero-card,
  .dashboard-action-card,
  .dashboard-profile-snapshot {
    padding: 18px;
  }

  .dashboard-nav-button,
  .dashboard-side-stat {
    padding: 14px 16px;
  }

  .dashboard-hero-list li {
    padding: 12px 14px;
  }
}

@media (max-height: 820px) {
  .login-modal-layer {
    padding-top: var(--auth-modal-safe-top);
    padding-bottom: 10px;
  }

  .login-modal-dialog {
    max-height: var(--auth-modal-available-height);
  }

  .login-modal-card {
    gap: 10px;
    padding: 17px 16px 15px;
  }

  .login-modal-title {
    font-size: clamp(1.4rem, 1.08rem + 0.9vw, 1.85rem);
  }

  .login-modal-subtitle {
    font-size: 0.85rem;
    line-height: 1.32;
  }

  .login-modal-card .form-grid {
    gap: 9px;
  }

  .login-modal-card .telegram-login-slot {
    padding: 10px;
  }
}

.dashboard-shell-premium {
  display: grid;
  grid-template-columns: minmax(252px, 284px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 16px auto 44px;
}

.dashboard-sidebar-premium,
.dashboard-main-premium {
  min-width: 0;
}

.dashboard-sidebar-premium {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 8px;
}

.dashboard-sidebar-profile,
.dashboard-surface-card,
.dashboard-hero-premium,
.dashboard-qr-card {
  border-radius: 24px;
  border: 1px solid rgba(103, 136, 209, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 18, 42, 0.94), rgba(6, 11, 27, 0.96));
  box-shadow:
    0 22px 48px rgba(2, 7, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-sidebar-profile,
.dashboard-surface-card {
  padding: 24px;
}

.dashboard-sidebar-profile {
  display: grid;
  gap: 14px;
}

.dashboard-profile-meta {
  display: grid;
  gap: 10px;
}

.dashboard-profile-meta h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -0.04em;
}

.dashboard-profile-meta p,
.dashboard-card-lead,
.dashboard-main-lead-premium,
.dashboard-hero-subhead,
.dashboard-hero-highlight p,
.dashboard-help-point p,
.dashboard-empty-inline,
.dashboard-inline-trust {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.dashboard-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(177, 205, 244, 0.78);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dashboard-side-status {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(103, 136, 209, 0.14);
  background: rgba(10, 16, 34, 0.72);
}

.dashboard-side-status span {
  color: rgba(177, 205, 244, 0.74);
  font-size: 0.78rem;
}

.dashboard-side-status strong {
  font-size: 0.98rem;
}

.dashboard-side-nav {
  display: grid;
  gap: 8px;
}

.dashboard-sidebar-divider {
  height: 1px;
  margin: 4px 2px;
  background: linear-gradient(90deg, transparent, rgba(125, 162, 235, 0.2), transparent);
}

.dashboard-side-nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(103, 136, 209, 0.12);
  background: rgba(8, 14, 31, 0.76);
  color: var(--text);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-side-nav-button:hover {
  transform: translateY(-1px);
  border-color: rgba(137, 197, 255, 0.24);
  box-shadow: 0 16px 28px rgba(5, 10, 25, 0.18);
}

.dashboard-side-nav-button.is-active {
  border-color: rgba(133, 196, 255, 0.28);
  background:
    radial-gradient(circle at 86% 14%, rgba(112, 207, 255, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(22, 43, 89, 0.96), rgba(26, 84, 164, 0.92));
  box-shadow:
    0 18px 34px rgba(10, 22, 52, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-side-nav-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.dashboard-side-nav-copy strong {
  font-size: 0.98rem;
  line-height: 1.24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-main-premium {
  display: grid;
  gap: 18px;
}

.dashboard-main-head-premium {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-main-title-premium {
  margin: 2px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.dashboard-main-lead-premium {
  max-width: 60ch;
  margin-top: 12px;
}

.dashboard-mobile-tab-bar {
  display: none;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.dashboard-mobile-tab-bar::-webkit-scrollbar {
  display: none;
}

.dashboard-mobile-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(105, 139, 208, 0.14);
  background: rgba(9, 15, 31, 0.72);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  scroll-snap-align: start;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.dashboard-mobile-tab.is-active {
  border-color: rgba(132, 196, 255, 0.26);
  background: linear-gradient(135deg, rgba(22, 43, 89, 0.94), rgba(26, 84, 164, 0.88));
  box-shadow: 0 12px 26px rgba(5, 12, 31, 0.22);
}

.dashboard-mobile-tab:active {
  transform: scale(0.985);
}

.dashboard-grid-premium {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-card-span-12 {
  grid-column: span 12;
}

.dashboard-card-span-7 {
  grid-column: span 7;
}

.dashboard-card-span-6 {
  grid-column: span 6;
}

.dashboard-card-span-5 {
  grid-column: span 5;
}

.dashboard-surface-card {
  display: grid;
  gap: 18px;
}

.dashboard-surface-card.tone-active,
.dashboard-hero-premium.tone-active,
.dashboard-side-status.tone-active {
  border-color: rgba(72, 198, 140, 0.18);
}

.dashboard-surface-card.tone-warning,
.dashboard-hero-premium.tone-warning,
.dashboard-side-status.tone-warning {
  border-color: rgba(255, 188, 83, 0.22);
}

.dashboard-surface-card.tone-danger,
.dashboard-hero-premium.tone-danger,
.dashboard-side-status.tone-danger {
  border-color: rgba(255, 106, 106, 0.22);
}

.dashboard-surface-card-premium {
  background:
    radial-gradient(circle at 90% 0%, rgba(111, 90, 255, 0.14), transparent 22%),
    radial-gradient(circle at 8% 0%, rgba(90, 194, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(13, 20, 44, 0.96), rgba(8, 13, 28, 0.98));
}

.dashboard-surface-card-warm {
  background:
    radial-gradient(circle at 100% 0%, rgba(94, 146, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(11, 18, 40, 0.96), rgba(7, 12, 27, 0.98));
}

.dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-card-head h3 {
  margin: 10px 0 0;
  font-size: clamp(1.18rem, 1rem + 0.75vw, 1.55rem);
  letter-spacing: -0.04em;
}

.dashboard-hero-premium {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 22px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 145, 255, 0.14), transparent 24%),
    radial-gradient(circle at 0% 0%, rgba(92, 218, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(10, 18, 42, 0.98), rgba(6, 11, 27, 0.98));
}

.dashboard-hero-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.dashboard-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.dashboard-hero-actions,
.dashboard-card-actions,
.dashboard-access-actions,
.dashboard-main-actions-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-hero-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-hero-highlight {
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(121, 161, 239, 0.14);
  background: rgba(8, 14, 31, 0.74);
}

.dashboard-hero-highlight > span {
  display: block;
  color: rgba(177, 205, 244, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-hero-highlight > strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem);
  letter-spacing: -0.04em;
}

.dashboard-hero-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-hero-mini-list div,
.dashboard-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-hero-mini-list div {
  padding-top: 10px;
  border-top: 1px solid rgba(111, 142, 210, 0.1);
}

.dashboard-hero-mini-list span,
.dashboard-status-row span,
.dashboard-referral-stats span {
  color: var(--muted);
}

.dashboard-status-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-status-rows {
  display: grid;
  gap: 0;
}

.dashboard-status-row {
  padding: 12px 0;
  border-top: 1px solid rgba(111, 142, 210, 0.1);
}

.dashboard-status-row strong {
  text-align: right;
}

.dashboard-expiry-progress {
  display: grid;
  gap: 10px;
}

.dashboard-expiry-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-expiry-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(80, 206, 151, 0.95), rgba(88, 191, 255, 0.95));
}

.dashboard-link-shell-premium {
  padding: 18px 20px;
  overflow: auto hidden;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(6, 10, 24, 0.76);
}

.dashboard-link-shell-premium .dashboard-link-value {
  display: inline-block;
  min-width: 100%;
  color: rgba(232, 240, 255, 0.92);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.94rem;
  word-break: break-all;
}

.dashboard-empty-inline {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(111, 142, 210, 0.18);
  background: rgba(8, 14, 31, 0.56);
}

.dashboard-inline-trust {
  font-size: 0.92rem;
}

.dashboard-surface-card-muted {
  background:
    linear-gradient(180deg, rgba(8, 14, 31, 0.9), rgba(5, 10, 24, 0.94));
  box-shadow:
    0 18px 36px rgba(2, 7, 20, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-account-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-account-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(111, 142, 210, 0.1);
}

.dashboard-account-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-account-list span {
  color: var(--muted);
}

.dashboard-account-list strong {
  text-align: right;
  word-break: break-word;
}

.dashboard-account-form {
  margin-top: 0;
}

.dashboard-account-card-combined {
  gap: 18px;
  grid-column: 1 / -1;
}

.dashboard-account-grid {
  width: 100%;
  align-items: stretch;
}

.dashboard-account-grid > .data-card {
  min-width: 0;
}

.dashboard-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.dashboard-account-actions .ghost-button,
.dashboard-account-actions .soft-button,
.dashboard-account-actions .danger-button,
.dashboard-account-actions .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 46px;
  line-height: 1.2;
}

.dashboard-account-notes {
  display: grid;
  gap: 8px;
}

.dashboard-account-notes p {
  margin: 0;
}

.dashboard-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dashboard-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
}

.dashboard-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(123, 161, 236, 0.14);
  background: rgba(12, 20, 42, 0.72);
  font-weight: 700;
}

.dashboard-steps strong,
.dashboard-help-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.dashboard-renewal-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-renewal-chip {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(10, 16, 34, 0.72);
  color: var(--text);
  text-align: left;
}

.dashboard-renewal-chip span {
  color: var(--muted);
  font-size: 0.8rem;
}

.dashboard-renewal-chip strong {
  font-size: 0.95rem;
}

.dashboard-upgrade-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-upgrade-column {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(9, 15, 31, 0.7);
}

.dashboard-upgrade-column.is-premium {
  border-color: rgba(121, 149, 255, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 103, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(20, 23, 60, 0.92), rgba(12, 16, 37, 0.92));
}

.dashboard-upgrade-column span {
  display: inline-flex;
  color: rgba(177, 205, 244, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-upgrade-column strong {
  display: block;
  margin-top: 10px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.dashboard-upgrade-column p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-payment-summary,
.dashboard-referral-stats {
  display: grid;
  gap: 0;
}

.dashboard-referral-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-referral-stats > div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(8, 14, 31, 0.7);
  display: grid;
  gap: 8px;
}

.dashboard-referral-stats strong {
  font-size: 1rem;
}

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

.dashboard-referral-period-grid-compact {
  gap: 10px;
  margin-top: 12px;
}

.dashboard-referral-period-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background:
    radial-gradient(circle at 86% 12%, rgba(122, 204, 255, 0.12), transparent 30%),
    rgba(8, 14, 31, 0.7);
}

.dashboard-referral-period-card-compact {
  padding: 12px;
  border-radius: 16px;
}

.dashboard-referral-period-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-referral-period-head span,
.dashboard-referral-period-metrics dt {
  color: rgba(201, 214, 247, 0.68);
  font-size: 0.8rem;
}

.dashboard-referral-period-head strong {
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.05;
  text-align: right;
}

.dashboard-referral-period-metrics {
  display: grid;
  gap: 8px;
  margin: 0;
}

.dashboard-referral-period-metrics div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.dashboard-referral-period-metrics dt,
.dashboard-referral-period-metrics dd {
  margin: 0;
}

.dashboard-referral-period-metrics dd {
  color: var(--text);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.dashboard-help-stack {
  display: grid;
  gap: 14px;
}

.dashboard-help-point {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(8, 14, 31, 0.58);
}

.dashboard-qr-layer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dashboard-qr-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 8, 21, 0.7);
  backdrop-filter: blur(8px);
}

.dashboard-qr-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
}

.dashboard-qr-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.dashboard-qr-card h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.dashboard-qr-card img {
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  background: white;
}

.dashboard-qr-card p {
  margin: 0;
  color: var(--muted);
}

.dashboard-qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(111, 142, 210, 0.16);
  background: rgba(9, 15, 31, 0.7);
  color: var(--text);
  font-size: 1.4rem;
}

.dashboard-account-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.dashboard-account-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 8, 21, 0.72);
  backdrop-filter: blur(8px);
}

.dashboard-account-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100dvh - 48px);
}

.dashboard-account-modal-card {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(110, 151, 234, 0.16);
  background:
    radial-gradient(circle at 86% 10%, rgba(100, 178, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(11, 18, 42, 0.96), rgba(7, 12, 28, 0.98));
  box-shadow: 0 24px 60px rgba(5, 9, 22, 0.35);
}

.dashboard-account-modal-card h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.dashboard-account-modal-card > p {
  margin: 0;
  color: rgba(206, 220, 250, 0.72);
  line-height: 1.58;
}

.dashboard-account-modal-form {
  margin-top: 4px;
}

.dashboard-purchase-modal-card {
  gap: 18px;
}

.dashboard-wholesale-library-card {
  display: grid;
  gap: 18px;
}

.dashboard-wholesale-trigger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-wholesale-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(111, 142, 210, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(81, 146, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(10, 18, 38, 0.92), rgba(7, 13, 28, 0.96));
  color: var(--text);
  text-align: left;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.dashboard-wholesale-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 196, 255, 0.24);
  box-shadow: 0 18px 34px rgba(5, 10, 25, 0.16);
}

.dashboard-wholesale-trigger-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(42, 87, 182, 0.34), rgba(73, 157, 233, 0.16));
  color: rgba(226, 239, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 800;
}

.dashboard-wholesale-trigger-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dashboard-wholesale-trigger-copy strong {
  font-size: 1rem;
  line-height: 1.3;
}

.dashboard-wholesale-trigger-copy span {
  color: rgba(196, 210, 242, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.dashboard-wholesale-modal-dialog {
  width: min(100%, 980px);
}

.dashboard-wholesale-modal-card {
  gap: 18px;
  max-height: min(86vh, 920px);
}

.dashboard-wholesale-modal-status {
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(223, 232, 255, 0.84);
}

.dashboard-wholesale-modal-status strong {
  color: rgba(241, 246, 255, 0.96);
}

.dashboard-wholesale-modal-grid {
  max-height: min(52vh, 520px);
  overflow: auto;
  padding-right: 6px;
}

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

.dashboard-purchase-modal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-purchase-modal-summary-item {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-purchase-modal-summary-item span {
  color: rgba(198, 212, 246, 0.66);
  font-size: 0.82rem;
}

.dashboard-purchase-modal-summary-item strong {
  font-size: 1rem;
  line-height: 1.35;
}

.dashboard-purchase-balance-note,
.dashboard-purchase-quote-note,
.dashboard-purchase-quote-error {
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(223, 232, 255, 0.86);
}

.dashboard-purchase-balance-note strong {
  color: #69e0ba;
}

.dashboard-purchase-quote-error {
  border-color: rgba(255, 122, 122, 0.24);
  color: rgba(255, 204, 204, 0.94);
}

.dashboard-ip-limit-modal-card {
  gap: 18px;
}

.dashboard-ip-limit-duration-block {
  display: grid;
  gap: 10px;
}

.dashboard-ip-limit-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-ip-limit-mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(111, 142, 210, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(228, 236, 255, 0.9);
  text-align: center;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.dashboard-ip-limit-mode-button:hover {
  border-color: rgba(135, 184, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.dashboard-ip-limit-mode-button.is-active {
  border-color: rgba(107, 164, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(78, 130, 224, 0.22), rgba(82, 201, 255, 0.08)),
    rgba(16, 28, 58, 0.88);
  color: rgba(241, 246, 255, 0.98);
}

:root[data-theme="light"] .dashboard-ip-limit-mode-button {
  border-color: rgba(96, 132, 210, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: #234775;
}

:root[data-theme="light"] .dashboard-ip-limit-mode-button:hover {
  border-color: rgba(96, 132, 210, 0.24);
  background: rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .dashboard-ip-limit-mode-button.is-active {
  border-color: rgba(88, 125, 212, 0.24);
  background:
    linear-gradient(135deg, rgba(132, 164, 255, 0.18), rgba(128, 216, 255, 0.08)),
    rgba(255, 255, 255, 0.98);
  color: #1d4476;
}

.dashboard-account-modal-form label.is-disabled {
  opacity: 0.72;
}

.dashboard-payment-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dashboard-payment-method-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(111, 142, 210, 0.16);
  background: linear-gradient(180deg, rgba(11, 21, 44, 0.96), rgba(7, 14, 29, 0.94));
  color: rgba(241, 246, 255, 0.94);
  text-align: left;
  box-shadow: 0 16px 34px rgba(3, 9, 21, 0.24);
}

.dashboard-payment-method-button:hover {
  transform: translateY(-1px);
  border-color: rgba(133, 175, 255, 0.24);
}

.dashboard-payment-method-button:disabled {
  opacity: 0.7;
  transform: none;
}

.dashboard-payment-method-brand {
  min-width: 72px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-payment-method-brand-sbp {
  color: #74f0cc;
  background: linear-gradient(135deg, rgba(51, 169, 161, 0.2), rgba(33, 211, 175, 0.08));
}

.dashboard-payment-method-brand-mir {
  color: #9fe4d3;
  background: linear-gradient(135deg, rgba(16, 117, 187, 0.22), rgba(65, 198, 120, 0.12));
}

.dashboard-payment-method-brand-crypto {
  color: #b8c8ff;
  background: linear-gradient(135deg, rgba(73, 107, 232, 0.2), rgba(93, 70, 188, 0.14));
  letter-spacing: 0.03em;
}

.dashboard-payment-method-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-payment-method-copy strong {
  font-size: 1rem;
  min-width: 0;
}

.dashboard-payment-method-copy span {
  color: rgba(190, 204, 236, 0.7);
  font-size: 0.82rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dashboard-payment-method-amount {
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(230, 239, 255, 0.9);
  white-space: nowrap;
  justify-self: end;
}

.dashboard-balance-pay-button {
  background: linear-gradient(135deg, rgba(98, 226, 189, 0.95), rgba(80, 184, 234, 0.94));
  color: #07182d;
  box-shadow: 0 16px 34px rgba(59, 178, 177, 0.24);
}

.dashboard-balance-pay-button:hover {
  filter: brightness(1.03);
}

.dashboard-account-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(241, 246, 255, 0.88);
  font-size: 1.28rem;
}

.dashboard-shell-premium .dashboard-purchase-flow {
  display: grid;
  gap: 18px;
}

.dashboard-shell-premium .dashboard-purchase-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(8, 14, 31, 0.62);
}

.dashboard-shell-premium .dashboard-purchase-field {
  display: grid;
  gap: 8px;
}

.dashboard-shell-premium .dashboard-purchase-methods {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.dashboard-shell-premium .dashboard-method-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-shell-premium .dashboard-method-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(12, 20, 42, 0.7);
}

.dashboard-shell-premium .dashboard-plan-grid,
.dashboard-shell-premium .subscription-grid,
.dashboard-shell-premium .wholesale-grid,
.dashboard-shell-premium .history-grid,
.dashboard-shell-premium .payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-shell-premium .dashboard-plan-purchase-card,
.dashboard-shell-premium .dashboard-access-item,
.dashboard-shell-premium .data-card,
.dashboard-shell-premium .history-card,
.dashboard-shell-premium .payment-card,
.dashboard-shell-premium .summary-card,
.dashboard-shell-premium .plan-card,
.dashboard-shell-premium .tier-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(103, 136, 209, 0.14);
  background: linear-gradient(180deg, rgba(11, 18, 40, 0.94), rgba(7, 12, 27, 0.96));
  box-shadow:
    0 18px 34px rgba(3, 8, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-shell-premium .dashboard-plan-purchase-card.is-premium {
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 95, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(13, 20, 44, 0.96), rgba(8, 13, 28, 0.98));
}

.dashboard-shell-premium .dashboard-plan-purchase-card.is-active {
  border-color: rgba(132, 196, 255, 0.26);
  box-shadow:
    0 22px 42px rgba(9, 18, 40, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-shell-premium .dashboard-access-item.dashboard-status-active {
  border-color: rgba(72, 198, 140, 0.18);
}

.dashboard-shell-premium .dashboard-access-item.dashboard-status-warning {
  border-color: rgba(255, 188, 83, 0.22);
}

.dashboard-shell-premium .dashboard-access-item.dashboard-status-danger {
  border-color: rgba(255, 106, 106, 0.22);
}

.dashboard-shell-premium .dashboard-plan-top h3,
.dashboard-shell-premium .card-header strong {
  margin: 10px 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.dashboard-shell-premium .dashboard-plan-kicker-row,
.dashboard-shell-premium .dashboard-access-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-shell-premium .dashboard-plan-kicker,
.dashboard-shell-premium .dashboard-plan-badge,
.dashboard-plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-shell-premium .dashboard-plan-kicker,
.dashboard-plan-pill {
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(10, 16, 34, 0.72);
}

.dashboard-plan-pill.is-premium,
.dashboard-shell-premium .dashboard-plan-badge {
  border: 1px solid rgba(138, 126, 255, 0.22);
  background: rgba(78, 76, 170, 0.18);
  color: #e5dcff;
}

.dashboard-shell-premium .dashboard-plan-feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-shell-premium .dashboard-plan-feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.dashboard-shell-premium .dashboard-plan-feature-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(124, 200, 255, 0.9);
}

.dashboard-shell-premium .dashboard-period-section {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.dashboard-shell-premium .dashboard-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-shell-premium .pricing-period-chip {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(10, 16, 34, 0.72);
  color: var(--text);
  text-align: left;
}

.dashboard-shell-premium .pricing-period-chip.is-active {
  background: linear-gradient(180deg, rgba(111, 199, 255, 0.18), rgba(49, 88, 171, 0.18));
  border-color: rgba(124, 200, 255, 0.3);
  box-shadow:
    0 10px 24px rgba(17, 35, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-shell-premium .dashboard-plan-price-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid rgba(111, 142, 210, 0.12);
  background: rgba(8, 14, 31, 0.58);
}

.dashboard-shell-premium .dashboard-plan-price {
  font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.dashboard-shell-premium .dashboard-plan-price-secondary {
  color: var(--muted);
}

.dashboard-shell-premium .dashboard-plan-price-facts {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dashboard-shell-premium .dashboard-plan-price-facts li {
  color: var(--muted);
}

.dashboard-shell-premium .dashboard-plan-cta {
  width: 100%;
  margin-top: 18px;
}

:root[data-theme="light"] .dashboard-sidebar-profile,
:root[data-theme="light"] .dashboard-surface-card,
:root[data-theme="light"] .dashboard-hero-premium,
:root[data-theme="light"] .dashboard-qr-card,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-purchase-card,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-access-item,
:root[data-theme="light"] .dashboard-shell-premium .data-card,
:root[data-theme="light"] .dashboard-shell-premium .history-card,
:root[data-theme="light"] .dashboard-shell-premium .payment-card,
:root[data-theme="light"] .dashboard-shell-premium .summary-card,
:root[data-theme="light"] .dashboard-shell-premium .plan-card,
:root[data-theme="light"] .dashboard-shell-premium .tier-card {
  border-color: rgba(58, 87, 162, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.96));
  box-shadow:
    0 20px 44px rgba(144, 168, 210, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .dashboard-side-nav-button,
:root[data-theme="light"] .dashboard-side-status,
:root[data-theme="light"] .dashboard-mobile-tab,
:root[data-theme="light"] .dashboard-renewal-chip,
:root[data-theme="light"] .dashboard-upgrade-column,
:root[data-theme="light"] .dashboard-referral-stats > div,
:root[data-theme="light"] .dashboard-referral-period-card,
:root[data-theme="light"] .dashboard-help-point,
:root[data-theme="light"] .dashboard-link-shell-premium,
:root[data-theme="light"] .dashboard-shell-premium .pricing-period-chip,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-purchase-bar,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-method-pill,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-price-panel,
:root[data-theme="light"] .dashboard-empty-inline {
  border-color: rgba(58, 87, 162, 0.1);
  background: rgba(247, 250, 255, 0.9);
}

:root[data-theme="light"] .dashboard-shell-premium .pricing-period-chip.is-active {
  background: linear-gradient(180deg, rgba(39, 89, 188, 0.92), rgba(63, 125, 224, 0.88));
  border-color: rgba(39, 89, 188, 0.26);
  color: #f8fbff;
  box-shadow:
    0 12px 28px rgba(58, 106, 190, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

@media (max-width: 1180px) {
  .dashboard-shell-premium {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar-premium {
    position: static;
  }
}

@media (max-width: 960px) {
  .dashboard-grid-premium {
    grid-template-columns: 1fr;
  }

  .dashboard-card-span-12,
  .dashboard-card-span-7,
  .dashboard-card-span-6,
  .dashboard-card-span-5 {
    grid-column: span 1;
  }

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

  .dashboard-shell-premium .dashboard-plan-grid,
  .dashboard-shell-premium .subscription-grid,
  .dashboard-shell-premium .wholesale-grid,
  .dashboard-shell-premium .history-grid,
  .dashboard-shell-premium .payment-grid,
  .dashboard-renewal-options,
  .dashboard-upgrade-compare,
  .dashboard-referral-stats,
  .dashboard-referral-period-grid,
  .dashboard-shell-premium .dashboard-purchase-bar {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .dashboard-main-head-premium {
    display: grid;
  }

  .dashboard-mobile-tab-bar {
    display: flex;
  }
}

@media (max-width: 640px) {
  .dashboard-sidebar-profile,
  .dashboard-surface-card,
  .dashboard-hero-premium,
  .dashboard-qr-card,
  .dashboard-shell-premium .dashboard-plan-purchase-card,
  .dashboard-shell-premium .dashboard-access-item,
  .dashboard-shell-premium .data-card,
  .dashboard-shell-premium .history-card,
  .dashboard-shell-premium .payment-card,
  .dashboard-shell-premium .summary-card,
  .dashboard-shell-premium .plan-card,
  .dashboard-shell-premium .tier-card {
    padding: 18px;
    border-radius: 22px;
  }

  .dashboard-shell-premium {
    margin: 22px auto 40px;
  }

  .dashboard-main-title-premium {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .dashboard-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .dashboard-side-nav-button,
  .dashboard-mobile-tab,
  .dashboard-steps li > span,
  .dashboard-qr-close {
    touch-action: manipulation;
  }

  .dashboard-status-row,
  .dashboard-hero-mini-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-shell-premium .dashboard-period-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-shell-premium {
  display: grid;
  grid-template-columns: minmax(260px, 308px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 34px auto 56px;
}

.dashboard-main-premium {
  display: grid;
  gap: 18px;
}

.dashboard-page-title,
.dashboard-main-title-premium {
  margin: 8px 0 0;
  font-size: clamp(2rem, 2.2vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.dashboard-main-lead-premium,
.dashboard-main-premium .dashboard-main-lead {
  max-width: 780px;
  margin-top: 12px;
}

.dashboard-sidebar-premium {
  position: sticky;
  top: 8px;
  display: grid;
  gap: 10px;
}

.dashboard-sidebar-profile,
.dashboard-surface-card,
.dashboard-hero-premium {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(105, 145, 226, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(102, 176, 255, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(12, 19, 42, 0.92), rgba(7, 11, 28, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(6, 10, 24, 0.18);
}

.dashboard-sidebar-profile {
  padding: 20px;
}

.dashboard-profile-meta {
  display: grid;
  gap: 8px;
}

.dashboard-profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-profile-heading h2 {
  flex: 1 1 auto;
}

.dashboard-profile-meta h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dashboard-profile-balance {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: min(46%, 160px);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(116, 157, 234, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 29, 58, 0.92), rgba(10, 17, 38, 0.98));
  color: rgba(228, 239, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-profile-meta p {
  margin: 0;
  color: rgba(206, 220, 255, 0.72);
  line-height: 1.6;
}

.dashboard-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(147, 178, 255, 0.72);
}

.dashboard-side-status {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-side-status span {
  color: rgba(204, 216, 248, 0.65);
  font-size: 0.82rem;
}

.dashboard-side-status strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.dashboard-side-nav {
  display: grid;
  gap: 10px;
}

.dashboard-side-nav-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(94, 130, 204, 0.12);
  border-radius: 18px;
  background: rgba(11, 17, 36, 0.66);
  color: inherit;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-side-nav-button:hover {
  border-color: rgba(121, 177, 255, 0.26);
  background: rgba(14, 23, 48, 0.86);
  transform: translateY(-1px);
}

.dashboard-side-nav-button.is-active {
  border-color: rgba(100, 177, 255, 0.34);
  background:
    radial-gradient(circle at 86% 16%, rgba(99, 183, 255, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(20, 31, 64, 0.98), rgba(11, 18, 40, 0.98));
  box-shadow: 0 18px 30px rgba(8, 16, 36, 0.18);
}

.dashboard-side-nav-button.is-active .dashboard-side-nav-icon {
  border-color: rgba(122, 204, 255, 0.3);
  background:
    radial-gradient(circle at 32% 28%, rgba(116, 210, 255, 0.2), transparent 58%),
    rgba(62, 112, 212, 0.14);
  color: #f3f8ff;
  transform: translateX(-1px);
}

.dashboard-side-nav-copy {
  display: grid;
  gap: 3px;
}

.dashboard-side-nav-copy strong {
  font-size: 0.98rem;
}

.dashboard-side-nav-copy small {
  color: rgba(194, 208, 244, 0.58);
  font-size: 0.8rem;
}

.dashboard-side-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(132, 190, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 234, 255, 0.8);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.dashboard-side-nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.dashboard-side-nav-button:hover .dashboard-side-nav-icon {
  border-color: rgba(126, 198, 255, 0.26);
  background: rgba(84, 144, 255, 0.08);
  color: rgba(238, 245, 255, 0.92);
}

.dashboard-sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(80, 112, 182, 0), rgba(80, 112, 182, 0.45), rgba(80, 112, 182, 0));
  margin: 4px 4px 2px;
}

.dashboard-grid-premium {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-card-span-5 {
  grid-column: span 5;
}

.dashboard-card-span-6 {
  grid-column: span 6;
}

.dashboard-card-span-7 {
  grid-column: span 7;
}

.dashboard-card-span-12 {
  grid-column: 1 / -1;
}

.dashboard-surface-card {
  grid-column: span 6;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.dashboard-surface-card.dashboard-card-span-5 {
  grid-column: span 5;
}

.dashboard-surface-card.dashboard-card-span-6 {
  grid-column: span 6;
}

.dashboard-surface-card.dashboard-card-span-7 {
  grid-column: span 7;
}

.dashboard-partner-subnav-card,
.dashboard-partner-nav-card {
  grid-column: 1 / -1;
}

.dashboard-surface-card-premium {
  border-color: rgba(128, 126, 255, 0.18);
  background:
    radial-gradient(circle at 88% 10%, rgba(121, 134, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(14, 18, 46, 0.95), rgba(8, 12, 33, 0.98));
}

.dashboard-surface-card-warm {
  border-color: rgba(114, 172, 255, 0.22);
}

.dashboard-card-head,
.dashboard-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-card-head h3,
.dashboard-panel-top h3 {
  margin: 8px 0 0;
  font-size: 1.22rem;
  line-height: 1.12;
}

.dashboard-card-lead,
.dashboard-panel-lead {
  margin: 10px 0 0;
  color: rgba(201, 214, 247, 0.72);
  line-height: 1.62;
}

.dashboard-card-actions,
.dashboard-inline-actions,
.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-hero-premium {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  gap: 20px;
  padding: 28px;
}

.dashboard-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-hero-subhead {
  max-width: 720px;
  margin: 0;
  color: rgba(205, 219, 255, 0.76);
  line-height: 1.62;
}

.dashboard-hero-side {
  display: grid;
}

.dashboard-hero-highlight {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-hero-highlight span {
  color: rgba(168, 192, 246, 0.68);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dashboard-hero-highlight strong {
  font-size: 1.22rem;
}

.dashboard-hero-highlight p {
  margin: 0;
  color: rgba(205, 219, 255, 0.74);
  line-height: 1.56;
}

.dashboard-hero-mini-list {
  display: grid;
  gap: 10px;
}

.dashboard-hero-mini-list div,
.dashboard-status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-hero-mini-list span,
.dashboard-status-row span,
.dashboard-progress-meta span {
  color: rgba(179, 198, 240, 0.66);
  font-size: 0.86rem;
}

.dashboard-status-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dashboard-plan-pill,
.dashboard-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.dashboard-plan-pill.is-premium {
  border-color: rgba(123, 136, 255, 0.22);
  background: rgba(107, 114, 255, 0.12);
  color: #dde2ff;
}

.dashboard-status-rows,
.dashboard-payment-summary,
.dashboard-referral-stats,
.dashboard-help-points {
  display: grid;
  gap: 12px;
}

.dashboard-status-stack,
.dashboard-access-stack,
.dashboard-renewal-stack {
  display: grid;
  gap: 14px;
}

.dashboard-home-plan-card .dashboard-home-plan-meta {
  display: grid;
  gap: 14px;
}

.dashboard-home-plan-card .dashboard-card-lead {
  max-width: 50ch;
}

.dashboard-home-plan-card .dashboard-link-shell-premium {
  margin-top: 2px;
}

.dashboard-home-plan-card .dashboard-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-home-plan-card .dashboard-open-happ-button {
  border-color: rgba(106, 206, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(76, 176, 246, 0.18), rgba(80, 214, 255, 0.1)),
    rgba(13, 29, 60, 0.88);
  color: rgba(221, 240, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dashboard-home-plan-card .dashboard-open-happ-button:hover {
  border-color: rgba(122, 212, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(90, 190, 255, 0.22), rgba(88, 224, 255, 0.14)),
    rgba(16, 34, 68, 0.92);
  transform: translateY(-1px);
}

.dashboard-home-plan-card .dashboard-ip-limit-button {
  border-color: rgba(112, 155, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(72, 101, 188, 0.12), rgba(90, 131, 255, 0.06)),
    rgba(10, 17, 36, 0.74);
}

.dashboard-home-plan-card .dashboard-ip-limit-button:hover {
  border-color: rgba(132, 182, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(82, 118, 214, 0.16), rgba(96, 145, 255, 0.1)),
    rgba(12, 22, 46, 0.8);
  transform: translateY(-1px);
}

.dashboard-link-shell-toggleable {
  cursor: text;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-link-shell-toggleable:hover {
  border-color: rgba(129, 176, 255, 0.18);
  background: rgba(8, 14, 31, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-home-plan-card .dashboard-renew-button {
  border-color: rgba(126, 150, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(126, 150, 255, 0.2), rgba(103, 83, 255, 0.14)),
    rgba(17, 25, 56, 0.82);
}

.dashboard-plan-connect-button {
  border-color: rgba(96, 154, 233, 0.2);
  background:
    linear-gradient(135deg, rgba(78, 131, 220, 0.16), rgba(66, 194, 255, 0.08)),
    rgba(12, 22, 48, 0.8);
  color: rgba(224, 238, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-plan-connect-button:hover {
  border-color: rgba(112, 176, 245, 0.28);
  background:
    linear-gradient(135deg, rgba(88, 145, 235, 0.2), rgba(72, 204, 255, 0.1)),
    rgba(15, 28, 58, 0.86);
  transform: translateY(-1px);
}

.site-theme-light .dashboard-home-plan-card .dashboard-renew-button {
  border-color: rgba(74, 101, 222, 0.24);
  background:
    linear-gradient(135deg, rgba(112, 145, 255, 0.16), rgba(85, 117, 255, 0.08)),
    rgba(255, 255, 255, 0.82);
}

.dashboard-status-item,
.dashboard-access-item,
.dashboard-renewal-plan {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-expiry-progress {
  display: grid;
  gap: 8px;
}

.dashboard-expiry-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-expiry-track span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(88, 232, 160, 0.94), rgba(112, 255, 216, 0.88));
}

.dashboard-link-shell-premium,
.dashboard-link-shell-large {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(98, 140, 220, 0.12);
  background: rgba(8, 13, 30, 0.76);
}

.dashboard-link-value {
  display: block;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.7;
  word-break: break-all;
  color: rgba(231, 239, 255, 0.92);
}

.dashboard-inline-trust,
.dashboard-empty-inline {
  color: rgba(197, 211, 245, 0.68);
  line-height: 1.58;
}

.dashboard-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.dashboard-steps li strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.94rem;
}

.dashboard-steps li span {
  padding-top: 5px;
  line-height: 1.56;
  color: rgba(228, 236, 255, 0.88);
}

.dashboard-steps li {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
}

.dashboard-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding-top: 0;
  border-radius: 14px;
  border: 1px solid rgba(118, 152, 226, 0.16);
  background: rgba(12, 20, 42, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 26px rgba(5, 10, 24, 0.18);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(241, 246, 255, 0.96);
}

.dashboard-steps li > div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
}

.dashboard-steps li > div strong {
  display: block;
  margin: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 1.04rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: rgba(246, 249, 255, 0.98);
}

.dashboard-steps li > div p {
  margin: 0;
  color: rgba(196, 211, 245, 0.76);
  line-height: 1.58;
}

.dashboard-quick-setup-card .dashboard-card-actions {
  justify-content: flex-start;
}

.dashboard-quick-setup-actions .ghost-button,
.dashboard-quick-setup-actions .soft-button,
.dashboard-quick-setup-actions .primary-button {
  min-height: 50px;
}

.dashboard-renewal-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-renewal-chip {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(109, 144, 216, 0.12);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.dashboard-renewal-chip:hover {
  border-color: rgba(117, 182, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.dashboard-renewal-chip span {
  color: rgba(191, 206, 242, 0.68);
  font-size: 0.8rem;
}

.dashboard-renewal-chip strong {
  font-size: 1rem;
}

.dashboard-upgrade-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-upgrade-column {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-upgrade-column.is-premium {
  border-color: rgba(118, 130, 255, 0.22);
  background:
    radial-gradient(circle at 86% 14%, rgba(121, 128, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(30, 34, 72, 0.9), rgba(15, 19, 46, 0.96));
}

.dashboard-upgrade-column span {
  color: rgba(198, 210, 244, 0.66);
}

.dashboard-upgrade-column strong {
  font-size: 1.15rem;
}

.dashboard-upgrade-column p,
.dashboard-help-point p {
  margin: 0;
  color: rgba(205, 219, 252, 0.72);
  line-height: 1.56;
}

.dashboard-help-stack {
  display: grid;
  gap: 14px;
}

.dashboard-help-guide {
  display: grid;
  gap: 12px;
}

.dashboard-help-guide p {
  margin: 0;
  color: rgba(214, 226, 255, 0.82);
  line-height: 1.62;
}

.dashboard-help-requirements {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.dashboard-help-requirements li {
  color: rgba(229, 237, 255, 0.88);
  line-height: 1.62;
}

.dashboard-help-point {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-partner-subnav-card {
  padding: 14px;
}

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

.dashboard-partner-subtab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(110, 144, 214, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 19, 41, 0.84), rgba(8, 13, 29, 0.9));
  color: rgba(220, 232, 255, 0.78);
  font-weight: 700;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.dashboard-partner-subtab:hover {
  transform: translateY(-1px);
  border-color: rgba(130, 173, 255, 0.22);
  color: rgba(239, 245, 255, 0.92);
}

.dashboard-partner-subtab.is-active {
  border-color: rgba(121, 165, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(46, 78, 156, 0.28), rgba(35, 122, 198, 0.16)),
    rgba(13, 22, 48, 0.96);
  color: rgba(246, 249, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(7, 15, 34, 0.18);
}

.dashboard-partner-shell {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dashboard-partner-nav {
  position: sticky;
  top: 24px;
}

.dashboard-partner-nav-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.dashboard-partner-content-card {
  grid-column: 1 / -1;
}

.dashboard-partner-actions {
  align-items: stretch;
}

.dashboard-referral-primary-card {
  width: 100%;
  margin: 0;
}

.dashboard-partner-payout-actions .dashboard-partner-button {
  flex: 1 1 220px;
}

.dashboard-referral-payout-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-referral-payout-modal-card .textarea {
  min-height: 120px;
  resize: vertical;
}

.dashboard-partner-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(109, 142, 215, 0.16);
  background:
    linear-gradient(180deg, rgba(13, 20, 43, 0.88), rgba(8, 13, 29, 0.92));
  color: rgba(231, 239, 255, 0.92);
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 26px rgba(4, 10, 24, 0.16);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.dashboard-partner-button:hover {
  transform: translateY(-1px);
}

.dashboard-partner-button-primary {
  border-color: rgba(108, 192, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(63, 125, 216, 0.28), rgba(83, 194, 236, 0.14)),
    rgba(15, 31, 62, 0.92);
  color: rgba(244, 248, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(7, 18, 40, 0.2);
}

.dashboard-partner-button-primary:hover {
  border-color: rgba(128, 210, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(74, 137, 226, 0.32), rgba(92, 205, 242, 0.16)),
    rgba(18, 37, 72, 0.96);
}

.dashboard-partner-button-secondary:hover {
  border-color: rgba(129, 173, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(17, 26, 55, 0.92), rgba(10, 17, 37, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(4, 10, 24, 0.18);
}

.dashboard-partner-button-tonal {
  border-color: rgba(99, 198, 182, 0.2);
  background:
    linear-gradient(135deg, rgba(39, 120, 118, 0.28), rgba(57, 184, 156, 0.12)),
    rgba(11, 28, 35, 0.92);
  color: rgba(225, 246, 241, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(5, 14, 20, 0.18);
}

.dashboard-partner-button-tonal:hover {
  border-color: rgba(113, 215, 196, 0.28);
  background:
    linear-gradient(135deg, rgba(48, 132, 128, 0.32), rgba(67, 196, 165, 0.14)),
    rgba(14, 34, 42, 0.96);
}

.dashboard-partner-policy-submit {
  grid-column: 1 / -1;
}

.dashboard-partner-nav-copy {
  display: grid;
  gap: 10px;
}

.dashboard-partner-nav-copy h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.dashboard-partner-nav-copy p {
  margin: 0;
  color: rgba(205, 219, 252, 0.72);
  line-height: 1.58;
}

.dashboard-partner-subtab {
  justify-content: flex-start;
  text-align: left;
}

.dashboard-partner-subtab-copy {
  display: grid;
  gap: 4px;
}

.dashboard-partner-subtab-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-partner-subtab-copy small {
  color: rgba(184, 202, 238, 0.66);
  font-size: 0.8rem;
  line-height: 1.35;
}

.dashboard-partner-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.dashboard-help-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.dashboard-help-actions .primary-button,
.dashboard-help-actions .ghost-button,
.dashboard-help-actions .soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 18px;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  text-decoration: none;
}

.dashboard-help-actions .primary-button {
  border: 1px solid rgba(108, 192, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(83, 172, 240, 0.24), rgba(92, 223, 255, 0.14)),
    rgba(15, 31, 62, 0.92);
  color: rgba(235, 245, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(7, 18, 40, 0.22);
}

.dashboard-help-actions .primary-button:hover {
  border-color: rgba(130, 209, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(96, 184, 250, 0.28), rgba(102, 231, 255, 0.16)),
    rgba(18, 37, 72, 0.96);
}

.dashboard-help-actions .ghost-button,
.dashboard-help-actions .soft-button {
  border-color: rgba(109, 142, 215, 0.16);
  background:
    linear-gradient(180deg, rgba(13, 20, 43, 0.88), rgba(8, 13, 29, 0.92));
  color: rgba(225, 236, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 26px rgba(4, 10, 24, 0.16);
}

.dashboard-help-actions .ghost-button:hover,
.dashboard-help-actions .soft-button:hover {
  border-color: rgba(129, 173, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(17, 26, 55, 0.92), rgba(10, 17, 37, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(4, 10, 24, 0.18);
}

.dashboard-help-points {
  margin: 0;
  padding-left: 18px;
}

.dashboard-help-points li {
  color: rgba(214, 226, 255, 0.78);
  line-height: 1.62;
}

.dashboard-qr-layer {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dashboard-qr-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 10, 24, 0.72);
  backdrop-filter: blur(8px);
}

.dashboard-qr-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
}

.dashboard-qr-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(110, 151, 234, 0.16);
  background:
    radial-gradient(circle at 86% 10%, rgba(100, 178, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(11, 18, 42, 0.95), rgba(7, 12, 28, 0.98));
  box-shadow: 0 24px 60px rgba(5, 9, 22, 0.35);
}

.dashboard-qr-card h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.1;
}

.dashboard-qr-card p {
  margin: 0;
  color: rgba(206, 220, 250, 0.72);
  line-height: 1.58;
}

.dashboard-qr-card img {
  width: min(100%, 296px);
  margin: 2px auto 4px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
}

.dashboard-qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(241, 246, 255, 0.88);
  font-size: 1.28rem;
}

.tone-active .dashboard-expiry-track span,
.dashboard-status-chip.tone-active {
  background: linear-gradient(90deg, rgba(78, 224, 149, 0.94), rgba(112, 255, 216, 0.88));
}

.tone-warning .dashboard-expiry-track span,
.dashboard-status-chip.tone-warning {
  background: linear-gradient(90deg, rgba(248, 188, 82, 0.96), rgba(255, 220, 120, 0.88));
}

.tone-expired .dashboard-expiry-track span,
.tone-payment_pending .dashboard-expiry-track span,
.dashboard-status-chip.tone-expired,
.dashboard-status-chip.tone-payment_pending {
  background: linear-gradient(90deg, rgba(255, 103, 103, 0.96), rgba(255, 148, 104, 0.9));
}

.tone-no_subscription .dashboard-expiry-track span,
.dashboard-status-chip.tone-no_subscription {
  background: linear-gradient(90deg, rgba(112, 141, 255, 0.9), rgba(147, 207, 255, 0.88));
}

:root[data-theme="light"] .dashboard-sidebar-profile,
:root[data-theme="light"] .dashboard-surface-card,
:root[data-theme="light"] .dashboard-hero-premium {
  border-color: rgba(113, 137, 193, 0.12);
  background:
    radial-gradient(circle at 88% 10%, rgba(105, 196, 255, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 40px rgba(66, 91, 143, 0.08);
}

:root[data-theme="light"] .dashboard-surface-card-muted {
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(242, 247, 255, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 30px rgba(66, 91, 143, 0.06);
}

:root[data-theme="light"] .dashboard-profile-meta p,
:root[data-theme="light"] .dashboard-card-lead,
:root[data-theme="light"] .dashboard-panel-lead,
:root[data-theme="light"] .dashboard-hero-subhead,
:root[data-theme="light"] .dashboard-help-guide p,
:root[data-theme="light"] .dashboard-upgrade-column p,
:root[data-theme="light"] .dashboard-help-point p,
:root[data-theme="light"] .dashboard-inline-trust,
:root[data-theme="light"] .dashboard-empty-inline,
:root[data-theme="light"] .dashboard-help-points li {
  color: rgba(78, 96, 142, 0.78);
}

:root[data-theme="light"] .dashboard-profile-balance {
  border-color: rgba(105, 135, 193, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
  color: #24467a;
  box-shadow: 0 10px 22px rgba(86, 116, 180, 0.08);
}

:root[data-theme="light"] .dashboard-help-requirements li {
  color: rgba(54, 74, 122, 0.88);
}

:root[data-theme="light"] .dashboard-help-actions .primary-button {
  border-color: rgba(82, 159, 219, 0.22);
  background:
    linear-gradient(135deg, rgba(122, 202, 255, 0.2), rgba(133, 232, 255, 0.12)),
    rgba(255, 255, 255, 0.94);
  color: #215281;
  box-shadow: 0 14px 28px rgba(79, 111, 175, 0.1);
}

:root[data-theme="light"] .dashboard-help-actions .primary-button:hover {
  border-color: rgba(82, 159, 219, 0.3);
  background:
    linear-gradient(135deg, rgba(132, 209, 255, 0.24), rgba(143, 237, 255, 0.14)),
    rgba(255, 255, 255, 0.98);
}

:root[data-theme="light"] .dashboard-help-actions .ghost-button,
:root[data-theme="light"] .dashboard-help-actions .soft-button {
  border-color: rgba(95, 126, 191, 0.12);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(241, 246, 255, 0.98));
  color: #284b7b;
  box-shadow: 0 12px 24px rgba(79, 111, 175, 0.08);
}

:root[data-theme="light"] .dashboard-help-actions .ghost-button:hover,
:root[data-theme="light"] .dashboard-help-actions .soft-button:hover {
  border-color: rgba(95, 126, 191, 0.2);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(245, 249, 255, 1));
}

:root[data-theme="light"] .dashboard-partner-subtab {
  border-color: rgba(98, 127, 191, 0.12);
  background:
    linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(242, 247, 255, 1));
  color: rgba(45, 71, 116, 0.8);
  box-shadow: 0 10px 22px rgba(86, 116, 180, 0.06);
}

:root[data-theme="light"] .dashboard-partner-subtab:hover {
  border-color: rgba(98, 127, 191, 0.18);
  color: #274e84;
}

:root[data-theme="light"] .dashboard-partner-subtab.is-active {
  border-color: rgba(79, 145, 236, 0.22);
  background:
    linear-gradient(135deg, rgba(116, 177, 255, 0.2), rgba(113, 221, 255, 0.12)),
    rgba(255, 255, 255, 0.98);
  color: #214f85;
  box-shadow: 0 14px 30px rgba(82, 110, 174, 0.1);
}

:root[data-theme="light"] .dashboard-partner-button {
  border-color: rgba(95, 126, 191, 0.12);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(241, 246, 255, 0.98));
  color: #284b7b;
  box-shadow: 0 12px 24px rgba(79, 111, 175, 0.08);
}

:root[data-theme="light"] .dashboard-partner-button-primary {
  border-color: rgba(82, 159, 219, 0.2);
  background:
    linear-gradient(135deg, rgba(118, 194, 255, 0.18), rgba(126, 227, 255, 0.1)),
    rgba(255, 255, 255, 0.98);
  color: #255188;
  box-shadow: 0 14px 28px rgba(79, 111, 175, 0.09);
}

:root[data-theme="light"] .dashboard-partner-button-primary:hover {
  border-color: rgba(82, 159, 219, 0.3);
  background:
    linear-gradient(135deg, rgba(128, 201, 255, 0.22), rgba(138, 232, 255, 0.12)),
    rgba(255, 255, 255, 1);
}

:root[data-theme="light"] .dashboard-partner-button-secondary:hover {
  border-color: rgba(95, 126, 191, 0.2);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(245, 249, 255, 1));
}

:root[data-theme="light"] .dashboard-partner-button-tonal {
  border-color: rgba(90, 176, 162, 0.18);
  background:
    linear-gradient(135deg, rgba(167, 233, 222, 0.32), rgba(141, 214, 188, 0.14)),
    rgba(255, 255, 255, 0.98);
  color: #1f5e56;
  box-shadow: 0 14px 28px rgba(86, 128, 155, 0.08);
}

:root[data-theme="light"] .dashboard-partner-button-tonal:hover {
  border-color: rgba(90, 176, 162, 0.26);
  background:
    linear-gradient(135deg, rgba(176, 238, 228, 0.36), rgba(150, 220, 194, 0.16)),
    rgba(255, 255, 255, 1);
}

:root[data-theme="light"] .dashboard-partner-nav-copy p,
:root[data-theme="light"] .dashboard-partner-subtab-copy small {
  color: rgba(78, 96, 142, 0.78);
}

:root[data-theme="light"] .dashboard-partner-content-card,
:root[data-theme="light"] .dashboard-partner-content-card.section-panel,
:root[data-theme="light"] .dashboard-partner-nav-card,
:root[data-theme="light"] .dashboard-partner-subnav-card,
:root[data-theme="light"] .dashboard-partner-content-card .section-panel,
:root[data-theme="light"] .dashboard-wholesale-library-card,
:root[data-theme="light"] .dashboard-referral-payout-modal-card,
:root[data-theme="light"] .dashboard-wholesale-modal-card {
  border-color: rgba(89, 120, 186, 0.12);
  background:
    radial-gradient(circle at 92% 8%, rgba(116, 198, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 248, 255, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 40px rgba(79, 108, 171, 0.1);
}

:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .data-card,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .history-card,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-stats > div,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-period-card {
  border-color: rgba(89, 120, 186, 0.12);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(241, 246, 255, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 28px rgba(86, 113, 171, 0.08);
}

:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .detail-list li,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .metric-list li,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .empty-state,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-wholesale-library-card .detail-list li,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-wholesale-library-card .metric-list li,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-wholesale-library-card .empty-state {
  border-color: rgba(92, 124, 188, 0.12);
  background:
    linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(238, 244, 255, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(87, 114, 169, 0.07);
}

:root[data-theme="light"] .dashboard-partner-content-card .section-panel::before,
:root[data-theme="light"] .dashboard-wholesale-library-card::before {
  background: linear-gradient(90deg, rgba(106, 184, 255, 0.42), rgba(125, 204, 255, 0.18), transparent 72%);
}

:root[data-theme="light"] .dashboard-partner-content-card .inline-code,
:root[data-theme="light"] .dashboard-wholesale-modal-card .inline-code,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .inline-code {
  border-color: rgba(92, 128, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(236, 243, 255, 0.99));
  color: #17385f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 22px rgba(86, 108, 159, 0.08);
}

:root[data-theme="light"] .dashboard-partner-content-card .chip,
:root[data-theme="light"] .dashboard-wholesale-modal-card .chip,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .chip {
  border-color: rgba(96, 132, 198, 0.14);
  background: rgba(49, 93, 180, 0.06);
  color: #244b88;
}

:root[data-theme="light"] .dashboard-partner-content-card .detail-list li,
:root[data-theme="light"] .dashboard-partner-content-card .metric-list li,
:root[data-theme="light"] .dashboard-partner-content-card .muted,
:root[data-theme="light"] .dashboard-partner-content-card .auth-hint,
:root[data-theme="light"] .dashboard-partner-content-card .empty-state,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-stats span,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-period-head span,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-period-metrics dt,
:root[data-theme="light"] .dashboard-wholesale-modal-card p,
:root[data-theme="light"] .dashboard-wholesale-modal-card .muted,
:root[data-theme="light"] .dashboard-referral-payout-modal-card p,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .muted {
  color: rgba(72, 95, 145, 0.82);
}

:root[data-theme="light"] .dashboard-partner-content-card .card-header strong,
:root[data-theme="light"] .dashboard-partner-content-card .detail-list strong,
:root[data-theme="light"] .dashboard-partner-content-card .metric-list strong,
:root[data-theme="light"] .dashboard-wholesale-modal-card h3,
:root[data-theme="light"] .dashboard-referral-payout-modal-card h3,
:root[data-theme="light"] .dashboard-wholesale-trigger-copy strong {
  color: #17345c;
}

:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-stats strong {
  color: #17345c;
}

:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-period-head strong,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-partner-content-card .dashboard-referral-period-metrics dd {
  color: #17345c;
}

:root[data-theme="light"] .dashboard-wholesale-modal-card .plan-card,
:root[data-theme="light"] .dashboard-wholesale-modal-card .tier-card {
  border-color: rgba(92, 120, 186, 0.12);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(240, 246, 255, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(94, 120, 174, 0.08);
}

:root[data-theme="light"] .dashboard-wholesale-library-card .plan-card,
:root[data-theme="light"] .dashboard-wholesale-library-card .tier-card,
:root[data-theme="light"] .dashboard-partner-content-card .plan-card,
:root[data-theme="light"] .dashboard-partner-content-card .tier-card {
  border-color: rgba(92, 120, 186, 0.12);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(240, 246, 255, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(94, 120, 174, 0.08);
}

:root[data-theme="light"] .dashboard-wholesale-modal-card .plan-list li,
:root[data-theme="light"] .dashboard-wholesale-modal-card .muted,
:root[data-theme="light"] .dashboard-wholesale-library-card .plan-list li,
:root[data-theme="light"] .dashboard-wholesale-library-card .muted,
:root[data-theme="light"] .dashboard-wholesale-trigger-copy span {
  color: rgba(73, 96, 145, 0.82);
}

:root[data-theme="light"] .dashboard-wholesale-modal-card .plan-price,
:root[data-theme="light"] .dashboard-wholesale-modal-card .card-header strong,
:root[data-theme="light"] .dashboard-wholesale-modal-card .plan-list strong,
:root[data-theme="light"] .dashboard-wholesale-library-card .plan-price,
:root[data-theme="light"] .dashboard-wholesale-library-card .card-header strong,
:root[data-theme="light"] .dashboard-wholesale-library-card .plan-list strong {
  color: #17345c;
}

:root[data-theme="light"] .dashboard-referral-payout-modal-card .input,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .textarea,
:root[data-theme="light"] .dashboard-partner-content-card .input,
:root[data-theme="light"] .dashboard-partner-content-card .textarea,
:root[data-theme="light"] .dashboard-partner-content-card .select {
  border-color: rgba(96, 132, 198, 0.14);
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(241, 246, 255, 1));
  color: #173a62;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 20px rgba(90, 116, 172, 0.06);
}

:root[data-theme="light"] .dashboard-partner-content-card .input:focus,
:root[data-theme="light"] .dashboard-partner-content-card .textarea:focus,
:root[data-theme="light"] .dashboard-partner-content-card .select:focus,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .input:focus,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .textarea:focus {
  border-color: rgba(88, 146, 228, 0.3);
  box-shadow:
    0 0 0 4px rgba(118, 190, 255, 0.14),
    0 10px 20px rgba(90, 116, 172, 0.08);
}

:root[data-theme="light"] .dashboard-referral-payout-modal-card .input::placeholder,
:root[data-theme="light"] .dashboard-partner-content-card .input::placeholder,
:root[data-theme="light"] .dashboard-referral-payout-modal-card .textarea::placeholder,
:root[data-theme="light"] .dashboard-partner-content-card .textarea::placeholder {
  color: rgba(94, 117, 164, 0.64);
}

:root[data-theme="light"] .dashboard-partner-button:disabled,
:root[data-theme="light"] .dashboard-partner-button[disabled] {
  opacity: 1;
  border-color: rgba(126, 145, 185, 0.14);
  background:
    linear-gradient(180deg, rgba(244, 247, 253, 0.96), rgba(237, 242, 250, 0.98));
  color: rgba(108, 126, 163, 0.72);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

:root[data-theme="light"] .dashboard-kicker,
:root[data-theme="light"] .dashboard-side-status span,
:root[data-theme="light"] .dashboard-side-nav-copy small,
:root[data-theme="light"] .dashboard-status-row span,
:root[data-theme="light"] .dashboard-hero-mini-list span,
:root[data-theme="light"] .dashboard-renewal-chip span,
:root[data-theme="light"] .dashboard-upgrade-column span {
  color: rgba(76, 98, 150, 0.68);
}

:root[data-theme="light"] .dashboard-side-nav-button,
:root[data-theme="light"] .dashboard-upgrade-column,
:root[data-theme="light"] .dashboard-status-item,
:root[data-theme="light"] .dashboard-access-item,
:root[data-theme="light"] .dashboard-renewal-plan,
:root[data-theme="light"] .dashboard-help-point,
:root[data-theme="light"] .dashboard-renewal-chip,
:root[data-theme="light"] .dashboard-link-shell-premium,
:root[data-theme="light"] .dashboard-link-shell-large,
:root[data-theme="light"] .dashboard-hero-highlight,
:root[data-theme="light"] .dashboard-side-status {
  border-color: rgba(105, 130, 188, 0.12);
  background: rgba(246, 249, 255, 0.88);
}

:root[data-theme="light"] .dashboard-side-nav-button.is-active {
  border-color: rgba(89, 157, 255, 0.18);
  background:
    radial-gradient(circle at 86% 14%, rgba(114, 205, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(222, 236, 255, 0.98), rgba(237, 244, 255, 1));
  box-shadow: 0 14px 28px rgba(90, 114, 170, 0.12);
}

:root[data-theme="light"] .dashboard-side-nav-icon,
:root[data-theme="light"] .dashboard-plan-pill,
:root[data-theme="light"] .dashboard-status-chip {
  border-color: rgba(97, 131, 198, 0.12);
  background: rgba(34, 80, 170, 0.06);
  color: #1d4388;
}

:root[data-theme="light"] .dashboard-side-nav-button:hover .dashboard-side-nav-icon {
  border-color: rgba(97, 146, 221, 0.22);
  background: rgba(58, 121, 220, 0.09);
  color: #25539d;
}

:root[data-theme="light"] .dashboard-side-nav-button.is-active .dashboard-side-nav-icon {
  border-color: rgba(78, 145, 240, 0.2);
  background:
    radial-gradient(circle at 30% 24%, rgba(102, 194, 255, 0.16), transparent 60%),
    rgba(45, 96, 193, 0.08);
  color: #1f4f97;
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-open-happ-button {
  border-color: rgba(73, 156, 207, 0.22);
  background:
    linear-gradient(135deg, rgba(118, 197, 255, 0.18), rgba(101, 223, 255, 0.08)),
    rgba(250, 253, 255, 0.9);
  color: #21507e;
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-open-happ-button:hover {
  border-color: rgba(73, 156, 207, 0.32);
  background:
    linear-gradient(135deg, rgba(127, 203, 255, 0.22), rgba(111, 229, 255, 0.1)),
    rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-ip-limit-button {
  border-color: rgba(89, 125, 219, 0.16);
  background:
    linear-gradient(135deg, rgba(140, 167, 255, 0.12), rgba(122, 213, 255, 0.06)),
    rgba(255, 255, 255, 0.88);
  color: #275083;
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-ip-limit-button:hover {
  border-color: rgba(89, 125, 219, 0.24);
  background:
    linear-gradient(135deg, rgba(150, 178, 255, 0.16), rgba(132, 220, 255, 0.08)),
    rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .dashboard-plan-connect-button {
  border-color: rgba(74, 118, 214, 0.18);
  background:
    linear-gradient(135deg, rgba(122, 153, 255, 0.14), rgba(112, 216, 255, 0.08)),
    rgba(255, 255, 255, 0.9);
  color: #234a82;
}

:root[data-theme="light"] .dashboard-plan-connect-button:hover {
  border-color: rgba(74, 118, 214, 0.28);
  background:
    linear-gradient(135deg, rgba(132, 164, 255, 0.18), rgba(122, 223, 255, 0.1)),
    rgba(255, 255, 255, 0.98);
}

:root[data-theme="light"] .dashboard-link-value {
  color: #18345f;
}

:root[data-theme="light"] .dashboard-link-shell-toggleable:hover {
  border-color: rgba(110, 157, 228, 0.18);
  background: rgba(250, 252, 255, 0.96);
}

:root[data-theme="light"] .dashboard-qr-backdrop {
  background: rgba(221, 231, 247, 0.68);
}

:root[data-theme="light"] .dashboard-qr-card {
  border-color: rgba(112, 137, 193, 0.14);
  background:
    radial-gradient(circle at 88% 10%, rgba(103, 194, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 1));
  box-shadow: 0 24px 60px rgba(75, 101, 146, 0.14);
}

:root[data-theme="light"] .dashboard-account-modal-backdrop {
  background: rgba(221, 231, 247, 0.68);
}

:root[data-theme="light"] .dashboard-account-modal-card {
  border-color: rgba(112, 137, 193, 0.14);
  background:
    radial-gradient(circle at 88% 10%, rgba(103, 194, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 1));
  box-shadow: 0 24px 60px rgba(75, 101, 146, 0.14);
}

:root[data-theme="light"] .dashboard-account-modal-card > p {
  color: rgba(78, 96, 142, 0.78);
}

:root[data-theme="light"] .dashboard-account-modal-close {
  background: rgba(56, 91, 160, 0.08);
  color: #31538a;
}

:root[data-theme="light"] .dashboard-purchase-modal-summary-item,
:root[data-theme="light"] .dashboard-purchase-balance-note,
:root[data-theme="light"] .dashboard-purchase-quote-note,
:root[data-theme="light"] .dashboard-purchase-quote-error,
:root[data-theme="light"] .dashboard-payment-method-button,
:root[data-theme="light"] .dashboard-wholesale-modal-status {
  border-color: rgba(58, 87, 162, 0.1);
  background: rgba(247, 250, 255, 0.9);
}

:root[data-theme="light"] .dashboard-purchase-modal-summary-item span {
  color: rgba(78, 96, 142, 0.78);
}

:root[data-theme="light"] .dashboard-payment-method-button {
  color: #18304f;
  box-shadow: 0 14px 30px rgba(83, 112, 175, 0.12);
}

:root[data-theme="light"] .dashboard-payment-method-copy span {
  color: rgba(79, 101, 148, 0.84);
}

:root[data-theme="light"] .dashboard-payment-method-amount {
  color: #254674;
}

:root[data-theme="light"] .dashboard-payment-method-brand {
  border-color: rgba(58, 87, 162, 0.12);
  background: rgba(232, 240, 255, 0.9);
}

:root[data-theme="light"] .dashboard-purchase-balance-note strong {
  color: #1f9070;
}

:root[data-theme="light"] .dashboard-purchase-quote-error {
  border-color: rgba(196, 76, 96, 0.18);
  background: rgba(255, 241, 244, 0.92);
  color: #8a3348;
}

:root[data-theme="light"] .dashboard-balance-pay-button {
  color: #052340;
  box-shadow: 0 16px 34px rgba(76, 154, 198, 0.16);
}

:root[data-theme="light"] .dashboard-wholesale-trigger {
  border-color: rgba(58, 87, 162, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(83, 152, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.96));
  box-shadow:
    0 18px 34px rgba(144, 168, 210, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

:root[data-theme="light"] .dashboard-wholesale-trigger-icon {
  border-color: rgba(82, 109, 188, 0.12);
  background: linear-gradient(135deg, rgba(93, 130, 214, 0.18), rgba(109, 181, 255, 0.14));
  color: rgba(34, 69, 147, 0.92);
}

:root[data-theme="light"] .dashboard-wholesale-trigger-copy span {
  color: rgba(79, 101, 148, 0.84);
}

:root[data-theme="light"] .dashboard-shell-premium {
  background: transparent;
}

:root[data-theme="light"] .dashboard-page-title,
:root[data-theme="light"] .dashboard-main-title-premium,
:root[data-theme="light"] .dashboard-profile-meta h2,
:root[data-theme="light"] .dashboard-card-head h3,
:root[data-theme="light"] .dashboard-panel-top h3,
:root[data-theme="light"] .dashboard-partner-nav-copy h3,
:root[data-theme="light"] .dashboard-partner-subtab-copy strong,
:root[data-theme="light"] .dashboard-hero-highlight strong,
:root[data-theme="light"] .dashboard-side-status strong,
:root[data-theme="light"] .dashboard-status-row strong,
:root[data-theme="light"] .dashboard-referral-stats strong,
:root[data-theme="light"] .dashboard-referral-period-head strong,
:root[data-theme="light"] .dashboard-referral-period-metrics dd,
:root[data-theme="light"] .dashboard-account-list strong,
:root[data-theme="light"] .dashboard-payment-method-copy strong,
:root[data-theme="light"] .dashboard-payment-method-amount,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-price,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-top h3,
:root[data-theme="light"] .dashboard-shell-premium .card-header strong,
:root[data-theme="light"] .dashboard-steps li > div strong,
:root[data-theme="light"] .dashboard-help-point strong {
  color: #17345c;
}

:root[data-theme="light"] .dashboard-profile-meta p,
:root[data-theme="light"] .dashboard-card-lead,
:root[data-theme="light"] .dashboard-panel-lead,
:root[data-theme="light"] .dashboard-hero-subhead,
:root[data-theme="light"] .dashboard-help-guide p,
:root[data-theme="light"] .dashboard-upgrade-column p,
:root[data-theme="light"] .dashboard-help-point p,
:root[data-theme="light"] .dashboard-inline-trust,
:root[data-theme="light"] .dashboard-empty-inline,
:root[data-theme="light"] .dashboard-help-points li,
:root[data-theme="light"] .dashboard-partner-nav-copy p,
:root[data-theme="light"] .dashboard-partner-subtab-copy small,
:root[data-theme="light"] .dashboard-side-nav-copy small,
:root[data-theme="light"] .dashboard-account-list span,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-price-secondary,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-price-facts li,
:root[data-theme="light"] .dashboard-hero-highlight p,
:root[data-theme="light"] .dashboard-payment-method-copy span {
  color: rgba(71, 94, 145, 0.82);
}

:root[data-theme="light"] .dashboard-kicker,
:root[data-theme="light"] .dashboard-side-status span,
:root[data-theme="light"] .dashboard-status-row span,
:root[data-theme="light"] .dashboard-hero-mini-list span,
:root[data-theme="light"] .dashboard-referral-period-head span,
:root[data-theme="light"] .dashboard-referral-period-metrics dt,
:root[data-theme="light"] .dashboard-renewal-chip span,
:root[data-theme="light"] .dashboard-upgrade-column span,
:root[data-theme="light"] .dashboard-plan-pill,
:root[data-theme="light"] .dashboard-status-chip {
  color: rgba(67, 95, 156, 0.78);
}

:root[data-theme="light"] .dashboard-link-value {
  color: #17365f;
}

:root[data-theme="light"] .dashboard-side-nav-button,
:root[data-theme="light"] .dashboard-mobile-tab,
:root[data-theme="light"] .dashboard-renewal-chip,
:root[data-theme="light"] .dashboard-upgrade-column,
:root[data-theme="light"] .dashboard-referral-stats > div,
:root[data-theme="light"] .dashboard-referral-period-card,
:root[data-theme="light"] .dashboard-help-point,
:root[data-theme="light"] .dashboard-link-shell-premium,
:root[data-theme="light"] .dashboard-shell-premium .pricing-period-chip,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-purchase-bar,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-method-pill,
:root[data-theme="light"] .dashboard-shell-premium .dashboard-plan-price-panel,
:root[data-theme="light"] .dashboard-empty-inline,
:root[data-theme="light"] .dashboard-side-status,
:root[data-theme="light"] .dashboard-hero-highlight {
  border-color: rgba(92, 120, 186, 0.12);
  background: rgba(248, 251, 255, 0.92);
}

:root[data-theme="light"] .dashboard-side-nav-button:hover,
:root[data-theme="light"] .dashboard-mobile-tab:hover {
  border-color: rgba(87, 146, 230, 0.22);
  background: rgba(242, 248, 255, 0.98);
}

:root[data-theme="light"] .dashboard-side-nav-button.is-active,
:root[data-theme="light"] .dashboard-mobile-tab.is-active {
  background:
    radial-gradient(circle at 86% 14%, rgba(117, 206, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(214, 233, 255, 0.98), rgba(228, 241, 255, 1));
  border-color: rgba(88, 147, 231, 0.22);
  color: #163a64;
  box-shadow: 0 14px 28px rgba(90, 114, 170, 0.1);
}

:root[data-theme="light"] .dashboard-shell-premium .pricing-period-chip.is-active {
  background: linear-gradient(180deg, rgba(39, 89, 188, 0.92), rgba(63, 125, 224, 0.88));
  border-color: rgba(39, 89, 188, 0.26);
  color: #f8fbff;
  box-shadow:
    0 12px 28px rgba(58, 106, 190, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

:root[data-theme="light"] .dashboard-quick-setup-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(112, 194, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
}

:root[data-theme="light"] .dashboard-quick-setup-card .dashboard-steps li > span {
  border-color: rgba(92, 128, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(234, 242, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(83, 105, 156, 0.08);
  color: #21436e;
}

:root[data-theme="light"] .dashboard-quick-setup-card .dashboard-steps li > div p,
:root[data-theme="light"] .dashboard-quick-setup-card .dashboard-inline-trust {
  color: rgba(74, 96, 147, 0.82);
}

:root[data-theme="light"] .dashboard-quick-setup-actions .ghost-button,
:root[data-theme="light"] .dashboard-quick-setup-actions .soft-button {
  border-color: rgba(88, 128, 204, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.98));
  color: #234b85;
}

:root[data-theme="light"] .dashboard-quick-setup-actions .ghost-button:hover,
:root[data-theme="light"] .dashboard-quick-setup-actions .soft-button:hover {
  border-color: rgba(78, 139, 226, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(232, 243, 255, 1));
}

:root[data-theme="light"] .dashboard-help-quick-setup-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(118, 202, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.99));
}

:root[data-theme="light"] .dashboard-help-quick-setup-card .inline-code {
  border-color: rgba(92, 128, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(235, 243, 255, 0.98));
  color: #183d6d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 22px rgba(86, 108, 159, 0.08);
}

:root[data-theme="light"] .dashboard-help-quick-setup-card .dashboard-steps li > span {
  border-color: rgba(92, 128, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(234, 242, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(83, 105, 156, 0.08);
  color: #21436e;
}

:root[data-theme="light"] .dashboard-help-quick-setup-card .dashboard-help-guide p,
:root[data-theme="light"] .dashboard-help-quick-setup-card .dashboard-inline-trust,
:root[data-theme="light"] .dashboard-help-quick-setup-card .dashboard-help-requirements li {
  color: rgba(71, 95, 147, 0.82);
}

:root[data-theme="light"] .dashboard-help-quick-setup-card .dashboard-steps li > div strong,
:root[data-theme="light"] .dashboard-help-quick-setup-card .dashboard-help-guide strong {
  color: #17345c;
}

:root[data-theme="light"] .dashboard-side-nav-icon {
  border-color: rgba(97, 131, 198, 0.12);
  background: rgba(34, 80, 170, 0.06);
  color: #1d4388;
}

:root[data-theme="light"] .dashboard-side-nav-button:hover .dashboard-side-nav-icon {
  border-color: rgba(97, 146, 221, 0.22);
  background: rgba(58, 121, 220, 0.09);
  color: #25539d;
}

:root[data-theme="light"] .dashboard-side-nav-button.is-active .dashboard-side-nav-icon {
  border-color: rgba(78, 145, 240, 0.2);
  background:
    radial-gradient(circle at 30% 24%, rgba(102, 194, 255, 0.16), transparent 60%),
    rgba(45, 96, 193, 0.08);
  color: #1f4f97;
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-open-happ-button {
  border-color: rgba(73, 156, 207, 0.22);
  background:
    linear-gradient(135deg, rgba(118, 197, 255, 0.18), rgba(101, 223, 255, 0.08)),
    rgba(250, 253, 255, 0.9);
  color: #21507e;
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-open-happ-button:hover {
  border-color: rgba(73, 156, 207, 0.32);
  background:
    linear-gradient(135deg, rgba(127, 203, 255, 0.22), rgba(111, 229, 255, 0.1)),
    rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-renew-button {
  border-color: rgba(74, 101, 222, 0.24);
  background:
    linear-gradient(135deg, rgba(112, 145, 255, 0.16), rgba(85, 117, 255, 0.08)),
    rgba(255, 255, 255, 0.88);
  color: #294d87;
}

:root[data-theme="light"] .dashboard-home-plan-card .dashboard-renew-button:hover {
  border-color: rgba(74, 101, 222, 0.32);
  background:
    linear-gradient(135deg, rgba(123, 156, 255, 0.2), rgba(96, 128, 255, 0.1)),
    rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .dashboard-plan-connect-button {
  border-color: rgba(74, 118, 214, 0.18);
  background:
    linear-gradient(135deg, rgba(122, 153, 255, 0.14), rgba(112, 216, 255, 0.08)),
    rgba(255, 255, 255, 0.9);
  color: #234a82;
}

:root[data-theme="light"] .dashboard-plan-connect-button:hover {
  border-color: rgba(74, 118, 214, 0.28);
  background:
    linear-gradient(135deg, rgba(132, 164, 255, 0.18), rgba(122, 223, 255, 0.1)),
    rgba(255, 255, 255, 0.98);
}

:root[data-theme="light"] .dashboard-mobile-tab {
  border-color: rgba(92, 120, 186, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  color: rgba(57, 81, 131, 0.88);
  -webkit-text-fill-color: rgba(57, 81, 131, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(85, 103, 146, 0.06);
}

:root[data-theme="light"] .dashboard-mobile-tab:hover {
  border-color: rgba(105, 150, 230, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(236, 244, 255, 0.98));
  transform: translateY(-1px);
}

:root[data-theme="light"] .dashboard-mobile-tab.is-active {
  border-color: rgba(77, 138, 228, 0.3);
  background:
    linear-gradient(180deg, rgba(220, 235, 255, 1), rgba(205, 226, 255, 0.98));
  color: #17355e !important;
  -webkit-text-fill-color: #17355e !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 20px rgba(88, 109, 156, 0.1),
    0 0 0 1px rgba(97, 156, 238, 0.08);
  transform: translateY(-1px);
  font-weight: 700;
}

@media (max-width: 1180px) {
  :root[data-theme="light"] .dashboard-mobile-tab {
    color: #3e598a;
    -webkit-text-fill-color: #3e598a;
  }

  :root[data-theme="light"] .dashboard-mobile-tab.is-active {
    border-color: rgba(77, 138, 228, 0.34);
    background:
      linear-gradient(180deg, rgba(214, 231, 255, 1), rgba(199, 220, 255, 0.98)) !important;
    color: #16355f !important;
    -webkit-text-fill-color: #16355f !important;
    text-shadow: 0 0 0 currentColor;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 10px 18px rgba(88, 109, 156, 0.1),
      0 0 0 1px rgba(89, 149, 233, 0.1);
  }
}

:root[data-theme="light"] .dashboard-payment-method-brand {
  border-color: rgba(58, 87, 162, 0.12);
  background: rgba(232, 240, 255, 0.9);
}

:root[data-theme="light"] .dashboard-payment-method-brand-sbp {
  color: #147a67;
  background: linear-gradient(135deg, rgba(86, 226, 194, 0.18), rgba(52, 183, 171, 0.08));
}

:root[data-theme="light"] .dashboard-payment-method-brand-mir {
  color: #1c6a8c;
  background: linear-gradient(135deg, rgba(72, 146, 232, 0.16), rgba(73, 205, 124, 0.1));
}

:root[data-theme="light"] .dashboard-payment-method-brand-crypto {
  color: #3d57a4;
  background: linear-gradient(135deg, rgba(111, 144, 255, 0.16), rgba(140, 120, 245, 0.12));
}

:root[data-theme="light"] .dashboard-balance-pay-button {
  color: #052340;
  box-shadow: 0 16px 34px rgba(76, 154, 198, 0.16);
}

:root[data-theme="light"] .dashboard-balance-pay-button:hover {
  filter: brightness(1.02);
}

@media (max-width: 1180px) {
  .dashboard-shell-premium {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar-premium {
    position: static;
  }

  .dashboard-side-nav {
    display: none;
  }

  .dashboard-mobile-tabs,
  .dashboard-mobile-tab-bar {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

@media (max-width: 860px) {
  .dashboard-grid-premium {
    grid-template-columns: 1fr;
  }

  .dashboard-card-span-5,
  .dashboard-card-span-6,
  .dashboard-card-span-7,
  .dashboard-card-span-12,
  .dashboard-surface-card {
    grid-column: 1 / -1;
  }

  .dashboard-shell-premium {
    gap: 16px;
    margin: 18px auto 42px;
  }

  .dashboard-hero-premium,
  .dashboard-sidebar-profile,
  .dashboard-surface-card {
    padding: 20px;
    border-radius: 22px;
  }

  .dashboard-renewal-options,
  .dashboard-upgrade-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dashboard-hero-premium,
  .dashboard-sidebar-profile,
  .dashboard-surface-card {
    padding: 18px;
    border-radius: 20px;
  }

  .dashboard-page-title,
  .dashboard-main-title-premium {
    font-size: clamp(1.76rem, 8vw, 2.24rem);
  }

  .dashboard-card-actions,
  .dashboard-inline-actions,
  .dashboard-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-help-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-partner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-partner-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-partner-nav {
    position: static;
  }

  .dashboard-partner-subnav {
    grid-template-columns: 1fr;
  }

  .dashboard-home-plan-card .dashboard-access-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-account-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .dashboard-account-list strong {
    text-align: left;
  }

  .dashboard-account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-profile-heading {
    gap: 10px;
  }

  .dashboard-profile-meta h2 {
    font-size: 1.26rem;
  }

  .dashboard-profile-balance {
    min-height: 36px;
    max-width: 44%;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .dashboard-side-nav-button,
  .dashboard-renewal-chip,
  .dashboard-link-shell-premium,
  .dashboard-link-shell-large {
    border-radius: 16px;
  }

  .dashboard-qr-layer {
    padding: 16px;
  }

  .dashboard-qr-card {
    padding: 20px;
    border-radius: 22px;
  }

  .dashboard-account-modal-layer {
    place-items: start center;
    padding: max(16px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  }

  .dashboard-account-modal-dialog {
    max-height: calc(100dvh - 34px);
  }

  .dashboard-account-modal-card {
    max-height: inherit;
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .dashboard-purchase-modal-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-wholesale-trigger-grid,
  .dashboard-wholesale-modal-grid.plans-grid,
  .dashboard-wholesale-modal-grid.tier-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-payment-method-button {
    grid-template-columns: auto 1fr;
  }

  .dashboard-payment-method-amount {
    grid-column: 2;
    justify-self: end;
  }

  .dashboard-partner-payout-actions .dashboard-partner-button {
    flex-basis: 100%;
  }

  .dashboard-referral-payout-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .dashboard-shell-premium {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-sidebar-premium {
    position: static;
    width: 100%;
  }

  .dashboard-side-nav {
    display: none;
  }

  .dashboard-mobile-tab-bar {
    display: flex;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: none;
  }

  .dashboard-mobile-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    line-height: 1.15;
    text-align: center;
  }
}

:root.dashboard-mobile-viewport .dashboard-shell-premium {
  grid-template-columns: minmax(0, 1fr);
}

:root.dashboard-mobile-viewport .dashboard-sidebar-premium {
  position: static;
  width: 100%;
}

:root.dashboard-mobile-viewport .dashboard-side-nav {
  display: none;
}

:root.dashboard-mobile-viewport .dashboard-mobile-tab-bar {
  display: flex;
}

.dashboard-mobile-tab.is-active {
  border-color: rgba(100, 177, 255, 0.34);
  background:
    radial-gradient(circle at 86% 16%, rgba(99, 183, 255, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(20, 31, 64, 0.98), rgba(11, 18, 40, 0.98));
  color: #f3f8ff;
  box-shadow: 0 18px 30px rgba(8, 16, 36, 0.18);
  font-weight: 700;
}

:root[data-theme="light"] .dashboard-mobile-tab.is-active {
  border-color: rgba(89, 157, 255, 0.18);
  background:
    radial-gradient(circle at 86% 14%, rgba(114, 205, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(222, 236, 255, 0.98), rgba(237, 244, 255, 1)) !important;
  color: #17355e !important;
  -webkit-text-fill-color: #17355e !important;
  box-shadow: 0 14px 28px rgba(90, 114, 170, 0.12);
}

.dashboard-partner-subtab,
.dashboard-shell-premium .pricing-period-chip,
.dashboard-shell-premium .dashboard-method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  text-align: center;
}

:root.dashboard-mobile-viewport .dashboard-grid-premium {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
}

:root.dashboard-mobile-viewport .dashboard-grid-premium > * {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
}

:root.dashboard-mobile-viewport .dashboard-account-card-combined.dashboard-surface-card {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

:root.dashboard-mobile-viewport .dashboard-account-grid {
  grid-template-columns: 1fr;
  width: 100%;
  justify-items: stretch;
}

:root.dashboard-mobile-viewport .dashboard-account-grid > .dashboard-surface-card,
:root.dashboard-mobile-viewport .dashboard-account-grid > .data-card {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.dashboard-mobile-tab,
.dashboard-partner-subtab,
.dashboard-shell-premium .dashboard-method-pill,
.dashboard-shell-premium .pricing-period-chip,
.dashboard-shell-premium .pricing-period-chip-badge,
.dashboard-plan-pill,
.dashboard-status-chip,
.chip {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dashboard-mobile-tab,
.dashboard-partner-subtab,
.dashboard-shell-premium .dashboard-method-pill,
.dashboard-plan-pill,
.dashboard-status-chip,
.chip {
  line-height: 1.2;
}

.dashboard-shell-premium .pricing-period-chip {
  align-content: center;
  justify-items: center;
}

.dashboard-shell-premium .pricing-period-chip-badge,
.chip {
  min-height: 32px;
}

@media (max-width: 860px) {
  .dashboard-shell-premium .dashboard-grid-premium {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .dashboard-shell-premium .dashboard-grid-premium > * {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
  }

  .dashboard-account-card-combined.dashboard-surface-card {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .dashboard-account-grid {
    grid-template-columns: 1fr;
    width: 100%;
    justify-items: stretch;
  }

  .dashboard-account-grid > .dashboard-surface-card,
  .dashboard-account-grid > .data-card,
  .dashboard-account-card-combined {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
