.instr-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface-strong);
  border-bottom: 1px solid #0c0c0c;
}

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

.instr-back {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 0.95rem;
}

.instr-back:hover {
  color: #fff;
}

.instr-hero {
  padding: 56px 0 40px;
  background: var(--bg-alt);
  color: #fff;
}

.instr-hero .eyebrow {
  color: var(--accent);
}

.instr-hero h1 {
  margin: 10px 0 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.25;
}

.instr-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.instr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.instr-meta span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.instr-toc {
  background: var(--bg);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.instr-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.instr-toc-list a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
}

.instr-toc-list a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.instr-section {
  padding: 56px 0;
}

.instr-section:nth-child(even) {
  background: var(--surface-soft);
}

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

.instr-section-heading .eyebrow {
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.instr-section-heading h2 {
  margin: 10px 0 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.instr-section-heading p {
  color: var(--text-light);
  line-height: 1.8;
}

.instr-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.instr-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.instr-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.instr-step-body h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.instr-step-body p {
  margin: 0 0 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.instr-step-body p:last-child {
  margin-bottom: 0;
}

.instr-step-media {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0;
}

.instr-step-media figure {
  margin: 0;
  max-width: 260px;
}

.instr-step-media img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.instr-step-media figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

.instr-note {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.6;
}

.instr-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 0 20px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instr-link-btn:hover {
  transform: translateY(-1px);
  background: rgba(29, 185, 84, 0.24);
}

.instr-help {
  padding: 48px 0;
  background: var(--surface-strong);
  color: #fff;
}

.instr-help-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.instr-help h2 {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.instr-help p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.instr-help-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .instr-step {
    grid-template-columns: 1fr;
  }

  .instr-step-number {
    width: 36px;
    height: 36px;
  }

  .instr-step-media figure {
    max-width: 100%;
  }

  .instr-hero {
    padding: 40px 0 32px;
  }

  .instr-section {
    padding: 40px 0;
  }

  .instr-toc {
    padding: 18px 0;
  }

  .instr-help {
    padding: 36px 0;
  }

  .instr-help-inner {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .instr-header-inner {
    min-height: auto;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .instr-back {
    font-size: 0.85rem;
  }
}
