/* Shared stylesheet for the guides under /support/ */
:root {
  --basalt: #1e1c1a; --basalt-2: #2c2926; --face: #3f3933;
  --limestone: #e8e0d0; --dust: #a89f8e; --dust-2: #8f8577;
  --gilt: #c9a227; --gilt-dim: #a98a2f; --edge: #3a352f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: linear-gradient(170deg, var(--basalt-2), var(--basalt) 45%); color: var(--limestone); font: 17px/1.7 var(--serif); }
a { color: var(--gilt); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }

header.top { border-bottom: 1px solid var(--edge); }
.top-in { max-width: 1060px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 12px; }
.top-in a.home { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--limestone); font-weight: 600; letter-spacing: .2em; font-size: .95rem; }
.top-in .crumb { font-family: var(--sans); color: var(--dust-2); font-size: .85rem; }

.page { max-width: 1060px; margin: 0 auto; padding: 40px 24px 90px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
@media (max-width: 800px) { .page { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

nav.toc { position: sticky; top: 24px; align-self: start; font-family: var(--sans); font-size: .86rem; }
@media (max-width: 800px) { nav.toc { position: static; border: 1px solid var(--edge); border-radius: 12px; padding: 14px 16px; margin-bottom: 26px; } }
nav.toc .toc-title { letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; color: var(--dust-2); margin-bottom: 10px; }
nav.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
nav.toc a { text-decoration: none; color: var(--dust); }
nav.toc a:hover { color: var(--gilt); }
nav.toc .sub { padding-left: 14px; font-size: .8rem; }
nav.toc .guide a::after { content: " ↗"; color: var(--gilt); }
nav.toc .toc-key { margin: 14px 0 0; font-size: .72rem; color: var(--dust-2); }

main h1 { font-size: clamp(1.9rem, 4.5vw, 2.5rem); line-height: 1.15; margin: 0 0 10px; font-weight: 600; text-wrap: balance; }
main .lede { color: var(--dust); max-width: 62ch; margin: 0 0 8px; }
main .lede b { color: var(--limestone); }

section.rung { border-top: 1px solid var(--edge); margin-top: 44px; padding-top: 36px; }
.rung-eyebrow { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gilt); margin-bottom: 8px; }
section.rung h2 { font-size: 1.5rem; margin: 0 0 14px; font-weight: 600; }
section.rung h3 { font-size: 1.05rem; margin: 28px 0 8px; font-weight: 600; color: var(--limestone); }
section.rung p { max-width: 64ch; margin: 0 0 14px; }
section.rung p.quiet, section.rung li.quiet { color: var(--dust); }
.stop-here { font-family: var(--sans); font-size: .84rem; color: var(--dust-2); border-left: 3px solid var(--gilt-dim); padding: 6px 14px; margin-top: 26px; font-style: normal; }

ol.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; max-width: 64ch; }
ol.steps > li, ul.plain > li { min-width: 0; }
ol.steps li::marker { color: var(--gilt); font-weight: 600; }
ol.steps b { color: var(--limestone); }
ul.plain { margin: 0 0 14px; padding-left: 1.15em; display: grid; gap: 10px; max-width: 64ch; }
ul.plain li::marker { color: var(--gilt); }

figure.shot { margin: 22px 0; }
figure.shot img { max-width: 100%; width: 420px; height: auto; border: 1px solid var(--edge); border-radius: 12px; display: block; }
figure.shot figcaption { font-family: var(--sans); font-size: .78rem; color: var(--dust-2); margin-top: 8px; }
.shots-row { display: flex; gap: 22px; flex-wrap: wrap; }
.shots-row figure.shot img { width: 340px; }

pre { background: color-mix(in srgb, var(--face) 36%, transparent); border: 1px solid var(--edge); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: .82rem; line-height: 1.6; color: var(--limestone); max-width: 64ch; }
pre .c { color: var(--dust-2); }
code { font-family: var(--mono); font-size: .85em; color: var(--gilt); }
pre code { color: inherit; font-size: inherit; }

.faq { display: grid; gap: 10px; max-width: 66ch; }
.faq details { border: 1px solid var(--edge); border-radius: 10px; background: color-mix(in srgb, var(--face) 26%, transparent); }
.faq summary { cursor: pointer; padding: 13px 16px; font-family: var(--sans); font-size: .95rem; color: var(--limestone); }
.faq summary:hover { color: var(--gilt); }
.faq .a { padding: 0 16px 14px; font-family: var(--sans); font-size: .9rem; color: var(--dust); line-height: 1.65; }
.faq .a b { color: var(--limestone); }
.faq .a code { color: var(--gilt); }

.contact { border: 1px solid var(--gilt-dim); border-radius: 12px; padding: 22px 26px; margin-top: 30px; max-width: 66ch; }
.contact p { font-family: var(--sans); font-size: .93rem; color: var(--dust); margin: 0; }
.contact b { color: var(--gilt); }

footer { border-top: 1px solid var(--edge); padding: 28px 0 44px; text-align: center; font-family: var(--sans); font-size: .8rem; color: var(--dust-2); }

figure.shot.wide img { width: 100%; }
