.docs{--bg-primary:#faf9f7;--bg-dark:#0f0f0f;--bg-card:#fff;--bg-warm:#f5f2ed;--bg-code:#1a1a2e;--text-primary:#0f0f0f;--text-secondary:#5a5a5a;--text-muted:#8a8a8a;--text-inverse:#faf9f7;--accent:#1a6b4a;--accent-light:#e8f5ee;--border:#e5e3df;--serif:"Playfair Display", "Georgia", serif;--mono:"JetBrains Mono", "Fira Code", monospace;color:var(--text-primary);background:var(--bg-primary);font-family:DM Sans,-apple-system,sans-serif}.docs .docs-hero{text-align:center;max-width:900px;margin:0 auto;padding:8rem 2rem 4rem}.docs .docs-hero-badge{color:var(--accent);border:1px solid var(--accent);background:var(--accent-light);letter-spacing:.06em;text-transform:uppercase;border-radius:999px;align-items:center;gap:.5rem;margin-bottom:1.5rem;padding:.3rem 1rem;font-size:.72rem;font-weight:600;display:inline-flex}.docs .docs-hero h1{font-family:var(--serif);margin-bottom:1rem;font-size:clamp(2rem,4vw,3rem);font-weight:400;line-height:1.2}.docs .docs-hero h1 em{font-style:italic}.docs .docs-hero-sub{color:var(--text-secondary);max-width:640px;margin:0 auto;font-size:1rem;font-weight:300;line-height:1.7}.docs .docs-layout{grid-template-columns:240px 1fr;align-items:start;gap:3rem;max-width:1200px;margin:0 auto;padding:0 2rem 6rem;display:grid}.docs .docs-sidebar{padding:1.5rem 0;position:sticky;top:5rem}.docs .docs-sidebar-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:1rem;padding-left:.8rem;font-size:.7rem;font-weight:600}.docs .docs-sidebar-nav{flex-direction:column;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.docs .docs-sidebar-nav li a{color:var(--text-secondary);border-radius:6px;padding:.5rem .8rem;font-size:.82rem;font-weight:400;line-height:1.4;text-decoration:none;transition:all .15s;display:block}.docs .docs-sidebar-nav li a:hover{color:var(--text-primary);background:#0000000a}.docs .docs-sidebar-nav li a.active{color:var(--accent);background:var(--accent-light);font-weight:500}.docs .docs-sidebar-nav li.nav-divider{background:var(--border);height:1px;margin:.5rem .8rem}.docs .docs-content{min-width:0}.docs .docs-section{margin-bottom:4rem;scroll-margin-top:5rem}.docs .docs-section-label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--border);border-radius:999px;margin-bottom:.8rem;padding:.25rem .8rem;font-size:.7rem;font-weight:600;display:inline-block}.docs .docs-section h2{font-family:var(--serif);margin-bottom:.6rem;font-size:clamp(1.4rem,2.5vw,1.8rem);font-weight:400;line-height:1.3}.docs .docs-section h3{margin:1.5rem 0 .5rem;font-size:1rem;font-weight:600}.docs .docs-section p{color:var(--text-secondary);margin-bottom:.8rem;font-size:.88rem;font-weight:300;line-height:1.75}.docs .module-grid{background:var(--border);border:1px solid var(--border);border-radius:12px;grid-template-columns:1fr;gap:1px;margin-top:1.5rem;display:grid;overflow:hidden}.docs .module-card{background:var(--bg-card);padding:1.8rem}.docs .module-card-header{align-items:center;gap:.8rem;margin-bottom:.8rem;display:flex}.docs .module-step{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.72rem;font-weight:700;display:flex}.docs .module-card h4{font-size:.95rem;font-weight:600}.docs .module-card p{color:var(--text-secondary);margin-bottom:0;font-size:.83rem;font-weight:300;line-height:1.65}.docs .module-card .module-tech{color:var(--accent);font-size:.72rem;font-weight:500;font-family:var(--mono);margin-top:.6rem}.docs .code-block{background:var(--bg-code);border-radius:10px;margin:1rem 0;overflow:hidden}.docs .code-header{background:#ffffff0d;border-bottom:1px solid #ffffff0f;align-items:center;gap:.5rem;padding:.6rem 1rem;display:flex}.docs .code-dot{border-radius:50%;width:8px;height:8px}.docs .code-dot-red{background:#ff5f56}.docs .code-dot-yellow{background:#ffbd2e}.docs .code-dot-green{background:#27c93f}.docs .code-title{color:#fff6;font-size:.7rem;font-family:var(--mono);margin-left:.5rem}.docs .code-body{padding:1rem 1.2rem;overflow-x:auto}.docs .code-body pre{font-family:var(--mono);color:#ffffffd9;white-space:pre;margin:0;font-size:.78rem;line-height:1.65}.docs .code-body .code-comment{color:#ffffff59}.docs .code-body .code-keyword{color:#c792ea}.docs .code-body .code-string{color:#c3e88d}.docs .code-body .code-fn{color:#82aaff}.docs .code-body .code-flag{color:#f78c6c}.docs .live-case-table{border:1px solid var(--border);border-radius:12px;margin-top:1.5rem;overflow:hidden}.docs .live-case-row{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:0;display:grid}.docs .live-case-row-header{background:var(--bg-warm)}.docs .live-case-cell{color:var(--text-secondary);border-bottom:1px solid var(--border);border-right:1px solid var(--border);word-break:normal;overflow-wrap:break-word;padding:.7rem 1rem;font-size:.78rem;font-weight:300;line-height:1.5}.docs .live-case-cell:last-child{border-right:none}.docs .live-case-row:last-child .live-case-cell{border-bottom:none}.docs .live-case-cell-header{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:.68rem;font-weight:600}.docs .live-case-cell a{color:var(--accent);font-family:var(--mono);font-size:.72rem;text-decoration:none}.docs .live-case-cell a:hover{text-decoration:underline}.docs .live-case-cell .cell-label{color:var(--text-primary);font-weight:500}.docs .country-grid{background:var(--border);border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:1.5rem;display:grid;overflow:hidden}.docs .country-card{background:var(--bg-card);text-align:center;padding:1.5rem}.docs .country-flag{margin-bottom:.4rem;font-size:2rem}.docs .country-name{margin-bottom:.15rem;font-size:.9rem;font-weight:600}.docs .country-cert{color:var(--accent);margin-bottom:.5rem;font-size:.72rem;font-weight:500}.docs .country-detail{color:var(--text-secondary);font-size:.78rem;font-weight:300;line-height:1.5}.docs .req-list{flex-direction:column;gap:.6rem;margin:1rem 0;padding:0;list-style:none;display:flex}.docs .req-list li{color:var(--text-secondary);padding-left:1.4rem;font-size:.85rem;font-weight:300;line-height:1.6;position:relative}.docs .req-list li:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:.5rem;left:0}.docs .arch-flow{flex-wrap:wrap;justify-content:center;align-items:center;gap:0;margin:2rem 0;display:flex}.docs .arch-node{border:1px solid var(--border);background:var(--bg-card);text-align:center;opacity:0;border-radius:8px;flex:0 auto;min-width:0;padding:.6rem .8rem;transform:translateY(16px)}.docs .arch-flow.in-view .arch-node{animation:.5s forwards archNodeIn}.docs .arch-flow.in-view .arch-node:first-child{animation-delay:.1s}.docs .arch-flow.in-view .arch-node:nth-child(3){animation-delay:.4s}.docs .arch-flow.in-view .arch-node:nth-child(5){animation-delay:.7s}.docs .arch-flow.in-view .arch-node:nth-child(7){animation-delay:1s}.docs .arch-flow.in-view .arch-node:nth-child(9){animation-delay:1.3s}@keyframes archNodeIn{to{opacity:1;transform:translateY(0)}}.docs .arch-node-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:500}.docs .arch-node-value{margin-top:.15rem;font-size:.85rem;font-weight:600}.docs .arch-arrow{color:var(--accent);opacity:0;flex-shrink:0;padding:0 .5rem;font-size:1.2rem}.docs .arch-flow.in-view .arch-arrow{animation:.4s forwards arrowPulse}.docs .arch-flow.in-view .arch-arrow:nth-child(2){animation-delay:.25s}.docs .arch-flow.in-view .arch-arrow:nth-child(4){animation-delay:.55s}.docs .arch-flow.in-view .arch-arrow:nth-child(6){animation-delay:.85s}.docs .arch-flow.in-view .arch-arrow:nth-child(8){animation-delay:1.15s}@keyframes arrowPulse{0%{opacity:0;transform:translate(-6px)}60%{opacity:1;transform:translate(2px)}to{opacity:1;transform:translate(0)}}.docs .role-badge{letter-spacing:.06em;text-transform:uppercase;vertical-align:middle;border-radius:999px;padding:.15rem .55rem;font-size:.62rem;font-weight:700;display:inline-block}.docs .role-badge-court{background:var(--accent-light);color:var(--accent)}.docs .role-badge-lawyer{color:#2563eb;background:#eff6ff}.docs .role-badge-applicant{color:#d97706;background:#fffbeb}.docs .role-badge-protocol{color:#7c3aed;background:#f5f3ff}.docs .flow-timeline{margin:1.5rem 0;padding:0;list-style:none;position:relative}.docs .flow-timeline:before{content:"";background:var(--border);width:2px;position:absolute;top:0;bottom:0;left:15px}.docs .flow-step{padding-bottom:1.4rem;padding-left:44px;position:relative}.docs .flow-step:last-child{padding-bottom:0}.docs .flow-step-dot{background:var(--accent);color:#fff;z-index:1;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:.6rem;font-weight:700;display:flex;position:absolute;top:2px;left:6px}.docs .flow-step-header{align-items:center;gap:.5rem;margin-bottom:.2rem;display:flex}.docs .flow-step-title{color:var(--text-primary);font-size:.88rem;font-weight:600}.docs .flow-step-desc{color:var(--text-secondary);font-size:.78rem;font-weight:300;line-height:1.55}.docs .flow-step-tx{margin-top:.25rem}.docs .flow-step-tx a{font-family:var(--mono);color:var(--accent);opacity:.75;font-size:.68rem;text-decoration:none}.docs .flow-step-tx a:hover{opacity:1;text-decoration:underline}.docs .pain-grid{background:var(--border);border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(2,1fr);gap:1px;margin-top:1.5rem;display:grid;overflow:hidden}.docs .pain-card{background:var(--bg-card);padding:1.5rem}.docs .pain-card h4{align-items:center;gap:.4rem;margin-bottom:.3rem;font-size:.9rem;font-weight:600;display:flex}.docs .pain-icon{color:#dc2626;font-size:.9rem}.docs .pain-card p{color:var(--text-secondary);margin-bottom:0;font-size:.8rem;font-weight:300;line-height:1.6}.docs .pain-fix{color:var(--accent);margin-top:.5rem;font-size:.75rem;font-weight:500}.docs .role-card{background:var(--bg-card);border-left:3px solid var(--accent);padding:1.8rem}.docs .role-card-court{border-left-color:var(--accent)}.docs .role-card-lawyer{border-left-color:#2563eb}.docs .role-card-applicant{border-left-color:#d97706}.docs .role-card h4{margin-bottom:.15rem;font-size:.95rem;font-weight:600}.docs .role-card .role-subtitle{color:var(--text-muted);font-size:.72rem;font-weight:500;font-family:var(--mono);margin-bottom:.6rem}.docs .role-card p{color:var(--text-secondary);margin-bottom:0;font-size:.83rem;font-weight:300;line-height:1.65}.docs .callout{border-left:3px solid var(--accent);background:var(--accent-light);border-radius:0 8px 8px 0;margin:1rem 0;padding:1rem 1.2rem}.docs .callout p{color:var(--text-primary);margin-bottom:0;font-size:.82rem;font-weight:400;line-height:1.6}@media (max-width:900px){.docs .pain-grid{grid-template-columns:1fr}}.docs .docs-footer{border-top:1px solid var(--border);max-width:1200px;color:var(--text-muted);justify-content:space-between;align-items:center;margin:0 auto;padding:2rem;font-size:.78rem;display:flex}.docs .docs-footer a{color:var(--accent);text-decoration:none}.docs .docs-footer a:hover{text-decoration:underline}@media (max-width:900px){.docs .docs-layout{grid-template-columns:1fr}.docs .docs-sidebar{padding:0;position:static}.docs .docs-sidebar-nav{flex-flow:wrap;gap:.3rem}.docs .docs-sidebar-nav li a{padding:.4rem .7rem;font-size:.75rem}.docs .docs-sidebar-nav li.nav-divider{display:none}.docs .country-grid,.docs .live-case-row{grid-template-columns:1fr}.docs .arch-flow{flex-direction:column}.docs .arch-arrow{transform:rotate(90deg)}.docs .docs-hero h1{font-size:clamp(1.8rem,6vw,2.5rem)}.docs .docs-hero-sub{padding:0 1rem;font-size:.9rem}.docs .docs-section{margin-bottom:2.5rem}.docs .docs-content{padding:0 .5rem}.docs .code-block{font-size:.7rem}.docs .code-body pre{font-size:.68rem;overflow-x:auto}.docs .module-grid{grid-template-columns:1fr}.docs .callout{padding:.8rem;font-size:.78rem}.docs .flow-step{padding:1rem}.docs .live-case-cell{padding:.5rem .6rem;font-size:.72rem}.docs .req-list li{font-size:.8rem}}@media (max-width:480px){.docs .docs-sidebar-nav{gap:.2rem}.docs .docs-sidebar-nav li a{padding:.3rem .5rem;font-size:.68rem}.docs .docs-hero{padding:2rem 1rem}.docs .live-case-cell{padding:.4rem;font-size:.68rem}}
