/* The narrow reading column used by get-started, the three audience guides
   (editors, members, owners) and the not-found page. The step / code / callout
   rules are the ones get-started has always used, so steps read the same
   wherever they appear. Shared design system lives in assets/base.css. */
.doc{max-width:780px;margin:0 auto;padding:0 28px}
.doc-head{padding:60px 0 4px}
.doc-head h1{font-family:var(--display);font-weight:780;font-size:clamp(2.4rem,5vw,3.4rem);line-height:1.0;letter-spacing:-.025em;margin:16px 0 14px}
.doc-head h1 .it{color:var(--clay)}
.doc-head .lead{font-size:1.2rem;color:var(--ink-soft);max-width:62ch;line-height:1.5}
.doc-head .lead code{font-family:var(--mono);font-size:1rem;color:var(--clay-deep)}
/* step body */
.doc h3{font-family:var(--display);font-weight:640;font-size:1.18rem;margin:30px 0 8px;letter-spacing:-.01em}
.doc p{font-size:16.5px;color:var(--ink-soft);margin:12px 0;line-height:1.66;max-width:64ch}
.doc p strong,.doc li strong,.doc dd strong{color:var(--ink);font-weight:600}
.doc em{font-family:var(--serif);font-style:italic}
.doc a{color:var(--clay-deep);text-decoration:underline;text-decoration-color:var(--clay-soft);text-underline-offset:2px}
.doc a:hover{text-decoration-color:var(--clay-deep)}
.stepn{display:inline-flex;width:30px;height:30px;border-radius:9px;background:var(--clay);color:var(--cream);
  font-family:var(--display);font-weight:740;font-size:.95rem;align-items:center;justify-content:center;margin-right:10px;vertical-align:-6px}
.doc code{font-family:var(--mono);font-size:14px;color:var(--clay-deep);background:var(--wash-clay);padding:1px 6px;border-radius:5px}
.doc pre{background:var(--kiln);color:#e9ddcf;border-radius:var(--r);padding:18px 20px;font-family:var(--mono);font-size:13.5px;line-height:1.6;overflow-x:auto;margin:16px 0;white-space:pre-wrap;box-shadow:var(--shadow)}
.doc pre code{background:none;color:#e9ddcf;padding:0;font-size:13.5px}
.callout{border-radius:var(--r);padding:18px 22px;margin:24px 0;font-size:15.5px;line-height:1.6}
.callout.tip{background:var(--wash-clay);border:1px solid var(--clay-soft)}
.callout.done{background:var(--card);border:1px solid var(--clay);box-shadow:var(--shadow);padding:24px 26px;margin:48px 0 0}
.callout.done h3{margin:0 0 6px;font-family:var(--display);font-weight:740;font-size:1.4rem;letter-spacing:-.02em}
.callout strong{color:var(--ink)}
.callout a{color:var(--clay-deep);text-decoration:underline;text-decoration-color:var(--clay-soft);text-underline-offset:2px}
.callout code{font-family:var(--mono);font-size:13.5px;color:var(--clay-deep);background:var(--paper);padding:1px 6px;border-radius:5px}
footer{margin-top:30px}
.doc p.last{margin-bottom:0}

/* "Works with" block inside the narrow column */
.works-box{margin:28px 0 30px}
.works-box .kick{display:block;margin-bottom:12px}
.works-box .works{gap:0 26px}
@media(max-width:760px){.works-box .works{gap:18px}}

/* ============ THE THREE GUIDES ============ */
/* which guide am I reading, and the other two */
.guide-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 0;font-family:var(--mono);font-size:12.5px}
.guide-tabs a{color:var(--ink-soft);text-decoration:none;border:1px solid var(--edge-2);border-radius:999px;padding:6px 14px;transition:.15s}
.guide-tabs a:hover{color:var(--ink);border-color:var(--ink)}
.guide-tabs a[aria-current="page"]{color:var(--cream);background:var(--clay);border-color:var(--clay)}

/* section heading: same ruled heading the pricing and legal pages use */
.doc h2.sec{font-family:var(--display);font-weight:740;font-size:1.7rem;line-height:1.12;letter-spacing:-.02em;margin:50px 0 2px;padding-top:30px;border-top:2px solid var(--ink)}
.doc h2.sec+h3{margin-top:20px}
.doc h3.plain{margin-top:26px}

.doc ul{list-style:none;margin:10px 0 14px;display:flex;flex-direction:column;gap:9px;max-width:64ch}
.doc ul li{position:relative;padding-left:22px;font-size:16.5px;color:var(--ink-soft);line-height:1.62}
.doc ul li::before{content:"";position:absolute;left:4px;top:11px;width:6px;height:6px;border-radius:50%;background:var(--clay-soft)}

/* troubleshooting: what you see, then what to do */
.fixes{margin:10px 0 0}
.fixes dt{font-family:var(--display);font-weight:640;font-size:1.08rem;line-height:1.3;color:var(--ink);letter-spacing:-.01em;margin-top:18px;padding-top:18px;border-top:1px solid var(--edge)}
.fixes dt:first-child{margin-top:0;border-top:none;padding-top:8px}
.fixes dd{font-size:15.5px;color:var(--ink-soft);line-height:1.62;margin:5px 0 0;max-width:64ch}
.fixes dd code{font-size:13.5px}

/* not-found page */
.nf{padding-bottom:40px}
.nf .nf-links{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0}
.nf .nf-links .btn{font-size:15.5px;padding:13px 24px;border-radius:999px;text-decoration:none}
.nf .nf-links .btn-clay{color:var(--cream)}
.nf .nf-links .btn-line{color:var(--ink)}

@media(max-width:520px){
  .doc h2.sec{font-size:1.5rem;margin-top:42px}
}
