.guide-page {
  background:
    radial-gradient(circle at top left, rgba(255, 216, 168, 0.22), transparent 24%),
    radial-gradient(circle at 82% 0%, rgba(118, 162, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f4ee 0%, #ece4d9 100%);
  color: #1f1c18;
}

.guide-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3rem;
}

.guide-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(110, 48, 113, 0.1);
  color: #6e3071;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.guide-hero {
  border-radius: 24px;
  padding: 1.45rem;
  background: linear-gradient(135deg, var(--hero-start, #6e3071), var(--hero-end, #3e1840));
  color: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.guide-hero h1,
.guide-section h2,
.guide-panel h3,
.guide-steps h3 {
  margin: 0;
}

.guide-hero h1 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.guide-hero p,
.guide-panel p,
.guide-step p,
.guide-step li,
.guide-step dd,
.guide-step dt {
  line-height: 1.65;
}

.guide-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.guide-meta-card,
.guide-panel,
.guide-step,
.guide-checklist,
.guide-tips {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 25, 20, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.guide-meta-card {
  padding: 0.9rem 1rem;
}

.guide-meta-card strong {
  display: block;
  font-size: 1.05rem;
  color: #22151f;
}

.guide-meta-card span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(31, 28, 24, 0.74);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 1rem;
  margin-top: 1rem;
}

.guide-section {
  margin-top: 1.4rem;
}

.guide-section > p {
  color: rgba(31, 28, 24, 0.78);
}

.guide-panel,
.guide-step,
.guide-checklist,
.guide-tips {
  padding: 1rem;
}

.guide-panel {
  overflow: hidden;
}

.guide-panel blockquote {
  margin: 0.95rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 0.28rem solid var(--accent, #6e3071);
  background: rgba(110, 48, 113, 0.06);
  border-radius: 0 14px 14px 0;
  color: #2a1f28;
}

.guide-step {
  margin-top: 0.85rem;
}

.guide-step-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.guide-step-index {
  min-width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent, #6e3071);
  color: #fff;
  font-weight: 700;
}

.guide-step ul,
.guide-step ol,
.guide-checklist ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.guide-step li,
.guide-checklist li {
  margin-bottom: 0.45rem;
}

.guide-side-stack {
  display: grid;
  gap: 1rem;
}

.guide-checklist h3,
.guide-tips h3 {
  margin-bottom: 0.8rem;
}

.guide-checklist ul {
  list-style: none;
  padding-left: 0;
}

.guide-checklist li::before {
  content: '✓';
  color: var(--accent, #6e3071);
  font-weight: 700;
  margin-right: 0.55rem;
}

.guide-tips {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.68));
}

.guide-tips ol {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 980px) {
  .guide-meta,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guide-shell {
    padding: 1rem 0.75rem 2rem;
  }

  .guide-hero,
  .guide-panel,
  .guide-step,
  .guide-checklist,
  .guide-tips {
    padding: 0.9rem;
  }

  .guide-step-header,
  .guide-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}