@font-face {
  font-family: "Suisse Intl";
  src: url("./font.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #000003;
  --color-surface: #09090d;
  --color-surface-strong: #121217;
  --color-surface-muted: #17171d;
  --color-border: rgba(163, 155, 214, 0.12);
  --color-border-strong: rgba(163, 155, 214, 0.24);
  --color-text: #ffffff;
  --color-text-strong: #e8e4ff;
  --color-text-muted: rgba(255, 255, 255, 0.68);
  --color-text-soft: rgba(255, 255, 255, 0.82);
  --color-accent: #a39bd6;
  --color-accent-dark: #69648a;
  --color-success: #86ffb0;
  --color-danger: #ff8099;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-glow: 0 0 34px rgba(163, 155, 214, 0.16);
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(163, 155, 214, 0.16) 0%, rgba(163, 155, 214, 0) 28%),
    radial-gradient(circle at 14% 18%, rgba(163, 155, 214, 0.08) 0%, rgba(163, 155, 214, 0) 22%),
    radial-gradient(circle at 86% 16%, rgba(163, 155, 214, 0.08) 0%, rgba(163, 155, 214, 0) 22%),
    var(--color-bg);
  font-family: "Suisse Intl", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 3, 0.14) 0%, rgba(0, 0, 3, 0.62) 72%, #000003 100%),
    url("./background-expensive.png") center top / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 3, 0) 0%, rgba(0, 0, 3, 0.4) 42%, rgba(0, 0, 3, 0.92) 100%);
  pointer-events: none;
  z-index: -1;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 3, 0.92);
  backdrop-filter: blur(16px);
}

.loading-screen.hidden {
  display: none !important;
}

.loading-screen__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.loading-logo {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  border: 7px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--color-accent);
  border-right-color: var(--color-accent-dark);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.03);
  animation: spin 1s linear infinite;
}

.loading-copy {
  max-width: 420px;
  text-align: center;
  display: grid;
  gap: 8px;
}

.loading-copy__tag,
.overlay-card__badge,
.hero__badge,
.section-mini-tag,
.brand__eyebrow,
.profile-chip__label,
.profile-copy__tag,
.cabinet-profile__eyebrow {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(163, 155, 214, 0.34);
  background: radial-gradient(100% 100% at 50% 100%, rgba(212, 205, 255, 0.22) 0%, rgba(212, 205, 255, 0) 100%);
  color: var(--color-text-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.loading-copy__tag {
  margin: 0 auto;
}

.loading-copy strong {
  font-size: 1.35rem;
  font-weight: 600;
}

.loading-copy p {
  color: var(--color-text-muted);
  line-height: 1.66;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-soft {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glow-breathe {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(163, 155, 214, 0.18);
  }
  50% {
    box-shadow: 0 14px 34px rgba(163, 155, 214, 0.3);
  }
}

.section-heading__tag {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 6px 18px rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.overlay-step,
.auth-modal,
.dialog-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 3, 0.82);
  backdrop-filter: blur(16px);
}

.overlay-step {
  z-index: 90;
}

.auth-modal,
.dialog-modal {
  z-index: 95;
}

.overlay-step.active,
.auth-modal.active,
.dialog-modal.active {
  display: grid;
}

.overlay-card,
.auth-panel,
.dialog-panel,
.advantage-card,
.review-card,
.pricing-shell,
.site-footer,
.private-sidebar__card,
.private-info-card,
.settings-card,
.settings-sidecard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.014) 100%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.overlay-card,
.auth-panel,
.dialog-panel,
.pricing-shell,
.private-sidebar__card,
.private-info-card,
.settings-card,
.settings-sidecard {
  border-radius: 22px;
}

.overlay-card {
  width: min(560px, 100%);
  padding: 30px;
  display: grid;
  gap: 18px;
}

.overlay-card--wide {
  width: min(760px, 100%);
}

.overlay-card h2,
.auth-panel__title,
.dialog-panel__title {
  color: var(--color-text-strong);
  letter-spacing: -0.04em;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600;
}

.overlay-card p,
.auth-panel__subtitle,
.dialog-panel__subtitle,
.dialog-panel__note span,
.advantage-card__body p,
.review-card p,
.section-heading__description,
.private-sidebar__identity p,
.private-card-heading p,
.feature-card__description,
.settings-sidecard__note p,
.setting-item small {
  color: var(--color-text-muted);
  line-height: 1.66;
}

.overlay-address,
.overlay-list,
.dialog-panel__note,
.profile-stat-chip,
.private-info-row,
.feature-card__info,
.settings-sidecard__note,
.info-chip {
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.overlay-address {
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
}

.overlay-list {
  min-height: 180px;
  resize: none;
  padding: 18px;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.overlay-list:focus,
.auth-input:focus,
.setting-input:focus {
  outline: none;
}

.auth-panel,
.dialog-panel {
  width: min(460px, 100%);
}

.dialog-panel--wide {
  width: min(760px, 100%);
}

#docsModal .dialog-panel {
  width: min(760px, 100%);
  max-height: min(54vh, 560px);
  overflow: hidden;
}

#docsModal .dialog-panel__inner {
  height: 100%;
  padding: 24px 24px 20px;
  gap: 14px;
}

.docs-content {
  display: grid;
  gap: 18px;
  overflow-y: auto;
  max-height: calc(min(54vh, 560px) - 132px);
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 168, 241, 0.42) rgba(255, 255, 255, 0.04);
}

.docs-content::-webkit-scrollbar {
  width: 7px;
}

.docs-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.docs-content::-webkit-scrollbar-thumb {
  background: rgba(182, 168, 241, 0.42);
  border-radius: 999px;
}

.docs-content::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 188, 255, 0.55);
}

.docs-content__lead {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.docs-content__section {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.028);
}

.docs-content__section h4 {
  color: var(--color-text-strong);
  font-size: 1rem;
  font-weight: 600;
}

.docs-content__section p,
.docs-content__section li {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.docs-content__section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.auth-panel__inner,
.dialog-panel__inner {
  padding: 28px;
  display: grid;
  gap: 16px;
}

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

.auth-label {
  color: var(--color-text);
  font-size: 0.94rem;
}

.auth-field {
  position: relative;
  height: 48px;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(163, 155, 214, 0.14);
  background: transparent;
  overflow: hidden;
}

.auth-field img {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  z-index: 1;
  width: 18px;
  height: 18px;
  margin-left: 0;
  opacity: 0.66;
  flex-shrink: 0;
  pointer-events: none;
}

.auth-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(18, 18, 23, 0.96);
  color: var(--color-text);
  padding: 0 14px 0 44px;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  background-clip: border-box;
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active,
.setting-input:-webkit-autofill,
.setting-input:-webkit-autofill:hover,
.setting-input:-webkit-autofill:focus,
.setting-input:-webkit-autofill:active,
.relay-inline-input:-webkit-autofill,
.relay-inline-input:-webkit-autofill:hover,
.relay-inline-input:-webkit-autofill:focus,
.relay-inline-input:-webkit-autofill:active,
.admin-input:-webkit-autofill,
.admin-input:-webkit-autofill:hover,
.admin-input:-webkit-autofill:focus,
.admin-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--color-text);
  caret-color: var(--color-text);
  -webkit-box-shadow: 0 0 0 1000px rgba(18, 18, 23, 0.96) inset;
  box-shadow: 0 0 0 1000px rgba(18, 18, 23, 0.96) inset;
  border-radius: 12px;
  transition: background-color 99999s ease-in-out 0s;
}

.auth-input::placeholder,
.setting-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.auth-error {
  min-height: 20px;
  color: #ff9aae;
  font-size: 0.88rem;
  line-height: 1.45;
}

.auth-error--success {
  color: #d6ffdf;
}

.auth-error--soft {
  color: rgba(255, 255, 255, 0.68);
}

.captcha-shell {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.captcha-shell__widget {
  min-height: 78px;
}

.captcha-shell__widget > div {
  margin: 0 auto;
}

.dialog-panel__note {
  padding: 16px 18px;
  display: grid;
  gap: 6px;
}

.dialog-panel__note strong {
  color: var(--color-text-strong);
  font-size: 1rem;
}

.dialog-panel__note small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.4;
}

.checkout-screen {
  padding: 42px 20px 88px;
}

.checkout-screen__inner {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.checkout-back {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Inter, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.checkout-back:hover {
  color: #fff;
  transform: translateX(-2px);
}

.checkout-card {
  position: relative;
  padding: 28px 28px 26px;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.checkout-card::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 155, 214, 0.16) 0%, rgba(163, 155, 214, 0) 72%);
  pointer-events: none;
}

.checkout-card > * {
  position: relative;
  z-index: 1;
}

.checkout-card__brand {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 204, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: #f6f2ff;
  font-family: Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.checkout-card__title {
  margin: 0;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.checkout-card__summary {
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
}

.checkout-card__summary strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.checkout-card__promo {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(163, 155, 214, 0.24);
  background: rgba(163, 155, 214, 0.1);
  display: inline-flex;
  align-items: center;
  color: #d8d1ff;
  font-family: Inter, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}

.checkout-methods {
  display: grid;
  gap: 14px;
}

.checkout-method {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.checkout-method:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 204, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.checkout-method__badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 204, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #f8f5ff;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.checkout-method__copy {
  display: grid;
  gap: 4px;
}

.checkout-method__copy strong {
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.checkout-method__copy small {
  color: rgba(255, 255, 255, 0.58);
  font-family: Inter, sans-serif;
  font-size: 0.94rem;
  line-height: 1.45;
}

.dialog-panel__actions,
.overlay-actions,
.hero-actions,
.feature-card__actions,
.site-footer__socials,
.private-sidebar__action-row,
.feature-action-row,
.settings-layout,
.slider-container {
  display: flex;
  gap: 12px;
}

.hero-actions {
  justify-content: center;
}

.auth-submit,
.primary-btn,
.secondary-btn,
.login-button,
.hero-primary,
.hero-secondary,
.header-auth__login,
.header-auth__signup,
.header-user__logout,
.nav__link,
.profile-chip,
.auth-switch__link,
.sidebar-action-btn,
.pricing-buy-button,
.plan-option,
.inline-change-btn,
.site-footer__link,
.site-footer__socials a {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    opacity 0.22s ease;
}

.auth-submit,
.primary-btn,
.login-button,
.hero-primary,
.header-auth__signup,
.pricing-buy-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  box-shadow: 0 10px 26px rgba(163, 155, 214, 0.22);
  font-weight: 600;
  animation: glow-breathe 3.2s ease-in-out infinite;
}

.auth-submit:hover,
.primary-btn:hover,
.login-button:hover,
.hero-primary:hover,
.header-auth__signup:hover,
.pricing-buy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(163, 155, 214, 0.32);
}

.auth-submit:disabled,
.primary-btn:disabled,
.login-button:disabled,
.hero-primary:disabled,
.header-auth__signup:disabled,
.pricing-buy-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: 0 6px 18px rgba(163, 155, 214, 0.18);
}

.secondary-btn,
.hero-secondary,
.header-auth__login,
.header-user__logout,
.sidebar-action-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.secondary-btn:hover,
.hero-secondary:hover,
.header-auth__login:hover,
.header-user__logout:hover,
.sidebar-action-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.auth-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}

.auth-switch__link {
  background: transparent;
  border: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.auth-switch__link:hover {
  color: #c6beff;
}

.header-sticky {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 12px;
}

.header {
  position: relative;
  width: min(780px, 100%);
  min-height: 56px;
  margin: 0 auto;
  padding: 7px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(17, 18, 24, 0.94) 0%, rgba(12, 13, 19, 0.96) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  overflow: hidden;
  animation: reveal-soft 0.72s var(--reveal-ease) both;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 96% 10%, rgba(185, 170, 241, 0.07) 0%, rgba(185, 170, 241, 0) 28%);
  pointer-events: none;
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(178, 166, 230, 0.14) 18%, rgba(178, 166, 230, 0.14) 82%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.header__glow {
  display: none;
}

.brand,
.nav,
.header-auth,
.header-user {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: initial;
  min-width: 0;
  justify-self: start;
  transform: translateY(0);
}

.brand--button {
  padding: 0;
  border: 0;
  background: transparent;
}

.brand__media,
.hero__logo,
.private-sidebar__avatar {
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.brand__media {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #f1ebff;
  box-shadow: none;
  overflow: visible;
  transform: none;
  transition: transform 0.45s var(--reveal-ease);
}

.brand__media.shrink {
  transform: scale(0.92);
}

.brand__glyph {
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand__media img,
.hero__logo img,
.advantage-card__visual,
.review-card__avatar,
.pricing-shell__avatar,
.private-sidebar__avatar,
.client-state-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__media img {
  display: block;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.05));
}

.brand__copy {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}

.brand__eyebrow {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.54rem;
  font-weight: 600;
}

.brand__copy strong {
  font-family: Inter, sans-serif;
  color: #fcfbff;
  letter-spacing: -0.03em;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  gap: 24px;
  min-width: max-content;
}

.nav--public {
  transform: translateX(-22px);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  padding: 0 4px;
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav__link::after {
  display: none;
}

.nav__link.active,
.nav__link:hover {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav__icon,
.header-action__icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  opacity: 0.78;
  transition: opacity 0.22s ease;
}

.nav__link.active .nav__icon,
.nav__link:hover .nav__icon {
  color: rgba(245, 241, 255, 0.94);
  opacity: 1;
}

.nav__icon svg,
.header-action__icon svg {
  width: 100%;
  height: 100%;
}

.nav__icon img,
.header-action__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.header-auth,
.header-user {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-auth__login,
.header-auth__signup,
.header-user__logout {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 11px;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
}

.profile-chip {
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.profile-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.02);
}

.profile-chip__avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}

.profile-chip__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}

.profile-chip__copy {
  display: grid;
  gap: 0;
  text-align: left;
}

.profile-chip__label {
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.44);
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 0.62rem;
  font-weight: 600;
}

.profile-chip strong {
  font-family: Inter, sans-serif;
  color: #f7f5ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-auth__login,
.header-user__logout {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.header-auth__login {
  gap: 8px;
}

.header-auth__signup {
  background: linear-gradient(135deg, rgba(182, 168, 241, 0.92) 0%, rgba(156, 141, 219, 0.9) 100%);
  border: 1px solid rgba(226, 216, 255, 0.18);
  color: #fcfbff;
  box-shadow:
    0 10px 18px rgba(124, 109, 182, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header-user__logout {
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.header-user__logout .header-action__icon,
.header-auth__login .header-action__icon {
  color: rgba(255, 255, 255, 0.78);
}

.header-user__logout:hover .header-action__icon,
.header-auth__login:hover .header-action__icon {
  opacity: 1;
}

.header-user--avatar-only {
  gap: 0;
}

.profile-chip--avatar-only {
  min-height: 34px;
  width: 34px;
  min-width: 34px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.profile-chip--avatar-only .profile-chip__avatar {
  width: 30px;
  height: 30px;
}

.profile-chip--avatar-only:hover {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.nav--private:not(.hidden) {
  gap: 24px;
  justify-content: center;
  justify-self: center;
  margin: 0 auto;
}

.nav--private:not(.hidden) .nav__link {
  min-height: 36px;
  padding: 0 6px;
  border-radius: 0;
  font-size: 0.82rem;
}

.nav--private:not(.hidden) ~ .header-user {
  gap: 8px;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip {
  min-height: 34px;
  padding: 1px;
  border-radius: 999px;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip:hover {
  background: rgba(255, 255, 255, 0.035);
}

.nav--private:not(.hidden) ~ .header-user .profile-chip__avatar {
  width: 30px;
  height: 30px;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip.profile-chip--avatar-only {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip.profile-chip--avatar-only:hover {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip.profile-chip--avatar-only .profile-chip__avatar {
  width: 30px;
  height: 30px;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip__copy {
  display: flex;
  align-items: center;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip__label {
  display: none;
}

.nav--private:not(.hidden) ~ .header-user .profile-chip strong {
  font-size: 0.82rem;
  line-height: 1;
}

.nav--private:not(.hidden) ~ .header-user .header-user__logout {
  min-height: 34px;
  width: 34px;
  min-width: 34px;
  border-radius: 11px;
}

.gui {
  width: 100%;
  min-height: 100vh;
  padding-top: 76px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s var(--reveal-ease), transform 0.52s var(--reveal-ease);
}

.gui.open {
  opacity: 1;
  transform: translateY(0);
}

.gui.hidden,
.header-sticky.hidden {
  display: none !important;
}

.screen.hidden {
  display: none !important;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(20px, 3vw, 40px) 72px;
  overflow: hidden;
}

.hero--marketing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(1040px, 90vw);
  height: min(240px, 28vh);
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(220, 226, 255, 0.11) 0%, rgba(190, 198, 240, 0.065) 34%, rgba(126, 134, 180, 0.026) 68%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(214, 220, 255, 0.045) 18%, rgba(236, 240, 255, 0.08) 50%, rgba(214, 220, 255, 0.045) 82%, rgba(0, 0, 0, 0) 100%);
  border-radius: 999px;
  filter: blur(118px);
  opacity: 0.14;
  pointer-events: none;
}

.hero--marketing::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 68%;
  width: min(820px, 78vw);
  height: min(160px, 18vh);
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(108, 116, 164, 0) 0%, rgba(108, 116, 164, 0.04) 50%, rgba(108, 116, 164, 0) 100%),
    linear-gradient(90deg, rgba(108, 116, 164, 0) 0%, rgba(176, 184, 236, 0.035) 50%, rgba(108, 116, 164, 0) 100%);
  border-radius: 999px;
  filter: blur(104px);
  opacity: 0.05;
  pointer-events: none;
}

.hero__glow {
  display: none;
}

.hero__dots {
  position: absolute;
  pointer-events: none;
  opacity: 0.3;
}

.hero__dots--title {
  top: 84px;
  left: 50%;
  width: min(900px, 96vw);
  transform: translateX(-50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 1280px);
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.hero__content > * {
  opacity: 0;
  animation: reveal-up 0.8s var(--reveal-ease) forwards;
}

.hero__content > :nth-child(1) {
  animation-delay: 0.08s;
}

.hero__content > :nth-child(2) {
  animation-delay: 0.18s;
}

.hero__content > :nth-child(3) {
  animation-delay: 0.28s;
}

.hero__logo {
  width: 76px;
  height: 76px;
  border-radius: 24px;
}

.hero__title {
  display: grid;
  gap: 2px;
  max-width: 1240px;
  font-family: Inter, sans-serif;
  color: #fff;
  letter-spacing: -0.078em;
  font-size: clamp(4rem, 6.8vw, 5.6rem);
  font-weight: 500;
  line-height: 0.92;
  text-wrap: balance;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.hero__title-accent {
  display: block;
  font-family: Inter, sans-serif;
  font-size: clamp(4.2rem, 7.3vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.082em;
  color: #f1f2f9;
}

.section-heading__title {
  background: linear-gradient(180deg, #ffffff 0%, #c7bfff 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__description {
  max-width: 920px;
  font-family: Inter, sans-serif;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 1.48vw, 1.46rem);
  font-weight: 500;
  line-height: 1.72;
  text-wrap: balance;
}

.hero-primary,
.hero-secondary {
  min-width: 220px;
}

.hero,
.landing-section {
  scroll-margin-top: 96px;
}

.landing-section {
  position: relative;
  padding: 82px clamp(20px, 3vw, 40px) 0;
}

.landing-section--pricing {
  padding-top: 34px;
  padding-bottom: 80px;
}

.products-heading {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  animation: reveal-up 0.78s var(--reveal-ease) forwards;
  animation-delay: 0.1s;
}

.products-heading__eyebrow {
  color: rgba(212, 205, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.products-heading__title {
  color: var(--color-text-strong);
  letter-spacing: -0.05em;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
}

.products-heading__description {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  text-wrap: balance;
}

.section-heading {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  opacity: 0;
  animation: reveal-up 0.78s var(--reveal-ease) forwards;
  animation-delay: 0.1s;
}

.section-heading__title {
  letter-spacing: -0.05em;
  font-size: clamp(2.1rem, 4.3vw, 3.8rem);
  font-weight: 600;
  line-height: 1.02;
}

.section-dots,
.section-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.section-dots {
  top: 54px;
  width: min(1120px, 100vw);
  opacity: 0.5;
}

.section-dots--reviews {
  width: min(760px, 64vw);
  top: 80px;
}

.section-dots--pricing {
  top: 8px;
  opacity: 0.46;
}

.section-glow {
  top: 98px;
  width: min(860px, 78vw);
  opacity: 0.2;
}

.section-glow--reviews {
  top: 120px;
  opacity: 0.28;
}

.advantages-grid,
.reviews-stage,
.products-grid,
.pricing-shell,
.private-layout,
.settings-layout {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  margin: 34px auto 0;
}

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

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

.advantage-card {
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  animation: reveal-soft 0.72s var(--reveal-ease) forwards;
}

.advantage-card:nth-child(1) {
  animation-delay: 0.08s;
}

.advantage-card:nth-child(2) {
  animation-delay: 0.16s;
}

.advantage-card:nth-child(3) {
  animation-delay: 0.24s;
}

.advantage-card__visual {
  height: 220px;
  display: block;
}

.advantage-card__body {
  padding: 18px 18px 22px;
  display: grid;
  gap: 12px;
}

.advantage-card__body h3,
.private-card-title,
.settings-sidecard__note span {
  color: var(--color-text-strong);
  font-size: 1.38rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.advantage-card__body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.advantage-card__body h3 img {
  width: 28px;
  height: 28px;
}

.advantages-stats {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.advantages-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1rem;
}

.advantages-stat img {
  width: 24px;
  height: 24px;
}

.advantages-separator {
  height: 28px;
  opacity: 0.5;
}

.reviews-stage {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.reviews-track {
  overflow: hidden;
}

.reviews-track__inner {
  width: max-content;
  display: flex;
  gap: 24px;
  animation: reviews-scroll 24s linear infinite;
}

.reviews-track--right .reviews-track__inner {
  animation-direction: reverse;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

.review-card {
  position: relative;
  width: 420px;
  min-height: 164px;
  border-radius: 18px;
  padding: 18px 22px;
  overflow: hidden;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
}

.review-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.review-card__stars img {
  width: 18px;
  height: 18px;
}

.review-card p {
  max-width: calc(100% - 60px);
}

.review-card__bars {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
}

.review-card__bars img {
  height: 100%;
  margin-right: 2px;
}

.product-card {
  position: relative;
  min-height: 380px;
  padding: 28px 26px 24px;
  border-radius: 24px;
  border: 1px solid rgba(163, 155, 214, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.018) 100%),
    rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(18px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 22px;
  cursor: pointer;
  opacity: 0;
  animation: reveal-soft 0.72s var(--reveal-ease) forwards;
}

.product-card::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 50%;
  width: 210px;
  height: 210px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(212, 205, 255, 0.18) 0%, rgba(212, 205, 255, 0.08) 34%, rgba(212, 205, 255, 0) 72%);
  filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.product-card:nth-child(1) {
  animation-delay: 0.08s;
}

.product-card:nth-child(2) {
  animation-delay: 0.16s;
}

.product-card:nth-child(3) {
  animation-delay: 0.24s;
}

.product-card:nth-child(4) {
  animation-delay: 0.32s;
}

.product-card.active {
  border-color: rgba(212, 205, 255, 0.3);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(212, 205, 255, 0.08);
}

.product-card.active::before,
.product-card:hover::before {
  opacity: 1;
}

.product-card__icon,
.product-card__copy,
.product-card__divider,
.product-card__footer {
  position: relative;
  z-index: 1;
}

.product-card__icon {
  width: 48px;
  height: 62px;
  object-fit: contain;
}

.product-card__copy {
  display: grid;
  gap: 12px;
}

.product-card__title {
  color: var(--color-text-strong);
  font-size: clamp(1.7rem, 2.1vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.product-card__description {
  color: rgba(255, 255, 255, 0.56);
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.62;
}

.product-card__divider {
  align-self: end;
  height: 1px;
  background: linear-gradient(90deg, rgba(163, 155, 214, 0.24) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.product-card__footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(96px, auto) auto;
  align-items: end;
  justify-content: start;
  gap: 10px;
}

.product-card__price {
  display: inline-flex;
  align-items: flex-end;
  color: #fff;
  min-height: 44px;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.product-card__button {
  position: relative;
  top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  align-self: end;
  margin-left: 4px;
  gap: 6px;
  min-width: 112px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(212, 205, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, #d8c8ff 0%, #b69dff 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(163, 155, 214, 0.22);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
  animation: glow-breathe 3.2s ease-in-out infinite;
}

.product-card__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(163, 155, 214, 0.3);
  filter: brightness(1.03);
}

.product-card__button img {
  width: 15px;
  height: 15px;
}

.pricing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  align-items: center;
  overflow: hidden;
}

.pricing-shell__visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.pricing-shell__avatar {
  width: 260px;
  height: 260px;
  object-fit: contain;
  z-index: 1;
}

.pricing-shell__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.55;
}

.plan-selector {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-left: 12px;
}

.plan-selector__title {
  color: var(--color-text-strong);
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.plan-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.35rem;
}

.plan-option img {
  width: 16px;
  height: 16px;
}

.plan-option.active,
.plan-option:hover {
  color: #fff;
}

.pricing-shell__action {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.pricing-buy-button {
  font-size: 1.32rem;
  gap: 10px;
  min-width: 240px;
}

.pricing-shell,
.product-card,
.private-sidebar,
.private-main,
.private-tools-grid > *,
.settings-layout > * {
  opacity: 0;
  animation: reveal-soft 0.82s var(--reveal-ease) forwards;
}

.pricing-shell {
  animation-delay: 0.12s;
}

.private-sidebar {
  animation-delay: 0.08s;
}

.private-main {
  animation-delay: 0.16s;
}

.private-tools-grid > *:nth-child(1) {
  animation-delay: 0.12s;
}

.private-tools-grid > *:nth-child(2) {
  animation-delay: 0.2s;
}

.private-tools-grid > *:nth-child(3) {
  animation-delay: 0.28s;
}

.settings-layout > *:nth-child(1) {
  animation-delay: 0.08s;
}

.settings-layout > *:nth-child(2) {
  animation-delay: 0.16s;
}

.advantage-card,
.pricing-shell,
.product-card,
.private-sidebar__card,
.private-info-card,
.client-state-card,
.settings-card,
.settings-sidecard {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.advantage-card:hover,
.pricing-shell:hover,
.product-card:hover,
.private-sidebar__card:hover,
.private-info-card:hover,
.client-state-card:hover,
.settings-card:hover,
.settings-sidecard:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(163, 155, 214, 0.08);
}

.pricing-buy-button img {
  width: 32px;
  height: 32px;
}

.landing-section--faq {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding-top: 12px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.012) 100%),
    rgba(7, 8, 18, 0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--color-text-strong);
  text-align: left;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--color-accent-soft);
  background: rgba(163, 155, 214, 0.12);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--color-text-muted);
  line-height: 1.72;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  color: #fff;
  background: linear-gradient(135deg, rgba(163, 155, 214, 0.35) 0%, rgba(96, 88, 165, 0.35) 100%);
}

.faq-item.active .faq-item__answer {
  max-height: 260px;
}

.site-footer {
  width: 100%;
  max-width: min(100%, 760px);
  margin: 28px auto 42px;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: center;
  position: relative;
  overflow: visible;
  background: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

.site-footer::before {
  display: none;
}

.site-footer__brand,
.site-footer__links,
.site-footer__socials {
  position: relative;
  z-index: 1;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer__brand--button {
  padding: 0;
  border: 0;
  background: transparent;
}

.site-footer__logo {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 204, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  color: #f5f1ff;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.14);
}

.site-footer__brand-copy {
  display: flex;
  align-items: center;
}

.site-footer__brand-copy strong {
  color: #f7f4ff;
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  flex: 0 1 auto;
}

.site-footer__link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.site-footer__link:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
  color: #fff;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-footer__socials a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__socials a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-footer__socials a img {
  width: 13px;
  height: 13px;
  opacity: 0.82;
}

.content {
  display: none;
  padding: 28px clamp(20px, 3vw, 40px) 120px;
}

.content.active {
  display: block;
}

.private-screen {
  padding-top: 34px;
}

.private-screen__inner {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.private-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
}

.private-layout--profile {
  justify-content: flex-start;
  gap: 24px;
}

.private-sidebar {
  flex: 0 0 420px;
  max-width: 420px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.private-sidebar--profile {
  flex-basis: 392px;
  max-width: 392px;
}

.private-sidebar__card {
  position: relative;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 20px;
  overflow: hidden;
}

.private-sidebar__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.62;
}

.private-sidebar__avatar {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 2px solid rgba(212, 205, 255, 0.8);
  box-shadow: 0 0 0 5px rgba(9, 9, 13, 0.8);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.private-sidebar__avatar:hover {
  transform: translateY(-1px);
  border-color: rgba(233, 228, 255, 0.96);
  box-shadow: 0 0 0 5px rgba(9, 9, 13, 0.82), 0 12px 28px rgba(170, 150, 255, 0.16);
}

.private-sidebar__avatar[aria-disabled="true"] {
  cursor: progress;
  opacity: 0.78;
  transform: none;
}

.private-sidebar__identity {
  position: relative;
  z-index: 1;
  text-align: left;
  display: grid;
  gap: 10px;
}

.private-sidebar__card--profile {
  min-height: 196px;
  padding: 24px 20px;
}

.private-sidebar__name-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.private-sidebar__name-row h2 {
  color: #fff;
  font-size: 1.82rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.private-sidebar__name-row strong {
  color: var(--color-accent);
  font-size: 1.82rem;
  font-weight: 600;
  line-height: 1;
}

.private-sidebar__uid {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(19, 19, 23, 0.94);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.private-sidebar__email {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.private-sidebar__actions {
  display: grid;
  gap: 12px;
}

.private-sidebar__actions--profile {
  gap: 12px;
}

.private-sidebar__action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sidebar-action-btn {
  width: 100%;
  min-height: 52px;
  gap: 10px;
  padding: 0 18px;
  border-radius: 16px;
  border-color: var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.014) 100%),
    var(--color-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow-soft);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f0edfb;
  text-shadow: none;
}

.sidebar-action-btn--primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.014) 100%),
    var(--color-surface);
  border-color: var(--color-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow-soft);
}

.sidebar-action-btn--primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034) 0%, rgba(255, 255, 255, 0.018) 100%),
    var(--color-surface);
  border-color: var(--color-border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.034),
    0 26px 84px rgba(0, 0, 0, 0.38);
}

.sidebar-action-btn--ghost {
  border-color: var(--color-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.014) 100%),
    var(--color-surface);
}

.private-main--profile {
  flex-basis: 652px;
  max-width: 652px;
  min-width: min(100%, 420px);
}

.sidebar-action-btn img {
  width: 16px;
  height: 16px;
  min-width: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.8;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    filter 0.22s ease;
}

.sidebar-action-btn svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  opacity: 0.8;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    filter 0.22s ease;
}

.sidebar-action-btn:hover {
  transform: translateY(-1px);
  border-color: var(--color-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034) 0%, rgba(255, 255, 255, 0.018) 100%),
    var(--color-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.038),
    0 26px 84px rgba(0, 0, 0, 0.38);
}

.sidebar-action-btn:hover img {
  transform: scale(1.05);
  opacity: 0.96;
  filter: drop-shadow(0 0 6px rgba(186, 173, 255, 0.18));
}

.sidebar-action-btn:hover svg {
  transform: scale(1.05);
  opacity: 0.96;
  filter: drop-shadow(0 0 6px rgba(186, 173, 255, 0.18));
}

.private-main {
  flex: 1 1 620px;
  min-width: min(100%, 420px);
  display: grid;
  gap: 18px;
}

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

.private-info-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.private-info-card--profile,
.private-info-card--launch,
.private-info-card--referral {
  padding: 20px 22px;
  gap: 10px;
}

.private-info-card--profile .private-info-row,
.private-info-card--launch .private-info-row,
.private-info-card--referral .private-info-row {
  padding: 6px 0;
}

.private-info-card--relay {
  grid-column: 1 / -1;
  padding: 18px 20px;
}

.private-info-card--profile-sheet {
  padding: 14px 20px;
  gap: 0;
}

.private-info-card--profile-sheet .private-info-row {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.private-info-card--profile-sheet .private-info-row:last-child {
  border-bottom: 0;
}

.private-info-row {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.private-info-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
}

.private-info-label img {
  width: 22px;
  height: 22px;
}

.private-info-row strong,
.private-card-title,
.feature-card__title,
.info-chip strong,
.feature-card__info strong {
  color: var(--color-text-strong);
}

.private-info-row strong {
  font-size: 1.02rem;
  line-height: 1.4;
}

.private-info-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.inline-change-btn {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inline-change-btn img {
  width: 18px;
  height: 18px;
}

.private-info-value--break {
  max-width: 320px;
  word-break: break-word;
}

.profile-sheet__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 13px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-sheet__meta {
  gap: 12px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
}

.profile-sheet__meta img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.profile-sheet__value,
.profile-sheet__value strong {
  color: #d6d0ff;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: right;
  letter-spacing: -0.01em;
}

.profile-sheet__value--inline {
  justify-self: end;
  gap: 12px;
}

.profile-sheet__value--break {
  max-width: 220px;
  line-height: 1.35;
}

.profile-sheet__edit {
  width: 18px;
  height: 18px;
  opacity: 0.52;
}

.profile-sheet__edit img {
  width: 14px;
  height: 14px;
}

.profile-sheet__edit:hover {
  opacity: 0.9;
}

.inline-change-btn:hover {
  transform: scale(1.05);
}

.private-card-heading {
  display: grid;
  gap: 8px;
}

.private-card-heading p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.5;
}

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

.private-info-card--relay .section-mini-tag {
  padding: 8px 14px;
  font-size: 0.72rem;
}

.private-info-card--relay .private-card-title {
  font-size: 1.05rem;
}

.private-info-card--relay-list {
  gap: 12px;
}

.relay-overview-head {
  display: grid;
  gap: 8px;
}

.relay-overview-list {
  display: grid;
  gap: 0;
}

.relay-overview-row {
  min-height: 54px;
  padding: 10px 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(163, 155, 214, 0.08);
}

.relay-overview-row:last-child {
  border-bottom: 0;
}

.relay-overview-row span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 500;
}

.relay-overview-row strong {
  color: var(--color-text-strong);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: right;
  line-height: 1.3;
  word-break: break-word;
}

.cabinet-chip {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(163, 155, 214, 0.09);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  align-content: center;
  gap: 6px;
}

.cabinet-chip span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
}

.cabinet-chip strong {
  color: var(--color-text-strong);
  font-size: 0.98rem;
  line-height: 1.32;
  word-break: break-word;
}

.feature-card__label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card__title {
  font-size: 1.34rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.feature-card__description {
  min-height: 58px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.68);
}

.feature-card__info {
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.feature-card__info span,
.info-chip span {
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.feature-card__info strong,
.info-chip strong {
  font-size: 0.94rem;
  line-height: 1.34;
}

.feature-card__info pre {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--color-text-soft);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.52;
}

.client-state-card {
  overflow: hidden;
  padding: 0;
  gap: 0;
}

.client-state-card__visual {
  min-height: 70px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.client-state-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 26%, rgba(212, 205, 255, 0.1) 0%, rgba(212, 205, 255, 0) 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 36%, rgba(255, 255, 255, 0.005) 100%);
  pointer-events: none;
}

.client-state-card__visual--primary {
  background:
    linear-gradient(180deg, rgba(23, 24, 31, 0.98) 0%, rgba(17, 17, 23, 0.98) 100%);
}

.client-state-card__visual--secondary {
  background:
    linear-gradient(180deg, rgba(25, 24, 34, 0.98) 0%, rgba(18, 18, 24, 0.98) 100%);
}

.client-state-card__visual-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.client-state-card__eyebrow {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.client-state-card__visual-copy strong {
  color: var(--color-text-strong);
  font-size: 0.96rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.client-state-card__visual-copy strong[data-state="idle"] {
  color: #ffd8e0;
}

.client-state-card__visual-copy strong[data-state="connected"] {
  color: #dcffe7;
}

.client-state-card__visual-copy strong[data-state="active"] {
  color: var(--color-text-strong);
}

.client-state-card__visual-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.client-state-card__body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.relay-actions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.relay-actions-grid .login-button,
.feature-card__actions .primary-btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.feature-card__actions {
  gap: 10px;
}

.relay-switch-btn {
  margin-top: 2px;
}

.relay-client-stack {
  display: grid;
  gap: 10px;
}

.relay-client-panel {
  position: relative;
  min-height: 124px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(163, 155, 214, 0.1);
  background: #09090d;
  overflow: hidden;
}

.relay-client-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(212, 205, 255, 0.14) 0%, rgba(212, 205, 255, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%);
  pointer-events: none;
}

.relay-client-identity {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.relay-client-avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 2px solid rgba(212, 205, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(9, 9, 13, 0.82);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.relay-client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.relay-client-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.relay-client-title {
  color: var(--color-text-strong);
  font-size: 1.18rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.relay-client-title[data-state="idle"] {
  color: #ffd8e0;
}

.relay-client-title[data-state="connected"] {
  color: #dcffe7;
}

.relay-client-title[data-state="active"] {
  color: var(--color-text-strong);
}

.relay-client-endpoint {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.46;
  word-break: break-word;
}

.relay-client-endpoint--list {
  white-space: pre-wrap;
  font-family: inherit;
}

.relay-client-action {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(163, 155, 214, 0.1);
  background: #09090d;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.relay-client-action:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(163, 155, 214, 0.16);
}

.settings-layout {
  width: min(100%, 1160px);
  margin: 34px auto 0;
  align-items: start;
}

.settings-card,
.settings-sidecard {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.settings-layout--compact {
  width: min(100%, 1080px);
  margin-top: 22px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  gap: 12px;
}

.settings-layout--compact .settings-card,
.settings-layout--compact .settings-sidecard {
  padding: 18px;
  gap: 12px;
  border-radius: 18px;
}

.settings-layout--compact .section-mini-tag {
  padding: 7px 12px;
  font-size: 0.68rem;
}

.settings-layout--compact .setting-item {
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
}

.settings-layout--compact .setting-label {
  font-size: 0.92rem;
}

.settings-layout--compact .setting-input {
  height: 44px;
  padding: 0 14px;
  font-size: 0.95rem;
  border-radius: 11px;
}

.settings-layout--compact .login-button {
  min-height: 42px;
  font-size: 0.92rem;
}

.settings-layout--compact .info-chip {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
}

.settings-layout--compact .info-chip span {
  font-size: 0.78rem;
}

.settings-layout--compact .info-chip strong {
  font-size: 0.9rem;
}

.settings-layout--compact .settings-sidecard__note {
  padding: 14px;
  border-radius: 16px;
}

.settings-layout--compact .settings-sidecard__note span {
  font-size: 0.86rem;
}

.settings-layout--compact .settings-sidecard__note p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.private-tools-grid--settings {
  width: min(100%, 1160px);
  margin: 18px auto 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.96fr) minmax(0, 0.96fr);
  gap: 12px;
  align-items: start;
}

.private-tools-grid--settings .private-info-card--relay {
  grid-column: auto;
  padding: 14px 16px;
  gap: 10px;
}

.private-tools-grid--settings .private-card-title {
  font-size: 0.98rem;
}

.private-tools-grid--settings .relay-overview-head {
  gap: 4px;
}

.relay-inline-name {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.relay-inline-name::placeholder,
.relay-inline-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.relay-inline-name:focus,
.relay-inline-input:focus {
  outline: none;
}

.private-tools-grid--settings .relay-overview-row {
  min-height: 42px;
  padding: 6px 0;
  gap: 10px;
}

.private-tools-grid--settings .relay-overview-row span,
.private-tools-grid--settings .relay-overview-row strong {
  font-size: 0.88rem;
}

.relay-overview-row--editable {
  cursor: text;
}

.relay-inline-input {
  width: min(240px, 100%);
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--color-text-strong);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
}

.relay-inline-input--invalid {
  color: var(--color-danger);
  caret-color: var(--color-danger);
}

.relay-inline-input--invalid::placeholder {
  color: rgba(255, 128, 153, 0.48);
}

.private-tools-grid--settings .relay-actions-grid {
  gap: 8px;
}

.private-tools-grid--settings .relay-actions-grid .login-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.private-tools-grid--settings .relay-client-stack {
  gap: 8px;
}

.private-tools-grid--settings .relay-client-panel {
  min-height: 94px;
  padding: 14px;
  border-radius: 18px;
}

.private-tools-grid--settings .relay-client-identity {
  gap: 12px;
}

.private-tools-grid--settings .relay-client-avatar {
  width: 56px;
  height: 56px;
  border-width: 1px;
  box-shadow: 0 0 0 3px rgba(9, 9, 13, 0.78);
}

.private-tools-grid--settings .relay-client-copy {
  gap: 6px;
}

.private-tools-grid--settings .relay-client-title {
  font-size: 1rem;
}

.private-tools-grid--settings .relay-client-endpoint {
  font-size: 0.88rem;
  line-height: 1.4;
}

.private-tools-grid--settings .relay-client-action {
  min-height: 42px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.setting-item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(163, 155, 214, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.setting-item--switch {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.setting-label {
  color: var(--color-text-strong);
  font-size: 0.98rem;
  font-weight: 600;
}

.setting-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(163, 155, 214, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
}

.setting-input:focus {
  border-color: rgba(163, 155, 214, 0.42);
  box-shadow: 0 0 0 4px rgba(163, 155, 214, 0.12);
}

.switch {
  position: relative;
  width: 54px;
  height: 30px;
  display: inline-block;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(163, 155, 214, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: rgba(163, 155, 214, 0.36);
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

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

.admin-screen {
  gap: 14px;
}

.section-heading--admin {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.admin-screen > .section-heading,
.admin-screen > .admin-feedback,
.admin-metrics-grid > *,
.admin-panels-grid > *,
.admin-screen > .admin-card {
  opacity: 0;
  animation: reveal-soft 0.82s var(--reveal-ease) forwards;
}

.admin-screen > .section-heading {
  animation-delay: 0.06s;
}

.admin-screen > .admin-feedback {
  animation-delay: 0.1s;
}

.admin-metrics-grid > *:nth-child(1) { animation-delay: 0.1s; }
.admin-metrics-grid > *:nth-child(2) { animation-delay: 0.14s; }
.admin-metrics-grid > *:nth-child(3) { animation-delay: 0.18s; }
.admin-metrics-grid > *:nth-child(4) { animation-delay: 0.22s; }
.admin-metrics-grid > *:nth-child(5) { animation-delay: 0.26s; }
.admin-metrics-grid > *:nth-child(6) { animation-delay: 0.3s; }

.admin-panels-grid > *:nth-child(1) { animation-delay: 0.16s; }
.admin-panels-grid > *:nth-child(2) { animation-delay: 0.24s; }

.admin-screen > .admin-card {
  animation-delay: 0.22s;
}

.admin-feedback {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(179, 166, 255, 0.18);
  background: rgba(151, 132, 255, 0.08);
  color: #f1edff;
  font-size: 0.95rem;
}

.admin-feedback--error {
  border-color: rgba(255, 125, 155, 0.24);
  background: rgba(255, 92, 135, 0.08);
  color: #ffdce6;
}

.admin-metrics-grid,
.admin-panels-grid {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.admin-metric-card {
  min-height: 104px;
  align-content: space-between;
  gap: 10px;
}

.admin-metric-card span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-metric-card strong {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.admin-card {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 18px 20px;
  gap: 14px;
}

.admin-card--wide {
  grid-column: 1 / -1;
}

.admin-card__header,
.admin-form-grid,
.admin-generated-box,
.admin-toolbar,
.admin-user-list,
.admin-list-block,
.admin-log-list {
  opacity: 0;
  animation: reveal-up 0.62s var(--reveal-ease) forwards;
}

.admin-card__header { animation-delay: 0.06s; }
.admin-form-grid { animation-delay: 0.12s; }
.admin-generated-box,
.admin-toolbar,
.admin-list-block,
.admin-log-list,
.admin-user-list { animation-delay: 0.18s; }

.admin-card__header,
.admin-card__subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-panels-grid--bottom .admin-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 12px;
}

.admin-panels-grid--bottom .admin-card__header > div {
  min-height: 60px;
  display: grid;
  align-content: start;
  gap: 4px;
}

.admin-panels-grid--bottom .admin-card__header .admin-input--compact {
  width: min(100%, 220px);
}

.admin-card__header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.admin-card__header p,
.admin-card__subhead span,
.admin-loading,
.admin-list-row__copy span,
.admin-log-row__meta,
.admin-user-row__identity span,
.admin-user-row__meta span {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-card__subhead strong,
.admin-list-row__copy strong,
.admin-log-row__title strong,
.admin-user-row__identity strong {
  color: #f2efff;
}

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

.admin-form-grid--release {
  align-content: start;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field--wide {
  grid-column: 1 / -1;
}

.admin-field span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
}

.admin-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(163, 155, 214, 0.12);
  background: rgba(255, 255, 255, 0.028);
  color: #f4f0ff;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.admin-input:focus {
  outline: none;
  border-color: rgba(183, 171, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 4px rgba(183, 171, 255, 0.08);
}

.admin-input--select {
  appearance: none;
}

.admin-input--compact {
  max-width: 220px;
}

.admin-input--file {
  padding: 10px 14px;
}

.admin-input--file::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(188, 176, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4f0ff;
  font: inherit;
  cursor: pointer;
}

.admin-input--file:hover::file-selector-button {
  background: rgba(255, 255, 255, 0.08);
}

.admin-mini-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(163, 155, 214, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #f1ecff;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.admin-mini-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(188, 176, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.admin-mini-btn--accent {
  background: linear-gradient(180deg, rgba(173, 158, 255, 0.28) 0%, rgba(151, 132, 255, 0.2) 100%);
}

.admin-mini-btn--danger {
  border-color: rgba(255, 121, 151, 0.18);
  color: #ffd6e1;
}

.admin-mini-btn--ok {
  border-color: rgba(120, 255, 184, 0.18);
  color: #dfffea;
}

.admin-generated-box,
.admin-list-block,
.admin-log-list,
.admin-user-list {
  display: grid;
  gap: 10px;
}

.admin-release-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
}

.admin-release-box {
  align-content: start;
}

.admin-release-meta {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-file-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-list-block--scroll {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-log-list--compact {
  max-height: 300px;
  padding-right: 6px;
}

.admin-list-block--scroll::-webkit-scrollbar {
  width: 8px;
}

.admin-list-block--scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(184, 171, 255, 0.22);
}

.admin-list-block--scroll::-webkit-scrollbar-track {
  background: transparent;
}

.admin-generated-box {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(163, 155, 214, 0.1);
  background: rgba(255, 255, 255, 0.018);
}

.admin-generated-box pre {
  color: rgba(255, 255, 255, 0.82);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.55fr) minmax(0, 0.9fr);
  gap: 10px;
}

.admin-user-row,
.admin-list-row,
.admin-log-row {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(163, 155, 214, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.admin-user-row {
  display: grid;
  gap: 10px;
}

.admin-user-row__head,
.admin-list-row,
.admin-log-row__title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-user-row__identity {
  display: grid;
  gap: 4px;
}

.admin-user-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-state-pill {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-state-pill--ok {
  border: 1px solid rgba(120, 255, 184, 0.18);
  background: rgba(66, 194, 120, 0.1);
  color: #dcffe8;
}

.admin-state-pill--accent {
  border: 1px solid rgba(194, 171, 255, 0.22);
  background: rgba(166, 138, 255, 0.12);
  color: #efe7ff;
}

.admin-state-pill--danger {
  border: 1px solid rgba(255, 121, 151, 0.18);
  background: rgba(255, 97, 142, 0.1);
  color: #ffd8e4;
}

.admin-list-row__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-log-row {
  display: grid;
  gap: 8px;
}

.admin-log-row p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .advantages-grid,
  .products-grid,
  .private-tools-grid,
  .pricing-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .admin-panels-grid,
  .admin-release-grid,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .private-sidebar,
  .private-main {
    flex-basis: 100%;
    max-width: none;
  }

  .private-sidebar__card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .private-sidebar__identity {
    text-align: center;
  }

  .private-sidebar__name-row {
    justify-content: center;
  }

  .private-info-card--relay {
    grid-column: span 1;
  }

  .private-tools-grid--settings {
    grid-template-columns: 1fr;
  }

  .relay-inline-input {
    width: 100%;
  }

  .site-footer__brand,
  .site-footer__links,
  .site-footer__socials {
    justify-content: center;
    justify-items: center;
  }

  .site-footer__socials {
    justify-content: center;
  }
}

@media (min-width: 701px) and (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-sticky {
    top: 12px;
    padding: 0 10px;
  }

  .header {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 20px;
    padding: 12px;
    gap: 12px;
  }

  .brand,
  .nav,
  .header-auth,
  .header-user {
    width: 100%;
  }

  .brand {
    justify-content: flex-start;
  }

  .nav {
    justify-content: flex-start;
    order: 2;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .nav--public {
    transform: none;
  }

  .header-auth,
  .header-user {
    order: 3;
    justify-content: stretch;
    gap: 10px;
  }

  .header-auth__login,
  .header-auth__signup,
  .profile-chip {
    flex: 1;
    justify-content: center;
  }

  .header-auth__login,
  .header-auth__signup {
    min-height: 44px;
    border-radius: 15px;
    font-size: 0.82rem;
  }

  .header-user__logout {
    flex: 0 0 36px;
  }

  @supports selector(.header:has(.nav--private)) {
    .header:has(.nav--private:not(.hidden)) {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      padding: 10px 12px;
      gap: 10px 12px;
    }

    .header:has(.nav--private:not(.hidden)) .brand {
      grid-column: 1;
      grid-row: 1;
      width: auto;
    }

    .header:has(.nav--private:not(.hidden)) .header-user {
      grid-column: 2;
      grid-row: 1;
      width: auto;
      justify-self: end;
      justify-content: flex-end;
      gap: 8px;
    }

    .header:has(.nav--private:not(.hidden)) .nav--private {
      grid-column: 1 / -1;
      grid-row: 2;
      width: 100%;
      justify-content: center;
      gap: 8px;
      overflow: visible;
      padding-bottom: 0;
    }

    .header:has(.nav--private:not(.hidden)) .nav--private .nav__link {
      flex: 0 1 auto;
      justify-content: center;
      min-height: 34px;
      min-width: 0;
      padding: 0 12px;
      border-radius: 12px;
      font-size: 0.75rem;
    }
  }

  .gui {
    padding-top: 140px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 54px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
  }

  .hero__title-accent {
    font-size: clamp(3rem, 11.8vw, 4.4rem);
  }

  .hero__description {
    max-width: 680px;
    font-size: clamp(0.98rem, 3.2vw, 1.1rem);
  }

  .hero-actions,
  .dialog-panel__actions,
  .overlay-actions,
  .feature-card__actions,
  .settings-layout,
  .slider-container {
    flex-direction: column;
  }

  .private-sidebar__action-row {
    grid-template-columns: 1fr;
  }

  .advantages-stats {
    flex-direction: column;
  }

  .advantages-separator {
    display: none;
  }

  .hero-primary,
  .hero-secondary,
  .pricing-buy-button,
  .feature-card__actions .primary-btn,
  .feature-card__actions .secondary-btn,
  .overlay-actions .primary-btn,
  .overlay-actions .secondary-btn,
  .sidebar-action-btn,
  .login-button,
  .secondary-btn {
    width: 100%;
  }

  .review-card {
    width: 300px;
  }

  .products-heading__title {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

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

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .product-card__button {
    width: 100%;
  }

  .private-info-row,
  .setting-item--switch,
  .private-chip-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .auth-panel__inner,
  .dialog-panel__inner,
  .overlay-card,
  .site-footer,
  .private-sidebar__card,
  .private-info-card,
  .settings-card,
  .settings-sidecard,
  .advantage-card__body,
  .client-state-card__body {
    padding: 18px;
  }

  .hero__logo {
    width: 66px;
    height: 66px;
  }

  .faq-item__button,
  .faq-item__answer p {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-panel__title,
  .dialog-panel__title {
    font-size: 1.7rem;
  }

  .product-card {
    min-height: auto;
    padding: 22px 20px 20px;
  }

  .admin-metric-card strong {
    font-size: 1.5rem;
  }

  .admin-row-actions,
  .admin-list-row,
  .admin-log-row__title {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-shell__avatar {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 860px) {
  .landing-section {
    padding: 64px 16px 0;
  }

  .landing-section--pricing {
    padding-top: 18px;
    padding-bottom: 56px;
  }

  .content {
    padding: 22px 16px 96px;
  }

  .private-screen {
    padding-top: 22px;
  }

  .hero {
    min-height: calc(100dvh - 18px);
    padding: 22px 18px 48px;
  }

  .hero__content {
    gap: 18px;
  }

  .hero__description,
  .section-heading__description,
  .products-heading__description {
    max-width: 100%;
    line-height: 1.62;
  }

  .checkout-screen {
    padding: 26px 16px 72px;
  }

  .checkout-card__summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .checkout-method {
    align-items: flex-start;
  }

  .profile-sheet__row,
  .relay-overview-row,
  .private-tools-grid--settings .relay-overview-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 8px;
  }

  .profile-sheet__value,
  .profile-sheet__value strong,
  .relay-overview-row strong {
    text-align: left;
    justify-self: start;
  }

  .profile-sheet__value--inline {
    justify-self: start;
  }

  .relay-inline-input {
    width: 100%;
    justify-self: stretch;
    text-align: left;
  }

  .relay-client-identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .header-sticky {
    top: 8px;
    padding: 0 8px;
  }

  .header {
    padding: 12px 12px 14px;
    gap: 12px;
    border-radius: 18px;
  }

  .brand__copy strong {
    font-size: 0.84rem;
  }

  .nav {
    gap: 8px;
  }

  .nav__link {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .header-auth {
    gap: 10px;
  }

  .header-auth__login,
  .header-auth__signup,
  .profile-chip {
    min-height: 46px;
    border-radius: 16px;
  }

  .gui {
    padding-top: 164px;
  }

  @supports selector(.header:has(.nav--private)) {
    .header:has(.nav--private:not(.hidden)) {
      grid-template-columns: minmax(0, 1fr) auto;
      padding: 10px 12px;
      gap: 10px;
    }

    .header:has(.nav--private:not(.hidden)) .nav--private {
      gap: 6px;
      justify-content: flex-start;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .header:has(.nav--private:not(.hidden)) .nav--private::-webkit-scrollbar {
      display: none;
    }

    .header:has(.nav--private:not(.hidden)) .nav--private .nav__link {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 11px;
      border-radius: 12px;
      font-size: 0.74rem;
    }
  }

  .hero {
    min-height: calc(100dvh - 12px);
    padding: 16px 14px 40px;
  }

  .hero__content {
    gap: 14px;
  }

  .hero__title {
    font-size: clamp(2.3rem, 12vw, 3.3rem);
    letter-spacing: -0.065em;
  }

  .hero__title-accent {
    font-size: clamp(2.45rem, 12.6vw, 3.45rem);
    letter-spacing: -0.068em;
  }

  .hero__description {
    font-size: 0.96rem;
  }

  .section-heading,
  .products-heading {
    width: 100%;
    gap: 10px;
  }

  .section-heading__tag {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .section-heading__title,
  .products-heading__title {
    font-size: clamp(1.92rem, 10vw, 2.7rem);
    line-height: 0.98;
  }

  .section-heading__description,
  .products-heading__description {
    font-size: 0.95rem;
  }

  .landing-section {
    padding: 54px 12px 0;
  }

  .landing-section--pricing {
    padding-top: 14px;
    padding-bottom: 48px;
  }

  .advantages-grid,
  .products-grid,
  .pricing-shell,
  .private-layout,
  .settings-layout,
  .private-tools-grid--settings,
  .private-screen__inner,
  .admin-metrics-grid,
  .admin-panels-grid {
    width: 100%;
  }

  .advantage-card__visual {
    height: 180px;
  }

  .advantage-card__body h3 {
    font-size: 1.18rem;
  }

  .advantage-card__body p {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .products-grid {
    gap: 14px;
  }

  .product-card {
    min-height: 0;
    gap: 16px;
    padding: 20px 18px 18px;
    border-radius: 20px;
  }

  .product-card__icon {
    width: 42px;
    height: 54px;
  }

  .product-card__title {
    font-size: 1.55rem;
  }

  .product-card__description {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .product-card__footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-card__price {
    min-height: 0;
    font-size: 1.75rem;
  }

  .product-card__button {
    top: 0;
    width: 100%;
    margin-left: 0;
    justify-self: stretch;
  }

  .auth-modal,
  .dialog-modal,
  .overlay-step {
    padding: 12px;
  }

  .auth-panel,
  .dialog-panel,
  .overlay-card,
  .overlay-card--wide {
    width: 100%;
  }

  #docsModal .dialog-panel {
    max-height: min(70vh, 620px);
  }

  #docsModal .dialog-panel__inner {
    padding: 18px;
  }

  .docs-content {
    max-height: calc(min(70vh, 620px) - 116px);
    padding-right: 4px;
  }

  .auth-field {
    height: 46px;
  }

  .auth-input,
  .setting-input,
  .admin-input,
  .relay-inline-input {
    font-size: 16px;
  }

  .checkout-screen {
    padding: 18px 12px 56px;
  }

  .checkout-screen__inner {
    gap: 16px;
  }

  .checkout-card {
    gap: 14px;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .checkout-card__brand {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .checkout-card__title {
    font-size: clamp(1.6rem, 9vw, 2rem);
  }

  .checkout-card__summary {
    padding-bottom: 14px;
    font-size: 0.96rem;
  }

  .checkout-card__summary strong {
    font-size: 1.06rem;
  }

  .checkout-method {
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .checkout-method__badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .checkout-method__copy strong {
    font-size: 1.05rem;
  }

  .checkout-method__copy small {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .content {
    padding: 16px 12px 84px;
  }

  .private-screen {
    padding-top: 20px;
  }

  .private-layout,
  .private-layout--profile {
    gap: 12px;
  }

  .private-sidebar,
  .private-sidebar--profile,
  .private-main,
  .private-main--profile {
    flex-basis: 100%;
    max-width: none;
    min-width: 0;
  }

  .private-sidebar__card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    justify-items: start;
    text-align: left;
  }

  .private-sidebar__card--profile {
    min-height: 0;
  }

  .private-sidebar__avatar {
    width: 72px;
    height: 72px;
    box-shadow: 0 0 0 4px rgba(9, 9, 13, 0.78);
  }

  .private-sidebar__identity {
    gap: 8px;
    text-align: left;
  }

  .private-sidebar__name-row {
    justify-content: flex-start;
  }

  .private-sidebar__name-row h2,
  .private-sidebar__name-row strong {
    font-size: 1.38rem;
  }

  .private-sidebar__uid,
  .private-sidebar__email {
    font-size: 0.9rem;
  }

  .sidebar-action-btn {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.94rem;
  }

  .private-info-row {
    padding: 12px 14px;
  }

  .private-info-label {
    gap: 8px;
    font-size: 0.92rem;
  }

  .profile-sheet__meta {
    gap: 10px;
    font-size: 0.9rem;
  }

  .profile-sheet__value,
  .profile-sheet__value strong {
    font-size: 0.92rem;
  }

  .profile-sheet__value--break {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .relay-overview-row span,
  .relay-overview-row strong {
    font-size: 0.9rem;
  }

  .cabinet-chip {
    min-height: 0;
    padding: 10px 12px;
  }

  .relay-client-panel {
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
  }

  .relay-client-identity {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }

  .relay-client-avatar {
    width: 54px;
    height: 54px;
    box-shadow: 0 0 0 3px rgba(9, 9, 13, 0.78);
  }

  .relay-client-title {
    font-size: 1rem;
  }

  .relay-client-endpoint {
    font-size: 0.9rem;
  }

  .relay-client-action {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .settings-layout--compact {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .setting-item {
    padding: 14px;
    border-radius: 16px;
  }

  .setting-input {
    height: 46px;
    padding: 0 14px;
  }

  .admin-screen {
    gap: 12px;
  }

  .admin-feedback {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.9rem;
  }

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

  .admin-card {
    padding: 16px;
  }

  .admin-card__header h3 {
    font-size: 1rem;
  }

  .admin-card__header p,
  .admin-card__subhead span,
  .admin-loading,
  .admin-list-row__copy span,
  .admin-log-row__meta,
  .admin-user-row__identity span,
  .admin-user-row__meta span {
    font-size: 0.85rem;
  }

  .admin-input,
  .admin-mini-btn {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .admin-release-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin: 22px auto 32px;
  }

  .site-footer__links {
    gap: 10px 16px;
  }

  .site-footer__link {
    font-size: 0.74rem;
  }
}

@media (max-width: 420px) {
  .header {
    padding: 10px;
  }

  .brand__media {
    width: 32px;
    height: 32px;
  }

  .brand__copy strong {
    font-size: 0.82rem;
  }

  .nav__link {
    min-height: 30px;
    padding: 0 9px;
    gap: 5px;
    font-size: 0.7rem;
  }

  .nav__icon,
  .header-action__icon {
    width: 11px;
    height: 11px;
  }

  .gui {
    padding-top: 148px;
  }

  @supports selector(.header:has(.nav--private)) {
    .header:has(.nav--private:not(.hidden)) {
      padding: 9px 10px;
      gap: 9px;
    }

    .header:has(.nav--private:not(.hidden)) .nav--private .nav__link {
      min-height: 32px;
      padding: 0 10px;
      font-size: 0.71rem;
    }
  }

  .hero__title {
    font-size: clamp(2.05rem, 12.2vw, 2.85rem);
  }

  .hero__title-accent {
    font-size: clamp(2.2rem, 12.8vw, 3rem);
  }

  .section-heading__title,
  .products-heading__title {
    font-size: clamp(1.72rem, 9.6vw, 2.3rem);
  }

  .private-sidebar__card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .private-sidebar__identity {
    text-align: center;
  }

  .private-sidebar__name-row {
    justify-content: center;
  }

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

@media (prefers-reduced-motion: reduce) {
  .header,
  .hero__content > *,
  .section-heading,
  .advantage-card,
  .products-heading,
  .product-card,
  .pricing-shell,
  .private-sidebar,
  .private-main,
  .private-tools-grid > *,
  .settings-layout > *,
  .auth-submit,
  .primary-btn,
  .login-button,
  .hero-primary,
  .header-auth__signup,
  .product-card__button,
  .pricing-buy-button {
    animation: none !important;
  }

  .advantage-card,
  .pricing-shell,
  .product-card,
  .private-sidebar__card,
  .private-info-card,
  .client-state-card,
  .settings-card,
  .settings-sidecard {
    transition: none !important;
  }
}
