:root {
  --black: #030303;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --yellow: #ffd400;
  --yellow-soft: rgba(255, 212, 0, 0.18);
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(255, 212, 0, 0.36);
  color: #050505;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(128deg, rgba(255, 212, 0, 0.11), transparent 24rem),
    linear-gradient(180deg, #090909 0%, #030303 52%, #080808 100%),
    var(--black);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  background:
    linear-gradient(125deg, transparent 0 31%, rgba(255, 212, 0, 0.08) 31.2% 34%, transparent 34.2%),
    linear-gradient(125deg, transparent 0 66%, rgba(255, 255, 255, 0.045) 66.2% 69%, transparent 69.2%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

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

a,
button {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.shell {
  margin: 0 auto;
  max-width: 1480px;
  padding-left: clamp(20px, 6vw, 96px);
  padding-right: clamp(20px, 6vw, 96px);
}

.nav-shell {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  height: 78px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 3, 3, 0.78);
  backdrop-filter: blur(20px);
}

.brand {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  min-width: 116px;
}

.brand-kicker {
  color: #ffffff;
  font-size: 7px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.brand-wordmark {
  display: grid;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: 31px;
  font-weight: 950;
  line-height: 0.78;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.44);
}

.brand-wordmark span:first-child {
  color: #ffffff;
}

.brand-wordmark span:last-child {
  color: var(--yellow);
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 38px;
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a:hover,
.nav-login:hover {
  color: var(--yellow);
}

.mobile-nav-only,
.menu-toggle {
  display: none;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 16px;
}

.nav-login {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 800;
}

.ghost-button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  min-width: 196px;
  padding: 0 22px;
}

.ghost-button:hover {
  background: var(--yellow);
  color: #050505;
  transform: translateY(-1px);
}

.message-stack {
  padding-top: 18px;
}

.message {
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.36);
  border-radius: 8px;
  color: #fff4a3;
  font-weight: 800;
  margin: 0;
  padding: 14px 18px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: calc(100svh - 78px);
  overflow: hidden;
  padding-bottom: 36px;
  padding-top: 34px;
  position: relative;
}

.kicker {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

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

h1 {
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(72px, 9.6vw, 138px);
  letter-spacing: 0;
  line-height: 0.76;
  margin-bottom: 24px;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--yellow);
}

.hero-title {
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 570px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-badges span {
  background: rgba(36, 214, 118, 0.1);
  border: 1px solid rgba(36, 214, 118, 0.34);
  border-radius: 999px;
  color: #57ee91;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

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

.primary-button {
  align-items: center;
  background: var(--yellow);
  border: 0;
  border-radius: 14px;
  color: #050505;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
}

.primary-button:hover {
  background: #ffe867;
  box-shadow: 0 18px 46px rgba(255, 212, 0, 0.22);
  transform: translateY(-2px);
}

.secondary-button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  min-height: 58px;
  padding: 0 28px;
}

.secondary-button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #050505;
  transform: translateY(-2px);
}

.trial-note {
  color: #858585;
  font-size: 13px;
  font-weight: 700;
  margin: 13px 0 0;
}

.cta-short {
  display: none;
}

.primary-button:active,
.ghost-button:active,
.plan-card a:active,
.text-button:active {
  transform: translateY(0) scale(0.98);
}

.apple-mark {
  font-size: 18px;
}

.play-button {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  gap: 14px;
  font-weight: 700;
}

.play-button:hover {
  color: var(--yellow);
}

.play-button span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.play-button:hover span {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #050505;
}

.hero-visual img {
  display: block;
  margin-left: auto;
  max-width: 100%;
}

.value-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.value-strip div {
  display: grid;
  gap: 5px;
  padding: 24px 28px;
}

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

.value-strip strong {
  font-size: 18px;
}

.value-strip span {
  color: var(--muted);
  font-size: 14px;
}

.feature-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 20px;
}

.feature-row article,
.plan-card,
.server-list article,
.install-steps article,
.faq-list details,
.access-card,
.account-side,
.checkout-summary,
.payment-card,
.auth-card,
.order-list article {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.feature-row article {
  min-height: 206px;
  padding: 26px;
}

.feature-row article:hover,
.server-list article:hover,
.faq-list details:hover {
  border-color: rgba(255, 212, 0, 0.32);
  transform: translateY(-2px);
}

.icon {
  align-items: center;
  background: linear-gradient(180deg, #242424, #101010);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--yellow);
  display: inline-flex;
  font-size: 28px;
  height: 54px;
  justify-content: center;
  margin-bottom: 28px;
  width: 54px;
}

.feature-row h2,
.service h2 {
  font-size: 22px;
  line-height: 1.2;
}

.feature-row p,
.support p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  padding-bottom: 26px;
  padding-top: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats div {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  min-height: 92px;
  padding: 22px 36px;
}

.stats strong {
  font-size: 32px;
}

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

.plans,
.servers,
.support,
.install-flow,
.faq,
.support-cta {
  margin-top: 22px;
  padding-bottom: 44px;
  padding-top: 44px;
}

.section-head {
  margin-bottom: 26px;
  max-width: 660px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.support h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  margin-bottom: 0;
}

.support-cta {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.12), rgba(255, 255, 255, 0.035));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.support-cta h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.support-cta p:not(.kicker) {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 680px;
}

.telegram-button {
  align-items: center;
  background: rgba(36, 214, 118, 0.12);
  border: 1px solid rgba(36, 214, 118, 0.42);
  border-radius: 999px;
  color: #57ee91;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  white-space: nowrap;
}

.telegram-button:hover {
  background: #57ee91;
  color: #050505;
  transform: translateY(-1px);
}

.telegram-button.small {
  border-radius: 8px;
  min-height: 54px;
}

.trial-offer {
  align-items: center;
  background: linear-gradient(110deg, var(--yellow), #fff08a);
  border-radius: 8px;
  color: #050505;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 34px;
  padding: 24px 28px;
}

.trial-offer div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.trial-offer span {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.trial-offer strong {
  font-size: clamp(26px, 3vw, 38px);
}

.trial-offer small {
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  font-weight: 750;
  width: 100%;
}

.trial-offer a {
  align-items: center;
  background: #050505;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
}

.trial-offer a:hover {
  background: #252525;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 26px;
  position: relative;
}

.plan-card.featured {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #070707;
  box-shadow: 0 0 0 1px rgba(255, 212, 0, 0.55), 0 22px 70px rgba(255, 212, 0, 0.12);
  transform: translateY(-14px);
}

.badge {
  background: #050505;
  border-radius: 0 0 10px 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 16px;
  position: absolute;
  right: 18px;
  top: 0;
}

.plan-card .badge {
  color: var(--yellow);
}

.price {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 8px;
}

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

.plan-card span,
.plan-benefits {
  color: var(--muted);
}

.plan-total,
.plan-note {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.plan-perks {
  color: var(--muted);
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
}

.plan-perks li {
  line-height: 1.35;
  padding-left: 24px;
  position: relative;
}

.plan-perks li::before {
  color: var(--yellow);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.plan-card a {
  align-items: center;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.34);
  border-radius: 999px;
  color: var(--yellow);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: auto;
  min-height: 56px;
  padding: 0 22px;
}

.plan-card a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #050505;
}

.plan-card.featured .price span,
.plan-card.featured .plan-total,
.plan-card.featured .plan-note,
.plan-card.featured .plan-perks {
  color: rgba(0, 0, 0, 0.62);
}

.plan-card.featured .plan-perks li::before {
  color: #050505;
}

.plan-card.featured a {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.plan-card.featured a:hover {
  background: #202020;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.plan-benefits {
  align-self: center;
  line-height: 1.75;
}

.server-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.location-fastest {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 212, 0, 0.25);
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 22px;
  max-width: 680px;
  min-height: 54px;
  padding: 10px 22px;
}

.location-fastest span {
  color: var(--muted);
}

.location-fastest strong {
  color: #fff;
}

.location-map {
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 66% 43%, rgba(255, 212, 0, 0.16), transparent 20rem),
    linear-gradient(145deg, #5f83b8 0%, #244d7c 48%, #173762 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42), inset 0 0 0 14px rgba(255, 255, 255, 0.045);
  height: clamp(500px, 54vw, 720px);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.map-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  inset: 0;
  opacity: 0.28;
  position: absolute;
  transform-origin: center;
}

.europe-map {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
  height: calc(100% - 28px);
  inset: 14px 20px;
  opacity: 1;
  position: absolute;
  transform-origin: center;
  width: calc(100% - 40px);
  z-index: 2;
}

.map-shape {
  fill: rgba(1, 7, 39, 0.86);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.map-shape.greenland,
.map-shape.iceland {
  fill: rgba(1, 7, 39, 0.9);
}

.map-shape.russia {
  fill: rgba(10, 24, 66, 0.82);
}

.map-shape.africa {
  fill: rgba(8, 27, 63, 0.68);
  opacity: 0.75;
}

.map-country-lines,
.map-coast-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-country-lines {
  opacity: 0.32;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-width: 1;
}

.map-coast-glow {
  opacity: 0.5;
  stroke: rgba(255, 212, 0, 0.58);
  stroke-width: 2.2;
}

.map-route {
  background: rgba(255, 212, 0, 0.42);
  border-radius: 999px;
  height: 2px;
  left: 28%;
  position: absolute;
  transform-origin: left center;
  width: 54%;
  z-index: 3;
}

.route-one {
  top: 58%;
  transform: rotate(-8deg);
}

.route-two {
  top: 48%;
  transform: rotate(9deg);
  width: 46%;
}

.map-dot {
  align-items: center;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 54px;
  justify-content: center;
  padding: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 54px;
  z-index: 4;
}

.map-dot span {
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 212, 0, 0.12), 0 0 36px rgba(255, 212, 0, 0.42);
  display: block;
  height: 18px;
  width: 18px;
}

.map-dot:hover,
.map-dot.active {
  background: rgba(255, 212, 0, 0.22);
  border-color: rgba(255, 212, 0, 0.62);
  transform: translate(-50%, -50%) scale(1.16);
}

.map-dot.active span {
  background: #57ee91;
  box-shadow: 0 0 0 12px rgba(87, 238, 145, 0.18), 0 0 42px rgba(87, 238, 145, 0.6);
}

.map-dot-fake {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.16);
  cursor: default;
  height: 42px;
  opacity: 0.86;
  pointer-events: none;
  width: 42px;
  z-index: 3;
}

.map-dot-fake span {
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.12), 0 0 28px rgba(255, 212, 0, 0.36);
  height: 14px;
  width: 14px;
}

.map-card {
  background: rgba(0, 0, 0, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  left: 24px;
  min-width: 250px;
  padding: 18px;
  position: absolute;
  backdrop-filter: blur(16px);
  z-index: 5;
}

.map-card span,
.map-card small {
  color: var(--muted);
}

.map-card strong {
  font-size: 24px;
}

.map-card b {
  color: #57ee91;
  font-size: 28px;
}

.map-controls {
  display: grid;
  gap: 8px;
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 6;
}

.map-controls button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  height: 52px;
  width: 52px;
}

.map-controls button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #050505;
}

.location-map.zoomed .map-grid {
  background-size: 34px 34px;
}

.location-map.zoomed .europe-map {
  transform: scale(1.06);
}

.location-map.zoomed .map-dot span {
  transform: scale(1.12);
}

.server-list article {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 22px;
}

.server-ok {
  color: #57ee91;
  display: inline-flex;
  font-weight: 900;
  margin-right: 10px;
}

.server-list article > div > span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.server-list .server-ok {
  color: #57ee91;
  display: inline-flex;
  margin-top: 0;
}

.server-metric {
  text-align: right;
}

.server-metric strong {
  color: #57ee91;
}

.install-steps {
  display: grid;
  gap: 46px;
  margin: 0 auto;
  max-width: 720px;
  position: relative;
}

.install-steps::before {
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.7), rgba(255, 212, 0, 0.1));
  bottom: 26px;
  content: "";
  left: 50%;
  position: absolute;
  top: 26px;
  transform: translateX(-50%);
  width: 2px;
}

.install-steps article {
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.98), rgba(16, 16, 16, 0.98));
  min-height: 178px;
  padding: 26px;
  position: relative;
  z-index: 1;
}

.install-steps article:nth-child(even) {
  transform: translateX(54px);
}

.install-steps article:nth-child(odd) {
  transform: translateX(-54px);
}

.install-steps small {
  color: var(--yellow);
  font-weight: 900;
}

.install-steps h3 {
  font-size: 30px;
  margin-bottom: 12px;
  margin-top: 22px;
}

.install-steps p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.step-icon {
  align-items: center;
  background: var(--yellow);
  border-radius: 16px;
  color: #050505;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  position: absolute;
  right: 26px;
  top: 26px;
  width: 58px;
}

.done-step {
  border-color: rgba(36, 214, 118, 0.34);
}

.done-step .step-icon {
  background: #57ee91;
}

.support {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 54px;
}

.support div {
  max-width: 700px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 940px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 21px;
  font-weight: 900;
  list-style: none;
  padding: 22px 26px;
}

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

.faq-list summary::after {
  color: var(--yellow);
  content: "+";
  float: right;
  font-size: 28px;
  line-height: 1;
}

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

.faq-list p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  padding: 0 26px 24px;
}

.account-page,
.checkout-page,
.auth-page {
  min-height: calc(100vh - 78px);
}

.account-hero,
.auth-shell,
.checkout-grid {
  padding-top: 70px;
}

.account-hero h1,
.auth-card h1,
.checkout-summary h1 {
  font-size: clamp(50px, 8vw, 108px);
  margin-bottom: 22px;
}

.account-grid,
.checkout-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.access-card,
.account-side,
.checkout-summary,
.payment-card,
.auth-card {
  padding: 30px;
}

.access-card h2,
.account-side h2,
.payment-card h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.usage-preview {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  margin: 24px 0 6px;
  overflow: hidden;
}

.usage-preview div {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 54px;
  padding: 12px 16px;
}

.usage-preview span {
  color: var(--muted);
}

.usage-preview strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.traffic-bar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  height: 12px;
  margin: 12px 0 20px;
  overflow: hidden;
}

.traffic-bar span {
  background: linear-gradient(90deg, var(--yellow), #57ee91);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 4px;
}

.status-pill {
  background: rgba(255, 212, 0, 0.13);
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 999px;
  color: var(--yellow);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 22px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.muted-pill {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--muted);
}

.muted,
.hint,
.auth-alt {
  color: var(--muted);
}

.access-card label,
.auth-form label {
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  font-weight: 800;
  gap: 8px;
  margin-top: 20px;
}

.copy-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 10px;
}

.copy-row input,
.copy-row textarea,
.auth-form input {
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  font: inherit;
  min-height: 54px;
  outline: none;
  padding: 0 16px;
  width: 100%;
}

.copy-row input:focus,
.copy-row textarea:focus,
.auth-form input:focus {
  border-color: rgba(255, 212, 0, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.12);
}

.auth-form input::selection,
.copy-row input::selection,
.copy-row textarea::selection {
  background: rgba(255, 212, 0, 0.42);
  color: #050505;
}

.auth-form input:-webkit-autofill,
.copy-row input:-webkit-autofill,
.copy-row textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #111 inset;
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  transition: background-color 9999s ease-out;
}

.copy-row textarea {
  line-height: 1.5;
  min-height: 86px;
  padding-bottom: 14px;
  padding-top: 14px;
  resize: none;
  word-break: break-all;
}

.copy-row button,
.text-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 54px;
  padding: 0 18px;
}

.copy-row button:hover,
.text-button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #050505;
  transform: translateY(-1px);
}

.hint {
  margin-bottom: 0;
  margin-top: 16px;
}

.mini-plan-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mini-plan-list a,
.summary-line {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
}

.mini-plan-list span,
.summary-line span {
  color: var(--muted);
}

.mini-plan-list a:hover {
  border-color: rgba(255, 212, 0, 0.5);
}

.account-side ol {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-left: 22px;
}

.orders-section {
  padding-bottom: 60px;
  padding-top: 44px;
}

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

.order-list article {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 74px;
  padding: 18px 22px;
}

.order-list span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.checkout-summary h1 span:last-child {
  color: var(--yellow);
}

.summary-line {
  margin-top: 12px;
}

.payment-methods {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.payment-method {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: auto auto minmax(0, 1fr);
  min-height: 78px;
  padding: 14px 16px;
}

.payment-method:hover {
  border-color: rgba(255, 212, 0, 0.38);
  transform: translateY(-1px);
}

.payment-method:has(input:checked) {
  background: rgba(255, 212, 0, 0.1);
  border-color: rgba(255, 212, 0, 0.68);
}

.payment-method input {
  accent-color: var(--yellow);
}

.method-icon {
  align-items: center;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.26);
  border-radius: 8px;
  color: var(--yellow);
  display: inline-flex;
  font-size: 22px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.payment-method strong,
.payment-method small {
  display: block;
}

.payment-method small {
  color: var(--muted);
  line-height: 1.35;
  margin-top: 4px;
}

.fake-card {
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.2), transparent 42%),
    linear-gradient(160deg, #202020, #060606);
  border: 1px solid rgba(255, 212, 0, 0.26);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 8px 0 0;
  min-height: 128px;
  padding: 24px;
}

.fake-card span:first-child {
  align-self: end;
  font-size: 24px;
  font-weight: 900;
}

.fake-card span:last-child {
  color: var(--muted);
  font-weight: 800;
}

.pay-form {
  align-items: stretch;
  display: grid;
  gap: 14px;
}

.pay-form .primary-button {
  justify-content: center;
}

.promo-field,
.owner-form label {
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  font-weight: 900;
  gap: 8px;
}

.promo-field span {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-field input,
.owner-form input,
.owner-form select {
  appearance: none;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  min-height: 54px;
  outline: none;
  padding: 0 16px;
  width: 100%;
}

.owner-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 42px;
}

.promo-field input:focus,
.owner-form input:focus,
.owner-form select:focus {
  border-color: rgba(255, 212, 0, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.12);
}

.promo-field small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.auth-shell {
  display: grid;
  place-items: start center;
}

.auth-card {
  max-width: 560px;
  width: 100%;
}

.verification-card,
.compact-auth-card {
  max-width: 500px;
  padding: 28px;
}

.verification-card h1,
.compact-auth-card h1 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(36px, 6vw, 50px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.auth-eyebrow {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.verification-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}

.verification-copy strong {
  color: #ffffff;
  overflow-wrap: anywhere;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.auth-form.compact-form {
  margin-top: 12px;
}

.auth-form .primary-button {
  justify-content: center;
  width: 100%;
}

.verification-form {
  gap: 14px;
}

.verification-code-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 2px;
  text-transform: uppercase;
}

.verification-code-wrap {
  cursor: text;
  isolation: isolate;
  position: relative;
}

.verification-code-input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  caret-color: transparent;
  color: transparent !important;
  height: 100%;
  inset: 0;
  min-height: 0 !important;
  opacity: 0.01;
  padding: 0 !important;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.verification-code-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: transparent !important;
}

.verification-code-slots {
  display: grid;
  gap: clamp(8px, 1.8vw, 12px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.verification-code-slot {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  height: clamp(54px, 10vw, 64px);
  justify-content: center;
  line-height: 1;
  transform: translateZ(0);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.verification-code-slot.is-filled {
  background:
    linear-gradient(180deg, rgba(255, 212, 0, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.58);
  border-color: rgba(255, 212, 0, 0.34);
}

.verification-code-wrap:focus-within .verification-code-slot.is-active {
  border-color: rgba(255, 212, 0, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 4px rgba(255, 212, 0, 0.13),
    0 18px 38px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.verification-form .errorlist {
  margin-top: 0;
}

.verification-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-top: 20px;
}

.verification-actions a,
.auth-link-button,
.field-heading a {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.auth-link-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.verification-actions a:hover,
.auth-link-button:hover,
.field-heading a:hover {
  color: #fff08a;
}

.field-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.auth-result-card {
  text-align: center;
}

.auth-result-card .primary-button,
.compact-auth-card > .primary-button {
  justify-content: center;
  margin-top: 26px;
  width: 100%;
}

.auth-result-icon {
  align-items: center;
  background: rgba(56, 218, 122, 0.12);
  border: 1px solid rgba(56, 218, 122, 0.38);
  border-radius: 50%;
  color: #69ee9a;
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.wide-button {
  justify-content: center;
  text-align: center;
  width: 100%;
}

.auth-alt {
  margin-bottom: 0;
  margin-top: 24px;
}

.auth-alt a {
  color: var(--yellow);
}

.account-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.owner-hero {
  padding-bottom: 24px;
}

.owner-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 24px;
}

.owner-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.032)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  padding: 28px;
}

.owner-card .section-head {
  margin-bottom: 18px;
}

.owner-card .section-head h2 {
  font-size: clamp(24px, 3vw, 38px);
}

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

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

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

.owner-list article,
.mini-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 70px;
  padding: 15px 18px;
}

.owner-list strong,
.mini-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.owner-list span,
.mini-row small,
.visit-meta span {
  color: var(--muted);
  display: block;
  line-height: 1.45;
  margin-top: 4px;
}

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

.danger-button {
  border-color: rgba(255, 95, 95, 0.36);
  color: #ffb7a8;
}

.danger-button:hover {
  background: #ffb7a8;
  border-color: #ffb7a8;
  color: #050505;
}

.mini-table {
  display: grid;
  gap: 10px;
}

.mini-row {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.mini-row > span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

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

.marketing-grid article {
  background:
    linear-gradient(180deg, rgba(255, 212, 0, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 212, 0, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 22px;
}

.marketing-grid span,
.marketing-grid small {
  color: var(--muted);
  font-weight: 800;
}

.marketing-grid strong {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.partner-card textarea {
  min-height: 72px;
}

.visit-meta {
  text-align: right;
}

.admin-console {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
}

.compact-console {
  padding-bottom: 20px;
  padding-top: 20px;
}

.admin-console-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.admin-search {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  min-width: min(360px, 100%);
  text-transform: uppercase;
}

.admin-search input {
  appearance: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  min-height: 46px;
  outline: none;
  padding: 0 14px;
  text-transform: none;
}

.admin-search input:focus {
  border-color: rgba(255, 212, 0, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.1);
}

.admin-table {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.admin-table-head,
.admin-table-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 1.35fr) minmax(132px, 0.65fr) minmax(170px, 0.85fr) minmax(142px, 0.7fr) minmax(132px, 0.6fr) 104px;
}

.admin-table-head {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  min-height: 42px;
  padding: 0 16px;
  text-transform: uppercase;
}

.admin-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.admin-row[hidden] {
  display: none;
}

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

.admin-table-row {
  cursor: pointer;
  list-style: none;
  min-height: 74px;
  padding: 12px 16px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.admin-table-row::-webkit-details-marker {
  display: none;
}

.admin-table-row:hover {
  background: rgba(255, 255, 255, 0.045);
}

.admin-row[open] .admin-table-row {
  background: rgba(255, 212, 0, 0.055);
}

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

.admin-table-row strong {
  color: #ffffff;
  font-size: 15px;
}

.admin-table-row small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}

.admin-table-row > span:nth-child(2) {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.status-dot {
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.status-dot.active {
  background: #38da7a;
  box-shadow: 0 0 0 5px rgba(56, 218, 122, 0.12);
}

.status-dot.blocked {
  background: #ff6d6d;
  box-shadow: 0 0 0 5px rgba(255, 109, 109, 0.12);
}

.online-text {
  color: #73f09f !important;
}

.row-action {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.admin-row-panel {
  background: rgba(0, 0, 0, 0.24);
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  padding: 16px;
}

.user-detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.detail-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.detail-line {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}

.user-detail-actions {
  align-self: start;
}

.admin-empty {
  color: var(--muted);
  padding: 24px 16px;
}

.owner-command,
.owner-module {
  padding-bottom: 28px;
}

.owner-command {
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 212, 0, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  margin-bottom: 24px;
  padding-bottom: 28px;
  padding-top: 28px;
}

.owner-command-head,
.owner-module-head {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.owner-command h2,
.owner-module h2 {
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.86;
  margin-bottom: 0;
}

.ai-status-pill,
.module-metrics span,
.owner-tabs a,
.ai-quick-prompts button,
.server-status {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ai-status-pill {
  background: rgba(56, 218, 122, 0.11);
  border: 1px solid rgba(56, 218, 122, 0.36);
  color: #73f09f;
  padding: 10px 13px;
  text-transform: uppercase;
}

.ai-status-pill.is-loading {
  background: rgba(255, 212, 0, 0.12);
  border-color: rgba(255, 212, 0, 0.34);
  color: var(--yellow);
}

.ai-ask-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr) auto;
}

.ai-ask-form label,
.server-metric-form {
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  font-weight: 900;
  gap: 8px;
}

.ai-ask-form select,
.ai-ask-form textarea,
.server-metric-form input,
.owner-form textarea {
  appearance: none;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  outline: none;
  padding: 14px 16px;
  width: 100%;
}

.ai-ask-form textarea,
.owner-form textarea {
  line-height: 1.45;
  min-height: 74px;
  resize: vertical;
}

.ai-ask-form select:focus,
.ai-ask-form textarea:focus,
.server-metric-form input:focus,
.owner-form textarea:focus {
  border-color: rgba(255, 212, 0, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.12);
}

.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ai-quick-prompts button {
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  padding: 10px 12px;
}

.ai-quick-prompts button:hover,
.owner-tabs a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #050505;
}

.ai-answer {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 212, 0, 0.24);
  border-radius: 8px;
  color: #fff8c5;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 16px;
  overflow-wrap: anywhere;
  padding: 18px;
  white-space: pre-wrap;
}

.owner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  position: sticky;
  top: 86px;
  z-index: 10;
}

.owner-tabs a {
  background: rgba(3, 3, 3, 0.78);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.88);
  padding: 12px 16px;
}

.owner-module {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
}

.module-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.module-metrics span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
}

.owner-section-grid,
.owner-two-columns {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  margin-bottom: 18px;
}

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

.owner-card h3,
.orders-section h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 0;
}

.ai-panel {
  border-color: rgba(255, 212, 0, 0.23);
}

.ai-panel h3 {
  margin-bottom: 16px;
}

.ai-panel ul {
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 10px;
  line-height: 1.5;
  margin: 0;
  padding-left: 18px;
}

.finance-metrics,
.server-admin-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.finance-metrics article,
.server-admin-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.finance-metrics span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.finance-metrics strong {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

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

.server-admin-card {
  display: grid;
  gap: 16px;
}

.server-admin-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.server-admin-head strong {
  display: block;
  font-size: 22px;
}

.server-admin-head span:not(.server-status) {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.server-status {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.8);
  padding: 9px 10px;
  text-transform: uppercase;
}

.server-status.online {
  background: rgba(56, 218, 122, 0.12);
  border-color: rgba(56, 218, 122, 0.36);
  color: #73f09f;
}

.server-status.offline {
  background: rgba(255, 95, 95, 0.12);
  border-color: rgba(255, 95, 95, 0.36);
  color: #ffb7a8;
}

.server-identity {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.server-identity span,
.server-identity small,
.server-lease-line span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.server-identity strong {
  color: #ffffff;
  font-size: 20px;
  overflow-wrap: anywhere;
}

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

.server-metric-tiles div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 13px;
}

.server-metric-tiles span,
.server-metric-tiles small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.server-metric-tiles strong {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.server-lease-line {
  align-items: center;
  background: rgba(255, 212, 0, 0.065);
  border: 1px solid rgba(255, 212, 0, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  padding: 12px 14px;
}

.server-lease-line span:first-child {
  color: #fff2a3;
  font-weight: 900;
}

.server-detail-list {
  padding: 16px;
}

.server-admin-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.server-admin-card dl div {
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 12px;
  grid-template-columns: 140px minmax(0, 1fr);
  padding-bottom: 9px;
}

.server-admin-card dt {
  color: var(--muted);
  font-weight: 900;
}

.server-admin-card dd {
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.server-metric-form {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.server-metric-form input {
  min-height: 42px;
  padding-bottom: 0;
  padding-top: 0;
}

.metric-field {
  display: grid;
  gap: 6px;
}

.metric-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.server-note {
  background: rgba(255, 212, 0, 0.08);
  border: 1px solid rgba(255, 212, 0, 0.18);
  border-radius: 8px;
  color: #fff1a3;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
}

.server-edit-panel {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.server-edit-panel summary {
  color: var(--yellow);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  padding: 14px 16px;
}

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

.server-edit-panel summary::after {
  content: "+";
  float: right;
}

.server-edit-panel[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.server-edit-panel[open] summary::after {
  content: "-";
}

.server-edit-panel .owner-form {
  padding: 16px;
}

.ai-history-list p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
  margin: 8px 0 0;
}

.error-text {
  color: #ffb7a8 !important;
}

.form-errors,
.errorlist {
  color: #ffb7a8;
  font-weight: 800;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
    display: grid;
    gap: 0;
    left: clamp(18px, 6vw, 96px);
    overflow: hidden;
    position: absolute;
    right: clamp(18px, 6vw, 96px);
    top: calc(100% + 10px);
  }

  .nav-links.is-open a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 52px;
    padding: 16px 18px;
  }

  .nav-links.is-open a:last-child {
    border-bottom: 0;
  }

  .mobile-nav-only {
    display: block;
  }

  .menu-toggle {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 24px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 42px;
  }

  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #050505;
  }

  .menu-icon {
    display: grid;
    gap: 4px;
    width: 18px;
  }

  .menu-icon i {
    background: currentColor;
    border-radius: 2px;
    display: block;
    height: 2px;
    transition: opacity 160ms ease, transform 160ms ease;
    width: 18px;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 30px;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-strip div {
    padding: 18px 22px;
  }

  .value-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-row,
  .stats,
  .plan-grid,
  .account-grid,
  .checkout-grid,
  .marketing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ai-ask-form,
  .owner-section-grid,
  .owner-two-columns,
  .server-admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-table-head {
    display: none;
  }

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

  .admin-table-row > span:first-child,
  .admin-table-row > span:last-child {
    grid-column: 1 / -1;
  }

  .row-action {
    text-align: left;
  }

  .user-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

  .plan-benefits {
    grid-column: 1 / -1;
  }

  .support-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .install-steps article:nth-child(even),
  .install-steps article:nth-child(odd) {
    transform: none;
  }
}

@media (max-width: 620px) {
  .shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    min-height: 44px;
    min-width: 94px;
  }

  .brand-kicker {
    font-size: 6px;
  }

  .brand-wordmark {
    font-size: 25px;
  }

  .ghost-button {
    min-width: 94px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-login {
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    min-height: 42px;
    align-items: center;
  }

  .auth-shell,
  .account-hero,
  .checkout-grid {
    padding-top: 32px;
  }

  .verification-card,
  .compact-auth-card {
    padding: 22px 18px;
  }

  .verification-code-slots {
    gap: 7px;
  }

  .verification-code-slot {
    font-size: 24px;
    height: 54px;
  }

  .hero {
    gap: 18px;
    padding-bottom: 22px;
    padding-top: 26px;
  }

  h1 {
    font-size: clamp(70px, 25vw, 94px);
    margin-bottom: 22px;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .hero-actions {
    align-items: stretch;
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .primary-button,
  .secondary-button {
    justify-content: center;
    min-height: 54px;
    width: 100%;
  }

  .trial-offer {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  .trial-offer a {
    width: 100%;
  }

  .feature-row,
  .stats,
  .plan-grid,
  .account-grid,
  .checkout-grid,
  .marketing-grid,
  .owner-form-row,
  .finance-metrics {
    grid-template-columns: 1fr;
  }

  .owner-command,
  .owner-module {
    padding-bottom: 22px;
    padding-top: 22px;
  }

  .owner-command-head,
  .owner-module-head {
    align-items: flex-start;
    display: grid;
  }

  .admin-console {
    padding: 14px;
  }

  .admin-console-head {
    align-items: stretch;
    display: grid;
  }

  .admin-table-row,
  .server-lease-line,
  .server-metric-tiles {
    grid-template-columns: 1fr;
  }

  .server-metric-tiles div {
    min-height: 82px;
  }

  .owner-command h2,
  .owner-module h2 {
    font-size: 42px;
  }

  .owner-tabs {
    overflow-x: auto;
    padding-bottom: 8px;
    top: 78px;
  }

  .module-metrics {
    justify-content: flex-start;
  }

  .server-admin-card dl div,
  .server-metric-form {
    grid-template-columns: 1fr;
  }

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

  .install-steps {
    gap: 18px;
  }

  .install-steps::before {
    left: 28px;
  }

  .install-steps article {
    padding: 24px;
  }

  .install-steps h3 {
    font-size: 26px;
  }

  .step-icon {
    border-radius: 12px;
    height: 48px;
    width: 48px;
  }

  .server-list article,
  .usage-preview div {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-fastest {
    align-items: flex-start;
    border-radius: 8px;
    justify-content: flex-start;
  }

  .location-map {
    height: 470px;
  }

  .europe-map {
    height: calc(100% - 24px);
    inset: 12px 10px;
    width: calc(100% - 20px);
  }

  .map-card {
    bottom: 16px;
    left: 16px;
    min-width: 0;
    right: 16px;
  }

  .map-controls {
    bottom: auto;
    right: 16px;
    top: 16px;
  }

  .map-controls button {
    height: 46px;
    width: 46px;
  }

  .map-dot {
    height: 42px;
    width: 42px;
  }

  .map-dot span {
    box-shadow: 0 0 0 8px rgba(255, 212, 0, 0.12), 0 0 28px rgba(255, 212, 0, 0.42);
    height: 14px;
    width: 14px;
  }

  .server-metric {
    text-align: left;
  }

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

  .copy-row,
  .order-list article,
  .owner-list article,
  .mini-row,
  .mini-plan-list a,
  .summary-line {
    align-items: stretch;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .inline-actions {
    align-items: stretch;
    display: grid;
  }

  .visit-meta {
    text-align: left;
  }

  .payment-method {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .payment-method input {
    grid-row: 1;
  }

  .method-icon {
    display: none;
  }

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