/* ── Subpage shared styles ─────────────────────────────── */

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

/* PAGE HERO BANNER */
.page-hero {
  margin: 100px auto 0;
  max-width: 1100px;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.page-hero-inner {
  background: linear-gradient(135deg, #7c3aed, #2563eb, #0ea5e9);
  border-radius: 24px; padding: 56px 48px;
  color: #fff; position: relative; overflow: hidden;
}
.page-hero-inner::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.page-hero-inner::after {
  content: ''; position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.page-hero-inner h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 8px; position: relative; z-index: 1;
}
.page-hero-inner p {
  font-size: 15px; opacity: .75;
  position: relative; z-index: 1;
}

/* CONTENT AREA */
.content-wrap {
  max-width: 860px; margin: 48px auto;
  padding: 0 28px 100px;
  position: relative; z-index: 1;
  background: var(--bg);
}

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: 16px; padding: 24px 28px; margin-bottom: 40px;
}
.toc h3 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--white4); margin-bottom: 14px;
}
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.toc li a { font-size: 14px; color: var(--g1); font-weight: 500; transition: opacity .18s; }
.toc li a:hover { opacity: .7; }

.intro-text {
  font-size: 15px; color: var(--white3);
  margin-bottom: 32px; line-height: 1.8;
}
.intro-text strong { color: var(--white); }

.sp-divider { height: 1px; background: var(--border); margin: 8px 0 32px; }

.section { margin-bottom: 36px; }
.section h2 {
  font-size: 20px; font-weight: 700; color: var(--white);
  margin-bottom: 12px; padding-top: 24px;
  display: flex; align-items: center; gap: 10px;
}
.section h2 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff; font-size: 12px; font-weight: 800;
}
.section p, .section li {
  font-size: 15px; color: var(--white3); line-height: 1.8;
}
.section ul, .section ol {
  padding-left: 20px; margin-top: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.section a { color: var(--g1); font-weight: 500; }
.section a:hover { opacity: .8; }
.section strong { color: var(--white); }

/* ── MOBILE CENTER ─────────────────────────────────────── */
@media(max-width: 768px) {
  .page-hero { margin-top: 90px; }
  .page-hero-inner { padding: 36px 24px; text-align: center; }
  .content-wrap { padding: 0 20px 80px; }
  .toc { text-align: center; }
  .toc ol { padding-left: 0; list-style: none; }
  .section h2 { justify-content: center; }
  .section p, .section li { text-align: center; }
  .section ul, .section ol { padding-left: 0; list-style: none; }
  .intro-text { text-align: center; }
}
