:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5b6862;
  --line: #cbd5d0;
  --surface: #ffffff;
  --surface-soft: #f2f6f4;
  --surface-dark: #13251e;
  --green: #176b4d;
  --green-dark: #10533b;
  --green-soft: #dff1e8;
  --yellow: #f1c453;
  --yellow-soft: #fff4cf;
  --red: #ad3f36;
  --red-soft: #fbe7e4;
  --blue: #286b8c;
  --blue-soft: #e3f1f8;
  --shadow: 0 12px 32px rgba(23, 33, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--green-dark);
}

a:hover {
  color: var(--green);
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: -9999px;
  padding: 8px 12px;
  color: var(--surface);
  background: var(--ink);
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--surface);
  background: var(--surface-dark);
  border-bottom: 3px solid var(--yellow);
}

.nav-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: none;
  color: var(--surface);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: #e8f0ec;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--yellow);
}

.product-update-strip {
  color: #5c4105;
  background: var(--yellow-soft);
  border-bottom: 1px solid #dfc36d;
}

.product-update-inner {
  min-height: 46px;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.product-update-inner p {
  margin: 0;
  font-size: 14px;
}

.product-update-inner a {
  flex: none;
  font-size: 14px;
  font-weight: 700;
}

.product-hero {
  position: relative;
  min-height: min(500px, calc(100vh - 112px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--surface);
  background: #1b3028 url('/townpicture1.jpg') center 42% / cover no-repeat;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 15, 0.58);
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 52px;
}

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

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
}

h1 {
  margin-bottom: 16px;
  font-size: 48px;
}

h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0 0 24px;
  color: #edf5f1;
  font-size: 18px;
}

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

.button,
button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--surface);
  background: var(--green);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover {
  color: var(--surface);
  background: var(--green-dark);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(241, 196, 83, 0.8);
  outline-offset: 2px;
}

.button.secondary,
button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.button.secondary:hover,
button.secondary:hover {
  background: var(--surface-soft);
}

.button.danger,
button.danger {
  color: var(--red);
  background: var(--surface);
  border-color: #e3aaa5;
}

.button.danger:hover,
button.danger:hover {
  background: var(--red-soft);
}

.button.small,
button.small {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}

button:disabled,
.button[aria-disabled="true"] {
  color: #7b8580;
  background: #e5e9e7;
  border-color: #d4dad7;
  cursor: not-allowed;
}

.band {
  padding: 56px 0;
  background: var(--surface);
}

.band.alt {
  background: var(--surface-soft);
}

.band.dark {
  color: var(--surface);
  background: var(--surface-dark);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.dark .section-heading p {
  color: #bdd0c6;
}

.feature-grid,
.plan-grid,
.step-grid,
.account-grid {
  display: grid;
  gap: 16px;
}

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

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

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: steps;
}

.account-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.account-grid > * {
  min-width: 0;
}

.feature,
.plan,
.step,
.panel,
.notice,
.device-row,
.guide-section {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.feature,
.plan,
.step,
.panel,
.guide-section {
  padding: 22px;
}

.feature p,
.plan p,
.step p,
.guide-section p,
.guide-section li {
  color: var(--muted);
}

.feature-mark {
  width: 32px;
  height: 5px;
  margin-bottom: 18px;
  background: var(--green);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan.recommended {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.plan-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin: 10px 0 14px;
  font-size: 28px;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.price-alt {
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plain-list {
  margin: 0 0 22px;
  padding-left: 20px;
  flex: 1;
}

.plain-list li + li {
  margin-top: 7px;
}

.step {
  counter-increment: steps;
}

.step::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--blue);
  font-weight: 800;
}

.page-head {
  padding: 42px 0 32px;
  color: var(--surface);
  background: var(--surface-dark);
}

.page-head h1 {
  margin-bottom: 8px;
  font-size: 38px;
}

.page-head p {
  max-width: 720px;
  margin: 0;
  color: #bdd0c6;
}

.content-shell {
  min-height: calc(100vh - 220px);
  padding: 36px 0 64px;
}

.auth-layout {
  width: min(480px, calc(100% - 32px));
  margin: 56px auto;
}

.field {
  margin-bottom: 16px;
}

.field label {
  margin-bottom: 6px;
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #9faaa4;
  border-radius: 5px;
}

.field textarea,
.support-reply-form textarea {
  resize: vertical;
}

.field-help,
.muted,
.meta {
  color: var(--muted);
  font-size: 13px;
}

.turnstile-slot:not([hidden]) {
  width: min(100%, 500px);
  margin-top: 14px;
}

.status {
  min-height: 46px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--surface-soft);
  white-space: pre-wrap;
}

.status.success {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: #99c9b4;
}

.status.error {
  color: var(--red);
  background: var(--red-soft);
  border-color: #e3aaa5;
}

.status.warning {
  color: #6c4b04;
  background: var(--yellow-soft);
  border-color: #e5c96f;
}

.credential-box {
  margin-top: 16px;
  padding: 16px;
  border: 2px solid var(--green);
  border-radius: 6px;
  background: var(--green-soft);
}

.credential-value {
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 20px;
  font-weight: 800;
}

.credential-value.compact {
  font-size: 15px;
}

.telegram-link-box > p {
  margin: 6px 0 0;
}

.telegram-link-data {
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.telegram-link-row {
  padding-top: 10px;
  display: grid;
  grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(23, 107, 77, 0.24);
}

.telegram-link-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.telegram-link-row .credential-value {
  margin: 0;
}

.telegram-link-code {
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.telegram-link-command-row .credential-value {
  white-space: pre-wrap;
}

.summary-list {
  margin: 0;
}

.summary-row {
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

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

.summary-row dt {
  color: var(--muted);
}

.summary-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}

.badge.warning {
  color: #6c4b04;
  background: var(--yellow-soft);
}

.badge.blue {
  color: #174d69;
  background: var(--blue-soft);
}

.panel + .panel,
.guide-section + .guide-section {
  margin-top: 16px;
}

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

.panel-head h2,
.panel-head h3 {
  margin-bottom: 4px;
}

.experience-summary {
  margin: 4px 0 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-summary > div {
  min-width: 0;
  padding: 14px 12px;
  border-left: 1px solid var(--line);
}

.experience-summary > div:first-child {
  border-left: 0;
}

.experience-summary span,
.experience-summary strong {
  display: block;
}

.experience-summary span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.experience-summary strong {
  overflow-wrap: anywhere;
  font-size: 21px;
}

.experience-chart-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px 0 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.experience-chart-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.experience-chart {
  width: max-content;
  height: 150px;
  display: grid;
  grid-template-columns: repeat(90, 7px);
  align-items: end;
  gap: 3px;
  border-bottom: 1px solid var(--line);
}

.experience-day {
  width: 7px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.experience-day.today {
  background: var(--green-soft);
}

.experience-day-bar {
  width: 7px;
  min-height: 3px;
  display: block;
  background: var(--blue);
}

.experience-day-bar.level-0 { height: 3px; background: var(--line); }
.experience-day-bar.level-1 { height: 10%; }
.experience-day-bar.level-2 { height: 20%; }
.experience-day-bar.level-3 { height: 30%; }
.experience-day-bar.level-4 { height: 40%; }
.experience-day-bar.level-5 { height: 50%; }
.experience-day-bar.level-6 { height: 60%; }
.experience-day-bar.level-7 { height: 70%; }
.experience-day-bar.level-8 { height: 80%; }
.experience-day-bar.level-9 { height: 90%; }
.experience-day-bar.level-10 { height: 100%; background: var(--green); }

.experience-axis {
  margin: 5px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.devices {
  display: grid;
  gap: 8px;
}

.device-row {
  min-height: 66px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.device-id {
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.notice {
  padding: 14px 16px;
  color: #174d69;
  background: var(--blue-soft);
  border-color: #a4cadc;
}

.notice.warning {
  color: #6c4b04;
  background: var(--yellow-soft);
  border-color: #e5c96f;
}

.notice.danger {
  color: var(--red);
  background: var(--red-soft);
  border-color: #e3aaa5;
}

.notice + .notice {
  margin-top: 10px;
}

.access-catalog {
  display: grid;
  gap: 0;
}

.access-price-row {
  padding: 13px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.access-price-values {
  display: grid;
  gap: 3px;
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.tip-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.tip-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.tip-qr-link {
  width: min(300px, 100%);
  display: block;
  justify-self: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.tip-qr-link.compact {
  width: min(220px, 100%);
}

.tip-qr {
  width: 100%;
  height: auto;
  display: block;
}

.support-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
}

.support-column {
  min-width: 0;
}

.support-form {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.support-form h3,
.support-list-head h3,
.support-thread-head h3 {
  font-size: 19px;
}

.support-list-head,
.support-thread-head,
.ticket-list-top,
.ticket-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-list-head {
  margin: 20px 0 10px;
}

.support-list-head h3,
.support-thread-head h3 {
  margin: 0;
}

.ticket-list {
  display: grid;
  gap: 8px;
}

button.ticket-list-item {
  width: 100%;
  min-height: 92px;
  padding: 12px;
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  text-align: left;
}

button.ticket-list-item:hover,
button.ticket-list-item.selected {
  color: var(--ink);
  background: var(--green-soft);
  border-color: #7cb69d;
}

.ticket-list-top strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ticket-list-item .meta,
.ticket-preview,
.ticket-unread {
  margin-top: 5px;
  display: block;
}

.ticket-preview {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-unread {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.support-thread-column {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.support-thread-head {
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ticket-thread {
  max-height: 520px;
  padding: 14px 0;
  display: grid;
  gap: 10px;
  overflow-y: auto;
}

.ticket-message {
  max-width: 88%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.ticket-message.admin {
  justify-self: start;
  border-color: #99c9b4;
  background: var(--green-soft);
}

.ticket-message.user {
  justify-self: end;
  border-color: #a4cadc;
  background: var(--blue-soft);
}

.ticket-message-head {
  margin-bottom: 6px;
  align-items: baseline;
}

.ticket-message-body {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ticket-attachments {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.ticket-attachment {
  min-width: 0;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ticket-attachment:hover {
  border-color: #52896f;
}

.ticket-attachment.unavailable {
  color: var(--muted);
  cursor: default;
}

.ticket-attachment img {
  width: 72px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.support-reply-form {
  padding-top: 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.support-reply-form textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #9faaa4;
  border-radius: 5px;
}

.support-reply-form button {
  justify-self: start;
}

.guide-nav {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-nav a {
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
}

.guide-section code,
.code {
  padding: 2px 5px;
  border-radius: 3px;
  color: #174d69;
  background: var(--blue-soft);
  font-family: Consolas, "Courier New", monospace;
}

.guide-layout {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  align-items: start;
  gap: 44px;
}

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

.guide-nav-side {
  position: sticky;
  top: 92px;
  margin: 0;
  display: grid;
  gap: 2px;
}

.guide-nav-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.guide-nav-side a {
  padding: 8px 10px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
}

.guide-nav-side a:hover,
.guide-nav-side a:focus-visible {
  color: var(--green-dark);
  background: var(--surface);
  border-left-color: var(--green);
}

.guide-section {
  scroll-margin-top: 92px;
  padding: 0 0 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.guide-section + .guide-section {
  margin-top: 48px;
}

.guide-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.guide-section h2 {
  margin-bottom: 10px;
}

.guide-section h3 {
  margin-top: 26px;
}

.section-kicker,
.micro-label {
  color: var(--green-dark) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 7px;
}

.section-summary {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: 17px;
}

.instruction-steps {
  margin: 28px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  counter-reset: guide-steps;
}

.instruction-steps li {
  min-width: 0;
  padding-top: 15px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-top: 3px solid var(--green);
  counter-increment: guide-steps;
}

.instruction-steps li::before {
  content: counter(guide-steps, decimal-leading-zero);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.instruction-steps strong,
.instruction-steps span {
  overflow-wrap: anywhere;
}

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

.guide-visual {
  margin: 28px 0 22px;
  overflow: hidden;
  border: 1px solid #aebbb4;
  border-radius: 6px;
  background: #e7ece9;
  box-shadow: var(--shadow);
}

.guide-visual a,
.guide-visual img {
  display: block;
}

.guide-visual a {
  background: #e7ece9;
}

.guide-visual img {
  width: 100%;
  height: auto;
}

.guide-visual figcaption {
  padding: 12px 15px;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.explain-grid,
.visual-legend,
.mode-comparison,
.origin-grid,
.security-grid,
.check-grid {
  display: grid;
  gap: 14px;
}

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

.explain-grid-two,
.mode-comparison,
.origin-grid,
.security-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.explain-item,
.visual-legend > div,
.mode-panel,
.origin-panel,
.security-grid > div,
.check-grid > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.explain-item h3,
.mode-panel h3,
.origin-panel h3,
.security-grid h3 {
  margin-top: 7px;
}

.explain-item p,
.mode-panel p,
.origin-panel p {
  margin-bottom: 0;
}

.visual-legend {
  margin: 18px 0 28px;
}

.visual-legend > div {
  min-height: 120px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-content: start;
  gap: 4px 9px;
}

.visual-legend small {
  grid-column: 2;
  color: var(--muted);
}

.legend-mark {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--surface);
}

.legend-clone {
  border-color: var(--green);
  background: var(--green-soft);
}

.legend-manual {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.legend-auto {
  border-color: #8a6715;
  background: var(--yellow-soft);
}

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

.check-list li {
  position: relative;
  padding-left: 31px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  top: 1px;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.mode-comparison {
  margin-top: 22px;
}

.mode-panel {
  border-top: 4px solid var(--green);
}

.mode-dlr {
  border-top-color: var(--blue);
}

.route-line {
  margin: 15px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.route-line span {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.route-line span:not(:last-child)::after {
  content: "\2192";
  margin-left: 8px;
  color: var(--green);
  font-size: 17px;
}

.route-line-short span:not(:last-child)::after {
  color: var(--blue);
}

.table-scroll {
  max-width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.decision-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.decision-table th,
.decision-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.decision-table thead th {
  color: var(--surface);
  background: var(--surface-dark);
  font-size: 13px;
}

.decision-table tbody th {
  color: var(--green-dark);
}

.decision-table tbody tr:last-child th,
.decision-table tbody tr:last-child td {
  border-bottom: 0;
}

.limit-strip {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 92px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: var(--yellow-soft);
  border: 1px solid #dfc46d;
  border-radius: 6px;
}

.limit-strip > div {
  display: grid;
  text-align: center;
}

.limit-strip strong {
  font-size: 26px;
  line-height: 1;
}

.limit-strip span {
  margin-top: 4px;
  color: #6c4b04;
  font-size: 12px;
  font-weight: 700;
}

.limit-strip p {
  margin: 0;
  padding-left: 12px;
  border-left: 1px solid #d3b552;
  color: #6c4b04;
}

.origin-grid {
  margin: 22px 0;
}

.origin-panel {
  border-left: 4px solid var(--blue);
}

.origin-automation {
  border-left-color: #b48519;
}

.origin-badge {
  display: inline-block;
  color: #174d69;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.origin-automation .origin-badge {
  color: #765608;
}

.report-flow {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  counter-reset: report-steps;
}

.report-flow li {
  padding-top: 12px;
  display: grid;
  gap: 6px;
  border-top: 2px solid var(--blue);
  counter-increment: report-steps;
}

.report-flow li::before {
  content: counter(report-steps);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

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

.trouble-list {
  border-top: 1px solid var(--line);
}

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

.trouble-list summary {
  position: relative;
  padding: 17px 42px 17px 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.trouble-list summary::after {
  content: "+";
  position: absolute;
  top: 13px;
  right: 2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
  font-size: 19px;
}

.trouble-list details[open] summary::after {
  content: "\2212";
}

.trouble-list details p {
  margin: -4px 42px 18px 0;
}

.security-grid {
  margin: 22px 0;
}

.security-grid > div:first-child {
  border-top: 4px solid var(--red);
}

.security-grid > div:last-child {
  border-top: 4px solid var(--green);
}

.security-grid .plain-list {
  margin-bottom: 0;
}

.install-layout {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 0 44px;
}

.install-main-visual {
  position: sticky;
  top: 92px;
  margin-top: 0;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1;
}

.install-step-section {
  grid-column: 2;
  grid-row: 1;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.install-layout > section:not(.install-step-section),
.install-layout > .notice,
.install-layout > .install-next {
  grid-column: 1 / -1;
}

.install-layout > section {
  padding: 0 0 48px;
  border-bottom: 1px solid var(--line);
}

.install-layout > section + section {
  margin-top: 48px;
}

.install-steps {
  position: relative;
  margin-top: 26px;
  display: grid;
  gap: 0;
}

.install-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 2px;
  background: var(--line);
}

.install-steps article {
  position: relative;
  padding: 0 0 34px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}

.install-steps article:last-child {
  padding-bottom: 0;
}

.install-step-number {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--green);
  border: 4px solid var(--surface-soft);
  border-radius: 50%;
  font-weight: 800;
}

.install-steps h3 {
  margin-top: 6px;
  font-size: 21px;
}

.install-steps p {
  max-width: 760px;
  color: var(--muted);
}

.step-check {
  margin: 14px 0 0;
  padding: 11px 13px;
  color: var(--green-dark) !important;
  background: var(--green-soft);
  border-left: 3px solid var(--green);
}

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.check-grid > div {
  display: grid;
  gap: 5px;
}

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

.install-next {
  margin-top: 48px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--surface);
  background: var(--surface-dark);
  border-left: 5px solid var(--yellow);
}

.install-next h2 {
  margin: 6px 0;
  font-size: 24px;
}

.install-next p {
  margin: 0;
  color: #bdd0c6;
}

.install-next .micro-label {
  color: var(--yellow) !important;
}

.legal {
  max-width: 780px;
}

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

.legal p,
.legal li {
  color: var(--muted);
}

.access-catalog-note {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  padding: 28px 0;
  color: #c6d4cd;
  background: #0c1813;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-seller {
  display: grid;
  gap: 3px;
  font-size: 13px;
}

.footer-seller strong {
  color: #f1f5f3;
}

.footer-seller a {
  color: #dce8e2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: #dce8e2;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-14 {
  margin-top: 14px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-24 {
  margin-top: 24px;
}

.compact-title {
  font-size: 32px;
}

.compact-title.small {
  font-size: 30px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .feature-grid,
  .plan-grid,
  .step-grid,
  .account-grid,
  .support-workspace {
    grid-template-columns: 1fr;
  }

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

  .support-thread-column {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .nav-links {
    gap: 12px;
  }
}

@media (max-width: 980px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-nav-side {
    position: static;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
  }

  .guide-nav-title {
    display: none;
  }

  .guide-nav-side a {
    flex: none;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
  }

  .guide-nav-side a:hover,
  .guide-nav-side a:focus-visible {
    border-left-color: var(--line);
    border-color: var(--green);
  }

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

  .install-layout {
    display: block;
  }

  .install-main-visual {
    position: static;
    margin-bottom: 46px;
  }

  .install-step-section {
    padding-bottom: 48px !important;
    border-bottom: 1px solid var(--line) !important;
  }
}

@media (max-width: 620px) {
  .nav-inner {
    min-height: 58px;
    align-items: flex-start;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .brand {
    font-size: 17px;
  }

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

  .experience-summary > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .experience-summary > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .product-update-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-hero {
    min-height: 420px;
  }

  .hero-inner {
    padding: 48px 0 38px;
  }

  h1,
  .page-head h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .band {
    padding: 42px 0;
  }

  .summary-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .telegram-link-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 5px;
  }

  .telegram-link-row button {
    justify-self: start;
  }

  .device-row,
  .access-price-row,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .access-price-values {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .guide-section {
    scroll-margin-top: 80px;
    padding-bottom: 38px;
  }

  .guide-section + .guide-section {
    margin-top: 38px;
  }

  .section-summary {
    font-size: 16px;
  }

  .instruction-steps,
  .explain-grid,
  .explain-grid-two,
  .visual-legend,
  .mode-comparison,
  .origin-grid,
  .security-grid,
  .check-grid,
  .report-flow {
    grid-template-columns: 1fr;
  }

  .guide-visual {
    margin-right: -8px;
    margin-left: -8px;
  }

  .visual-legend > div {
    min-height: 0;
  }

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

  .limit-strip p {
    grid-column: 1 / -1;
    padding: 12px 0 0;
    border-top: 1px solid #d3b552;
    border-left: 0;
  }

  .install-layout > section {
    padding-bottom: 38px;
  }

  .install-layout > section + section,
  .install-next {
    margin-top: 38px;
  }

  .install-steps article {
    gap: 13px;
  }

  .install-next {
    align-items: stretch;
    flex-direction: column;
  }

  .install-next .button {
    width: 100%;
  }
}
