:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --surface: #111111;
  --surface-2: #151515;
  --surface-3: #1b1712;
  --text: #ffffff;
  --text-soft: #dadada;
  --muted: #8a8a8a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #ff7a00;
  --accent-soft: #ffb000;
  --accent-ink: #1c0d02;
  --danger: #ff5a3d;
  --success: #72e09d;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
  --font: "Manrope", "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  opacity: 0.65;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(255, 122, 0, 0.32);
}

.section-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section-compact {
  padding: 22px 0 58px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 28px, 1180px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 176, 0, 0.38);
  border-radius: 50%;
  background: #080808 url("/assets/vleespolez-bot-logo.jpg") center / cover no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px rgba(255, 122, 0, 0.12);
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.nav a:not(.button) {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav a:not(.button):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
}

.button-accent {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 26px rgba(255, 122, 0, 0.18);
}

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

.button-muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.button-muted:hover,
.button-ghost:hover {
  border-color: rgba(255, 122, 0, 0.34);
  background: rgba(255, 122, 0, 0.08);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.button-icon svg {
  width: 18px;
  height: 18px;
}

.button-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  padding: 74px 0 28px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  align-items: center;
  gap: 36px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  font-size: 44px;
  font-weight: 860;
}

h2 {
  max-width: 760px;
  font-size: 32px;
  font-weight: 830;
}

h3 {
  font-size: 20px;
  font-weight: 800;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.support-link {
  color: var(--muted);
  font-weight: 720;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 180ms ease, border-color 180ms ease;
}

.support-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 760;
}

.hero-visual {
  position: relative;
  height: 460px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  contain: layout paint;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.08) 46%, rgba(5, 5, 5, 0.2));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.connection-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  width: min(360px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(17, 17, 17, 0.83);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  contain: layout paint;
}

.card-topline,
.subscription-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-topline {
  justify-content: flex-start;
  color: var(--text-soft);
  font-weight: 760;
  font-size: 13px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(114, 224, 157, 0.1);
  animation: breathe 2.2s ease-in-out infinite;
}

.subscription-row {
  margin-top: 18px;
}

.subscription-row p,
.metric-grid span {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
}

.subscription-row strong,
.metric-grid strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  margin-top: 16px;
}

.metric-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.balancer-note {
  margin-top: 12px;
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 122, 0, 0.08);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 760;
}

.stats-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.stats-strip div {
  padding: 22px;
  background: rgba(17, 17, 17, 0.78);
}

.stats-strip strong {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 24px;
}

.stats-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
}

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

.feature-card,
.price-card,
.tech-card,
.step,
.dashboard-card,
.auth-panel,
.integration-panel,
.account-flow,
.state-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.feature-card {
  min-height: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover,
.price-card:hover,
.tech-card:hover,
.step:hover,
.dashboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 0, 0.22);
}

.feature-media {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #080808;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 48%, rgba(17, 17, 17, 0.82) 100%),
    radial-gradient(circle at 72% 18%, rgba(255, 122, 0, 0.1), transparent 36%);
  pointer-events: none;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-media img {
  transform: scale(1.045);
}

.feature-content {
  padding: 13px 15px 15px;
}

.feature-card h3,
.step h3,
.tech-card h3 {
  margin-bottom: 8px;
}

.feature-card p,
.step p,
.tech-card p,
.account-flow p {
  margin: 0;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
}

.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 7px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  line-height: 1.25;
}

.steps {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
  gap: 14px;
}

.step {
  padding: 24px;
}

.step span,
.price-label,
.dashboard-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.12fr 1fr;
  align-items: stretch;
  gap: 14px;
}

.price-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.price-card-accent {
  background:
    linear-gradient(180deg, rgba(255, 122, 0, 0.18), rgba(255, 176, 0, 0.05)),
    var(--surface);
  border-color: rgba(255, 122, 0, 0.34);
}

.price {
  margin: 18px 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 800;
  white-space: nowrap;
}

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

.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.5;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card .button {
  margin-top: auto;
}

.account-flow {
  margin-top: 14px;
  padding: 22px;
}

.tech-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.tech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tech-card {
  padding: 22px;
}

.pro-details {
  grid-column: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.035);
}

.pro-details summary {
  cursor: pointer;
  color: var(--text-soft);
  font-weight: 780;
}

.pro-details p {
  margin: 12px 0 0;
  font-family: var(--mono);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.035);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 122, 0, 0.28);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255, 122, 0, 0.13), rgba(255, 255, 255, 0.035)),
    var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 22px;
  background: #070707;
}

.compact-footer {
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
}

.footer-grid p {
  max-width: 420px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 94px 0 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
}

.pricing-grid-page {
  margin-top: 8px;
}

.integration-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  padding: 28px;
}

.flow-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-page {
  padding: 94px 0;
  max-width: 820px;
}

.legal-page h1 {
  margin-bottom: 22px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p {
  margin: 14px 0 0;
}

.dashboard-page {
  padding-bottom: 80px;
}

.dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 94px 0 26px;
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 16px;
}

.account-session {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.account-user-chip {
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-message {
  margin-bottom: 14px;
  border: 1px solid rgba(255, 122, 0, 0.24);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 122, 0, 0.08);
  color: var(--accent-soft);
}

.dashboard-message.error {
  border-color: rgba(255, 90, 61, 0.34);
  background: rgba(255, 90, 61, 0.08);
  color: #ffb5a8;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.skeleton-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.035);
  background-size: 220px 100%, auto;
  animation: skeleton 1.45s ease-in-out infinite;
}

.skeleton-card-wide {
  grid-column: span 2;
}

.auth-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

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

.telegram-widget-slot {
  grid-column: 1 / -1;
  min-height: 44px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.dashboard-card {
  padding: 22px;
  min-width: 0;
}

.dashboard-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 122, 0, 0.16), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.dashboard-card-wide {
  grid-column: span 2;
}

.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-heading h2 {
  font-size: 24px;
}

.card-heading .button {
  flex: 0 0 auto;
}

.pill-live {
  color: var(--success);
  border-color: rgba(114, 224, 157, 0.25);
  background: rgba(114, 224, 157, 0.08);
}

.pill-warning {
  color: var(--accent-soft);
  border-color: rgba(255, 176, 0, 0.26);
  background: rgba(255, 176, 0, 0.08);
}

.subscription-meter {
  margin-bottom: 18px;
}

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

.meter-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width 500ms ease;
}

.subscription-meter p {
  margin: 10px 0 0;
}

.details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.details-list div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

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

.details-list dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.details-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 780;
}

.key-box,
.referral-link {
  width: 100%;
  min-height: 66px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.mini-instruction {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.mini-instruction strong {
  color: var(--text);
}

.mini-instruction p {
  margin: 6px 0 0;
}

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

.server-button,
.plan-tile {
  width: 100%;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.server-button-static {
  cursor: default;
}

.server-button-static:hover {
  transform: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button.is-disabled {
  pointer-events: auto;
  cursor: not-allowed;
  opacity: 0.48;
}

.button.is-disabled:hover {
  transform: none;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.server-button:hover,
.plan-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 0, 0.28);
  background: rgba(255, 122, 0, 0.07);
}

.server-button.selected,
.plan-tile.selected {
  border-color: rgba(255, 122, 0, 0.45);
  background: rgba(255, 122, 0, 0.11);
}

.server-button > span,
.plan-tile span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.server-button strong,
.plan-tile strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
}

.server-button small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--accent-soft);
  font-family: var(--mono);
}

.server-status {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(114, 224, 157, 0.08);
}

.server-updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.empty-state p {
  margin: 8px 0 0;
}

.account-alert {
  margin-bottom: 16px;
}

.referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.referral-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.referral-stats strong {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 24px;
}

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

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

.support-card {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.state-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.state-panel {
  width: min(100%, 560px);
  padding: 34px;
  text-align: left;
}

.state-mark {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.success-mark {
  background:
    linear-gradient(135deg, rgba(114, 224, 157, 0.16), rgba(255, 255, 255, 0.03)),
    var(--surface);
  border: 1px solid rgba(114, 224, 157, 0.34);
}

.error-mark {
  background:
    linear-gradient(135deg, rgba(255, 90, 61, 0.16), rgba(255, 255, 255, 0.03)),
    var(--surface);
  border: 1px solid rgba(255, 90, 61, 0.34);
}

.state-panel p {
  margin: 16px 0 22px;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.delay-1 {
  animation-delay: 90ms;
}

.delay-2 {
  animation-delay: 180ms;
}

.delay-3 {
  animation-delay: 270ms;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes skeleton {
  0% {
    background-position: -220px 0, 0 0;
  }
  100% {
    background-position: calc(100% + 220px) 0, 0 0;
  }
}

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

@media (max-width: 1020px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 10px;
  }

  .nav .button {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .tech-grid,
  .faq-layout,
  .integration-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 400px;
  }

  .benefit-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pro-details {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

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

  .dashboard-card-wide,
  .support-card {
    grid-column: auto;
  }

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

@media (max-width: 720px) {
  .section-shell,
  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 44px 0 24px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 16px;
    margin-top: 16px;
  }

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

  .hero-proof {
    margin-top: 14px;
  }

  .hero-actions .button,
  .hero-actions .support-link,
  .final-cta-inner .button,
  .auth-actions .button,
  .button-row .button {
    width: 100%;
  }

  .hero-visual {
    height: 270px;
  }

  .connection-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .metric-grid,
  .stats-strip,
  .benefit-grid,
  .steps,
  .pricing-grid,
  .tech-cards,
  .footer-grid,
  .skeleton-grid,
  .auth-panel,
  .details-list,
  .server-grid,
  .account-pricing,
  .referral-stats {
    grid-template-columns: 1fr;
  }

  .skeleton-card-wide {
    grid-column: auto;
  }

  .final-cta-inner,
  .dashboard-hero,
  .support-card,
  .card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta-inner,
  .integration-panel,
  .auth-panel,
  .state-panel {
    padding: 22px;
  }

  .dashboard-hero {
    padding-top: 62px;
  }

  .dashboard-card {
    padding: 18px;
  }

  .page-hero,
  .legal-page {
    padding-top: 62px;
  }

}

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

@media (max-width: 390px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  .button {
    padding-left: 14px;
    padding-right: 14px;
  }

  .connection-card {
    padding: 14px;
  }
}
