.guide-page { padding-bottom: 44px; }
.guide-hero { padding: clamp(36px, 7vw, 76px) 0 24px; max-width: 900px; }
.guide-hero h1 { max-width: 820px; margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
.guide-hero p:last-child { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.guide-alert, .guide-note { border: 1px solid rgba(208, 151, 87, .34); background: linear-gradient(125deg, rgba(173, 111, 55, .15), rgba(17, 28, 46, .86)); border-radius: 16px; padding: 18px 20px; }
.guide-alert strong, .guide-note strong { color: #e9b67a; }
.guide-alert p, .guide-note { color: var(--text); }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.guide-section { margin: 34px 0; }
.guide-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.guide-section-heading h2 { margin: 4px 0 0; }
.os-tabs { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; width: fit-content; background: rgba(8, 14, 25, .68); margin-bottom: 16px; }
.os-tab { border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; font: inherit; font-weight: 700; padding: 10px 18px; cursor: pointer; }
.os-tab:hover { color: var(--text); }
.os-tab[aria-selected="true"] { color: #ffe0b6; border-color: rgba(208, 151, 87, .48); background: rgba(173, 111, 55, .22); }
.os-tab:focus-visible { outline: 3px solid #d09757; outline-offset: 2px; }
.os-panel[hidden] { display: none; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(17, 28, 46, .92); padding: clamp(18px, 3vw, 26px); }
.guide-card h3 { margin: 4px 0 12px; }
.guide-card p, .guide-card li { color: var(--muted); }
.guide-card ol { padding-left: 1.35rem; }
.guide-card li { padding-left: .25rem; margin: 0 0 10px; }
.guide-card li strong, .guide-card li code { color: #f1d0a9; }
.guide-card code, .endpoint-table code { color: #f1d0a9; overflow-wrap: anywhere; }
.guide-card pre { overflow-x: auto; background: #080e19; border: 1px solid #26364e; border-radius: 10px; padding: 14px; margin: 12px 0 16px; color: #e8edf5; font-size: .87rem; line-height: 1.55; }
.guide-card pre code { color: inherit; white-space: pre; }
.guide-mining ol { padding-left: 1.35rem; }
.guide-mining .guide-note { margin: 18px 0; }
.endpoint-table { min-width: 760px; }
.endpoint-table th, .endpoint-table td { vertical-align: top; }
.method-get { display: inline-block; color: #d9f2e8; background: rgba(54, 145, 106, .22); border: 1px solid rgba(89, 214, 162, .35); border-radius: 6px; font-size: .75rem; font-weight: 800; padding: 2px 7px; }
@media (max-width: 760px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-section-heading { align-items: start; flex-direction: column; }
  .os-tabs { width: 100%; }
  .os-tab { flex: 1; padding: 10px 7px; }
  .guide-links { flex-direction: column; gap: 8px; }
}
