@charset "UTF-8";

/* ===== HERO OVERRIDE ===== */
.page-hero-desc {
  max-width: 640px;
}

/* ===== TOC ===== */
.toc {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 40px 48px;
  margin-bottom: 64px;
}

.toc-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-mid);
  padding: 8px 0;
  transition: color .3s;
  border-bottom: 1px solid transparent;
}

.toc-link:hover {
  color: var(--accent);
  border-bottom-color: var(--border-light);
}

.toc-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  min-width: 24px;
}

/* ===== PHASE SECTION ===== */
.phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  position: relative;
  padding-bottom: 80px;
}

.phase:last-child {
  padding-bottom: 0;
}

.phase-line {
  position: relative;
}

.phase-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.phase:last-child .phase-line::before {
  display: none;
}

.phase-num-wrap {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin: 0 auto;
}

.phase-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
}

.phase-content {
  padding-top: 8px;
}

.phase-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 500;
  padding: 4px 12px;
  background: var(--accent-pale);
  color: var(--accent);
  margin-bottom: 16px;
}

.phase-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 20px;
}

.phase-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--ink-mid);
  margin-bottom: 16px;
  max-width: 680px;
}

.phase-text strong {
  font-weight: 500;
  color: var(--ink);
}

/* ===== POINT BOX ===== */
.point-box {
  background: var(--accent-pale);
  padding: 28px 32px;
  margin-top: 24px;
  max-width: 680px;
}

.point-box-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.point-box-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-mid);
}

/* ===== CAUTION BOX ===== */
.caution-box {
  background: #FFF8F0;
  border-left: 3px solid #D4883C;
  padding: 28px 32px;
  margin-top: 24px;
  max-width: 680px;
}

.caution-box-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #D4883C;
  margin-bottom: 12px;
}

.caution-box-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-mid);
}

/* ===== DURATION ===== */
.duration-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
}

.duration-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-light);
  white-space: nowrap;
}

.duration-track {
  flex: 1;
  height: 6px;
  background: var(--border-light);
  position: relative;
  overflow: hidden;
}

.duration-fill {
  height: 100%;
  background: var(--accent);
  opacity: .4;
}

/* ===== CTA OVERRIDES ===== */
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-label {
  color: rgba(255, 255, 255, .5);
}

.cta-desc {
  color: rgba(255, 255, 255, .65);
}

.cta-btn {
  background: var(--accent);
  color: var(--white);
  padding: 16px 48px;
  font-size: 13px;
}

.cta-btn:hover {
  background: #4d8a28;
}

.cta-note {
  color: rgba(255, 255, 255, .4);
  margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .phase {
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding-bottom: 48px;
  }
  .phase-num-wrap { width: 40px; height: 40px; }
  .phase-num { font-size: 16px; }

  .toc { padding: 24px; margin-bottom: 40px; }
  .toc-grid { grid-template-columns: 1fr; }

  .point-box,
  .caution-box {
    padding: 20px 24px;
  }
}
