/* Docs: the field manual for the climb. Light pages, a sticky map on the left, carved section numbers. */
body.docs { background: #eceef0; }
.docs .top { background: rgba(236, 238, 240, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.docs-hero { position: relative; padding: 120px 0 46px; overflow: hidden; }
.docs-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../img/everest-blur.webp') center 35% / cover; opacity: .55; }
.docs-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(236, 238, 240, .2), #eceef0 92%); }
.docs-hero h1 { font-size: clamp(38px, 5.4vw, 72px); margin: 18px 0 14px; }
.docs-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-bottom: 90px; }
.toc { position: sticky; top: 88px; align-self: start; padding: 16px; border-radius: 18px; }
.toc b { display: block; font-family: var(--carved); letter-spacing: .3em; font-size: 10.5px; opacity: .6; margin: 6px 6px 10px; }
.toc a { display: flex; gap: 10px; text-decoration: none; font-size: 14px; padding: 7px 8px; border-radius: 9px; color: var(--slate); }
.toc a span { font-family: var(--carved); font-size: 12px; width: 22px; color: var(--stone); }
.toc a:hover, .toc a.on { background: rgba(255, 255, 255, .7); color: var(--ink); }
.doc { max-width: 760px; }
.doc section { padding: 10px 0 34px; scroll-margin-top: 90px; }
.doc section + section { border-top: 1px solid rgba(12, 14, 17, .07); padding-top: 34px; }
.doc .num { font-family: var(--carved); font-size: 15px; color: var(--stone); letter-spacing: .1em; }
.doc h2 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 14px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: #2c3138; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc a { color: #2f6fa6; }
.doc code { font-family: var(--mono); font-size: .88em; padding: 1px 6px; border-radius: 6px; background: rgba(12, 14, 17, .06); }
.doc pre { margin: 14px 0; padding: 14px 16px; border-radius: 14px; overflow-x: auto; background: linear-gradient(160deg, #1a2029, #0d1117); color: #e6e8ea; font-family: var(--mono); font-size: 13px; line-height: 1.65; }
.doc pre .c { color: #8a93a0; } .doc pre .k { color: #b7a8ff; } .doc pre .s { color: #9fe6c1; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(12, 14, 17, .08); vertical-align: top; }
.doc th { font-size: 12px; font-weight: 600; color: var(--stone); letter-spacing: .02em; }
.doc td code { white-space: nowrap; }
.callout { margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff; font-size: 15px; }
.callout b { display: block; font-family: var(--carved); letter-spacing: .26em; font-size: 10.5px; color: var(--stone); margin-bottom: 4px; }
.steps-doc { counter-reset: s; list-style: none; padding: 0; }
.steps-doc li { counter-increment: s; position: relative; padding: 12px 14px 12px 56px; border-radius: 14px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(12, 14, 17, .05); margin-bottom: 8px; }
.steps-doc li::before { content: counter(s, upper-greek); position: absolute; left: 16px; top: 12px; width: 28px; text-align: center; font-family: var(--carved); font-size: 17px; color: var(--slate); }
@media (max-width: 900px) {
  .docs-grid { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; gap: 4px; overflow-x: auto; padding: 8px; }
  .toc b { display: none; }
  .toc a { flex: none; }
}
