.document-page { background: var(--mist); }
.document-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; color: white; font-size: 14px; }
.document-nav a { text-decoration: underline; text-underline-offset: 5px; }
.document-shell { max-width: 940px; margin: 0 auto; padding: 130px 24px 72px; }
.document-heading { margin-bottom: 32px; }
.document-heading .section-kicker { margin-bottom: 12px; }
.document-heading h1 { margin: 0; font-size: clamp(32px, 6vw, 46px); line-height: 1.3; }
.document-heading > p:last-child { color: var(--ink-soft); }
.document-content { padding: 36px 42px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.document-content section + section { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.document-content h2 { margin: 0 0 14px; font-size: 22px; scroll-margin-top: 110px; }
.document-content h3 { margin: 22px 0 8px; font-size: 18px; }
.document-content p { margin: 12px 0; }
.document-content ul, .document-content ol { padding-left: 24px; }
.document-content li + li { margin-top: 10px; }
.document-content a { color: #08725e; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.document-note { padding: 16px 20px; background: #edf7f4; border-left: 3px solid var(--teal-dark); border-radius: 0 8px 8px 0; }
.document-page :focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.guide-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.guide-steps a { display: block; padding: 16px 18px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 14px; transition: border-color 180ms ease; }
.guide-steps a:hover { border-color: var(--honey); }
.guide-steps b { width: 28px; height: 28px; margin-bottom: 10px; display: grid; place-items: center; color: #0a1b2f; background: var(--honey); border-radius: 50%; font-size: 14px; }
.guide-steps span { display: block; font-weight: 700; }
.guide-steps small { color: var(--ink-soft); font-size: 13px; }
.download-card { margin: 4px 0 20px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; color: white; background: var(--navy-2); border-radius: 16px; }
.download-card strong { display: block; font-size: 18px; }
.download-card p { margin: 6px 0 16px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.document-content .download-button { padding: 12px 20px; display: inline-flex; align-items: center; gap: 8px; color: #0a1b2f; background: var(--honey); border-radius: 10px; font-weight: 700; text-decoration: none; }
.download-qr { width: 136px; padding: 10px; background: white; border-radius: 12px; }
.download-qr svg { display: block; width: 100%; height: auto; }
.download-qr small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 12px; text-align: center; }
.document-tip { padding: 14px 18px; background: #fff6e5; border-left: 3px solid var(--honey); border-radius: 0 8px 8px 0; }
.document-content code { padding: 2px 6px; background: var(--mist); border-radius: 6px; font-family: Consolas, "SF Mono", monospace; font-size: 0.92em; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .guide-steps { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: 1fr; }
  .download-qr { display: none; }
  .document-page .nav-shell { min-height: 86px; height: auto; padding: 14px 0; align-items: flex-start; gap: 12px; }
  .document-page .brand-copy small { display: none; }
  .document-nav { justify-content: flex-end; max-width: 55%; gap: 10px 16px; }
  .document-shell { padding: 118px 16px 44px; }
  .document-content { padding: 24px 20px; border-radius: 12px; }
  .document-content h2 { font-size: 20px; }
}
