:root {
  --guide-green: #3d4a3d;
  --guide-green-bright: #4a7a4a;
  --guide-ink: #172019;
  --guide-muted: #5d685f;
  --guide-line: #dce3dc;
  --guide-bg: #f5f7f4;
}

body {
  background: var(--guide-bg);
  color: var(--guide-ink);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
}

.guide-hero {
  padding: 52px 22px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 5%, rgba(122, 173, 122, 0.25), transparent 34%),
    linear-gradient(125deg, #303b31 0%, #3d4a3d 58%, #263528 100%);
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 44px;
  max-width: 1180px;
  margin: 0 auto;
}

.guide-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.7vw, 4.1rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.guide-hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.guide-hero .eyebrow {
  color: #c4e3c4;
}

.guide-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(14, 24, 15, 0.28);
}

.guide-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.guide-cover:hover img {
  transform: scale(1.018);
  filter: brightness(0.88);
}

.guide-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  background: #ff0033;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  text-indent: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.guide-cover:hover .guide-play-button {
  background: #d9002b;
  transform: translate(-50%, -50%) scale(1.08);
}

.guide-cover-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(23, 32, 25, 0.88);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(8px);
}

.learning-band {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: -22px auto 0;
  padding: 0 22px;
}

.learning-panel {
  padding: 22px 24px;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 53, 38, 0.1);
}

.learning-panel h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.learning-item {
  padding: 12px 13px;
  border-left: 3px solid var(--guide-green-bright);
  border-radius: 4px 10px 10px 4px;
  background: #f4f8f3;
  color: #364238;
  font-size: 0.91rem;
  line-height: 1.42;
}

.layout {
  padding-top: 42px;
}

.toc,
.intro-card,
.section-card {
  border-color: var(--guide-line);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(35, 53, 38, 0.07);
}

.toc {
  top: 78px;
}

.toc a:hover {
  background: #eef4ed;
}

h2.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.018em;
}

.kicker {
  background: #edf5ec;
  color: #356238;
}

.step-num {
  background: #e8f1e6;
  color: #365f38;
}

.figure {
  max-width: 820px;
  margin: 22px auto 8px;
  border-color: var(--guide-line);
  background: #f3f5f2;
}

.figure img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.cta {
  background: linear-gradient(135deg, #303b31, #4a694c);
}

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

  .guide-cover {
    max-width: 720px;
  }

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

@media (max-width: 600px) {
  .guide-hero {
    padding: 40px 16px 38px;
  }

  .guide-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .guide-hero-inner {
    gap: 28px;
  }

  .learning-band {
    margin-top: 0;
    padding: 16px 14px 0;
  }

  .learning-panel {
    padding: 20px;
  }

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

  .guide-cover-label {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }
}
