:root {
  --guide-ink: #17211b;
  --guide-muted: #5f6b63;
  --guide-line: #d8ddd8;
  --guide-paper: #fffdf8;
  --guide-green: #dff3e5;
  --guide-accent: #ff6846;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--guide-ink); background: var(--guide-paper); }

.guide-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--guide-line);
  background: color-mix(in srgb, var(--guide-paper), transparent 5%);
  backdrop-filter: blur(16px);
}

.guide-brand { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 850; text-decoration: none; }
.guide-brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: white; background: var(--guide-ink); }
.guide-nav { display: flex; gap: 24px; margin-left: auto; }
.guide-nav a,
.guide-text-link,
.guide-footer a { color: inherit; font-weight: 700; text-decoration: none; }
.guide-nav a:hover,
.guide-text-link:hover,
.guide-footer a:hover { text-decoration: underline; }

.guide-button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 20px; border-radius: 999px; color: white; background: var(--guide-ink); font-weight: 800; text-decoration: none; }
.guide-button.small { padding: 11px 16px; font-size: .86rem; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: clamp(36px, 7vw, 96px); padding: clamp(72px, 10vw, 144px) clamp(20px, 6vw, 88px); }
.guide-kicker { margin: 0 0 14px; color: var(--guide-accent); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.guide-hero h1 { max-width: 980px; margin: 0; font-size: clamp(3.2rem, 8vw, 8.4rem); letter-spacing: -.07em; line-height: .88; }
.guide-lead { max-width: 740px; margin: 36px 0 0; color: var(--guide-muted); font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.55; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 36px; }

.publish-rule { align-self: end; padding: 30px; border: 1px solid #f0b7aa; border-radius: 24px; background: #fff1ec; }
.publish-rule-label { margin: 0 0 18px; color: #b8462d; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.publish-rule strong { display: block; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.04em; line-height: 1.1; }
.publish-rule p:last-child { margin: 20px 0 0; color: #754c43; line-height: 1.6; }

.guide-section { padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 88px); border-top: 1px solid var(--guide-line); }
.guide-surface { background: #f2f6f2; }
.guide-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 24px 56px; margin-bottom: 52px; }
.guide-section-heading .guide-kicker { grid-column: 1 / -1; }
.guide-section-heading h2 { margin: 0; font-size: clamp(3rem, 7vw, 6.6rem); letter-spacing: -.065em; line-height: .92; }
.guide-section-heading > p:last-child { align-self: end; margin: 0; color: var(--guide-muted); font-size: 1.05rem; line-height: 1.6; }

.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.workflow-grid li { min-height: 280px; padding: 24px; border: 1px solid var(--guide-line); border-radius: 20px; background: white; }
.workflow-number { display: block; margin-bottom: 64px; color: #819087; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.workflow-grid h3 { margin: 0 0 14px; font-size: 1.45rem; }
.workflow-grid p { margin: 0; color: var(--guide-muted); line-height: 1.6; }
.do-not-publish { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-top: 24px; padding: 26px; border-radius: 20px; background: var(--guide-ink); color: white; }
.do-not-publish > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--guide-ink); background: #ffcc57; font-weight: 900; }
.do-not-publish strong { font-size: 1.15rem; }
.do-not-publish p { margin: 8px 0 0; color: #d4ddd7; line-height: 1.6; }

.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.review-grid article { padding: 24px; border-radius: 20px; background: white; }
.review-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--guide-green); font-weight: 900; }
.review-grid h3 { margin: 28px 0 16px; font-size: 1.4rem; }
.review-grid ul { margin: 0; padding-left: 20px; color: var(--guide-muted); line-height: 1.8; }
.image-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 520px); gap: 36px; margin-top: 20px; padding: 30px; border: 1px solid #bed6c5; border-radius: 20px; background: var(--guide-green); }
.image-note h3 { max-width: 660px; margin: 0; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.045em; line-height: 1.1; }
.image-note > p { align-self: end; margin: 0; color: #405148; line-height: 1.65; }

.help-list { border-top: 1px solid var(--guide-line); }
.help-list details { border-bottom: 1px solid var(--guide-line); }
.help-list summary { padding: 24px 0; cursor: pointer; font-size: 1.15rem; font-weight: 800; }
.help-list p { max-width: 760px; margin: -8px 0 24px; color: var(--guide-muted); line-height: 1.65; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(20px, 6vw, 88px); border-top: 1px solid var(--guide-line); color: var(--guide-muted); }
.guide-footer strong { color: var(--guide-ink); }

@media (max-width: 980px) {
  .guide-nav { display: none; }
  .guide-header .guide-button { margin-left: auto; }
  .guide-hero { grid-template-columns: 1fr; }
  .workflow-grid,
  .review-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .guide-brand > span:last-child { display: none; }
  .guide-header { gap: 12px; padding: 12px 16px; }
  .guide-button.small { padding: 10px 13px; }
  .guide-hero { padding: 56px 20px 72px; }
  .guide-hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .guide-section,
  .content-section { padding: 72px 20px; }
  .guide-section-heading,
  .image-note { grid-template-columns: 1fr; }
  .workflow-grid,
  .review-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: auto; }
  .workflow-number { margin-bottom: 40px; }
  .guide-footer { align-items: flex-start; flex-direction: column; }
}
