:root {
  --bg: #030008;
  --bg-soft: rgba(18, 8, 34, 0.78);
  --panel: rgba(22, 10, 42, 0.72);
  --panel-strong: rgba(32, 12, 70, 0.92);
  --line: rgba(158, 96, 255, 0.24);
  --line-strong: rgba(193, 160, 255, 0.42);
  --text: #f1f9ff;
  --muted: #b7a8d8;
  --blue: #a66bff;
  --blue-strong: #7b2cff;
  --blue-soft: rgba(132, 62, 255, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --sidebar-width: 336px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: #020916;
  background:
    radial-gradient(circle at top left, rgba(77, 241, 255, 0.14), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(53, 159, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #031121 0%, #020916 100%);
  background-attachment: scroll;
  overscroll-behavior-y: none;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background-color: #020916;
  background:
    radial-gradient(circle at top left, rgba(77, 241, 255, 0.14), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(53, 159, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #031121 0%, #020916 100%);
  background-attachment: scroll;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(102, 232, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 232, 255, 0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
  pointer-events: none;
}

.ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(18px) saturate(132%) brightness(1.04);
  opacity: 0.82;
  transition:
    filter 260ms ease,
    opacity 260ms ease;
}

.ambient-orbs.is-flash {
  filter: blur(18px) saturate(158%) brightness(1.14);
  opacity: 0.94;
}

.ambient-orbs.is-flash .orb {
  opacity: min(1, calc(var(--orb-opacity, 0.68) + 0.18));
  filter: blur(var(--orb-blur, 18px)) saturate(148%) brightness(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -18px 32px rgba(14, 58, 112, 0.16),
    0 0 48px rgba(92, 255, 236, 0.18),
    0 0 140px rgba(39, 162, 255, 0.16);
}

.orb {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.9), rgba(224, 251, 255, 0.52) 14%, rgba(92, 255, 236, 0.3) 30%, rgba(38, 188, 255, 0.24) 46%, rgba(20, 86, 214, 0.14) 60%, rgba(7, 26, 48, 0.02) 74%, transparent 84%),
    radial-gradient(circle at 66% 68%, rgba(52, 246, 234, 0.18), transparent 44%),
    radial-gradient(circle at 74% 34%, rgba(66, 155, 255, 0.18), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -18px 32px rgba(14, 58, 112, 0.12),
    0 0 42px rgba(92, 255, 236, 0.12),
    0 0 120px rgba(39, 162, 255, 0.12);
  filter: blur(var(--orb-blur, 18px)) saturate(122%) brightness(1.12);
  opacity: var(--orb-opacity, 0.68);
  animation:
    orb-float 24s ease-in-out infinite,
    orb-pulse 10s ease-in-out infinite;
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb::before {
  inset: 10%;
  border: 1px solid rgba(168, 255, 246, 0.06);
  filter: blur(8px);
}

.orb::after {
  width: 34%;
  height: 34%;
  top: 10%;
  left: 14%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.84), rgba(188, 255, 247, 0.12) 60%, transparent 74%);
  filter: blur(14px);
  opacity: 0.88;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: -126px;
  left: -118px;
  --orb-blur: 28px;
  --orb-opacity: 0.62;
  animation-duration: 24s, 8s;
}

.orb-2 {
  width: 132px;
  height: 132px;
  top: 118px;
  left: 238px;
  --orb-blur: 18px;
  --orb-opacity: 0.62;
  animation-duration: 16s, 7s;
  animation-delay: -4s, -2s;
}

.orb-3 {
  width: 90px;
  height: 90px;
  top: 348px;
  left: 82px;
  --orb-blur: 14px;
  --orb-opacity: 0.56;
  animation-duration: 14s, 6s;
  animation-delay: -6s, -1.5s;
}

.orb-4 {
  width: 380px;
  height: 380px;
  top: -168px;
  right: -142px;
  --orb-blur: 34px;
  --orb-opacity: 0.6;
  animation-duration: 22s, 9s;
  animation-delay: -3s, -4s;
}

.orb-5 {
  width: 188px;
  height: 188px;
  top: 292px;
  right: 118px;
  --orb-blur: 20px;
  --orb-opacity: 0.62;
  animation-duration: 20s, 8s;
  animation-delay: -7s, -2.5s;
}

.orb-6 {
  width: 108px;
  height: 108px;
  top: 536px;
  right: 34px;
  --orb-blur: 16px;
  --orb-opacity: 0.54;
  animation-duration: 15s, 7s;
  animation-delay: -8s, -3s;
}

.orb-7 {
  width: 182px;
  height: 182px;
  top: 68%;
  left: 6%;
  --orb-blur: 22px;
  --orb-opacity: 0.58;
  animation-duration: 19s, 8s;
  animation-delay: -5s, -1s;
}

.orb-8 {
  width: 74px;
  height: 74px;
  top: 86%;
  left: 24%;
  --orb-blur: 12px;
  --orb-opacity: 0.5;
  animation-duration: 13s, 6s;
  animation-delay: -10s, -2s;
}

.orb-9 {
  width: 338px;
  height: 338px;
  top: 88%;
  right: -46px;
  --orb-blur: 30px;
  --orb-opacity: 0.56;
  animation-duration: 21s, 9s;
  animation-delay: -9s, -3.5s;
}

.orb-10 {
  width: 126px;
  height: 126px;
  top: 63%;
  right: 18%;
  --orb-blur: 18px;
  --orb-opacity: 0.5;
  animation-duration: 17s, 7s;
  animation-delay: -11s, -2.5s;
}

.orb-11 {
  width: 66px;
  height: 66px;
  top: 22%;
  right: 46%;
  --orb-blur: 10px;
  --orb-opacity: 0.44;
  animation-duration: 12s, 6s;
  animation-delay: -3s, -2s;
}

.orb-12 {
  width: 244px;
  height: 244px;
  top: 46%;
  left: 38%;
  --orb-blur: 24px;
  --orb-opacity: 0.34;
  animation-duration: 23s, 8s;
  animation-delay: -12s, -4s;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 32px;
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 18px 0 56px;
  z-index: 1;
}

.mobile-toolbar,
.mobile-overlay,
.sidebar-close {
  display: none;
}

.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(8, 31, 58, 0.72), rgba(4, 18, 34, 0.62));
  box-shadow: var(--shadow);
}

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

.sidebar-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sidebar-lang {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0;
  padding: 2px;
}

.sidebar-lang .lang-button {
  min-width: 38px;
  height: 25px;
  padding: 0 9px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(136, 241, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(104, 248, 255, 0.22), transparent 58%),
    linear-gradient(135deg, rgba(39, 170, 255, 0.96), rgba(72, 244, 230, 0.82));
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(31, 168, 255, 0.28);
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(116, 243, 255, 0.18);
  border-radius: 999px;
  transform: rotate(28deg);
}

.brand-mark::after {
  content: none;
}

.brand-mark.is-flash {
  transform: scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 22px rgba(92, 240, 255, 0.42),
    0 14px 30px rgba(31, 168, 255, 0.34);
  filter: saturate(1.18) brightness(1.16);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-copy small,
.sidebar-note span,
.section-kicker,
.card-label,
.route-badge {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin: 30px 0 0;
}

.side-nav a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 52px;
  padding: 12px 14px;
  padding-right: 34px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  overflow-wrap: anywhere;
  transition: 180ms ease;
}

.side-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(102, 232, 255, 0.26);
  border-radius: 50%;
  background: transparent;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(96, 234, 255, 0.08);
}

.side-nav a.active::after {
  border-color: rgba(102, 232, 255, 0.5);
  background: #78f4ff;
  box-shadow: 0 0 16px rgba(120, 244, 255, 0.92);
}

.hero-text,
.section-head p,
.step-card p,
.info-card p,
.setup-card p,
.tip-strip {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.content {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.hero,
.guide-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(8, 31, 58, 0.68), rgba(4, 18, 34, 0.58)),
    linear-gradient(135deg, rgba(96, 234, 255, 0.06), transparent 50%);
  box-shadow: var(--shadow);
}

.hero::after,
.guide-section::after {
  content: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 44px;
}

.hero-copy {
  min-width: 0;
  max-width: none;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-eyebrow {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.74rem;
  color: var(--blue);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(102, 232, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 31, 58, 0.58);
}

.lang-button {
  min-width: 56px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.lang-button.active {
  background: linear-gradient(135deg, rgba(39, 170, 255, 0.96), rgba(74, 244, 230, 0.78));
  color: #f8fbff;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(102, 232, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 31, 58, 0.76);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-pill-muted {
  margin-bottom: 18px;
  background: rgba(5, 20, 38, 0.72);
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  font-weight: 650;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 0.97;
}

.hero-title {
  max-width: 8ch;
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  line-height: 0.96;
}

.hero-title span {
  display: block;
}

.hero-title-single {
  max-width: min(100%, 13.5ch);
  white-space: normal;
  font-size: clamp(1.9rem, 3.3vw, 3.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title-single .hero-title-accent-inline {
  display: inline;
}

@media (min-width: 901px) {
  html[lang="ru"] .hero-title-single {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.8rem, 3vw, 3.15rem);
    text-wrap: auto;
  }
}

.hero-title-accent-inline {
  background:
    radial-gradient(circle at 20% 20%, rgba(241, 253, 255, 0.72), transparent 30%),
    linear-gradient(135deg, rgba(104, 247, 255, 1), rgba(46, 189, 255, 0.96));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(104, 247, 255, 0.18);
}

h2 {
  font-size: clamp(1.62rem, 2.35vw, 2.28rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.02rem;
  line-height: 1.28;
  font-weight: 600;
}

.hero-text {
  max-width: 56ch;
  margin-top: 20px;
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  border: 1px solid rgba(132, 241, 255, 0.24);
  background: linear-gradient(135deg, rgba(39, 170, 255, 0.96), rgba(74, 244, 230, 0.82));
  color: #f8fbff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(96, 234, 255, 0.08);
  color: var(--text);
}

.hero-route {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 39, 72, 0.66), rgba(4, 18, 34, 0.56)),
    radial-gradient(circle at bottom right, rgba(92, 248, 239, 0.12), transparent 34%);
}

.route-showcase {
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ef5ff;
  box-shadow: 0 0 18px rgba(126, 245, 255, 0.92);
}

.card-label {
  color: var(--muted);
  font-size: 0.72rem;
}

.route-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-inline li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px 20px;
  border: 1px solid rgba(102, 232, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 31, 58, 0.78), rgba(4, 18, 34, 0.68)),
    radial-gradient(circle at top left, rgba(96, 234, 255, 0.06), transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: center;
  line-height: 1.4;
  font-weight: 550;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.route-inline li strong {
  font-weight: 600;
}

.route-inline-accent {
  justify-content: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(236, 252, 255, 0.18), transparent 18%),
    radial-gradient(circle at 78% 50%, rgba(92, 248, 239, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(35, 167, 255, 0.98), rgba(72, 244, 230, 0.84));
  border-color: rgba(136, 241, 255, 0.24);
  color: #eff8ff;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(34, 170, 255, 0.18);
}

.route-inline-accent::before {
  content: none;
}

.route-inline li::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 700;
}

.route-inline li:last-child::after {
  content: none;
}

.route-badge {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.72rem;
}

.guide-section {
  padding: 40px;
}

.compact {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.info-card h3,
.setup-card h3,
.credentials-panel h3 {
  max-width: 100%;
}

.section-head p {
  margin-top: 16px;
  max-width: 64ch;
  overflow-wrap: anywhere;
}

.choice-strip {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(102, 232, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(10, 39, 72, 0.66), rgba(4, 18, 34, 0.56)),
    linear-gradient(135deg, rgba(96, 234, 255, 0.06), transparent 55%);
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.choice-strip strong {
  color: var(--text);
}

.choice-strip code {
  color: var(--text);
  font-family: "SFMono-Regular", "SF Mono", Monaco, Consolas, "Liberation Mono", monospace;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.step-card {
  position: relative;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 22, 40, 0.54);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 232, 255, 0.22);
  background: rgba(7, 25, 46, 0.62);
}

.step-card.highlighted {
  border-color: rgba(104, 232, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(10, 45, 83, 0.66), rgba(5, 21, 39, 0.56)),
    linear-gradient(135deg, rgba(96, 234, 255, 0.06), transparent 55%);
}

.step-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-card h3 {
  margin-bottom: 10px;
}

.info-grid,
.stack-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.info-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.info-card,
.setup-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 22, 40, 0.62);
}

.info-card h3,
.setup-card h3 {
  margin: 0 0 10px;
}

.info-card.wide {
  background:
    linear-gradient(180deg, rgba(10, 39, 72, 0.66), rgba(5, 21, 39, 0.56)),
    linear-gradient(135deg, rgba(96, 234, 255, 0.06), transparent 55%);
}

.flow-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 29, 52, 0.62), rgba(8, 19, 34, 0.56));
}

.flow-node {
  padding: 16px 18px;
  border: 1px solid rgba(102, 232, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 18, 32, 0.54);
  text-align: center;
  line-height: 1.5;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.flow-node.accent,
.highlighted-panel {
  border-color: rgba(104, 232, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(10, 45, 83, 0.66), rgba(5, 21, 39, 0.56)),
    linear-gradient(135deg, rgba(96, 234, 255, 0.06), transparent 55%);
}

.flow-arrow {
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

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

.stack-grid-bottom {
  margin-top: 16px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.credentials-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.credential-list {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.credential-item {
  padding: 16px 18px;
  border: 1px solid rgba(102, 232, 255, 0.14);
  border-radius: 18px;
  background: rgba(7, 18, 32, 0.5);
}

.credential-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credential-value {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.command-card {
  margin-top: 28px;
  background:
    linear-gradient(180deg, rgba(10, 39, 72, 0.66), rgba(5, 21, 39, 0.58)),
    linear-gradient(135deg, rgba(96, 234, 255, 0.06), transparent 55%);
}

.code-block-wrap {
  position: relative;
  margin-top: 16px;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  min-width: 78px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(136, 241, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 26%, rgba(241, 253, 255, 0.28), transparent 24%),
    radial-gradient(circle at 72% 76%, rgba(92, 248, 239, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(39, 170, 255, 0.96), rgba(72, 244, 230, 0.82));
  color: #f8fbff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(31, 168, 255, 0.22);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    opacity 180ms ease;
}

.info-card p,
.setup-card p,
.tip-strip,
.choice-strip,
.credential-value,
.page-signoff,
.page-signoff-text,
.page-signoff-handle {
  overflow-wrap: anywhere;
}

.section-head strong,
.choice-strip strong,
.info-card strong,
.setup-card strong,
.tip-strip strong,
.flow-node strong,
.credential-value strong,
.page-signoff strong {
  font-weight: 600;
}

.copy-button:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 248, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 20px rgba(92, 240, 255, 0.24),
    0 12px 28px rgba(31, 168, 255, 0.26);
}

.copy-button:active,
.copy-button.is-flash {
  transform: translateY(0) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 22px rgba(92, 240, 255, 0.42),
    0 14px 30px rgba(31, 168, 255, 0.34);
  filter: saturate(1.18) brightness(1.14);
}

.copy-button:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 3px rgba(102, 232, 255, 0.16),
    0 10px 24px rgba(31, 168, 255, 0.22);
}

.code-block {
  overflow-x: hidden;
  margin: 0;
  padding: 56px 18px 16px;
  border: 1px solid rgba(102, 232, 255, 0.12);
  border-radius: 18px;
  background: #04101d;
  color: #d9eeff;
  font-family: "SFMono-Regular", "SF Mono", Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.65;
}

.code-block code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tip-strip {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 30, 54, 0.48);
}

.page-signoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px 0;
  color: rgba(212, 227, 245, 0.56);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.page-signoff-handle {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 180ms ease;
}

.page-signoff-handle:hover {
  opacity: 0.86;
}

@keyframes orb-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(34px, -42px, 0) scale(1.08);
  }

  50% {
    transform: translate3d(-46px, 28px, 0) scale(0.95);
  }

  75% {
    transform: translate3d(28px, 44px, 0) scale(1.07);
  }

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

@keyframes orb-pulse {
  0%,
  100% {
    opacity: 0.74;
  }

  50% {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  html,
  body {
    background-color: #020916;
    overscroll-behavior-y: none;
  }

  body {
    background-attachment: scroll;
  }

  .ambient-orbs {
    will-change: auto;
  }

  .orb {
    animation: none;
    will-change: auto;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    gap: 14px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  }

  .mobile-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    z-index: 20;
    padding: 12px 14px;
    border: 1px solid rgba(102, 232, 255, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 31, 58, 0.78), rgba(4, 18, 34, 0.7));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .mobile-menu-button,
  .sidebar-close {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(102, 232, 255, 0.1);
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(8, 24, 46, 0.92), rgba(5, 16, 31, 0.9)),
      radial-gradient(circle at 50% 38%, rgba(102, 232, 255, 0.05), transparent 48%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 8px 18px rgba(0, 0, 0, 0.16);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-menu-icon {
    width: 15px;
    height: 15px;
    color: rgba(248, 251, 255, 0.98);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    filter: drop-shadow(0 0 8px rgba(102, 232, 255, 0.14));
  }

  .sidebar-close {
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 1.24rem;
    line-height: 1;
    transform: none;
  }

  .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
  }

  .mobile-brand .brand-mark,
  .sidebar .brand-mark {
    width: 30px;
    height: 30px;
  }

  .mobile-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .mobile-brand-copy strong,
  .sidebar .brand-copy strong {
    font-size: 0.9rem;
    font-weight: 650;
  }

  .mobile-brand-copy small,
  .sidebar .brand-copy small {
    color: var(--muted);
    font-size: 0.82rem;
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 24;
    background: rgba(1, 6, 14, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .sidebar {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    z-index: 26;
    width: min(84vw, 320px);
    max-width: calc(100vw - 20px);
    margin: 0;
    padding: 16px;
    overflow-y: auto;
    border-color: rgba(102, 232, 255, 0.24);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(7, 26, 48, 0.98), rgba(3, 13, 26, 0.96)),
      #04101d;
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.58),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateX(calc(-100% - 18px));
    transition: transform 220ms ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  body.menu-open .mobile-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .side-nav {
    gap: 4px;
    margin: 18px 0 0;
  }

  .sidebar-header {
    position: relative;
    display: block;
    padding-right: 48px;
  }

  .sidebar-brand-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sidebar .brand {
    width: 100%;
    align-items: flex-start;
  }

  .sidebar .brand-copy {
    max-width: 112px;
  }

  .sidebar .brand-copy strong {
    line-height: 1.02;
  }

  .sidebar-lang {
    align-self: flex-start;
    margin-left: 0;
  }

  .sidebar-lang .lang-button {
    min-width: 36px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.6rem;
  }

  .sidebar-close {
    position: absolute;
    top: 0;
    right: 0;
  }

  .side-nav a {
    padding: 11px 13px;
    padding-right: 32px;
    border-radius: 12px;
    font-size: 0.94rem;
    line-height: 1.35;
    min-height: 50px;
  }

  .side-nav a::after {
    right: 12px;
    width: 9px;
    height: 9px;
  }

  .content {
    gap: 14px;
  }

  .hero,
  .guide-section {
    padding: 20px;
    border-radius: 22px;
    scroll-margin-top: 76px;
  }

  .hero {
    gap: 18px;
  }

  .hero-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .section-kicker,
  .step-number,
  .credential-label {
    font-size: 0.72rem;
  }

  .hero-title-single {
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(1.42rem, 5.6vw, 1.82rem);
    line-height: 1;
    text-wrap: nowrap;
  }

  h2 {
    font-size: clamp(1.5rem, 6.4vw, 1.92rem);
  }

  h3 {
    font-size: 0.95rem;
  }

  .hero-text,
  .section-head p,
  .step-card p,
  .info-card p,
  .setup-card p,
  .tip-strip,
  .choice-strip,
  .credential-value,
  .page-signoff {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .lang-switch {
    padding: 3px;
  }

  .lang-button {
    min-width: 50px;
    height: 32px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .choice-strip,
  .tip-strip,
  .info-card,
  .setup-card,
  .credentials-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .step-grid,
  .info-grid,
  .credentials-grid,
  .stack-grid,
  .flow-card {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .credentials-grid,
  .stack-grid,
  .step-grid {
    gap: 12px;
    margin-top: 20px;
  }

  .flow-card {
    gap: 10px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
  }

  .flow-node {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.94rem;
  }

  .flow-arrow {
    font-size: 1.15rem;
    transform: rotate(90deg);
  }

  .route-showcase {
    margin-top: 20px;
  }

  .route-inline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .route-inline li {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
  }

  .route-inline-accent {
    font-size: 0.88rem;
    letter-spacing: 0.07em;
  }

  .route-inline li::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -12px;
    transform: translateX(50%);
  }

  .command-card,
  .code-block-wrap {
    margin-top: 14px;
  }

  .copy-button {
    top: 10px;
    right: 10px;
    min-width: 66px;
    height: 30px;
    font-size: 0.71rem;
    border-radius: 11px;
  }

  .code-block {
    padding: 48px 14px 14px;
    border-radius: 16px;
    font-size: 0.78rem;
    line-height: 1.58;
  }

  .page-signoff {
    padding: 2px 6px 0;
    font-size: 0.82rem;
  }

  .orb-1,
  .orb-4,
  .orb-9 {
    transform: scale(0.8);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--content-width));
  }

  .mobile-toolbar {
    padding: 10px 12px;
  }

  .mobile-menu-button,
  .sidebar-close {
    width: 34px;
    height: 34px;
  }

  .mobile-brand .brand-mark,
  .sidebar .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero,
  .guide-section {
    padding: 18px;
    border-radius: 20px;
    scroll-margin-top: 72px;
  }

  .hero-title-single {
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(1.26rem, 5.1vw, 1.52rem);
    line-height: 1;
  }

  .section-head p,
  .info-card p,
  .setup-card p,
  .choice-strip,
  .tip-strip {
    line-height: 1.56;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.66rem, 9.2vw, 2.3rem);
  }

  .choice-strip,
  .tip-strip,
  .info-card,
  .setup-card,
  .credentials-panel,
  .flow-card {
    padding: 16px;
  }

  .route-inline li {
    min-height: 68px;
  }

  .page-signoff-sep {
    display: inline;
  }
}


/* KWARK SENDER / ATOM Guide restyle */
html,
body {
  background-color: #020006;
  background:
    radial-gradient(circle at 50% -10%, rgba(121, 57, 255, 0.26), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(82, 21, 168, 0.26), transparent 28%),
    linear-gradient(180deg, #05000d 0%, #090014 46%, #020006 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(154, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 92, 255, 0.035) 1px, transparent 1px);
}

.ambient-orbs {
  display: none;
}

.sidebar,
.mobile-toolbar,
.hero,
.guide-section {
  border-color: rgba(166, 107, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(20, 10, 38, 0.82), rgba(7, 4, 15, 0.72)),
    linear-gradient(135deg, rgba(150, 70, 255, 0.1), transparent 58%);
  box-shadow:
    0 24px 86px rgba(0, 0, 0, 0.48),
    0 0 42px rgba(118, 45, 255, 0.08);
}

.hero {
  min-height: min(520px, calc(100vh - 72px));
  align-items: end;
  padding: clamp(28px, 5vw, 64px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2, 0, 6, 0.94) 0%, rgba(4, 0, 10, 0.72) 38%, rgba(4, 0, 12, 0.4) 74%, rgba(2, 0, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 0, 8, 0.08), rgba(2, 0, 8, 0.88)),
    url("./assets/kwark-sender-hero.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(136, 55, 255, 0.48) 48%, transparent 100%),
    radial-gradient(circle at 50% 76%, rgba(122, 43, 255, 0.44), transparent 34%);
  opacity: 0.42;
  mix-blend-mode: screen;
}

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

.hero-title-single,
html[lang="ru"] .hero-title-single {
  max-width: 12ch;
  white-space: normal;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(145, 82, 255, 0.55),
    0 14px 44px rgba(0, 0, 0, 0.72);
}

.hero-title-accent-inline {
  background:
    linear-gradient(180deg, #ffffff 0%, #d7c9ff 36%, #7e38ff 78%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-text {
  max-width: 58ch;
  color: #d8cef3;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.86);
}

.hero-eyebrow,
.section-kicker,
.step-number,
.page-signoff-handle,
.flow-arrow {
  color: #b98cff;
}

.brand-mark {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 7%, transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(153, 80, 255, 0.44), transparent 58%),
    linear-gradient(135deg, #7a25ff, #d9c6ff 52%, #5a13d6);
  border-color: rgba(214, 194, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 24px rgba(124, 42, 255, 0.46),
    0 16px 34px rgba(0, 0, 0, 0.3);
}

.brand-mark::before {
  inset: -8px;
  border-color: rgba(202, 178, 255, 0.38);
  border-radius: 50%;
  transform: rotate(34deg) scaleX(1.55);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(142, 80, 255, 0.34);
  border-radius: 50%;
  transform: rotate(-34deg) scaleX(1.55);
}

.side-nav a:hover,
.side-nav a.active,
.lang-button.active,
.copy-button,
.route-inline-accent {
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(99, 29, 232, 0.98), rgba(178, 132, 255, 0.84));
  border-color: rgba(210, 190, 255, 0.3);
  color: #fff;
}

.side-nav a.active::after,
.dot {
  background: #a66bff;
  border-color: rgba(215, 195, 255, 0.68);
  box-shadow: 0 0 18px rgba(166, 107, 255, 0.96);
}

.hero-route,
.choice-strip,
.info-card.wide,
.command-card,
.flow-node.accent,
.highlighted-panel {
  background:
    linear-gradient(180deg, rgba(36, 15, 72, 0.72), rgba(10, 5, 20, 0.62)),
    linear-gradient(135deg, rgba(142, 62, 255, 0.12), transparent 56%);
}

.info-card,
.setup-card,
.flow-card,
.credentials-panel,
.credential-item,
.flow-node,
.tip-strip,
.route-inline li {
  border-color: rgba(166, 107, 255, 0.2);
  background: rgba(12, 6, 24, 0.68);
}

.code-block {
  border-color: rgba(166, 107, 255, 0.18);
  background: #07020f;
  color: #eadfff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.copy-button:hover,
.brand-mark.is-flash,
.copy-button.is-flash {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 28px rgba(166, 107, 255, 0.48),
    0 14px 30px rgba(74, 20, 168, 0.34);
}

@media (max-width: 900px) {
  html,
  body {
    background-color: #020006;
  }

  .hero {
    min-height: 430px;
    background-position: center top;
  }

  .hero-title-single,
  html[lang="ru"] .hero-title-single {
    white-space: normal;
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .sidebar {
    background:
      linear-gradient(180deg, rgba(18, 8, 36, 0.98), rgba(6, 2, 14, 0.96)),
      #07020f;
  }
}

/* Mobile atom mark refinement */
@media (max-width: 900px) {
  .mobile-brand {
    gap: 18px;
  }

  .mobile-brand .brand-mark::before,
  .mobile-brand .brand-mark::after,
  .sidebar .brand-mark::before,
  .sidebar .brand-mark::after {
    inset: -4px;
    transform: rotate(34deg) scaleX(1.32);
  }

  .mobile-brand .brand-mark::after,
  .sidebar .brand-mark::after {
    transform: rotate(-34deg) scaleX(1.32);
  }
}


/* KWARK guide content cards */
.instruction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.guide-callout {
  position: relative;
  margin-top: 24px;
  padding: 22px 24px 22px 26px;
  border: 1px solid rgba(112, 255, 92, 0.24);
  border-left: 4px solid #6fff5f;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(26, 67, 54, 0.7), rgba(13, 36, 35, 0.58)),
    radial-gradient(circle at 92% 18%, rgba(111, 255, 95, 0.14), transparent 28%);
  color: #f2fff0;
  line-height: 1.62;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 44px rgba(0, 0, 0, 0.26);
}

.guide-callout::after {
  content: "”";
  position: absolute;
  top: 12px;
  right: 18px;
  color: #69ff55;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 18px rgba(105, 255, 85, 0.5);
}

.platform-list,
.tariff-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

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

.platform-list span,
.tariff-card {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(166, 107, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(28, 12, 58, 0.74), rgba(10, 5, 20, 0.66)),
    radial-gradient(circle at 50% 0%, rgba(165, 99, 255, 0.16), transparent 42%);
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.tariff-card {
  gap: 8px;
}

.tariff-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.tariff-card strong {
  color: #f7f2ff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  text-shadow: 0 0 22px rgba(166, 107, 255, 0.34);
}

.support-callout {
  max-width: 620px;
}

@media (max-width: 900px) {
  .platform-list,
  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .platform-list span,
  .tariff-card {
    min-height: 68px;
  }

  .guide-callout {
    padding: 18px 44px 18px 18px;
    border-radius: 16px;
  }
}

/* Purple atom atmosphere */
html,
body {
  background:
    radial-gradient(circle at 13% 8%, rgba(132, 60, 255, 0.3), transparent 24%),
    radial-gradient(circle at 88% 4%, rgba(95, 28, 202, 0.22), transparent 28%),
    radial-gradient(circle at 50% 105%, rgba(94, 23, 168, 0.22), transparent 38%),
    linear-gradient(180deg, #080014 0%, #0d001e 42%, #030008 100%);
}

body::before {
  opacity: 0.86;
  background-image:
    linear-gradient(rgba(171, 112, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 112, 255, 0.046) 1px, transparent 1px);
  background-size: 42px 42px;
}

.ambient-orbs {
  display: block;
  filter: blur(0) saturate(138%) brightness(1.08);
  opacity: 0.86;
}

.orb {
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.98) 0 5%, rgba(231, 215, 255, 0.72) 6% 12%, rgba(151, 83, 255, 0.34) 24%, rgba(82, 22, 178, 0.16) 48%, transparent 72%),
    radial-gradient(circle at 60% 66%, rgba(155, 75, 255, 0.22), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 26px rgba(177, 115, 255, 0.28),
    0 0 86px rgba(112, 44, 255, 0.22);
  filter: blur(var(--orb-blur, 0px)) saturate(128%) brightness(1.12);
  opacity: var(--orb-opacity, 0.46);
}

.orb::before,
.orb::after {
  border: 1px solid rgba(207, 179, 255, 0.32);
  background: transparent;
  box-shadow: 0 0 22px rgba(158, 89, 255, 0.18);
  filter: none;
  opacity: 0.72;
  transform-origin: center;
}

.orb::before {
  inset: -16%;
  transform: rotate(34deg) scaleX(1.62);
}

.orb::after {
  inset: -16%;
  width: auto;
  height: auto;
  top: -16%;
  left: -16%;
  transform: rotate(-34deg) scaleX(1.62);
}

.orb-1 {
  width: 220px;
  height: 220px;
  top: 58px;
  left: 34px;
  --orb-blur: 0px;
  --orb-opacity: 0.36;
}

.orb-2 {
  width: 118px;
  height: 118px;
  top: 236px;
  left: 280px;
  --orb-blur: 1px;
  --orb-opacity: 0.28;
}

.orb-3 {
  width: 76px;
  height: 76px;
  top: 590px;
  left: 128px;
  --orb-blur: 1px;
  --orb-opacity: 0.22;
}

.orb-4 {
  width: 260px;
  height: 260px;
  top: 40px;
  right: -74px;
  --orb-blur: 1px;
  --orb-opacity: 0.24;
}

.orb-5 {
  width: 146px;
  height: 146px;
  top: 420px;
  right: 130px;
  --orb-blur: 1px;
  --orb-opacity: 0.22;
}

.orb-6,
.orb-8,
.orb-11 {
  --orb-opacity: 0.16;
}

.orb-7,
.orb-9,
.orb-10,
.orb-12 {
  --orb-opacity: 0.2;
}

.page-shell::before {
  content: "";
  position: fixed;
  z-index: -1;
  width: clamp(260px, 30vw, 460px);
  aspect-ratio: 1;
  top: 150px;
  left: max(18px, calc((100vw - var(--content-width)) / 2 - 126px));
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 1.8%, transparent 2.1%),
    radial-gradient(circle at 50% 50%, rgba(202, 170, 255, 0.96) 0 10%, rgba(135, 68, 255, 0.62) 16%, rgba(76, 16, 171, 0.18) 33%, transparent 52%);
  box-shadow:
    0 0 42px rgba(178, 113, 255, 0.4),
    0 0 140px rgba(112, 36, 255, 0.26);
  opacity: 0.5;
  filter: saturate(118%) brightness(1.04);
}

.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: clamp(300px, 34vw, 520px);
  aspect-ratio: 1;
  top: 118px;
  left: max(-8px, calc((100vw - var(--content-width)) / 2 - 156px));
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(215, 194, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(132, 69, 255, 0.1),
    0 0 48px rgba(135, 68, 255, 0.18);
  opacity: 0.58;
  transform: rotate(28deg) scaleX(1.55);
}

.sidebar,
.mobile-toolbar,
.hero,
.guide-section {
  background:
    linear-gradient(180deg, rgba(20, 8, 38, 0.54), rgba(6, 2, 14, 0.42)),
    linear-gradient(135deg, rgba(156, 86, 255, 0.08), rgba(255, 255, 255, 0.018) 46%, transparent 78%);
  border-color: rgba(186, 137, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 24px 88px rgba(0, 0, 0, 0.42),
    0 0 52px rgba(128, 47, 255, 0.08);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.hero {
  background:
    linear-gradient(90deg, rgba(2, 0, 6, 0.78) 0%, rgba(4, 0, 10, 0.54) 38%, rgba(4, 0, 12, 0.26) 74%, rgba(2, 0, 6, 0.56) 100%),
    linear-gradient(180deg, rgba(2, 0, 8, 0.02), rgba(2, 0, 8, 0.64)),
    url("./assets/kwark-sender-hero.png") center / cover no-repeat;
}

.info-card,
.setup-card,
.flow-card,
.credentials-panel,
.credential-item,
.flow-node,
.tip-strip,
.route-inline li,
.platform-list span,
.tariff-card {
  background:
    linear-gradient(180deg, rgba(20, 8, 38, 0.5), rgba(8, 3, 18, 0.38)),
    radial-gradient(circle at 50% 0%, rgba(165, 99, 255, 0.13), transparent 44%);
  border-color: rgba(186, 137, 255, 0.18);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
}

.hero-route,
.choice-strip,
.info-card.wide,
.command-card,
.flow-node.accent,
.highlighted-panel {
  background:
    linear-gradient(180deg, rgba(42, 17, 82, 0.52), rgba(9, 4, 21, 0.42)),
    linear-gradient(135deg, rgba(155, 78, 255, 0.12), transparent 58%);
}

.guide-callout {
  background:
    linear-gradient(180deg, rgba(28, 69, 56, 0.58), rgba(12, 36, 35, 0.44)),
    radial-gradient(circle at 92% 18%, rgba(111, 255, 95, 0.13), transparent 28%);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
}

@media (max-width: 900px) {
  .page-shell::before {
    width: 250px;
    top: 90px;
    left: -92px;
    opacity: 0.24;
  }

  .page-shell::after {
    width: 300px;
    top: 66px;
    left: -126px;
    opacity: 0.28;
  }

  .ambient-orbs {
    opacity: 0.44;
  }

  .orb {
    animation: none;
  }
}

/* Soft purple glow background */
.ambient-orbs {
  display: block;
  filter: blur(26px) saturate(132%) brightness(1.05);
  opacity: 0.72;
}

.orb {
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 48%, rgba(232, 205, 255, 0.84) 0 5%, rgba(181, 103, 255, 0.42) 16%, rgba(112, 40, 190, 0.22) 36%, rgba(44, 11, 82, 0.04) 64%, transparent 78%);
  box-shadow:
    0 0 40px rgba(184, 102, 255, 0.22),
    0 0 120px rgba(111, 42, 190, 0.2);
  filter: blur(var(--orb-blur, 20px)) saturate(125%) brightness(1.08);
  opacity: var(--orb-opacity, 0.44);
}

.orb::before,
.orb::after {
  content: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: 108px;
  left: 62px;
  --orb-blur: 34px;
  --orb-opacity: 0.46;
}

.orb-2 {
  width: 128px;
  height: 128px;
  top: 378px;
  left: 442px;
  --orb-blur: 24px;
  --orb-opacity: 0.36;
}

.orb-3 {
  width: 92px;
  height: 92px;
  top: 626px;
  left: 286px;
  --orb-blur: 18px;
  --orb-opacity: 0.3;
}

.orb-4 {
  width: 260px;
  height: 260px;
  top: 14px;
  right: -34px;
  --orb-blur: 36px;
  --orb-opacity: 0.34;
}

.orb-5 {
  width: 150px;
  height: 150px;
  top: 500px;
  right: 210px;
  --orb-blur: 26px;
  --orb-opacity: 0.32;
}

.orb-6 {
  width: 86px;
  height: 86px;
  top: 720px;
  right: 66px;
  --orb-blur: 18px;
  --orb-opacity: 0.24;
}

.orb-7 {
  width: 190px;
  height: 190px;
  top: 70%;
  left: 4%;
  --orb-blur: 32px;
  --orb-opacity: 0.32;
}

.orb-8,
.orb-10,
.orb-11 {
  --orb-opacity: 0.2;
  --orb-blur: 20px;
}

.orb-9,
.orb-12 {
  --orb-opacity: 0.26;
  --orb-blur: 30px;
}

.page-shell::before,
.page-shell::after {
  content: none;
}

.brand-mark {
  border-color: rgba(198, 158, 255, 0.28);
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.98) 0 5%, rgba(241, 224, 255, 0.82) 6% 13%, rgba(174, 101, 255, 0.58) 30%, rgba(103, 34, 210, 0.34) 55%, rgba(42, 10, 82, 0.08) 76%),
    linear-gradient(135deg, rgba(147, 70, 255, 0.96), rgba(205, 176, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 24px rgba(171, 98, 255, 0.42),
    0 12px 28px rgba(95, 31, 192, 0.26);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(200, 165, 255, 0.28);
  border-radius: 999px;
  transform: rotate(28deg);
  box-shadow: 0 0 18px rgba(151, 83, 255, 0.14);
}

.brand-mark::after {
  content: none;
}

.brand-mark.is-flash {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 24px rgba(182, 113, 255, 0.48),
    0 14px 30px rgba(95, 31, 192, 0.34);
}

@media (max-width: 900px) {
  .ambient-orbs {
    opacity: 0.5;
    filter: blur(24px) saturate(124%) brightness(1.04);
  }

  .orb {
    animation: none;
  }

  .mobile-brand .brand-mark::before,
  .sidebar .brand-mark::before {
    inset: -4px;
    transform: rotate(28deg);
  }

  .mobile-brand .brand-mark::after,
  .sidebar .brand-mark::after {
    content: none;
  }
}


/* Original-style purple brand atom refinement */
.brand-mark {
  overflow: visible;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 4%, transparent 4.6%),
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.68), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(221, 196, 255, 0.86) 0 18%, rgba(169, 96, 255, 0.72) 34%, rgba(91, 23, 194, 0.38) 58%, rgba(39, 8, 82, 0.06) 78%);
  border-color: rgba(205, 171, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 22px rgba(180, 104, 255, 0.42),
    0 12px 28px rgba(90, 28, 180, 0.24);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -9px -13px;
  border: 1.35px solid rgba(202, 166, 255, 0.42);
  border-radius: 999px;
  background: transparent;
  box-shadow:
    0 0 12px rgba(157, 89, 255, 0.22),
    inset 0 0 10px rgba(203, 172, 255, 0.06);
  transform: rotate(28deg);
}

.brand-mark::after {
  content: none;
}

@media (max-width: 900px) {
  .mobile-brand .brand-mark::before,
  .sidebar .brand-mark::before {
    inset: -6px -9px;
    transform: rotate(28deg);
  }
}


/* Original API purple atoms final */
.ambient-orbs {
  display: block;
  filter: blur(18px) saturate(132%) brightness(1.08);
  opacity: 0.82;
}

.ambient-orbs.is-flash {
  filter: blur(18px) saturate(158%) brightness(1.16);
  opacity: 0.94;
}

.ambient-orbs.is-flash .orb {
  opacity: min(1, calc(var(--orb-opacity, 0.68) + 0.18));
  filter: blur(var(--orb-blur, 18px)) saturate(154%) brightness(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 32px rgba(68, 18, 132, 0.2),
    0 0 48px rgba(183, 112, 255, 0.24),
    0 0 140px rgba(117, 45, 255, 0.2);
}

.orb {
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.94), rgba(244, 232, 255, 0.58) 14%, rgba(199, 134, 255, 0.34) 30%, rgba(151, 77, 255, 0.28) 46%, rgba(84, 26, 190, 0.16) 60%, rgba(16, 4, 34, 0.02) 74%, transparent 84%),
    radial-gradient(circle at 66% 68%, rgba(190, 96, 255, 0.2), transparent 44%),
    radial-gradient(circle at 74% 34%, rgba(126, 72, 255, 0.2), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -18px 32px rgba(68, 18, 132, 0.14),
    0 0 42px rgba(185, 112, 255, 0.16),
    0 0 120px rgba(118, 45, 255, 0.14);
  filter: blur(var(--orb-blur, 18px)) saturate(126%) brightness(1.14);
  opacity: var(--orb-opacity, 0.68);
}

.orb::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(222, 198, 255, 0.08);
  border-radius: 50%;
  background: transparent;
  filter: blur(8px);
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.orb::after {
  content: "";
  position: absolute;
  width: 34%;
  height: 34%;
  top: 10%;
  left: 14%;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), rgba(218, 184, 255, 0.16) 60%, transparent 74%);
  filter: blur(14px);
  opacity: 0.9;
  transform: none;
  box-shadow: none;
}

.orb-1 { width: 320px; height: 320px; top: -126px; left: -118px; --orb-blur: 28px; --orb-opacity: 0.62; }
.orb-2 { width: 132px; height: 132px; top: 118px; left: 238px; --orb-blur: 18px; --orb-opacity: 0.62; }
.orb-3 { width: 90px; height: 90px; top: 348px; left: 82px; --orb-blur: 14px; --orb-opacity: 0.56; }
.orb-4 { width: 380px; height: 380px; top: -168px; right: -142px; --orb-blur: 34px; --orb-opacity: 0.6; }
.orb-5 { width: 188px; height: 188px; top: 292px; right: 118px; --orb-blur: 20px; --orb-opacity: 0.62; }
.orb-6 { width: 108px; height: 108px; top: 536px; right: 34px; --orb-blur: 16px; --orb-opacity: 0.54; }
.orb-7 { width: 182px; height: 182px; top: 68%; left: 6%; --orb-blur: 22px; --orb-opacity: 0.58; }
.orb-8 { width: 74px; height: 74px; top: 86%; left: 24%; --orb-blur: 12px; --orb-opacity: 0.5; }
.orb-9 { width: 338px; height: 338px; top: 88%; right: -46px; --orb-blur: 30px; --orb-opacity: 0.56; }
.orb-10 { width: 126px; height: 126px; top: 63%; right: 18%; --orb-blur: 18px; --orb-opacity: 0.5; }
.orb-11 { width: 66px; height: 66px; top: 22%; right: 46%; --orb-blur: 10px; --orb-opacity: 0.44; }
.orb-12 { width: 244px; height: 244px; top: 46%; left: 38%; --orb-blur: 24px; --orb-opacity: 0.34; }

.page-shell::before,
.page-shell::after {
  content: none;
}

.brand-mark {
  overflow: visible;
  border-color: rgba(200, 158, 255, 0.28);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96) 0 5%, transparent 5.8%),
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.64), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(224, 198, 255, 0.86) 0 17%, rgba(166, 91, 255, 0.72) 36%, rgba(82, 20, 178, 0.46) 58%, rgba(24, 4, 54, 0.1) 78%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 22px rgba(177, 105, 255, 0.44),
    0 0 44px rgba(101, 36, 202, 0.2);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(206, 171, 255, 0.26);
  border-radius: 999px;
  background: transparent;
  transform: none;
  filter: none;
  box-shadow:
    0 0 0 1px rgba(145, 76, 255, 0.08),
    0 0 18px rgba(155, 87, 255, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(179, 120, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  transform: none;
  box-shadow: 0 0 24px rgba(136, 70, 255, 0.12);
}

@media (max-width: 900px) {
  .ambient-orbs {
    opacity: 0.62;
    filter: blur(18px) saturate(128%) brightness(1.08);
  }

  .orb {
    animation: none;
  }

  .mobile-brand .brand-mark::before,
  .sidebar .brand-mark::before {
    inset: -6px;
    transform: none;
  }

  .mobile-brand .brand-mark::after,
  .sidebar .brand-mark::after {
    content: "";
    inset: -11px;
    transform: none;
  }
}


/* Simple original-style purple logo orb */
.brand-mark {
  overflow: hidden;
  border: 1px solid rgba(197, 166, 255, 0.28);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.52), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(207, 168, 255, 0.96) 0 18%, rgba(160, 85, 255, 0.92) 48%, rgba(91, 25, 205, 0.94) 76%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -14px 22px rgba(56, 12, 130, 0.28),
    0 0 18px rgba(172, 102, 255, 0.42),
    0 10px 26px rgba(78, 25, 170, 0.28);
}

.brand-mark::before,
.brand-mark::after {
  content: none;
}

.brand-mark.is-flash {
  transform: scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -14px 22px rgba(56, 12, 130, 0.22),
    0 0 28px rgba(195, 139, 255, 0.62),
    0 0 56px rgba(130, 63, 255, 0.32),
    0 14px 30px rgba(78, 25, 170, 0.34);
  filter: saturate(1.2) brightness(1.16);
}

@media (max-width: 900px) {
  .mobile-brand .brand-mark::before,
  .mobile-brand .brand-mark::after,
  .sidebar .brand-mark::before,
  .sidebar .brand-mark::after {
    content: none;
  }
}

/* Brand copy single-line refinement */
.brand {
  gap: 16px;
}

.brand-copy,
.mobile-brand-copy {
  min-width: max-content;
}

.brand-copy strong,
.mobile-brand-copy strong {
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-copy small,
.mobile-brand-copy small {
  white-space: nowrap;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .mobile-brand-copy,
  .sidebar .brand-copy {
    max-width: none;
    min-width: max-content;
  }
}

/* Hero KWARK Guide full blurred artwork */
.hero {
  background:
    linear-gradient(90deg, rgba(2, 0, 6, 0.88) 0%, rgba(4, 0, 10, 0.6) 42%, rgba(4, 0, 12, 0.36) 74%, rgba(2, 0, 6, 0.7) 100%),
    radial-gradient(circle at 50% 78%, rgba(122, 43, 255, 0.28), transparent 38%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -2;
  background: url("./assets/kwark-sender-hero.png") center / contain no-repeat;
  filter: blur(7px) saturate(118%) brightness(0.82);
  opacity: 0.82;
  transform: scale(1.015);
}

.hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 0, 6, 0.62) 0%, rgba(5, 0, 14, 0.32) 44%, rgba(2, 0, 6, 0.58) 100%),
    radial-gradient(circle at 50% 74%, rgba(126, 43, 255, 0.36), transparent 36%);
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-title-single,
html[lang="ru"] .hero-title-single {
  max-width: 11ch;
}

@media (max-width: 900px) {
  .hero::after {
    inset: 14px;
    background-size: contain;
    filter: blur(5px) saturate(116%) brightness(0.84);
    opacity: 0.86;
  }
}

/* Bright purple guide callouts */
.guide-callout {
  border-color: rgba(185, 103, 255, 0.38);
  border-left-color: #b95cff;
  background:
    linear-gradient(180deg, rgba(52, 17, 90, 0.72), rgba(22, 7, 44, 0.58)),
    radial-gradient(circle at 92% 18%, rgba(197, 97, 255, 0.2), transparent 30%);
  color: #f7efff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 28px rgba(174, 80, 255, 0.16),
    0 18px 44px rgba(0, 0, 0, 0.26);
}

.guide-callout::after {
  color: #c45dff;
  text-shadow:
    0 0 16px rgba(196, 93, 255, 0.62),
    0 0 34px rgba(143, 48, 255, 0.32);
}

/* Remove hero background artwork */
.hero::after {
  content: none;
  background: none;
}

.hero {
  background:
    linear-gradient(180deg, rgba(8, 2, 18, 0.9), rgba(5, 1, 12, 0.76)),
    radial-gradient(circle at 32% 70%, rgba(127, 42, 255, 0.24), transparent 34%),
    radial-gradient(circle at 78% 26%, rgba(113, 48, 210, 0.16), transparent 28%);
}

/* Hero vertical centering */
.hero {
  align-items: center;
}

.hero-copy {
  align-self: center;
}

@media (max-width: 900px) {
  .hero {
    align-items: center;
  }
}

/* Original API translucent nav highlight */
.side-nav a:hover,
.side-nav a.active {
  color: var(--text);
  border-color: rgba(190, 142, 255, 0.26);
  background:
    radial-gradient(circle at 22% 28%, rgba(214, 180, 255, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(145, 78, 255, 0.22), rgba(181, 130, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 22px rgba(154, 84, 255, 0.12);
}

.side-nav a:hover {
  background:
    radial-gradient(circle at 22% 28%, rgba(214, 180, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(145, 78, 255, 0.16), rgba(181, 130, 255, 0.08));
}

.side-nav a.active::after {
  border-color: rgba(211, 181, 255, 0.5);
  background: rgba(185, 112, 255, 0.42);
  box-shadow:
    0 0 12px rgba(190, 118, 255, 0.7),
    0 0 24px rgba(143, 69, 255, 0.28);
}

/* Mobile responsive polish */
@media (max-width: 900px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--content-width));
    gap: 14px;
  }

  .mobile-toolbar {
    min-height: 62px;
  }

  .hero {
    display: flex;
    min-height: clamp(360px, 58vw, 430px);
    padding: clamp(30px, 6vw, 44px);
    align-items: center;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
  }

  .hero-topbar {
    margin-bottom: clamp(10px, 2vw, 16px);
  }

  .hero-eyebrow {
    font-size: clamp(0.68rem, 1.6vw, 0.82rem);
    letter-spacing: 0.12em;
  }

  .hero-title-single,
  html[lang="ru"] .hero-title-single {
    max-width: 8.5ch;
    white-space: normal;
    font-size: clamp(4.35rem, 13vw, 6.25rem);
    line-height: 0.86;
  }

  .hero-text {
    max-width: 42ch;
    margin-top: clamp(18px, 3vw, 24px);
    font-size: clamp(1.04rem, 2.3vw, 1.22rem);
    line-height: 1.62;
  }

  .guide-section {
    padding: clamp(24px, 5vw, 36px);
  }

  .section-head p,
  .info-card p,
  .setup-card p,
  .tip-strip,
  .choice-strip,
  .credential-value {
    font-size: clamp(0.98rem, 2.1vw, 1.08rem);
    line-height: 1.62;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 380px;
    padding: 28px;
  }

  .hero-title-single,
  html[lang="ru"] .hero-title-single {
    font-size: clamp(3.8rem, 18vw, 4.7rem);
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.58;
  }
}

/* Compact hero block sizing */
.hero {
  min-height: auto;
  padding: clamp(42px, 5vw, 58px) clamp(48px, 6vw, 72px);
}

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

@media (min-width: 901px) {
  .hero {
    width: min(100%, 820px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: clamp(28px, 6vw, 40px);
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: auto;
    padding: 28px;
  }
}

/* Combined tariffs and support block */
.combined-support {
  margin-top: 34px;
  padding-top: 34px;
  scroll-margin-top: 24px;
  border-top: 1px solid rgba(186, 137, 255, 0.2);
}

.guide-callout {
  border-color: rgba(217, 132, 255, 0.66);
  border-left-color: #dc63ff;
  background:
    linear-gradient(180deg, rgba(82, 24, 140, 0.86), rgba(35, 8, 72, 0.72)),
    radial-gradient(circle at 92% 18%, rgba(228, 104, 255, 0.36), transparent 30%),
    radial-gradient(circle at 16% 100%, rgba(166, 74, 255, 0.22), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 34px rgba(214, 110, 255, 0.08),
    0 0 34px rgba(201, 85, 255, 0.28),
    0 18px 46px rgba(0, 0, 0, 0.3);
}

.guide-callout::after {
  color: #ea7cff;
  text-shadow:
    0 0 18px rgba(234, 124, 255, 0.78),
    0 0 42px rgba(173, 64, 255, 0.52);
}

.guide-callout.support-callout {
  background:
    linear-gradient(180deg, rgba(91, 28, 154, 0.9), rgba(38, 9, 78, 0.76)),
    radial-gradient(circle at 92% 18%, rgba(238, 116, 255, 0.42), transparent 30%),
    radial-gradient(circle at 10% 100%, rgba(178, 78, 255, 0.26), transparent 44%);
}

@media (max-width: 900px) {
  .combined-support {
    margin-top: 28px;
    padding-top: 28px;
  }

  .guide-callout {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 0 28px rgba(201, 85, 255, 0.24),
      0 14px 34px rgba(0, 0, 0, 0.28);
  }
}


/* Original API-style purple route arrows */
.route-arrow {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 12px;
  margin: 0 4px;
  vertical-align: -1px;
  filter: drop-shadow(0 0 5px rgba(203, 112, 255, 0.76));
}

.route-arrow::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9b4dff, #df82ff);
}

.route-arrow::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #df82ff;
}

@media (max-width: 520px) {
  .route-arrow {
    width: 20px;
    margin: 0 2px;
  }

  .route-arrow::before {
    width: 14px;
  }
}


/* Original API typography adapted to the purple theme */
.guide-section h2 {
  color: #f5f1ff;
  font-size: clamp(2rem, 2.8vw, 2.45rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-kicker,
.step-number {
  color: #c58fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.section-head p,
.info-card p,
.setup-card p {
  color: #b9abd5;
  font-size: 1.05rem;
  font-weight: 450;
  line-height: 1.65;
}

.info-card h3,
.setup-card h3 {
  color: #f3edff;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.guide-callout {
  padding: 18px 20px;
  border-color: rgba(188, 116, 255, 0.42);
  border-left-width: 1px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(27, 12, 52, 0.76), rgba(13, 6, 28, 0.68)),
    radial-gradient(circle at 10% 0%, rgba(170, 78, 255, 0.13), transparent 42%);
  color: #bcaed8;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.65;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 16px 38px rgba(0, 0, 0, 0.24);
}

.guide-callout strong {
  color: #f7f2ff;
  font-weight: 600;
}

.guide-callout::after {
  color: #ca72ff;
  opacity: 0.92;
  text-shadow: 0 0 18px rgba(196, 93, 255, 0.54);
}

.guide-callout.support-callout {
  background:
    linear-gradient(180deg, rgba(31, 14, 59, 0.78), rgba(14, 6, 30, 0.7)),
    radial-gradient(circle at 10% 0%, rgba(178, 84, 255, 0.15), transparent 42%);
}

.platform-list span,
.tariff-card {
  font-weight: 600;
}

.tariff-card span {
  font-weight: 500;
}

@media (max-width: 900px) {
  .guide-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .section-head p,
  .info-card p,
  .setup-card p {
    font-size: 1rem;
  }

  .guide-callout {
    padding: 18px;
    font-size: 0.98rem;
  }
}


/* Translucent hero panel */
.hero {
  background:
    linear-gradient(180deg, rgba(18, 7, 35, 0.56), rgba(7, 3, 16, 0.44)),
    radial-gradient(circle at 32% 70%, rgba(127, 42, 255, 0.18), transparent 38%),
    radial-gradient(circle at 78% 26%, rgba(153, 77, 255, 0.12), transparent 32%);
  border-color: rgba(186, 137, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 72px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(128, 47, 255, 0.08);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
}


/* Optical left alignment for the hero title */
.hero-title-single,
html[lang="ru"] .hero-title-single {
  margin-left: -5px;
}

@media (max-width: 900px) {
  .hero-title-single,
  html[lang="ru"] .hero-title-single {
    margin-left: -3px;
  }
}


/* Align the hero description with the visible title edge */
.hero-text {
  margin-left: 5px;
}

@media (max-width: 900px) {
  .hero-text {
    margin-left: 3px;
  }
}


/* Highlighted setup summaries */
.setup-card .setup-summary {
  position: relative;
  margin-top: 14px;
  padding: 13px 38px 13px 16px;
  border-left: 3px solid #c966ff;
  border-top: 1px solid rgba(205, 126, 255, 0.2);
  border-bottom: 1px solid rgba(205, 126, 255, 0.14);
  border-radius: 0 12px 12px 0;
  background:
    linear-gradient(90deg, rgba(139, 54, 224, 0.16), rgba(77, 25, 132, 0.06) 72%, transparent);
  box-shadow:
    inset 10px 0 24px rgba(158, 68, 242, 0.06),
    0 0 22px rgba(171, 73, 255, 0.08);
}

.setup-card .setup-summary::after {
  content: "”";
  position: absolute;
  top: 7px;
  right: 12px;
  color: #dd83ff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.9;
  text-shadow: 0 0 16px rgba(207, 103, 255, 0.58);
}

@media (max-width: 520px) {
  .setup-card .setup-summary {
    padding: 12px 32px 12px 13px;
  }

  .setup-card .setup-summary::after {
    right: 9px;
  }
}


/* Settings cards layout */
.setup-card-wide {
  grid-column: 1 / -1;
}

.account-rotation-card {
  min-height: 150px;
}

@media (max-width: 900px) {
  .setup-card-wide {
    grid-column: auto;
  }

  .account-rotation-card {
    min-height: 0;
  }
}


/* Final mailing launch card */
.launch-ready-card {
  border-color: rgba(211, 139, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(67, 24, 112, 0.58), rgba(17, 7, 35, 0.5)),
    radial-gradient(circle at 86% 18%, rgba(207, 99, 255, 0.18), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 30px rgba(180, 75, 255, 0.1);
}

.launch-ready-card h3 {
  color: #ffffff;
  font-size: 1.12rem;
}


/* Support account link */
.support-account-link {
  display: inline-block;
  margin-left: 5px;
  color: #dc8cff;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.support-account-link:hover,
.support-account-link:focus-visible {
  color: #f0c5ff;
  text-decoration: underline;
  text-shadow: 0 0 14px rgba(216, 118, 255, 0.56);
}

.support-account-link:focus-visible {
  outline: 2px solid rgba(218, 132, 255, 0.42);
  outline-offset: 3px;
  border-radius: 4px;
}


/* True translucent hero surface */
.hero {
  background:
    linear-gradient(180deg, rgba(20, 8, 38, 0.48), rgba(6, 2, 14, 0.34)),
    linear-gradient(135deg, rgba(156, 86, 255, 0.08), rgba(255, 255, 255, 0.018) 46%, transparent 78%);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
}

.hero::before {
  content: none;
}


/* Stretch the account summary to the card bottom */
.setup-card.highlighted-panel {
  display: flex;
  flex-direction: column;
}

.setup-card.highlighted-panel .setup-summary {
  flex: 1;
  width: 100%;
}



/* Final purple controls */
.lang-switch {
  border-color: rgba(185, 118, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(31, 12, 58, 0.78), rgba(13, 5, 28, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 18px rgba(145, 61, 235, 0.1);
}

.lang-button {
  color: #c8b7df;
}

.lang-button:hover {
  color: #ffffff;
}

.lang-button.active {
  border-color: rgba(222, 185, 255, 0.34);
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.25), transparent 24%),
    linear-gradient(135deg, #7d2be8, #b76cff);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 18px rgba(174, 91, 255, 0.28);
}

.side-nav a::after {
  border-color: rgba(176, 111, 255, 0.34);
}

@media (max-width: 900px) {
  .mobile-menu-button,
  .sidebar-close {
    border-color: rgba(176, 111, 255, 0.3);
    background:
      linear-gradient(180deg, rgba(30, 11, 58, 0.94), rgba(12, 5, 27, 0.92)),
      radial-gradient(circle at 50% 38%, rgba(186, 111, 255, 0.1), transparent 48%);
    color: #f8f2ff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 18px rgba(139, 56, 228, 0.14),
      0 8px 18px rgba(0, 0, 0, 0.18);
  }

  .mobile-menu-icon {
    color: #f8f2ff;
    filter: drop-shadow(0 0 8px rgba(183, 102, 255, 0.28));
  }

  .mobile-toolbar {
    border-color: rgba(176, 111, 255, 0.24);
    background:
      linear-gradient(180deg, rgba(28, 10, 52, 0.78), rgba(10, 4, 23, 0.7));
  }

  .sidebar {
    border-color: rgba(176, 111, 255, 0.32);
  }
}
