:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --ink: #101828;
  --muted: #667085;
  --line: #e5eaf2;
  --primary: #ff6a3d;
  --primary-dark: #e85124;
  --secondary: #4d6bff;
  --navy: #101a46;
  --navy-soft: #172052;
  --surface: #ffffff;
  --soft: #f8fbff;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 247, 251, 0));
  content: "";
  height: 420px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -1;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 50%;
  max-width: 1180px;
  padding: 24px;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 5;
}

.brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), #ffb347);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.topnav {
  align-items: center;
  display: flex;
  gap: 24px;
}

.topnav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.topnav a:hover {
  color: #fff;
}

main {
  min-height: calc(100vh - 112px);
}

.hero-section {
  background: var(--navy);
  color: #fff;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background:
    linear-gradient(120deg, #101a46 0%, #111b4b 58%, #26335f 100%);
  inset: 0;
  position: absolute;
}

.hero-bg::before {
  background:
    linear-gradient(135deg, rgba(255, 106, 61, 0.2), transparent 34%),
    linear-gradient(0deg, rgba(244, 247, 251, 0.96), transparent 18%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-bg::after {
  content: none;
}

.hero-content {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 420px;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 680px;
  padding: 124px 24px 76px;
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 62px;
  line-height: 1;
  margin-bottom: 24px;
}

h2 {
  font-size: 34px;
  line-height: 1.12;
  margin-bottom: 14px;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 640px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
}

.purchase-card,
.panel,
.status-panel {
  background: var(--surface);
  border: 1px solid rgba(229, 234, 242, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.purchase-card {
  color: var(--ink);
  display: grid;
  gap: 20px;
  padding: 26px;
}

.plan-summary {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.plan-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.plan-summary h2 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 0;
}

.price-block {
  text-align: right;
}

.price {
  color: var(--navy);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
}

.price-block span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

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

.purchase-card > .form > button[type="submit"]:not(.secondary) {
  order: 5;
}

.purchase-card > .form > button.secondary[formaction] {
  order: 6;
}

.purchase-card > .form > .hint {
  order: 7;
}

.trial-form {
  display: none;
}

.trial-form .plan-summary {
  padding-bottom: 14px;
}

.form-error {
  background: #fff1f1;
  border: 1px solid #ffd0d0;
  border-radius: 6px;
  color: #9b1c1c;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 10px 12px;
}

.form-success {
  background: #eefaf2;
  border: 1px solid #bfe9cb;
  border-radius: 6px;
  color: #156a32;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 10px 12px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

label.checkbox {
  align-items: center;
  display: flex;
  gap: 10px;
}

label.checkbox input {
  min-height: 0;
  width: auto;
}

input,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  line-height: 1.5;
  min-height: 168px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--secondary);
  outline: 4px solid rgba(77, 107, 255, 0.13);
}

button,
.button {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), #ff9d42);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  text-decoration: none;
}

button:hover,
.button:hover {
  background: linear-gradient(135deg, var(--primary-dark), #ff8628);
}

.secondary {
  background: #edf2ff;
  color: var(--navy);
}

.secondary:hover {
  background: #dfe7ff;
}

.hint,
.section p,
.faq p,
.panel p {
  color: var(--muted);
  line-height: 1.6;
}

.hint {
  font-size: 14px;
  margin-bottom: 0;
}

.promo {
  border: 0;
}

.promo summary {
  color: var(--secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

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

.promo label {
  margin-top: 12px;
}

.feature-strip,
.after-payment-section,
.section,
.support-band,
.access-hero,
.cabinet-tabs,
.cabinet-overview,
.access-grid,
.setup-guide,
.support-hero,
.support-layout,
.narrow,
.site-footer {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.feature-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -74px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.feature-strip article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(16, 24, 40, 0.08);
  min-height: 172px;
  padding: 26px 22px;
}

.feature-icon {
  align-items: center;
  background: #fff1eb;
  border-radius: 8px;
  color: var(--primary);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 20px;
  width: 44px;
}

.after-payment-section {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  padding: 72px 24px 22px;
}

.after-payment-section > div:first-child p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 680px;
}

.after-note {
  border-left: 4px solid var(--primary);
  padding-left: 22px;
}

.after-note strong {
  color: var(--navy);
  display: block;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.after-note p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.access-hero img {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(237, 242, 255, 0.6));
  border-radius: 8px;
  height: auto;
  padding: 18px;
  max-width: 100%;
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.process-list div {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 16px;
}

.process-list span {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.process-list p {
  margin-bottom: 0;
}

.section {
  padding: 58px 24px 80px;
}

.support-band {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(16, 24, 40, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 40px;
  padding: 28px;
}

.support-band h2 {
  margin-bottom: 10px;
}

.support-band .button {
  flex: 0 0 auto;
}

.section-heading {
  margin-bottom: 24px;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.faq-list p {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
  padding: 18px 22px 20px;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 18px;
  justify-content: space-between;
  padding: 28px 24px;
}

.access-page .topbar,
.status-page .topbar {
  position: relative;
  transform: none;
  left: auto;
}

.access-page .brand,
.status-page .brand {
  color: var(--navy);
}

.access-page .topnav a,
.status-page .topnav a {
  color: var(--muted);
}

.access-page .topnav a:hover,
.status-page .topnav a:hover {
  color: var(--navy);
}

.access-hero {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1fr) 240px;
  padding: 42px 24px 18px;
}

.access-page h1,
.support-page h1 {
  font-size: 52px;
  line-height: 1.02;
}

.cabinet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 24px 18px;
}

.cabinet-tabs a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  padding: 11px 14px;
  text-decoration: none;
}

.cabinet-tabs a.active,
.cabinet-tabs a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.cabinet-overview {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 24px 22px;
}

.account-switcher {
  margin: 0 auto 22px;
  max-width: 1180px;
  width: calc(100% - 48px);
}

.section-heading.compact {
  margin-bottom: 18px;
}

.account-list {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.account-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  flex: 1 1 280px;
  gap: 16px;
  max-width: 360px;
  padding: 18px;
}

.account-item.active {
  background: #eef4ff;
  border-color: rgba(50, 92, 218, 0.42);
}

.account-item h3 {
  color: var(--navy);
  font-size: 20px;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

.account-badge {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-item dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-item dl div {
  display: grid;
  gap: 8px;
  grid-template-columns: 96px minmax(0, 1fr);
}

.account-item .button {
  justify-self: start;
  min-height: 44px;
}

.metric-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
  padding: 22px;
}

.metric-panel span,
.support-summary span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.metric-panel strong,
.support-summary strong {
  color: var(--navy);
  display: block;
  font-size: 28px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.metric-panel p,
.support-summary p {
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
}

.access-hero .lead,
.status-panel .lead {
  color: var(--muted);
}

.access-grid {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  padding: 22px 24px;
}

.panel {
  padding: 30px;
}

.access-card-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.access-card-heading img {
  border-radius: 8px;
  object-fit: contain;
}

.vpn-info,
.credentials {
  display: grid;
  gap: 12px;
  margin: 0;
}

.vpn-info div,
.credentials div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 130px minmax(0, 1fr);
  padding-bottom: 12px;
}

.vpn-info div:last-child,
.credentials div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  font-weight: 900;
  margin: 0;
  overflow-wrap: anywhere;
}

.vpn-info a,
.setup-guide a {
  color: var(--secondary);
}

.copy-value {
  background: transparent;
  border: 0;
  border-bottom: 1px dashed currentColor;
  border-radius: 0;
  color: var(--ink);
  display: inline;
  font-weight: 900;
  min-height: 0;
  padding: 0;
}

.copy-value.copied,
.copy-value:hover {
  background: transparent;
  color: var(--primary);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-import {
  display: grid;
  gap: 22px;
}

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

.qr-tile {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 16px;
  text-decoration: none;
}

.qr-tile span {
  font-weight: 900;
}

.qr-code {
  background: #fff;
  height: 150px;
  width: 150px;
}

.setup-method {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 20px;
}

.setup-method.primary {
  border-color: rgba(47, 109, 255, 0.32);
  box-shadow: 0 14px 34px rgba(18, 33, 74, 0.08);
}

.setup-method h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
  margin: 6px 0 8px;
}

.setup-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.setup-qr-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
}

.setup-qr-tile {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 16px;
  text-align: center;
  text-decoration: none;
}

.setup-qr-tile span {
  font-weight: 900;
}

.setup-steps {
  counter-reset: setup-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.setup-steps li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: setup-step;
  line-height: 1.5;
  margin: 0;
  min-height: 48px;
  padding: 12px 14px 12px 48px;
  position: relative;
}

.setup-steps li::before {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: #fff;
  content: counter(setup-step);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  left: 14px;
  position: absolute;
  top: 12px;
  width: 24px;
}

.setup-fallback {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 16px;
  overflow: hidden;
}

.setup-fallback > summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  padding: 16px 48px 16px 18px;
  position: relative;
}

.setup-fallback > summary::-webkit-details-marker {
  display: none;
}

.setup-fallback > summary::after {
  color: var(--primary);
  content: "+";
  font-size: 22px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 14px;
}

.setup-fallback[open] > summary {
  border-bottom: 1px solid var(--line);
}

.setup-fallback[open] > summary::after {
  content: "x";
}

.setup-fallback > ol,
.setup-fallback > .guide-images {
  margin-left: 18px;
  margin-right: 18px;
}

.setup-fallback > ol {
  margin-top: 16px;
  padding-left: 22px;
}

.setup-fallback > ol > li {
  line-height: 1.6;
  margin-top: 10px;
}

.setup-fallback > .guide-images {
  margin-bottom: 18px;
}

.android-guide-card {
  gap: 20px;
}

.android-guide-flow {
  display: grid;
  gap: 14px;
}

.android-guide-flow p {
  line-height: 1.65;
  margin: 0;
}

.android-guide-shot {
  display: inline-flex;
  justify-self: start;
  max-width: min(100%, 280px);
  text-decoration: none;
}

.android-guide-shot img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  max-width: 100%;
  padding: 8px;
}

.android-guide-qr {
  display: inline-flex;
  justify-self: start;
  text-decoration: none;
}

.android-guide-credentials {
  display: grid;
  gap: 8px;
  margin: 0;
}

.android-guide-credentials div {
  display: grid;
  gap: 4px 12px;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
}

.android-guide-credentials dt,
.android-guide-credentials dd {
  margin: 0;
}

.android-guide-credentials dt {
  color: var(--navy);
  font-weight: 900;
}

.android-guide-credentials dd {
  overflow-wrap: anywhere;
}

.android-guide-credentials-manual {
  margin-top: -2px;
}

.android-guide-finish {
  color: var(--navy);
  font-weight: 900;
}

.android-guide-flow-manual {
  margin: 18px;
}

.setup-guide {
  display: grid;
  gap: 14px;
  margin-bottom: 58px;
  margin-top: 10px;
  padding: 34px;
}

.vpn-accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.vpn-accordion > summary {
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
  padding: 19px 52px 19px 20px;
  position: relative;
}

.vpn-accordion > summary::-webkit-details-marker {
  display: none;
}

.vpn-accordion > summary::after {
  color: var(--primary);
  content: "+";
  font-size: 25px;
  line-height: 1;
  position: absolute;
  right: 20px;
  top: 16px;
}

.vpn-accordion[open] > summary {
  border-bottom: 1px solid var(--line);
}

.vpn-accordion[open] > summary::after {
  content: "x";
}

.vpn-accordion-body {
  background: var(--soft);
  padding: 20px 22px 24px;
}

.vpn-accordion-body > ol {
  margin: 0;
  padding-left: 22px;
}

.vpn-accordion-body > ol > li {
  line-height: 1.6;
  margin-top: 12px;
}

.vpn-accordion-body code {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
  font-size: 14px;
  overflow-x: auto;
  padding: 12px;
}

.guide-images {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 18px;
}

.guide-images img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 170px;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.narrow {
  max-width: 760px;
  padding: 56px 24px 90px;
}

.status-panel {
  padding: 38px;
}

.status-panel h1 {
  font-size: 48px;
}

.status-message {
  background: #fff7f2;
  border: 1px solid #ffd8c7;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 900;
  margin: 24px 0 0;
  padding: 16px;
}

.support-hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 340px;
  padding: 52px 24px 18px;
}

.support-hero .lead {
  color: var(--muted);
}

.support-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.support-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 380px;
  padding: 22px 24px 70px;
}

.support-form {
  display: grid;
  gap: 18px;
}

.support-aside {
  display: grid;
  gap: 20px;
}

.check-list {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  padding-left: 20px;
}

.check-list li + li {
  margin-top: 10px;
}

.notice {
  border-radius: 8px;
  font-weight: 900;
  margin: 0;
  padding: 14px 16px;
}

.notice.success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.notice.error {
  background: #fff1f3;
  border: 1px solid #fecdd6;
  color: #c01048;
}

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

.install-steps {
  counter-reset: install-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.install-steps li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: install-step;
  line-height: 1.5;
  min-height: 48px;
  padding: 12px 14px 12px 48px;
  position: relative;
}

.install-steps li::before {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: #fff;
  content: counter(install-step);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  left: 14px;
  position: absolute;
  top: 12px;
  width: 24px;
}

@media (max-width: 980px) {
  .hero-content,
  .after-payment-section,
  .support-band,
  .access-hero,
  .access-grid,
  .support-hero,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .cabinet-overview {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    gap: 32px;
    padding-top: 116px;
  }

  .purchase-card {
    max-width: 520px;
  }

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

  .access-hero img {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
  }

  .topnav {
    gap: 14px;
  }

  .topnav a {
    font-size: 13px;
  }

  .hero-section,
  .hero-content {
    min-height: 0;
  }

  .hero-content {
    padding: 150px 16px 82px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .purchase-card,
  .panel,
  .status-panel,
  .setup-guide {
    padding: 20px;
  }

  .feature-strip,
  .after-payment-section,
  .section,
  .support-band,
  .access-hero,
  .cabinet-tabs,
  .cabinet-overview,
  .account-switcher,
  .access-grid,
  .setup-guide,
  .support-hero,
  .support-layout,
  .narrow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-strip,
  .support-band,
  .qr-grid,
  .setup-qr-layout,
  .account-item dl div,
  .vpn-info div,
  .credentials div {
    grid-template-columns: 1fr;
  }

  .android-guide-credentials div {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: -48px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }

  .status-panel h1 {
    font-size: 38px;
  }

  .access-page h1,
  .support-page h1 {
    font-size: 38px;
  }

  .account-switcher {
    width: calc(100% - 32px);
  }

  .account-item {
    max-width: none;
  }
}

.access-hero-compact {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  padding-bottom: 12px;
}

.access-hero-compact .lead {
  max-width: 720px;
}

.access-status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

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

.access-status-card strong {
  color: var(--navy);
  display: block;
  font-size: 32px;
  line-height: 1.05;
}

.access-status-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
}

.connect-panel {
  margin: 4px auto 22px;
  max-width: 1180px;
  width: calc(100% - 48px);
}

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

.device-option {
  align-items: start;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 152px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.device-option:hover {
  background: #fff;
  border-color: rgba(77, 107, 255, 0.38);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.1);
  transform: translateY(-1px);
}

.device-option.recommended {
  background: #fff7f2;
  border-color: #ffd8c7;
}

.device-icon {
  align-items: center;
  background: var(--navy);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 44px;
}

.device-option.recommended .device-icon {
  background: var(--primary);
}

.device-option strong {
  color: var(--navy);
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.device-option small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.primary-access-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.secondary-access-grid {
  margin-bottom: 54px;
}

.vpn-credentials-card {
  border-color: rgba(77, 107, 255, 0.22);
}

.credential-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.credential-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 14px 0;
}

.credential-row:first-child {
  padding-top: 0;
}

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

.credential-row dd {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.credential-value {
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  display: inline-flex;
  font-weight: 900;
  line-height: 1.35;
  max-width: 100%;
  min-height: 42px;
  min-width: 180px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  text-decoration: none;
  word-break: break-word;
}

.credential-value.is-secret {
  letter-spacing: 0;
}

.credential-note {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.copy-button,
.small-action {
  background: #edf2ff;
  border: 1px solid #dbe5ff;
  border-radius: 6px;
  color: var(--navy);
  min-height: 42px;
  padding: 9px 12px;
}

.copy-button:hover,
.small-action:hover,
.copy-button.copied {
  background: #dfe7ff;
  color: var(--navy);
}

.small-action {
  background: #fff;
}

.help-card {
  align-content: start;
}

.help-card .button,
.help-card .secondary {
  width: 100%;
}

.qr-grid.single {
  grid-template-columns: minmax(0, 220px);
}

@media (max-width: 980px) {
  .access-hero-compact,
  .primary-access-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .access-hero-compact {
    padding-top: 28px;
  }

  .access-status-card {
    padding: 18px;
  }

  .connect-panel {
    width: calc(100% - 32px);
  }

  .device-grid,
  .credential-row {
    grid-template-columns: 1fr;
  }

  .device-option {
    min-height: 118px;
  }

  .credential-row {
    gap: 8px;
  }

  .credential-row dd {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .credential-value,
  .copy-button,
  .small-action {
    justify-content: center;
    min-width: 0;
    width: 100%;
  }
}
