:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0b0e14;
  --panel: rgba(20, 24, 33, 0.72);
  --panel-solid: #131821;
  --panel-soft: rgba(255, 255, 255, 0.04);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --text: #e7ecf3;
  --text-strong: #ffffff;
  --muted: #8a96a6;
  --muted-2: #6b7787;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #4ade80;
  --accent-2: #22d3ee;
  --accent-strong: #16a34a;
  --accent-glow: rgba(74, 222, 128, 0.35);
  --blue: #60a5fa;
  --orange: #fb923c;
  --red: #f87171;
  --purple: #c084fc;
  --code-bg: #0a0d13;
  --code-text: #e9f0f7;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(74, 222, 128, 0.10), transparent 55%),
    radial-gradient(700px 700px at 50% 110%, rgba(192, 132, 252, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-glow);
  color: var(--text-strong);
}

button,
input,
select,
textarea {
  font: inherit;
  color: var(--text);
}

button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

button:hover {
  border-color: var(--accent);
  background: var(--panel-hover);
}

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

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: transparent;
}

a {
  color: inherit;
}

code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 0.92em;
}

:not(pre) > code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
  white-space: nowrap;
}

pre {
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    var(--code-bg);
  color: var(--code-text);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

pre code {
  font-size: 13px;
  white-space: pre;
  line-height: 1.6;
}

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #061018;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.4px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 6px 18px var(--accent-glow);
}

.mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
}

.nav a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  background: var(--panel-hover);
  color: var(--text-strong);
}

main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  padding: 44px 0 24px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(500px 280px at 0% 100%, rgba(74, 222, 128, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(60% 60% at 60% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 60% 50%, #000 0%, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-copy > * {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: max-content;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

.hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  background: linear-gradient(180deg, #ffffff 0%, #c8d3e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 640px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.hero-copy code {
  background: rgba(255, 255, 255, 0.06);
}

/* common card */
.setup-panel,
.doc-card,
.endpoint,
.tester,
.command,
.error-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.setup-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

input,
select {
  height: 42px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 180px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #061018;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}

.primary:hover {
  background: linear-gradient(135deg, #5af090 0%, #38ddef 100%);
  color: #061018;
}

/* sections */
.band {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.section-head p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

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

.command {
  padding: 18px;
}

.command:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.command code {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.command span,
.error-grid span {
  color: var(--muted);
  font-size: 14px;
}

/* docs */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doc-card {
  padding: 20px;
}

.doc-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}

/* endpoints */
.endpoint-list {
  display: grid;
  gap: 12px;
}

.endpoint {
  padding: 20px;
}

.endpoint:hover {
  border-color: var(--line-strong);
}

.endpoint-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.endpoint-head code {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  background: transparent;
  border: none;
  padding: 0;
  white-space: normal;
}

.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.method.get {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.method.post {
  background: linear-gradient(180deg, #34d399, #10b981);
  color: #061018;
}

.method.patch {
  background: linear-gradient(180deg, #fb923c, #f97316);
}

.method.delete {
  background: linear-gradient(180deg, #f87171, #ef4444);
}

.endpoint p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.endpoint pre {
  margin-top: 4px;
}

/* tester */
.tester {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  padding: 20px;
}

.tester-form {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}

.full {
  grid-column: 1 / -1;
}

.button-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
}

.button-row button {
  flex: 1;
}

.examples {
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  min-width: 0;
}

.example-tabs {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  width: max-content;
}

.tab {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.tab:hover {
  color: var(--text-strong);
  background: var(--panel-hover);
  border-color: transparent;
}

.tab.active {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.18), rgba(34, 211, 238, 0.10));
  color: var(--text-strong);
  border-color: rgba(74, 222, 128, 0.35);
}

.example-code {
  min-height: 320px;
}

.copy {
  justify-self: end;
  margin-top: 12px;
  padding: 0 16px;
  font-size: 13px;
}

/* errors */
.error-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.error-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
}

.error-grid > div:hover {
  border-color: var(--line-strong);
}

.error-grid code {
  color: var(--red);
  font-weight: 700;
  overflow-wrap: anywhere;
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.2);
}

/* footer */
.footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13.5px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* responsive */
@media (max-width: 980px) {
  .topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .tester {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 660px) {
  main,
  .footer {
    width: min(100vw - 24px, 1180px);
  }

  .topbar {
    padding: 12px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand p {
    display: none;
  }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 12px;
  }

  .nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .hero-copy {
    min-height: 320px;
    padding: 28px;
  }

  .command-grid,
  .two-col,
  .error-grid,
  .tester-form {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .method {
    width: 64px;
  }
}

/* ===== back link (на topbar в guide/api) ===== */
.back-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.05s ease;
}

.back-link:hover {
  border-color: var(--accent);
  background: var(--panel-hover);
  color: var(--accent);
}

.back-link:active {
  transform: translateX(-1px);
}

/* ===== landing page ===== */
.landing-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px 24px;
}

.landing {
  width: min(1100px, 100%);
  display: grid;
  gap: 48px;
}

.landing-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.mark-lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 22px;
  margin-bottom: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 14px 40px var(--accent-glow);
}

.landing-head h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  background: linear-gradient(180deg, #ffffff 0%, #b8c4d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-sub {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.choice {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(360px 200px at 0% 100%, rgba(74, 222, 128, 0.10), transparent 60%),
    var(--panel-solid);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(80% 60% at 50% 100%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 100%, #000 0%, transparent 80%);
  pointer-events: none;
  opacity: 0.5;
}

.choice > * {
  position: relative;
}

.choice:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--accent-glow);
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(34, 211, 238, 0.10));
  color: var(--accent);
}

.choice-body {
  display: grid;
  gap: 10px;
}

.choice-tag {
  display: inline-block;
  width: max-content;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.choice-body h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.choice-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.choice-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.choice-cta svg {
  transition: transform 0.2s ease;
}

.choice:hover .choice-cta svg {
  transform: translateX(4px);
}

.landing-foot {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-body {
    padding: 32px 16px;
  }
}

/* ===== guide: toc / steps / callout / bullets / files ===== */
.toc {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  width: 28px;
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.toc a:hover {
  background: var(--panel-hover);
  color: var(--accent);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps > li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #061018;
  font-weight: 800;
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
}

.step-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}

.steps p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.steps p:last-child {
  margin-bottom: 0;
}

.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(74, 222, 128, 0.06);
  color: var(--text);
  font-size: 14.5px;
}

.callout strong {
  color: var(--text-strong);
  font-weight: 700;
}

.callout pre {
  margin-top: 10px;
}

.bullets {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 4px;
}

.bullets li::marker {
  color: var(--accent);
}

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

.files-grid code {
  color: var(--accent);
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.2);
}

/* hero для guide: aside (toc) поверх */
@media (max-width: 980px) {
  .files-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .files-grid {
    grid-template-columns: 1fr;
  }
}

