:root {
  color-scheme: dark;
  --bg: #080b12;
  --bg-deep: #05070b;
  --surface: rgba(18, 25, 37, 0.72);
  --surface-2: rgba(25, 35, 50, 0.64);
  --surface-3: rgba(32, 44, 61, 0.58);
  --text: #f4f7fb;
  --text-soft: #c7d0dc;
  --muted: #8e9aaa;
  --line: rgba(132, 164, 204, 0.2);
  --line-strong: rgba(148, 181, 222, 0.34);
  --blue: #2684ff;
  --blue-bright: #55a4ff;
  --blue-soft: rgba(38, 132, 255, 0.14);
  --green: #29cc91;
  --green-soft: rgba(41, 204, 145, 0.13);
  --red: #ff6673;
  --red-soft: rgba(255, 102, 115, 0.13);
  --amber: #ffbf5b;
  --glass-highlight: rgba(255, 255, 255, 0.075);
  --glass-shadow: 0 22px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 var(--glass-highlight);
  --shadow: var(--glass-shadow);
  --content: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(86, 130, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 130, 184, 0.035) 1px, transparent 1px),
    linear-gradient(122deg, rgba(38, 132, 255, 0.09), transparent 30%, transparent 72%, rgba(41, 204, 145, 0.045));
  background-size: 40px 40px, 40px 40px, auto;
  mask-image: linear-gradient(to bottom, #000 0, transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, #080b12 0%, #0a101a 46%, #070a10 100%);
}

::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
.button,
input,
label,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1 {
  max-width: 19ch;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 750;
}

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fff;
  color: #07111f;
  font-weight: 700;
  transform: translateY(-140%);
}

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

:focus-visible {
  outline: 3px solid rgba(85, 164, 255, 0.72);
  outline-offset: 3px;
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(69, 87, 111, 0.55);
  background: rgba(8, 12, 20, 0.66);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.025), 0 12px 42px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.site-header {
  width: min(var(--content), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.logo-frame {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(85, 164, 255, 0.55);
  border-radius: 50%;
  background: #0f1a29;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-copy small {
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.header-link {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.header-link:hover,
.footer-nav a:hover,
.gateway-links a:hover,
.back-link:hover {
  color: var(--blue-bright);
}

.header-actions,
.hero-actions,
.product-actions,
.actions-row,
.account-actions,
.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-actions {
  justify-content: flex-end;
}

.button,
button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(38, 132, 255, 0.88);
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 32px rgba(20, 94, 204, 0.2);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
button:hover {
  border-color: var(--blue-bright);
  background: var(--blue-bright);
  color: #07111f;
  transform: translateY(-1px);
}

.button.compact,
button.compact {
  min-height: 40px;
  padding: 0 14px;
}

.button.secondary,
.button.ghost,
button.secondary,
button.ghost {
  border-color: var(--line-strong);
  background: rgba(27, 38, 54, 0.56);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 28px rgba(0, 0, 0, 0.12);
}

.button.secondary:hover,
.button.ghost:hover,
button.secondary:hover,
button.ghost:hover {
  border-color: var(--blue-bright);
  background: var(--blue-soft);
  color: #fff;
}

.button.success,
button.success {
  border-color: var(--green);
  background: var(--green);
  color: #04130e;
}

.button:disabled,
button:disabled {
  border-color: var(--line);
  background: #202733;
  color: #707a88;
  cursor: not-allowed;
  transform: none;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(5, 10, 17, 0.58);
  color: var(--text);
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

input::placeholder {
  color: #687485;
}

input:focus {
  border-color: var(--blue-bright);
  outline: 3px solid var(--blue-soft);
}

label {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow,
.section-kicker,
.plan-label,
.trial-label,
.muted,
.modal-kicker {
  display: block;
  color: var(--blue-bright);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(41, 204, 145, 0.12);
}

.alert {
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 102, 115, 0.42);
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--text);
}

.alert strong {
  color: #ff98a1;
}

.alert span {
  color: var(--text-soft);
  font-size: 14px;
}

.alert a {
  width: max-content;
  margin-top: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.landing-shell,
.page-shell,
.page,
.flow-page,
.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.landing-shell,
.page-shell,
.page {
  padding-block: 54px 88px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 56px;
  align-items: center;
  min-height: 600px;
  padding-block: 44px 64px;
}

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

.hero-copy h1 {
  margin-top: 18px;
}

.hero-lead {
  max-width: 64ch;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.hero-points {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-points span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(16, 22, 32, 0.7);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.hero-actions {
  margin-top: 30px;
}

.access-gateway {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gateway-head h2 {
  margin-top: 8px;
  font-size: 25px;
}

.gateway-head p {
  margin-top: 8px;
  font-size: 14px;
}

.access-gateway > .alert {
  margin-top: 18px;
}

.telegram-button {
  width: 100%;
  margin-top: 22px;
}

.telegram-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #1688d4;
  font-size: 12px;
  font-weight: 800;
}

.privacy-note {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.gateway-divider {
  margin: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.gateway-divider::before,
.gateway-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.gateway-form,
.stack-form,
.form,
.lookup-form {
  display: grid;
  gap: 10px;
}

.gateway-saved {
  display: grid;
  gap: 11px;
}

.gateway-saved span {
  color: var(--text-soft);
  font-size: 14px;
}

.gateway-links {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.gateway-links a,
.back-link {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.network-board {
  border-block: 1px solid var(--line);
  padding-block: 34px;
}

.network-board-head,
.section-heading.split-heading,
.page-heading,
.flow-heading,
.account-panel-top,
.client-head,
.preview-head,
.lte-meter-head,
.checkout-plan-head,
.plan-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.network-board-head h2 {
  max-width: 730px;
  margin-top: 6px;
  font-size: 25px;
}

.live-label,
.status-pill,
.status-badge,
.current-label,
.recommend-label {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.server-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.server-row {
  min-width: 0;
  min-height: 112px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px 12px;
  background: rgba(16, 22, 32, 0.82);
}

.server-row + .server-row {
  border-left: 1px solid var(--line);
}

.server-code {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(38, 132, 255, 0.34);
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 800;
}

.server-row div {
  min-width: 0;
}

.server-row strong,
.server-row small {
  display: block;
  overflow-wrap: anywhere;
}

.server-row strong {
  font-size: 14px;
}

.server-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.server-row em {
  grid-column: 2;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.value-section,
.plans-section,
.steps-section,
.product-section {
  padding-top: 96px;
}

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

.section-heading h2 {
  margin-top: 8px;
}

.section-heading > p,
.split-heading > p {
  margin-top: 12px;
  max-width: 60ch;
}

.split-heading {
  max-width: none;
}

.split-heading > p {
  flex: 0 1 420px;
}

.value-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.value-grid article {
  min-width: 0;
  padding: 26px 22px 30px;
}

.value-grid article + article {
  border-left: 1px solid var(--line);
}

.value-index {
  display: block;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
}

.value-grid h3 {
  margin-top: 22px;
}

.value-grid p {
  margin-top: 9px;
  font-size: 14px;
}

.trial-band,
.support-band,
.product-section {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.trial-band {
  margin-top: 34px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-left: 3px solid var(--green);
}

.trial-label {
  color: var(--green);
}

.trial-band strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

.trial-band p {
  margin-top: 4px;
  font-size: 14px;
}

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

.plan-card,
.checkout-plan,
.form-panel,
.result-panel,
.manual-import,
.subscription-summary,
.app-choice,
.account-panel,
.latest-order-card,
.status-strip,
.legal-document,
.legal-sidebar,
.legal-meta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan-card {
  position: relative;
  padding: 26px;
}

.plan-card.recommended {
  border-top: 3px solid var(--blue);
}

.plan-card h3 {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 15px;
}

.recommend-label {
  border-color: rgba(38, 132, 255, 0.42);
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.plan-price {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.plan-price strong {
  font-size: 31px;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 13px;
}

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

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 14px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.period-prices {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.period-prices span {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #0c1119;
  color: var(--text-soft);
  font-size: 12px;
}

.period-prices b {
  color: var(--muted);
}

.plan-card > .button {
  width: 100%;
}

.steps-list {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps-list li {
  position: relative;
  padding: 26px 20px 0 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.steps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.steps-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
}

.steps-list strong {
  font-size: 14px;
}

.steps-list p {
  margin-top: 6px;
  font-size: 13px;
}

.product-section {
  margin-top: 96px;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.product-copy h2 {
  margin-top: 8px;
}

.product-copy p {
  margin-top: 14px;
  max-width: 52ch;
}

.product-actions {
  margin-top: 24px;
}

.cabinet-preview {
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #090e16;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.preview-head {
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 750;
}

.status-pill.active,
.status-badge.active {
  border-color: rgba(41, 204, 145, 0.38);
  background: var(--green-soft);
  color: var(--green);
}

.preview-balance {
  padding: 24px 0;
  display: grid;
  gap: 4px;
}

.preview-balance small,
.preview-balance span {
  color: var(--muted);
  font-size: 12px;
}

.preview-balance strong {
  font-size: 24px;
}

.preview-meter {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.preview-meter > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
  font-size: 12px;
}

.preview-meter i,
.lte-meter {
  height: 6px;
  margin-top: 12px;
  display: block;
  overflow: hidden;
  border-radius: 99px;
  background: #273242;
}

.preview-meter b,
.lte-meter span {
  width: 71%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
}

.preview-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
}

.preview-actions span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.preview-actions span:first-child {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.support-band {
  margin-top: 96px;
  padding: 30px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border-left: 3px solid var(--blue);
}

.support-band h2 {
  max-width: 680px;
  margin-top: 6px;
  font-size: 26px;
}

.support-band p {
  margin-top: 7px;
  max-width: 70ch;
  font-size: 14px;
}

.support-band.compact-band {
  margin-top: 56px;
}

.site-footer {
  padding-block: 46px 28px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(130px, 0.7fr));
  gap: 44px;
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 14px;
  font-size: 13px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav strong {
  margin-bottom: 3px;
  color: var(--text-soft);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #6f7b8b;
  font-size: 11px;
}

/* Shared inner pages */
.page-heading,
.section-head {
  margin-bottom: 32px;
}

.page-heading h1,
.section-head h1,
.flow-heading h1,
.legal-hero h1 {
  margin-top: 8px;
  max-width: 760px;
  font-size: clamp(30px, 3.6vw, 42px);
}

.page-heading p,
.section-head p,
.flow-heading p,
.legal-hero .lead {
  max-width: 68ch;
  margin-top: 10px;
  color: var(--text-soft);
}

.flow-page {
  max-width: 980px;
  padding-block: 62px 88px;
}

.compact-flow {
  max-width: 620px;
}

.flow-heading {
  display: block;
  margin-bottom: 26px;
}

.form-panel,
.result-panel {
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-panel .alert {
  margin-bottom: 18px;
}

.stack-form button {
  margin-top: 4px;
}

.form-help {
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.form-help a {
  color: var(--blue-bright);
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
}

.result-panel {
  text-align: center;
}

.result-panel h1 {
  max-width: none;
  margin-top: 8px;
  font-size: 32px;
}

.result-panel > p {
  max-width: 55ch;
  margin: 12px auto 0;
}

.result-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 204, 145, 0.45);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 19px;
  font-weight: 800;
}

.result-icon.pending {
  border-color: rgba(255, 191, 91, 0.45);
  background: rgba(255, 191, 91, 0.1);
  color: var(--amber);
}

.result-icon.error {
  border-color: rgba(255, 102, 115, 0.45);
  background: var(--red-soft);
  color: var(--red);
}

.order-code {
  max-width: 460px;
  margin: 22px auto 0;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a0f17;
  text-align: left;
}

.order-code span {
  color: var(--muted);
  font-size: 12px;
}

.order-code code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text-soft);
  font-size: 12px;
}

.result-panel .actions-row {
  margin-top: 22px;
  justify-content: center;
}

.safe-hint,
.account-notice,
.modal-tip,
.checkout-note {
  padding: 12px 14px;
  border: 1px solid rgba(38, 132, 255, 0.25);
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.result-panel > .safe-hint {
  margin-top: 24px;
  text-align: left;
}

/* Checkout */
.checkout-shell {
  max-width: 1040px;
}

.checkout-heading {
  align-items: end;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.status-strip > div {
  min-width: 0;
  padding: 16px 18px;
}

.status-strip > div + div {
  border-left: 1px solid var(--line);
}

.status-strip span,
.latest-order-card span,
.subscription-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-strip strong,
.latest-order-card strong,
.subscription-summary strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 14px;
}

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

.status-text.error {
  color: var(--red);
}

.checkout-shell > .alert {
  margin-top: 16px;
}

.latest-order-card {
  margin-top: 16px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr auto;
  align-items: center;
  gap: 18px;
  border-left: 3px solid var(--amber);
}

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

.checkout-plans {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.checkout-plan {
  padding: 26px;
}

.checkout-plan.current {
  border-top: 3px solid var(--green);
}

.checkout-plan-head h2 {
  margin-top: 6px;
  font-size: 24px;
}

.checkout-plan-head p {
  max-width: 65ch;
  margin-top: 8px;
  font-size: 14px;
}

.current-label {
  border-color: rgba(41, 204, 145, 0.4);
  background: var(--green-soft);
  color: var(--green);
}

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

.tariff-options {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tariff-option {
  position: relative;
  min-width: 0;
  padding: 16px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1018;
}

.tariff-option.featured {
  border-color: rgba(38, 132, 255, 0.55);
  background: rgba(38, 132, 255, 0.07);
}

.tariff-option span,
.tariff-option strong,
.tariff-option small {
  display: block;
}

.tariff-option span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.tariff-option strong {
  margin-top: 10px;
  font-size: 22px;
}

.tariff-option small {
  margin-top: 4px;
  color: var(--green);
  font-size: 10px;
}

.tariff-option .recommend-label {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 22px;
  font-size: 9px;
}

.tariff-option button {
  width: 100%;
  min-height: 40px;
}

.checkout-note {
  margin-top: 18px;
}

/* Account */
.account-page {
  padding-top: 42px;
}

.account-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.account-head-id {
  min-width: 240px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.account-head-id > span {
  grid-column: 1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.account-id-value {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-id-value strong {
  font-size: 14px;
}

.account-id-copy,
.copy-button.icon-only {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text-soft);
}

.logout-button {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 34px;
  padding-inline: 12px;
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.lookup-card {
  max-width: 760px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.lookup-card > .alert {
  margin-bottom: 16px;
}

.telegram-auth-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.telegram-auth-card strong,
.telegram-auth-card span {
  display: block;
}

.telegram-auth-card strong {
  font-size: 16px;
}

.telegram-auth-card > div > span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.telegram-login-button {
  white-space: nowrap;
}

.lookup-form {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.inline-form,
.hero-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.account-shortcuts {
  position: sticky;
  top: 82px;
  z-index: 20;
  margin: 0 0 18px;
  padding: 8px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(12px);
}

.account-shortcuts a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.account-shortcuts a:hover {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.75fr);
  gap: 16px;
}

.account-panel {
  min-width: 0;
  padding: 22px;
}

.account-panel h2 {
  margin-top: 4px;
  font-size: 23px;
}

.account-panel p {
  margin-top: 7px;
  font-size: 13px;
}

.access-panel {
  border-top: 3px solid var(--blue);
}

.access-date {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.access-date span {
  color: var(--muted);
  font-size: 13px;
}

.access-date strong {
  font-size: clamp(25px, 3vw, 34px);
}

.access-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.access-meta span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text-soft);
  font-size: 11px;
}

.account-actions {
  margin-top: 22px;
}

.account-actions.vertical {
  align-items: stretch;
  flex-direction: column;
}

.account-actions.vertical .button {
  width: 100%;
}

.account-notice {
  margin-top: 16px;
}

.start-plan-notice {
  border-color: rgba(41, 204, 145, 0.28);
  background: var(--green-soft);
}

.upgrade-prime-card,
.upgrade-prime-inline {
  margin-top: 18px;
  padding: 16px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
}

.upgrade-prime-card > div,
.upgrade-prime-inline > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.upgrade-prime-card p {
  grid-column: 1;
  margin: 0;
}

.upgrade-prime-card button,
.upgrade-prime-inline button {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 40px;
}

.compact-panel .copy-row {
  margin-top: 16px;
}

.copy-row {
  min-width: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #090e16;
}

.copy-row code {
  min-width: 0;
  max-height: 64px;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.copy-button {
  min-height: 36px;
  padding-inline: 12px;
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 11px;
}

.lte-panel,
.account-latest,
#pay,
.lower-grid {
  margin-top: 16px;
}

.lte-meter-head {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 12px;
}

.lte-meter-head span {
  color: var(--muted);
}

.lte-meter span {
  width: var(--lte-width, 0%);
}

.lte-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.lte-meta strong {
  color: var(--text-soft);
}

.lte-packages {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lte-packages form {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1018;
}

.lte-packages strong {
  font-size: 14px;
}

.lte-packages span {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.lte-packages button {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 36px;
  padding-inline: 12px;
}

.lte-history {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.lte-history summary,
.operations-panel summary,
.faq-list summary {
  cursor: pointer;
}

.lte-history > div {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.account-latest {
  grid-template-columns: 1.2fr 0.8fr 1fr auto;
}

.account-plan-selector {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-plan-option,
.tariff.account-tariff-card {
  position: relative;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1018;
  cursor: pointer;
}

.account-plan-option.featured,
.tariff.account-tariff-card:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.account-plan-option input,
.tariff.account-tariff-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.account-plan-option small,
.account-plan-option strong,
.account-plan-option em {
  display: block;
}

.account-plan-option small {
  color: var(--blue-bright);
  font-size: 10px;
  text-transform: uppercase;
}

.account-plan-option strong {
  margin-top: 4px;
  font-size: 18px;
}

.account-plan-option em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.account-period-group {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.account-period-group.featured {
  display: block;
}

.account-period-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.account-period-head span {
  color: var(--muted);
  font-size: 11px;
}

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

.tariff.account-tariff-card {
  display: block;
}

.account-tariff-card .tag {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--blue-bright);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-tariff-card h2 {
  margin: 0;
  font-size: 14px;
}

.account-tariff-card .price {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 800;
}

.account-tariff-card .save {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 10px;
  font-style: normal;
}

.account-tariff-card .muted-save {
  color: var(--muted);
}

.single-pay-row {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.lower-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.devices-panel {
  grid-row: span 2;
}

.device-list,
.order-list {
  margin-top: 18px;
  display: grid;
}

.device-item,
.order-item {
  min-width: 0;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}

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

.device-main strong,
.device-main span,
.order-item strong,
.order-item span {
  display: block;
}

.device-main strong,
.order-item strong {
  font-size: 13px;
}

.device-main span,
.order-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.danger-button {
  min-height: 36px;
  border-color: rgba(255, 102, 115, 0.38) !important;
  color: var(--red) !important;
}

.empty-state {
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.operations-panel summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
}

.operations-panel summary::-webkit-details-marker {
  display: none;
}

.operations-panel summary strong,
.operations-panel summary small {
  display: block;
}

.operations-panel summary strong {
  margin-top: 4px;
}

.operations-panel summary small,
.operations-panel summary em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.order-item .copy-row {
  width: 170px;
  flex: 0 0 170px;
}

.payment-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(2, 4, 8, 0.8);
  backdrop-filter: blur(10px);
}

.payment-modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.payment-modal h2 {
  margin-top: 8px;
  font-size: 28px;
}

.payment-modal > p {
  margin-top: 10px;
}

.modal-order-row {
  margin-top: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.modal-order-row span {
  color: var(--muted);
  font-size: 11px;
}

.modal-order-row code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.modal-tip {
  margin-top: 16px;
}

.modal-actions {
  margin-top: 18px;
}

/* Connection page */
.connect-flow {
  max-width: 900px;
}

.subscription-summary {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 22px;
}

.subscription-summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.app-choice {
  margin-top: 16px;
  padding: 18px;
}

.app-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a0f17;
}

.app-tab {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
}

#app-happ:checked ~ .app-tabs label[for="app-happ"],
#app-incy:checked ~ .app-tabs label[for="app-incy"] {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.app-panels {
  margin-top: 18px;
}

.app-panel {
  display: none;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  align-items: end;
  padding: 18px 4px 2px;
}

#app-happ:checked ~ .app-panels .happ-panel,
#app-incy:checked ~ .app-panels .incy-panel {
  display: grid;
}

.app-panel h2,
.manual-import h2 {
  margin-top: 6px;
  font-size: 25px;
}

.app-panel p,
.manual-import p {
  margin-top: 8px;
  font-size: 13px;
}

.app-panel-copy .button {
  margin-top: 20px;
}

.download-links > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.download-links > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.download-links a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.download-links a:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
}

.manual-import {
  margin-top: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: center;
}

.connect-hint {
  margin-top: 12px;
  border-color: rgba(255, 191, 91, 0.27);
  background: rgba(255, 191, 91, 0.08);
}

.error-result .actions-row {
  margin-top: 22px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: 96px;
  padding: 16px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-nav strong {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.faq-nav a {
  padding: 8px;
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.faq-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.faq-list {
  min-width: 0;
}

.faq-list > section {
  scroll-margin-top: 96px;
}

.faq-list > section + section {
  margin-top: 38px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 18px 38px 18px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 0;
  color: var(--blue-bright);
  font-size: 20px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 72ch;
  padding: 0 36px 18px 0;
  font-size: 14px;
}

/* Legal */
.legal-page {
  padding-top: 42px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-hero-note {
  padding-left: 20px;
  border-left: 2px solid var(--blue);
}

.legal-hero-note span,
.legal-hero-note strong {
  display: block;
}

.legal-hero-note span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.legal-hero-note strong {
  margin-top: 4px;
}

.legal-hero-note p {
  margin-top: 8px;
  font-size: 12px;
}

.legal-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  padding: 16px;
}

.legal-nav {
  display: grid;
  gap: 5px;
}

.legal-nav > strong {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.legal-nav a {
  padding: 9px;
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 12px;
  text-decoration: none;
}

.legal-nav a.active,
.legal-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.legal-contact {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.legal-contact span,
.legal-contact strong {
  display: block;
  overflow-wrap: anywhere;
}

.legal-contact span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.legal-contact strong {
  margin-top: 5px;
  font-size: 11px;
}

.legal-content {
  min-width: 0;
}

.legal-warning {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 18px;
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}

.legal-warning strong {
  color: #fff;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.legal-meta > div {
  padding: 12px 14px;
}

.legal-meta > div + div {
  border-left: 1px solid var(--line);
}

.legal-meta span,
.legal-meta strong {
  display: block;
}

.legal-meta span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.legal-meta strong {
  margin-top: 4px;
  font-size: 12px;
}

.legal-document {
  margin-top: 12px;
  padding: 28px;
}

.legal-document-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-document-head > span {
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-document-head h2 {
  margin-top: 6px;
  font-size: 27px;
}

.legal-document-head p {
  margin-top: 8px;
  font-size: 13px;
}

.legal-section {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.legal-section-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 800;
}

.legal-section h2,
.legal-index-section h2 {
  font-size: 18px;
}

.legal-section p,
.legal-index-section p {
  margin-top: 9px;
  color: var(--text-soft);
  font-size: 13px;
}

.legal-footnote {
  margin-top: 20px;
  font-size: 11px;
}

.legal-index-section {
  padding-top: 24px;
}

.legal-details {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.legal-details dt,
.legal-details dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.legal-details dt {
  color: var(--muted);
}

.legal-details dd {
  overflow-wrap: anywhere;
  color: var(--text-soft);
}

.promo-grid {
  margin-top: 22px;
}

/* Apple-inspired liquid glass layer */
.access-gateway,
.plan-card,
.checkout-plan,
.form-panel,
.result-panel,
.manual-import,
.subscription-summary,
.app-choice,
.account-panel,
.latest-order-card,
.status-strip,
.legal-document,
.legal-sidebar,
.legal-meta,
.lookup-card,
.trial-band,
.support-band,
.product-section,
.cabinet-preview,
.faq-nav,
.payment-modal {
  border-color: rgba(224, 237, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 42%, rgba(38, 132, 255, 0.025)),
    rgba(13, 20, 31, 0.58);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 1px 0 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(30px) saturate(175%);
  backdrop-filter: blur(30px) saturate(175%);
}

.access-gateway,
.plan-card.recommended,
.checkout-plan.current,
.access-panel,
.payment-modal {
  border-top-width: 1px;
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(38, 132, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.server-list,
.value-grid,
.account-shortcuts,
.app-tabs,
.period-prices,
.copy-row,
.modal-order-row,
.order-code,
.preview-meter,
.tariff-option,
.account-plan-option,
.tariff.account-tariff-card,
.lte-packages form,
.hero-points span,
.preview-actions span,
.download-links a,
.legal-nav a.active,
.faq-nav a:hover {
  border-color: rgba(220, 235, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(11, 17, 27, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  backdrop-filter: blur(20px) saturate(155%);
}

.server-row,
.period-prices span {
  background: rgba(15, 23, 35, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.button,
button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.015)),
    rgba(30, 124, 255, 0.86);
  box-shadow:
    0 12px 30px rgba(19, 91, 198, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 47, 126, 0.24);
}

.button:hover,
button:hover {
  border-color: rgba(145, 202, 255, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.035)),
    rgba(65, 154, 255, 0.92);
}

.button.secondary,
.button.ghost,
button.secondary,
button.ghost,
.copy-button,
.logout-button,
.account-id-copy {
  border-color: rgba(224, 237, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(29, 39, 54, 0.48);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.button.success,
button.success {
  border-color: rgba(80, 235, 178, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.025)),
    rgba(32, 201, 140, 0.84);
  box-shadow:
    0 12px 30px rgba(16, 135, 94, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

input {
  border-color: rgba(218, 234, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(4, 9, 16, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 8px 24px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.hero-points span,
.access-meta span,
.status-pill,
.status-badge,
.current-label,
.recommend-label,
.live-label {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  backdrop-filter: blur(14px) saturate(155%);
}

.alert,
.safe-hint,
.account-notice,
.modal-tip,
.checkout-note {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.payment-modal-backdrop {
  background: rgba(2, 5, 10, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .access-gateway,
  .plan-card,
  .checkout-plan,
  .form-panel,
  .result-panel,
  .manual-import,
  .subscription-summary,
  .app-choice,
  .account-panel,
  .latest-order-card,
  .status-strip,
  .legal-document,
  .legal-sidebar,
  .legal-meta,
  .lookup-card,
  .trial-band,
  .support-band,
  .product-section,
  .cabinet-preview,
  .faq-nav,
  .payment-modal {
    background: rgba(17, 24, 35, 0.96);
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

  .hero-layout {
    grid-template-columns: 1fr 390px;
    gap: 32px;
  }

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

  .server-row + .server-row {
    border-left: 0;
  }

  .server-row:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .server-row:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .value-grid article + article {
    border-left: 0;
  }

  .value-grid article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .value-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .account-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .devices-panel {
    grid-row: auto;
  }

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

  .footer-main {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 26px;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 28px, var(--content));
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 32px 48px;
  }

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

  .access-gateway {
    max-width: 620px;
  }

  .product-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .status-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-strip > div + div {
    border-left: 0;
  }

  .status-strip > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .status-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .latest-order-card,
  .account-latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-order-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .faq-layout,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    grid-template-columns: repeat(4, auto);
    overflow-x: auto;
  }

  .faq-nav strong {
    display: none;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-nav {
    display: flex;
    overflow-x: auto;
  }

  .legal-nav > strong {
    display: none;
  }

  .legal-nav a {
    flex: 0 0 auto;
  }

  .legal-contact {
    display: none;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
  }

  body::before {
    background-size: 32px 32px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .site-header {
    min-height: 64px;
  }

  .logo-frame {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .header-link {
    display: none;
  }

  .landing-shell,
  .page-shell,
  .page,
  .flow-page,
  .site-footer {
    width: calc(100% - 24px);
  }

  .landing-shell,
  .page-shell,
  .page,
  .flow-page {
    padding-block: 34px 64px;
  }

  .hero-layout {
    gap: 28px;
    padding-top: 12px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .button,
  .product-actions .button,
  .trial-band .button,
  .support-band .button,
  .actions-row .button {
    flex: 1 1 100%;
  }

  .access-gateway,
  .plan-card,
  .checkout-plan,
  .form-panel,
  .result-panel,
  .account-panel,
  .payment-modal,
  .legal-document {
    padding: 18px;
  }

  .gateway-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .network-board-head,
  .section-heading.split-heading,
  .page-heading,
  .account-head,
  .account-panel-top,
  .checkout-plan-head,
  .plan-card-head,
  .trial-band,
  .support-band,
  .lte-meter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .server-list,
  .value-grid,
  .plan-grid,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .server-row:nth-child(even),
  .value-grid article:nth-child(even) {
    border-left: 0;
  }

  .server-row:nth-child(n + 2),
  .value-grid article:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .value-section,
  .plans-section,
  .steps-section,
  .product-section {
    padding-top: 68px;
  }

  .product-section {
    margin-top: 68px;
    padding: 22px;
  }

  .support-band {
    margin-top: 68px;
    padding: 22px;
  }

  .preview-balance strong {
    font-size: 19px;
  }

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

  .site-footer {
    padding-top: 36px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .footer-legal {
    display: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading h1,
  .section-head h1,
  .flow-heading h1,
  .legal-hero h1 {
    font-size: 32px;
  }

  .checkout-heading > .button,
  .page-heading > .button {
    width: 100%;
  }

  .status-strip,
  .latest-order-card,
  .account-latest,
  .account-plan-selector,
  .tariff-options,
  .account-tariff-grid,
  .lte-packages,
  .legal-meta {
    grid-template-columns: 1fr;
  }

  .status-strip > div:nth-child(even),
  .legal-meta > div + div {
    border-left: 0;
  }

  .status-strip > div:nth-child(n + 2),
  .legal-meta > div + div {
    border-top: 1px solid var(--line);
  }

  .latest-order-actions {
    grid-column: auto;
  }

  .latest-order-actions .button {
    width: 100%;
  }

  .tariff-option {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .tariff-option button {
    width: auto;
  }

  .tariff-option .recommend-label {
    display: none;
  }

  .account-head-id {
    width: 100%;
  }

  .account-shortcuts {
    top: 72px;
  }

  .inline-form,
  .hero-input-row {
    grid-template-columns: 1fr;
  }

  .telegram-auth-card {
    grid-template-columns: 1fr;
  }

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

  .access-date {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .upgrade-prime-card,
  .upgrade-prime-inline {
    grid-template-columns: 1fr;
  }

  .upgrade-prime-card button,
  .upgrade-prime-inline button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .account-period-head,
  .lte-meta,
  .device-item,
  .order-item,
  .form-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .single-pay-row button {
    width: 100%;
  }

  .device-item form,
  .device-item button,
  .order-item .copy-row {
    width: 100%;
  }

  .order-item .copy-row {
    flex-basis: auto;
  }

  .modal-order-row {
    grid-template-columns: 1fr auto;
  }

  .modal-order-row span {
    grid-column: 1 / -1;
  }

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

  .subscription-summary .button {
    grid-column: 1 / -1;
  }

  .app-panel,
  .manual-import {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .app-panel-copy .button {
    width: 100%;
  }

  .faq-nav {
    grid-template-columns: repeat(4, max-content);
  }

  .legal-section {
    grid-template-columns: 1fr;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }

  .legal-details dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  .header-actions .button {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .hero-points {
    display: grid;
  }

  .period-prices {
    grid-template-columns: 1fr;
  }

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

  .subscription-summary .button {
    grid-column: 1;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Rich glass system and data visualization */
:root {
  --control-radius: 14px;
  --glass-edge: rgba(226, 240, 255, 0.2);
  --glass-fill: rgba(15, 23, 35, 0.52);
}

body::before {
  background-image:
    linear-gradient(rgba(86, 130, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 130, 184, 0.035) 1px, transparent 1px),
    linear-gradient(118deg, transparent 5%, rgba(38, 132, 255, 0.11) 26%, transparent 43%),
    linear-gradient(142deg, transparent 54%, rgba(41, 204, 145, 0.065) 72%, transparent 88%);
  background-size: 40px 40px, 40px 40px, auto, auto;
}

.button,
button,
input,
.copy-row,
.account-shortcuts,
.app-tabs,
.download-links a,
.preview-actions span,
.hero-points span,
.safe-hint,
.account-notice,
.modal-tip,
.checkout-note {
  border-radius: var(--control-radius);
}

.hero-points span,
.account-shortcuts a,
.faq-nav a,
.legal-nav a,
.access-meta span {
  border-radius: 999px;
}

.access-gateway,
.plan-card,
.checkout-plan,
.form-panel,
.result-panel,
.manual-import,
.subscription-summary,
.app-choice,
.account-panel,
.latest-order-card,
.status-strip,
.legal-document,
.legal-sidebar,
.legal-meta,
.lookup-card,
.trial-band,
.support-band,
.product-section,
.cabinet-preview,
.faq-nav,
.payment-modal,
.account-head-id {
  border-color: var(--glass-edge);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.018) 34%, transparent 62%),
    linear-gradient(318deg, rgba(38, 132, 255, 0.075), transparent 46%),
    var(--glass-fill);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 1px 0 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(34px) saturate(185%);
  backdrop-filter: blur(34px) saturate(185%);
}

.button:hover,
button:hover,
.download-links a:hover,
.faq-nav a:hover,
.legal-nav a:hover {
  transform: translateY(-2px);
}

.network-board {
  position: relative;
  margin-top: 16px;
  padding-block: 42px;
  isolation: isolate;
}

.network-board::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(38, 132, 255, 0.055), transparent 38%),
    linear-gradient(250deg, rgba(41, 204, 145, 0.035), transparent 34%),
    rgba(9, 14, 22, 0.3);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.topology-visual {
  position: relative;
  height: 280px;
  margin-top: 30px;
}

.topology-core,
.topology-node {
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: center;
  border: 1px solid var(--glass-edge);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(13, 21, 33, 0.64);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
}

.topology-core {
  top: 50%;
  left: 50%;
  width: 142px;
  height: 142px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(38, 132, 255, 0.08) 54%, rgba(4, 9, 16, 0.68)),
    rgba(14, 24, 38, 0.74);
  transform: translate(-50%, -50%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    0 0 0 8px rgba(38, 132, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.topology-logo {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(125, 189, 255, 0.55);
  border-radius: 50%;
}

.topology-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.topology-core strong {
  margin-top: 6px;
  font-size: 17px;
}

.topology-core small,
.topology-node small {
  color: var(--muted);
  font-size: 10px;
}

.topology-node {
  width: min(25%, 236px);
  min-height: 78px;
  padding: 14px 16px;
  grid-template-columns: auto 1fr;
  gap: 0 10px;
  border-radius: var(--radius);
}

.topology-node > span {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 800;
}

.topology-node strong {
  font-size: 13px;
}

.topology-standard { top: 16px; left: 4%; }
.topology-prime { top: 16px; right: 4%; }
.topology-lte { bottom: 16px; left: 4%; }
.topology-app { right: 4%; bottom: 16px; }

.topology-lte > span {
  background: var(--green-soft);
  color: var(--green);
}

.topology-app > span {
  background: rgba(255, 191, 91, 0.13);
  color: var(--amber);
}

.topology-line {
  position: absolute;
  z-index: 1;
  left: 26%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, rgba(85, 164, 255, 0.18), rgba(85, 164, 255, 0.9));
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(38, 132, 255, 0.24);
}

.topology-line::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 5px rgba(38, 132, 255, 0.08);
}

.topology-line-standard { top: 28%; transform: rotate(14deg); }
.topology-line-prime { top: 40%; left: 50%; transform: rotate(-14deg); }
.topology-line-lte { top: 72%; transform: rotate(-14deg); }
.topology-line-app { top: 60%; left: 50%; transform: rotate(14deg); }

.topology-line-lte,
.topology-line-app {
  background: linear-gradient(90deg, rgba(41, 204, 145, 0.18), rgba(41, 204, 145, 0.82));
}

.topology-line-lte::after,
.topology-line-app::after {
  background: var(--green);
}

.server-list {
  margin-top: 10px;
}

.micro-viz {
  height: 38px;
  margin-top: 20px;
  display: flex;
  align-items: end;
  gap: 6px;
}

.micro-viz i {
  display: block;
  font-style: normal;
}

.link-viz {
  position: relative;
  align-items: center;
}

.link-viz::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.link-viz i {
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 4px solid #101827;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 1px rgba(85, 164, 255, 0.4);
}

.link-viz i:nth-child(3),
.link-viz i:nth-child(4) {
  background: var(--green);
}

.platform-viz {
  align-items: center;
}

.platform-viz i {
  min-width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  padding-inline: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 8px;
  font-weight: 800;
}

.device-viz i,
.signal-viz i {
  width: 14px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--blue-bright), rgba(38, 132, 255, 0.2));
}

.device-viz i:nth-child(1) { height: 15px; }
.device-viz i:nth-child(2) { height: 28px; }
.device-viz i:nth-child(3) { height: 22px; }
.device-viz i:nth-child(4) { height: 35px; }
.device-viz i:nth-child(5) { height: 26px; }

.signal-viz i {
  width: 9px;
  background: linear-gradient(180deg, var(--green), rgba(41, 204, 145, 0.2));
}

.signal-viz i:nth-child(1) { height: 10px; }
.signal-viz i:nth-child(2) { height: 18px; }
.signal-viz i:nth-child(3) { height: 27px; }
.signal-viz i:nth-child(4) { height: 36px; }

.preview-insights {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}

.usage-ring {
  --value: 0;
  position: relative;
  width: 116px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--value) * 1%), rgba(115, 139, 169, 0.16) 0);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.usage-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 40%),
    rgba(8, 14, 23, 0.92);
}

.usage-ring span,
.usage-ring small {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.usage-ring span {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.usage-ring small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-stats {
  min-width: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.preview-stats > div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(8, 14, 23, 0.92);
}

.preview-stats span {
  color: var(--muted);
  font-size: 10px;
}

.preview-stats strong {
  color: var(--text-soft);
  font-size: 11px;
}

.positive {
  color: var(--green) !important;
}

.plan-capacity {
  margin-top: 22px;
  padding-block: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  border-block: 1px solid var(--line);
}

.plan-capacity > div > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.plan-capacity b {
  color: var(--text-soft);
}

.plan-capacity em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.plan-capacity i {
  height: 6px;
  margin-top: 9px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(113, 139, 171, 0.18);
}

.plan-capacity i b {
  width: min(var(--capacity), 100%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.tariff-option em,
.month-equivalent {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.month-equivalent {
  margin-bottom: 7px;
}

.connection-route,
.payment-route {
  margin-block: 18px;
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 8px;
}

.connection-route > div,
.payment-route > div {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 9px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--control-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent),
    rgba(12, 19, 30, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}

.connection-route > div > span,
.payment-route > div > span {
  grid-row: 1 / 3;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-size: 9px;
  font-weight: 800;
}

.connection-route strong,
.payment-route strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.connection-route small,
.payment-route small {
  color: var(--muted);
  font-size: 9px;
}

.connection-route > i,
.payment-route > i {
  height: 1px;
  display: block;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.payment-route {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.payment-route > div {
  padding: 9px;
}

.app-symbol {
  width: 38px;
  height: 38px;
  margin: 0 10px 8px 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(85, 164, 255, 0.5);
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-size: 15px;
  font-weight: 850;
  vertical-align: middle;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.app-symbol + .section-kicker {
  display: inline-block;
  vertical-align: middle;
}

.incy-symbol {
  border-color: rgba(41, 204, 145, 0.45);
  background: var(--green-soft);
  color: var(--green);
}

.faq-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-nav a span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 9px;
}

.faq-list > section + section {
  margin-top: 46px;
}

.faq-list > section > .section-kicker {
  margin-bottom: 12px;
}

.faq-list details {
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid rgba(226, 240, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.012)),
    rgba(13, 20, 31, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.13);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

.faq-list summary {
  padding: 17px 52px 17px 18px;
}

.faq-list summary::after {
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  font-size: 18px;
}

.faq-list details[open] {
  border-color: rgba(85, 164, 255, 0.38);
}

.faq-list details p {
  padding: 0 52px 18px 18px;
}

.legal-meta {
  gap: 1px;
  background-color: var(--line);
}

.legal-meta > div {
  background: rgba(9, 15, 24, 0.54);
}

.legal-nav a {
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

@media (max-width: 820px) {
  .topology-node {
    width: min(28%, 206px);
  }

  .connection-route,
  .payment-route {
    grid-template-columns: 1fr 24px 1fr 24px 1fr;
    gap: 5px;
  }

  .connection-route > div,
  .payment-route > div {
    grid-template-columns: 1fr;
  }

  .connection-route > div > span,
  .payment-route > div > span {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  body::before {
    background-size: 32px 32px, 32px 32px, auto, auto;
  }

  .network-board::before {
    inset-inline: -12px;
  }

  .topology-visual {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .topology-core,
  .topology-node {
    position: static;
    width: auto;
    transform: none;
  }

  .topology-core {
    grid-column: 1 / -1;
    width: 112px;
    height: 112px;
    justify-self: center;
  }

  .topology-line {
    display: none;
  }

  .topology-node {
    min-height: 86px;
    padding: 12px;
  }

  .server-list {
    margin-top: 24px;
  }

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

  .usage-ring {
    width: 118px;
    justify-self: center;
  }

  .plan-capacity {
    grid-template-columns: 1fr;
  }

  .connection-route,
  .payment-route {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .connection-route > div,
  .payment-route > div {
    grid-template-columns: auto 1fr;
  }

  .connection-route > div > span,
  .payment-route > div > span {
    grid-row: 1 / 3;
  }

  .connection-route > i,
  .payment-route > i {
    width: 1px;
    height: 12px;
    justify-self: center;
    background: linear-gradient(180deg, var(--blue), var(--green));
  }

  .faq-nav a {
    justify-content: center;
  }

  .faq-nav a span {
    display: none;
  }
}

@media (max-width: 420px) {
  .topology-visual {
    grid-template-columns: 1fr;
  }

  .topology-core {
    grid-column: 1;
  }
}

/* Apple-inspired contrast, accents and motion */
:root {
  --bg: #03060b;
  --bg-deep: #010307;
  --surface: rgba(8, 17, 30, 0.76);
  --surface-2: rgba(17, 31, 50, 0.68);
  --surface-3: rgba(27, 45, 69, 0.6);
  --text: #f7f9fc;
  --text-soft: #d6deea;
  --muted: #8796aa;
  --line: rgba(142, 177, 220, 0.18);
  --line-strong: rgba(158, 197, 244, 0.34);
  --blue: #0a84ff;
  --blue-bright: #64d2ff;
  --blue-soft: rgba(10, 132, 255, 0.15);
  --green: #30d158;
  --green-soft: rgba(48, 209, 88, 0.13);
  --red: #ff453a;
  --red-soft: rgba(255, 69, 58, 0.13);
  --amber: #ffd60a;
  --purple: #bf5af2;
  --purple-soft: rgba(191, 90, 242, 0.13);
  --glass-edge: rgba(207, 229, 255, 0.24);
  --glass-fill: rgba(7, 15, 27, 0.72);
  --control-radius: 16px;
}

body {
  background: var(--bg-deep);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" 1, "cv02" 1;
}

body::after {
  background:
    linear-gradient(180deg, #02050a 0%, #06101d 42%, #03070d 72%, #010307 100%);
}

body::before {
  opacity: 0.95;
  background-image:
    linear-gradient(rgba(88, 151, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 151, 225, 0.035) 1px, transparent 1px),
    linear-gradient(118deg, transparent 4%, rgba(10, 132, 255, 0.18) 24%, transparent 43%),
    linear-gradient(142deg, transparent 52%, rgba(48, 209, 88, 0.09) 69%, transparent 86%),
    linear-gradient(68deg, transparent 60%, rgba(191, 90, 242, 0.055) 76%, transparent 92%);
  background-size: 40px 40px, 40px 40px, 120% 120%, 120% 120%, 120% 120%;
  animation: ambient-shift 18s ease-in-out infinite alternate;
}

.site-header-shell {
  border-bottom-color: rgba(155, 195, 244, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(2, 7, 14, 0.74);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  backdrop-filter: blur(32px) saturate(190%);
}

.logo-frame {
  border-color: rgba(100, 210, 255, 0.64);
  background: rgba(9, 24, 43, 0.78);
  box-shadow: 0 0 0 5px rgba(10, 132, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-copy small,
.eyebrow,
.section-kicker,
.plan-label,
.trial-label,
.modal-kicker,
.page-kicker {
  color: var(--blue-bright);
}

.button,
button {
  border-color: rgba(93, 178, 255, 0.84);
  border-radius: var(--control-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.03) 52%),
    linear-gradient(120deg, #0878ef, #129bff);
  background-size: 100% 100%, 160% 100%;
  box-shadow:
    0 14px 34px rgba(0, 110, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(0, 42, 106, 0.32);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease, border-color 180ms ease, background-position 360ms ease;
}

.button:hover,
button:hover {
  border-color: rgba(174, 223, 255, 0.96);
  background-position: 0 0, 100% 0;
  color: #fff;
  box-shadow:
    0 18px 44px rgba(0, 119, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-2px) scale(1.01);
}

.button:active,
button:active {
  transform: translateY(0) scale(0.985);
}

.button.secondary,
.button.ghost,
button.secondary,
button.ghost,
.copy-button,
.logout-button,
.account-id-copy {
  border-color: rgba(184, 214, 249, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.018)),
    rgba(17, 31, 50, 0.64);
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.2);
}

.button.secondary:hover,
.button.ghost:hover,
button.secondary:hover,
button.ghost:hover,
.copy-button:hover,
.logout-button:hover,
.account-id-copy:hover {
  border-color: rgba(100, 210, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025)),
    rgba(14, 65, 111, 0.64);
  color: #fff;
}

.button.success,
button.success {
  border-color: rgba(89, 235, 125, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.025)),
    linear-gradient(120deg, #1ebd4a, #38dc83);
  color: #03140a;
  box-shadow: 0 14px 34px rgba(20, 183, 82, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

input {
  border-color: rgba(181, 215, 255, 0.24);
  border-radius: var(--control-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(1, 7, 14, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 10px 28px rgba(0, 0, 0, 0.16);
}

input:focus {
  border-color: var(--blue-bright);
  outline-color: rgba(10, 132, 255, 0.2);
  box-shadow: 0 0 0 5px rgba(10, 132, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.access-gateway,
.plan-card,
.checkout-plan,
.form-panel,
.result-panel,
.manual-import,
.subscription-summary,
.app-choice,
.account-panel,
.latest-order-card,
.status-strip,
.legal-document,
.legal-sidebar,
.legal-meta,
.lookup-card,
.trial-band,
.support-band,
.product-section,
.cabinet-preview,
.faq-nav,
.payment-modal,
.account-head-id {
  border-color: var(--glass-edge);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.018) 28%, transparent 58%),
    linear-gradient(318deg, rgba(10, 132, 255, 0.105), transparent 44%),
    rgba(5, 13, 24, 0.74);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(10, 132, 255, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 1px 0 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(44px) saturate(195%);
  backdrop-filter: blur(44px) saturate(195%);
}

.access-gateway,
.plan-card,
.checkout-plan,
.account-panel,
.app-choice,
.form-panel,
.product-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.access-gateway::after,
.plan-card::after,
.checkout-plan::after,
.account-panel::after,
.app-choice::after,
.form-panel::after,
.product-section::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -65%;
  z-index: 0;
  width: 38%;
  height: 240%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.105), transparent);
  transform: rotate(16deg);
  transition: left 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.access-gateway:hover::after,
.plan-card:hover::after,
.checkout-plan:hover::after,
.account-panel:hover::after,
.app-choice:hover::after,
.form-panel:hover::after,
.product-section:hover::after {
  left: 135%;
}

.access-gateway > *,
.plan-card > *,
.checkout-plan > *,
.account-panel > *,
.app-choice > :not(.app-radio),
.form-panel > *,
.product-section > * {
  position: relative;
  z-index: 1;
}

.access-gateway,
.access-panel {
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    0 18px 64px rgba(10, 132, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.lte-panel {
  border-top: 2px solid rgba(48, 209, 88, 0.72);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34), 0 14px 52px rgba(48, 209, 88, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#pay {
  border-top: 2px solid rgba(191, 90, 242, 0.7);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34), 0 14px 52px rgba(191, 90, 242, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.devices-panel {
  border-top: 2px solid rgba(255, 214, 10, 0.68);
}

.plan-card:not(.recommended),
.checkout-plan:nth-child(even) {
  border-top: 2px solid rgba(191, 90, 242, 0.72);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.34), 0 16px 54px rgba(191, 90, 242, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.plan-card.recommended,
.checkout-plan.current {
  border-top: 2px solid rgba(48, 209, 88, 0.78);
}

.hero-points span,
.status-pill,
.status-badge,
.current-label,
.recommend-label,
.live-label,
.access-meta span {
  border-color: rgba(181, 215, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.012)),
    rgba(13, 28, 47, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 24px rgba(0, 0, 0, 0.14);
}

.status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.12), 0 0 16px rgba(48, 209, 88, 0.52);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.network-board::before {
  background:
    linear-gradient(110deg, rgba(10, 132, 255, 0.13), transparent 38%),
    linear-gradient(250deg, rgba(48, 209, 88, 0.07), transparent 34%),
    linear-gradient(25deg, transparent 42%, rgba(191, 90, 242, 0.045) 62%, transparent 80%),
    rgba(2, 8, 16, 0.52);
}

.topology-core,
.topology-node {
  border-color: rgba(181, 216, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.018) 54%),
    rgba(5, 15, 28, 0.8);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.topology-line {
  height: 2px;
  background-size: 180% 100%;
  animation: route-flow 2.8s linear infinite;
}

.server-row,
.value-grid article,
.tariff-option,
.account-plan-option,
.tariff.account-tariff-card,
.lte-packages form,
.download-links a,
.faq-list details {
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.server-row:hover,
.value-grid article:hover,
.tariff-option:hover,
.account-plan-option:hover,
.tariff.account-tariff-card:hover,
.lte-packages form:hover,
.download-links a:hover,
.faq-list details:hover {
  border-color: rgba(100, 210, 255, 0.42);
  background-color: rgba(10, 29, 50, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 18px 44px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.value-grid article:nth-child(2) .value-index,
.value-grid article:nth-child(2) h3 {
  color: #d58aff;
}

.value-grid article:nth-child(3) .value-index,
.value-grid article:nth-child(3) h3 {
  color: var(--green);
}

.value-grid article:nth-child(4) .value-index,
.value-grid article:nth-child(4) h3 {
  color: var(--amber);
}

.platform-viz i:nth-child(2) {
  border-color: rgba(191, 90, 242, 0.5);
  color: #d58aff;
}

.platform-viz i:nth-child(3) {
  border-color: rgba(48, 209, 88, 0.48);
  color: var(--green);
}

.platform-viz i:nth-child(4) {
  border-color: rgba(255, 214, 10, 0.42);
  color: var(--amber);
}

.micro-viz i {
  animation: micro-rise 1.8s ease-in-out infinite alternate;
}

.micro-viz i:nth-child(2) { animation-delay: 120ms; }
.micro-viz i:nth-child(3) { animation-delay: 240ms; }
.micro-viz i:nth-child(4) { animation-delay: 360ms; }
.micro-viz i:nth-child(5) { animation-delay: 480ms; }

.trial-band {
  border-left-color: var(--green);
  background:
    linear-gradient(110deg, rgba(48, 209, 88, 0.115), transparent 32%),
    linear-gradient(300deg, rgba(10, 132, 255, 0.08), transparent 40%),
    rgba(5, 14, 25, 0.76);
}

.support-band {
  border-left-color: var(--blue-bright);
  background:
    linear-gradient(110deg, rgba(10, 132, 255, 0.14), transparent 38%),
    linear-gradient(300deg, rgba(191, 90, 242, 0.07), transparent 42%),
    rgba(5, 14, 25, 0.76);
}

.lte-meter-head {
  margin-top: 26px;
  align-items: center;
}

.lte-meter-head strong {
  color: var(--text);
  font-size: 16px;
}

.lte-meter-head span {
  padding: 7px 11px;
  border: 1px solid rgba(48, 209, 88, 0.3);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 750;
}

.lte-meter {
  height: 12px;
  margin-top: 14px;
  padding: 2px;
  border: 1px solid rgba(156, 191, 232, 0.2);
  background: rgba(1, 7, 14, 0.72);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.42);
}

.lte-meter span {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #1cbf54, #30d158 58%, #64e99b);
  box-shadow: 0 0 18px rgba(48, 209, 88, 0.32);
  transform-origin: left center;
  animation: meter-grow 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lte-meter span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-120%);
  animation: meter-sheen 3.2s ease-in-out 1s infinite;
}

.lte-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.account-shortcuts,
.app-tabs {
  border-color: rgba(180, 215, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(3, 11, 20, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  backdrop-filter: blur(30px) saturate(190%);
}

.account-shortcuts a:hover,
.faq-nav a:hover,
.legal-nav a:hover,
#app-happ:checked ~ .app-tabs label[for="app-happ"],
#app-incy:checked ~ .app-tabs label[for="app-incy"] {
  background: rgba(10, 132, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(10, 132, 255, 0.12);
}

.faq-list details[open] {
  border-color: rgba(100, 210, 255, 0.44);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26), 0 10px 32px rgba(10, 132, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.faq-list details[open] p {
  animation: answer-in 260ms ease-out both;
}

.usage-ring {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34), 0 0 30px rgba(48, 209, 88, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: ring-enter 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy > *,
.access-gateway,
.network-board-head,
.topology-visual,
.page-heading,
.flow-heading {
  animation: glass-enter 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy h1,
.access-gateway,
.topology-visual,
.flow-heading h1 {
  animation-delay: 90ms;
}

.hero-copy .hero-lead,
.network-board-head,
.page-heading p {
  animation-delay: 150ms;
}

.hero-copy .hero-points,
.hero-copy .hero-actions {
  animation-delay: 220ms;
}

.value-grid article:nth-child(1),
.plan-card:nth-child(1),
.faq-list details:nth-of-type(1) { animation-delay: 40ms; }
.value-grid article:nth-child(2),
.plan-card:nth-child(2),
.faq-list details:nth-of-type(2) { animation-delay: 100ms; }
.value-grid article:nth-child(3),
.faq-list details:nth-of-type(3) { animation-delay: 160ms; }
.value-grid article:nth-child(4) { animation-delay: 220ms; }

.value-grid article,
.plan-card,
.checkout-plan,
.faq-list details,
.account-panel,
.connection-route > div,
.payment-route > div {
  animation: glass-enter 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.value-grid article:nth-child(1),
.plan-card:nth-child(1),
.faq-list details:nth-of-type(1) { animation-delay: 40ms; }
.value-grid article:nth-child(2),
.plan-card:nth-child(2),
.faq-list details:nth-of-type(2) { animation-delay: 100ms; }
.value-grid article:nth-child(3),
.faq-list details:nth-of-type(3) { animation-delay: 160ms; }
.value-grid article:nth-child(4) { animation-delay: 220ms; }

@keyframes ambient-shift {
  from { background-position: 0 0, 0 0, 0% 0%, 100% 100%, 50% 50%; }
  to { background-position: 0 0, 0 0, 18% 12%, 82% 88%, 58% 42%; }
}

@keyframes glass-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.1), 0 0 12px rgba(48, 209, 88, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0.035), 0 0 22px rgba(48, 209, 88, 0.6); }
}

@keyframes route-flow {
  from { background-position: 0 0; }
  to { background-position: 180% 0; }
}

@keyframes micro-rise {
  from { filter: brightness(0.78); transform: scaleY(0.9); }
  to { filter: brightness(1.18); transform: scaleY(1); }
}

@keyframes meter-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes meter-sheen {
  0%, 35% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

@keyframes answer-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ring-enter {
  from { opacity: 0; transform: scale(0.88) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (hover: none) {
  .access-gateway::after,
  .plan-card::after,
  .checkout-plan::after,
  .account-panel::after,
  .app-choice::after,
  .form-panel::after,
  .product-section::after {
    display: none;
  }

  .server-row:hover,
  .value-grid article:hover,
  .tariff-option:hover,
  .account-plan-option:hover,
  .tariff.account-tariff-card:hover,
  .lte-packages form:hover,
  .download-links a:hover,
  .faq-list details:hover {
    transform: none;
  }
}

/* Rounded bento direction: broad glass surfaces, compact type and local accents. */
:root {
  --content: 1320px;
  --radius: 26px;
  --radius-large: 34px;
  --radius-medium: 22px;
  --radius-small: 16px;
  --control-radius: 18px;
}

.site-header-shell {
  top: 0;
  padding: 12px 0 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header {
  width: min(var(--content), calc(100% - 32px));
  min-height: 66px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(181, 215, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.018)),
    rgba(4, 12, 24, 0.76);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(34px) saturate(185%);
  backdrop-filter: blur(34px) saturate(185%);
}

.brand .logo-frame {
  border-radius: 14px;
}

.site-nav,
.header-actions {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav a,
.header-link,
.logout-button {
  border-radius: 14px;
}

.site-nav {
  gap: 4px;
}

.site-nav a,
.header-link {
  padding: 10px 13px;
  border: 1px solid transparent;
}

.site-nav a:hover,
.header-link:hover {
  border-color: rgba(123, 188, 255, 0.18);
  background: rgba(10, 132, 255, 0.09);
}

.header-actions {
  gap: 6px;
}

.brand-copy strong {
  font-size: 20px;
}

.brand-copy small {
  font-size: 15px;
  line-height: 1;
}

.landing-shell {
  gap: 0;
  padding-top: 8px;
}

.hero-layout {
  min-height: 540px;
  padding-top: 38px;
  padding-bottom: 56px;
}

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

.hero-copy h1 {
  max-width: 640px;
}

.access-gateway,
.plan-card,
.checkout-plan,
.form-panel,
.result-panel,
.manual-import,
.subscription-summary,
.app-choice,
.account-panel,
.latest-order-card,
.status-strip,
.legal-document,
.legal-sidebar,
.legal-meta,
.legal-hero,
.lookup-card,
.trial-band,
.support-band,
.product-section,
.cabinet-preview,
.faq-nav,
.payment-modal,
.telegram-auth-card {
  border-radius: var(--radius-large);
}

.access-gateway {
  padding: 30px;
  border-color: rgba(102, 179, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(35, 115, 255, 0.17), transparent 38%),
    linear-gradient(315deg, rgba(143, 81, 255, 0.11), transparent 42%),
    rgba(4, 13, 26, 0.82);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44), 0 18px 58px rgba(10, 132, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gateway-form,
.gateway-saved,
.alert,
.safe-hint,
.account-notice,
.legal-contact,
.empty-state {
  border-radius: var(--radius-medium);
}

.gateway-form input,
.stack-form input,
.stack-form select,
.lookup-form input,
.inline-form input,
.inline-form select,
.account-pay-form input,
.account-pay-form select {
  border-radius: var(--control-radius);
}

.plans-section {
  padding-top: 64px;
}

.trial-band {
  padding: 26px 28px;
  border-left-width: 1px;
  border-color: rgba(76, 226, 128, 0.3);
  background:
    linear-gradient(120deg, rgba(48, 209, 88, 0.19), transparent 34%),
    linear-gradient(300deg, rgba(10, 132, 255, 0.13), transparent 42%),
    rgba(5, 17, 25, 0.83);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), 0 18px 48px rgba(48, 209, 88, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.plan-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 16px;
}

.plan-card {
  min-height: 100%;
  padding: 30px;
  border-top-width: 1px;
  overflow: hidden;
}

.plan-card.recommended {
  border-color: rgba(73, 213, 126, 0.34);
  background:
    linear-gradient(140deg, rgba(48, 209, 88, 0.16), transparent 37%),
    linear-gradient(320deg, rgba(10, 132, 255, 0.13), transparent 40%),
    rgba(4, 15, 27, 0.86);
}

.plan-card:not(.recommended) {
  border-color: rgba(203, 130, 255, 0.32);
  background:
    linear-gradient(140deg, rgba(191, 90, 242, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(10, 132, 255, 0.13), transparent 42%),
    rgba(7, 12, 28, 0.87);
}

.plan-price,
.period-prices,
.plan-capacity,
.checkout-note {
  border-radius: var(--radius-medium);
}

.period-prices {
  padding: 8px;
  gap: 6px;
  background: rgba(1, 7, 15, 0.42);
}

.period-prices span {
  padding: 10px 12px;
  border-radius: var(--radius-small);
}

.steps-section {
  padding-top: 80px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-top: 0;
}

.steps-list li {
  min-width: 0;
  padding: 22px 20px 24px;
  align-content: start;
  border: 1px solid rgba(181, 215, 255, 0.17);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(10, 132, 255, 0.13), transparent 46%),
    rgba(5, 14, 27, 0.76);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.steps-list li:nth-child(2) {
  background: linear-gradient(145deg, rgba(191, 90, 242, 0.15), transparent 46%), rgba(7, 13, 28, 0.78);
}

.steps-list li:nth-child(3) {
  background: linear-gradient(145deg, rgba(48, 209, 88, 0.14), transparent 46%), rgba(5, 18, 24, 0.78);
}

.steps-list li:nth-child(4) {
  background: linear-gradient(145deg, rgba(255, 159, 10, 0.15), transparent 46%), rgba(18, 14, 18, 0.78);
}

.steps-list li:not(:last-child)::after {
  display: none;
}

.steps-list li > span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(10, 132, 255, 0.2);
}

.steps-list li:nth-child(2) > span { color: #e0a4ff; background: rgba(191, 90, 242, 0.18); }
.steps-list li:nth-child(3) > span { color: #71e99b; background: rgba(48, 209, 88, 0.17); }
.steps-list li:nth-child(4) > span { color: #ffc15a; background: rgba(255, 159, 10, 0.17); }

.product-section {
  padding: 34px;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 54px;
  border-color: rgba(109, 174, 255, 0.28);
  background:
    linear-gradient(125deg, rgba(10, 132, 255, 0.14), transparent 38%),
    linear-gradient(315deg, rgba(191, 90, 242, 0.1), transparent 42%),
    rgba(4, 13, 25, 0.82);
}

.cabinet-preview {
  padding: 24px;
  border-color: rgba(162, 203, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.018)),
    rgba(2, 10, 20, 0.72);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.preview-access,
.preview-lte-block,
.preview-actions span {
  border-radius: var(--radius-medium);
}

.preview-head > div,
.preview-access-main {
  display: grid;
  gap: 4px;
}

.preview-head small,
.preview-access-main > span,
.preview-access-main small,
.preview-lte-foot {
  color: var(--muted);
  font-size: 12px;
}

.preview-head strong {
  font-size: 15px;
}

.preview-access {
  margin-top: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(95, 174, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.13), transparent 48%),
    rgba(3, 12, 24, 0.62);
}

.preview-access-main strong {
  font-size: 22px;
}

.preview-access-meta {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-access-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(181, 215, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.preview-lte-block {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(48, 209, 88, 0.24);
  background:
    linear-gradient(135deg, rgba(48, 209, 88, 0.11), transparent 48%),
    rgba(3, 15, 22, 0.62);
}

.preview-lte-head,
.preview-lte-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.preview-lte-head span {
  font-size: 13px;
  font-weight: 750;
}

.preview-lte-head strong {
  color: var(--green);
  font-size: 12px;
}

.preview-lte-track {
  height: 9px;
  margin-top: 13px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid rgba(156, 191, 232, 0.18);
  border-radius: 999px;
  background: rgba(1, 7, 14, 0.72);
}

.preview-lte-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #1cbf54, #64e99b);
  box-shadow: 0 0 14px rgba(48, 209, 88, 0.3);
}

.preview-lte-foot {
  margin-top: 10px;
}

.support-band {
  padding: 30px 32px;
  border-left-width: 1px;
}

.account-head-id,
.account-shortcuts,
.app-tabs,
.copy-row,
.latest-order-actions,
.download-links a,
.connection-route > div,
.payment-route > div,
.tariff-option,
.account-plan-option,
.tariff.account-tariff-card,
.lte-packages form,
.device-item,
.order-item,
.faq-list details,
.legal-details,
.modal-order-row,
.modal-tip {
  border-radius: var(--radius-medium);
}

.account-panel,
.form-panel,
.result-panel,
.app-choice,
.manual-import,
.subscription-summary,
.latest-order-card {
  padding: 28px;
}

.account-panel.access-panel {
  border-color: rgba(91, 172, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.17), transparent 40%),
    rgba(4, 14, 27, 0.84);
}

.lte-panel {
  border-width: 1px;
  border-color: rgba(48, 209, 88, 0.34);
  background:
    linear-gradient(135deg, rgba(48, 209, 88, 0.15), transparent 39%),
    rgba(4, 17, 25, 0.84);
}

#pay {
  border-width: 1px;
  border-color: rgba(191, 90, 242, 0.34);
  background:
    linear-gradient(135deg, rgba(191, 90, 242, 0.15), transparent 39%),
    rgba(8, 13, 29, 0.84);
}

.devices-panel {
  border-width: 1px;
  border-color: rgba(255, 202, 72, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 180, 35, 0.13), transparent 39%),
    rgba(17, 15, 23, 0.84);
}

.status-strip {
  overflow: hidden;
  border-color: rgba(116, 181, 255, 0.28);
}

.status-strip > div {
  padding: 22px;
  background: rgba(4, 14, 27, 0.64);
}

.faq-list {
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
}

.legal-document,
.legal-sidebar,
.legal-meta,
.legal-hero {
  border-color: rgba(139, 196, 255, 0.22);
}

.site-footer {
  width: min(var(--content), calc(100% - 32px));
  margin: 42px auto 16px;
  border: 1px solid rgba(181, 215, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(10, 132, 255, 0.08), transparent 38%),
    rgba(3, 11, 21, 0.76);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.button,
button,
.copy-button,
.save {
  border-radius: var(--control-radius);
}

@media (max-width: 980px) {
  .hero-layout {
    min-height: 0;
    padding-top: 62px;
  }

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

  .product-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 720px) {
  :root {
    --radius: 22px;
    --radius-large: 26px;
    --radius-medium: 18px;
    --radius-small: 14px;
    --control-radius: 16px;
  }

  .site-header-shell {
    padding-top: 8px;
  }

  .site-header {
    width: min(100% - 20px, var(--content));
    min-height: 58px;
    padding: 0 10px 0 12px;
    border-radius: 20px;
  }

  .site-nav,
  .header-actions {
    background: transparent;
    box-shadow: none;
  }

  .hero-layout {
    padding-top: 36px;
    padding-bottom: 54px;
  }

  .brand-copy small {
    display: inline;
    font-size: 15px;
  }

  .access-gateway,
  .plan-card,
  .account-panel,
  .form-panel,
  .result-panel,
  .app-choice,
  .product-section,
  .cabinet-preview,
  .support-band,
  .trial-band,
  .payment-modal {
    padding: 22px;
  }

  .plans-section {
    padding-top: 48px;
  }

  .split-heading > p {
    flex: 0 1 auto;
  }

  .trial-band .button,
  .support-band .button {
    width: 100%;
  }

  .account-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  .account-shortcuts a {
    min-width: 0;
    padding: 9px 5px;
    text-align: center;
  }

  .faq-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  .faq-nav a {
    min-width: 0;
    padding: 10px 6px;
    text-align: center;
  }

  .legal-nav {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .legal-nav a {
    min-width: 0;
    text-align: center;
  }

  .steps-section {
    padding-top: 62px;
  }

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

  .steps-list li {
    padding: 20px;
  }

  .preview-access {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .preview-access-meta {
    justify-content: flex-start;
  }

  .preview-lte-head,
  .preview-lte-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer {
    width: min(100% - 20px, var(--content));
    margin-top: 30px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps-list li,
  .plan-card,
  .account-panel {
    animation: none;
  }
}

/* Responsive footer and ambient motion */
.site-footer {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 38px clamp(20px, 3vw, 38px) 24px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -42%;
  z-index: -1;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(115, 185, 255, 0.105),
    transparent
  );
  transform: rotate(13deg);
  animation: footer-glass-sweep 11s ease-in-out infinite;
}

.footer-main,
.footer-brand,
.footer-nav,
.footer-bottom {
  min-width: 0;
}

.footer-requisites {
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border-top: 1px solid var(--line);
  color: #8794a6;
  font-size: 11px;
  line-height: 1.6;
}

.footer-requisites span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-requisites span:nth-child(4) {
  flex-basis: 100%;
}

.footer-requisites strong {
  color: var(--text-soft);
  font-weight: 700;
}

.footer-requisites a {
  color: var(--blue-bright);
  text-decoration: none;
}

.footer-requisites a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  flex-wrap: wrap;
  line-height: 1.5;
}

.motion-reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(20px) scale(0.99);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--motion-delay, 0ms);
  animation: none !important;
}

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

.status-pill.active,
.status-badge.active {
  animation: active-status-breathe 3.8s ease-in-out infinite;
}

.plan-card.recommended,
.account-plan-option.featured,
.tariff-option.featured {
  animation: accent-border-breathe 5.2s ease-in-out infinite !important;
}

.preview-lte-track span {
  position: relative;
  overflow: hidden;
  background-size: 180% 100%;
  animation: preview-meter-flow 4.8s ease-in-out infinite alternate;
}

.preview-lte-track span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.52),
    transparent
  );
  transform: translateX(-130%);
  animation: preview-meter-sheen 3.8s ease-in-out 800ms infinite;
}

@keyframes footer-glass-sweep {
  0%, 16% { left: -42%; opacity: 0; }
  35% { opacity: 0.8; }
  62%, 100% { left: 118%; opacity: 0; }
}

@keyframes active-status-breathe {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 rgba(48, 209, 88, 0); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 22px rgba(48, 209, 88, 0.16); }
}

@keyframes accent-border-breathe {
  0%, 100% { border-color: rgba(73, 213, 126, 0.32); }
  50% { border-color: rgba(92, 177, 255, 0.56); }
}

@keyframes preview-meter-flow {
  from { background-position: 0 50%; }
  to { background-position: 100% 50%; }
}

@keyframes preview-meter-sheen {
  0%, 28% { transform: translateX(-130%); }
  68%, 100% { transform: translateX(130%); }
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 28px 20px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-legal {
    display: grid;
  }

  .footer-requisites {
    display: grid;
    gap: 7px;
  }

  .footer-requisites span:nth-child(4) {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-reveal,
  .motion-reveal.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .site-footer::before,
  .status-pill.active,
  .status-badge.active,
  .plan-card.recommended,
  .account-plan-option.featured,
  .tariff-option.featured,
  .preview-lte-track span,
  .preview-lte-track span::after {
    animation: none !important;
  }
}
