* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1118;
  --bg-soft: #111b25;
  --panel: #17232e;
  --panel-light: #1d2d3a;
  --text: #f4f7fa;
  --muted: #b7c4cf;
  --line: #365064;
  --green: #8bd24f;
  --green-dark: #6fba35;
  --orange: #ff9f43;
  --red: #ff6b6b;
  --blue: #72b7ff;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, #132332 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--white);
  color: #111820;
  font-weight: 800;
  transform: translateY(-160%);
}

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

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 36px));
}

.hero {
  padding: 72px 0 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(139, 210, 79, 0.22), transparent 29%),
    radial-gradient(circle at 8% 92%, rgba(114, 183, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #0b131b 0%, #132535 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow,
.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(139, 210, 79, 0.45);
  border-radius: 999px;
  background: rgba(139, 210, 79, 0.12);
  color: #d9ffc0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-tag.light {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.14);
  color: var(--white);
}

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

h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 27px);
  line-height: 1.24;
}

p {
  margin-top: 0;
}

.lead,
.section-lead {
  max-width: 850px;
  color: #dbe7ef;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.button.primary {
  background: var(--green);
  color: #0b1b08;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-note {
  margin: 22px 0 0;
  color: #c8d4dd;
  font-size: 15px;
}

.quick-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 17, 24, 0.96);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.quick-nav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
}

.quick-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 9px;
  color: #dce6ed;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.quick-nav a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.section {
  padding: 58px 0;
}

.section.alt {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow);
}

.intro-card {
  border-color: rgba(139, 210, 79, 0.42);
}

.check-list,
.numbered-list {
  margin: 0;
  padding-left: 26px;
}

.check-list li,
.numbered-list li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.check-list li::marker,
.numbered-list li::marker {
  color: var(--green);
  font-weight: 900;
}

.small-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 17px;
  align-items: start;
}

.step p,
.method p,
.faq p {
  margin-bottom: 0;
  color: #d0dbe3;
}

.step-number,
.mini-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #0a1b07;
  font-weight: 900;
}

.step-number {
  width: 52px;
  height: 52px;
  font-size: 22px;
}

.text-link {
  color: #aeda8b;
  font-weight: 800;
  text-underline-offset: 3px;
}

.ui-label,
.code-label {
  display: inline;
  padding: 2px 7px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-size: 0.92em;
  font-weight: 800;
}

.ui-label {
  background: #dfffc6;
  color: #17300b;
}

.danger-label {
  background: #ffd0d0;
  color: #4b0d0d;
}

.code-label {
  border: 1px solid #4b6578;
  background: #0a1219;
  color: #e9f6ff;
  font-family: Consolas, Monaco, monospace;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.method {
  position: relative;
  padding-top: 66px;
}

.method.recommended {
  border-color: rgba(139, 210, 79, 0.55);
  background: linear-gradient(180deg, rgba(139, 210, 79, 0.11), rgba(255, 255, 255, 0.025));
}

.method.assisted {
  border-color: rgba(114, 183, 255, 0.52);
}

.method-badge {
  position: absolute;
  top: 20px;
  left: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(139, 210, 79, 0.18);
  color: #dbffc3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.method-badge.neutral {
  background: rgba(255, 255, 255, 0.1);
  color: #e6edf2;
}

.method-badge.help {
  background: rgba(114, 183, 255, 0.16);
  color: #d9ecff;
}

.split-layout,
.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.split-layout.reverse > :first-child {
  order: 2;
}

.vertical-steps,
.admin-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vertical-steps {
  display: grid;
  gap: 12px;
}

.vertical-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}

.vertical-steps li span:not(.mini-number):not(.ui-label) {
  color: var(--muted);
}

.mini-number {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.callout {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  border-radius: 10px;
  background: rgba(255, 159, 67, 0.1);
}

.callout span {
  color: #d8e1e7;
}

.info-callout {
  border-left-color: var(--blue);
  background: rgba(114, 183, 255, 0.1);
}

.success {
  border-color: rgba(139, 210, 79, 0.45);
  background: linear-gradient(180deg, rgba(139, 210, 79, 0.09), rgba(255, 255, 255, 0.025));
}

.admin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 22px;
  margin-top: 28px;
}

.admin-steps {
  display: grid;
  gap: 10px;
}

.admin-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-steps li > span {
  color: var(--green);
  font-size: 25px;
  font-weight: 900;
}

.admin-steps p {
  margin: 0;
}

.danger-callout {
  align-content: start;
  margin: 0;
  border-left-color: var(--red);
  background: rgba(255, 107, 107, 0.1);
}

.safety {
  color: #0b1807;
  background: linear-gradient(135deg, #7cc746 0%, #a1dc70 100%);
}

.safety h2 {
  color: #0b1807;
}

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

.safety-grid > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(11, 24, 7, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
}

.safety-grid strong {
  font-size: 34px;
  line-height: 1;
}

.safety-grid span {
  font-weight: 800;
  line-height: 1.45;
}

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

.faq {
  box-shadow: none;
}

.contact-card {
  text-align: center;
}

.contact-card .button {
  margin-top: 14px;
}

.footer {
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 15px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 920px) {
  .method-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .wrap,
  .narrow {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding: 50px 0 42px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 44px 0;
  }

  .steps,
  .split-layout,
  .two-columns,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .split-layout.reverse > :first-child {
    order: initial;
  }

  .card {
    padding: 22px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 13px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }

  .quick-nav a {
    padding: 9px 11px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 40px;
  }

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

  .admin-steps li {
    grid-template-columns: 34px 1fr;
    padding-inline: 8px;
  }
}

@media print {
  :root {
    --text: #000000;
    --muted: #333333;
    --line: #888888;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .hero,
  .section,
  .section.alt,
  .safety {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .hero {
    padding: 20px 0;
  }

  .quick-nav,
  .hero-actions,
  .skip-link,
  .contact-card .button {
    display: none !important;
  }

  .section {
    padding: 18px 0;
    break-inside: avoid;
  }

  .card,
  .vertical-steps li,
  .safety-grid > div {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none;
    break-inside: avoid;
  }

  h1,
  h2,
  h3,
  .lead,
  .section-lead,
  .step p,
  .method p,
  .faq p,
  .callout span,
  .vertical-steps li span {
    color: #000000 !important;
  }

  a {
    color: #000000;
    text-decoration: none;
  }
}
