.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose { max-width: 780px; min-width: 0; }
.prose section { padding: 8px 0 44px; border-bottom: 1px solid var(--line); margin-bottom: 40px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font: 600 clamp(34px, 4vw, 48px)/1 var(--f-display); margin: 0 0 18px; letter-spacing: -0.01em; }
.prose p, .prose li, .prose dd { color: #d0c8b7; font-size: 16px; line-height: 1.7; }
.prose em { color: var(--gold-2); font-style: italic; }
.prose code { font: 400 0.86em var(--f-mono); color: var(--gold-2); background: rgba(217, 180, 106, 0.08); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose .notice { margin-top: 18px; }
.clauses, .glossary { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px 22px; margin: 0; }
.clauses dt, .glossary dt { font: 600 21px/1.3 var(--f-display); color: var(--text); }
.clauses dd, .glossary dd { margin: 0; }
.flow { list-style: none; padding: 0 !important; margin: 22px 0 0; display: grid; gap: 0; counter-reset: f; }
.flow li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 4px 18px; padding: 16px 0 16px 0; margin: 0 !important; counter-increment: f; }
.flow li::before { content: counter(f); position: absolute; left: 112px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--f-mono); color: #1a1205; background: var(--gold); z-index: 1; }
.flow li::after { content: ''; position: absolute; left: 125px; top: 44px; bottom: -16px; width: 2px; background: linear-gradient(var(--gold-deep), transparent); }
.flow li:last-child::after { display: none; }
.flow .where { grid-row: 1 / 3; align-self: start; margin-top: 5px; justify-self: start; font: 500 9.5px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.flow .where.on { color: var(--gold-2); border-color: rgba(217, 180, 106, 0.5); background: rgba(217, 180, 106, 0.07); }
.flow b { padding-left: 46px; font: 600 22px/1.2 var(--f-display); color: var(--text); }
.flow li > span:last-child { padding-left: 46px; color: #c2baa9; font-size: 15px; }
.steps-list { list-style: none; padding: 0 !important; counter-reset: s; }
.steps-list li { position: relative; padding-left: 44px; counter-increment: s; }
.steps-list li + li { margin-top: 14px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 600 12px/1 var(--f-mono); }
.steps-list b { color: var(--text); }
.trust td { font-size: 14px; color: #d0c8b7; min-width: 160px; }
.trust td:first-child { min-width: 150px; }
.tc-docs { display: grid; gap: 12px; margin-bottom: 14px; }
.tc-doc { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(239, 232, 218, 0.02); }
.tc-doc .thumb-s { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(217, 180, 106, 0.45); }
.tc-doc .thumb-s img { width: 100%; height: 100%; object-fit: cover; }
.tc-doc h3 { margin: 0; font: 600 26px/1.1 var(--f-display); }
.tc-doc h3 a:hover { color: var(--gold-2); }
.tc-doc .meta { font: 400 12px/1.5 var(--f-mono); color: var(--muted); margin-top: 4px; }
.tc-doc p { margin: 8px 0 0; font-size: 15px; }
.prose details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 16px; margin-top: 10px; background: rgba(239, 232, 218, 0.02); }
.prose details summary { cursor: pointer; padding: 14px 0; font: 600 20px/1.3 var(--f-display); color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: '+'; font-family: var(--f-mono); color: var(--gold); }
.prose details[open] summary::after { content: '−'; }
.prose details p { margin: 0 0 16px; }
.prose [data-ca] { margin-top: 18px; }
@media (max-width: 960px) {
  .docs { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
  .toc ol { columns: 2; column-gap: 20px; border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .toc ol { columns: 1; }
  .clauses, .glossary { grid-template-columns: 1fr; gap: 4px; }
  .clauses dd, .glossary dd { margin-bottom: 12px; }
  .flow li { grid-template-columns: 1fr; }
  .flow .where { grid-row: auto; margin: 0 0 6px 46px; }
  .flow li::before { left: 0; top: 40px; }
  .flow li::after { left: 13px; top: 68px; }
}
