/* Public method page. No people artwork: gates, evidence and artifacts only. */
.system-page{background-color:var(--paper)}
.system-page .site-header{grid-template-columns:auto minmax(0,1fr) auto;gap:24px}
.system-page .primary-nav{justify-content:center;gap:clamp(12px,1.5vw,24px)}
.system-page .primary-nav [aria-current="page"]{color:var(--clay)}
.system-shell{max-width:1160px;margin:0 auto;padding:32px 28px 80px}
.system-breadcrumb{display:flex;gap:12px;font:500 .65rem/1.5 var(--mono);color:var(--muted);margin-bottom:40px}
.system-breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.system-hero{padding:16px 0 64px;border-bottom:1px solid var(--ink)}
.system-hero h1{max-width:900px;margin:20px 0 24px;font:500 clamp(3.2rem,6vw,5.8rem)/1.08 var(--serif);letter-spacing:-.035em;text-wrap:balance}
.system-lead{max-width:820px;font-size:1rem;line-height:1.85;color:var(--muted)}
.system-lead strong{color:var(--ink);font-weight:600}
.system-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0}
.system-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;background:var(--clay);border:1px solid var(--clay);border-radius:3px;color:var(--sheet);font-size:.79rem;font-weight:600;text-align:center;line-height:1.5}
.system-button:hover{background:var(--clay-dark)}
.system-button.is-secondary{background:transparent;color:var(--ink);border-color:var(--ink)}
.system-button.is-secondary:hover{background:var(--paper-2)}
.system-boundaries{list-style:none;counter-reset:boundary;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:36px 0 0;padding:0;border:1px solid var(--line);background:var(--sheet)}
.system-boundaries li{counter-increment:boundary;padding:20px;border-right:1px solid var(--line);font-size:.74rem;line-height:1.75;color:var(--muted)}
.system-boundaries li:last-child{border-right:0}
.system-boundaries li:before{content:"0" counter(boundary);display:block;margin-bottom:12px;color:var(--clay);font:500 .66rem/1 var(--mono)}
.system-boundaries strong{color:var(--ink)}
.system-section{padding:64px 0;border-bottom:1px solid var(--line)}
.system-section h2{max-width:870px;margin:16px 0 20px;font:500 clamp(2rem,3.6vw,3rem)/1.2 var(--serif);letter-spacing:-.025em;text-wrap:balance}
.system-section-lead{max-width:780px;margin:0 0 30px;color:var(--muted);font-size:.9rem;line-height:1.8}
.system-gate-index{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;margin:32px 0 0;list-style:none;border:1px solid var(--ink);background:var(--sheet)}
.system-gate-index li{border-right:1px solid var(--line);min-width:0}
.system-gate-index li:last-child{border-right:0}
.system-gate-index a{display:flex;flex-direction:column;gap:16px;height:100%;padding:20px 15px;font-size:.78rem;line-height:1.5}
.system-gate-index a:hover{background:var(--sage-pale)}
.system-gate-index .mono{color:var(--clay);font-size:.7rem}
.system-gates{display:grid;gap:24px;padding:40px 0 0}
.system-gate-card{scroll-margin-top:120px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);border:1px solid var(--ink);background:var(--sheet)}
.system-gate-card header{padding:28px;border-right:1px solid var(--line);background-image:linear-gradient(rgba(95,116,94,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(95,116,94,.05) 1px,transparent 1px);background-size:24px 24px}
.system-gate-card h3{margin:18px 0 16px;font:500 2rem/1.18 var(--serif);letter-spacing:-.02em}
.system-gate-question{margin:0;font-size:.85rem;line-height:1.8;color:var(--muted)}
.system-gate-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.system-gate-detail>div{padding:22px;border-bottom:1px solid var(--line)}
.system-gate-detail>div:nth-child(odd){border-right:1px solid var(--line)}
.system-gate-detail>div:last-child{border-bottom:0}
.system-gate-detail dt{font:500 .6rem/1.5 var(--mono);letter-spacing:.08em;color:var(--muted);margin-bottom:12px}
.system-gate-detail dd{margin:0;font-size:.78rem;line-height:1.85}
.system-gate-detail .gate-pass dt{color:var(--sage)}
.system-gate-detail .gate-fail dt{color:var(--clay)}
.system-gate-detail .gate-artifact,.system-gate-detail .gate-stop-if-fail{grid-column:1/-1;border-right:0!important}
.system-gate-detail .gate-artifact{background:var(--sage-pale)}
.system-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px;border:1px solid var(--ink);background:var(--sheet)}
.system-phase{padding:24px;border-right:1px solid var(--line);display:flex;flex-direction:column}
.system-phase:last-child{border-right:0}
.system-phase-days{margin:0 0 20px;color:var(--clay);font-size:.7rem}
.system-phase h3{margin:0 0 14px;font:500 1.6rem/1.25 var(--serif)}
.system-phase>p:not(.system-phase-days){font-size:.8rem;line-height:1.8;color:var(--muted);margin:0 0 22px}
.system-phase-exit{border-top:1px solid var(--line);padding-top:14px;margin-top:auto;font-size:.75rem;line-height:1.7}
.system-phase-exit span{font-size:.6rem;color:var(--sage)}
.system-phase-exit p{margin:7px 0 0}
.system-honest-note{padding:16px 20px;border-left:3px solid var(--clay);font-size:.8rem;line-height:1.8;background:var(--paper-2)}
.system-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
.system-link-card{display:block;position:relative;min-width:0;padding:24px 24px 44px;background:var(--sheet);border:1px solid var(--line)}
a.system-link-card:hover{border-color:var(--sage);background:var(--sage-pale)}
.system-link-card h3{font:500 1.4rem/1.25 var(--serif);margin:0 0 14px}
.system-link-card>p{font-size:.78rem;line-height:1.8;color:var(--muted);margin:0}
.system-link-card>span{position:absolute;bottom:16px;right:20px;color:var(--clay)}
.system-inline-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;font-size:.68rem}
.system-inline-links a{text-decoration:underline;text-underline-offset:4px}
.system-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}
.system-start-card{border:1px solid var(--ink);padding:28px;background:var(--sheet);display:flex;flex-direction:column;align-items:flex-start}
.system-start-card h3{font:500 1.8rem/1.25 var(--serif);margin:0 0 12px}
.system-start-card p{font-size:.85rem;line-height:1.8;color:var(--muted);margin:0 0 24px}
.system-start-card .system-button{margin-top:auto}
.system-faq details{border-top:1px solid var(--line);padding:22px 0}
.system-faq summary{cursor:pointer;font-size:.95rem;font-weight:600;line-height:1.7;padding-right:14px}
.system-faq details p{max-width:820px;color:var(--muted);font-size:.85rem;line-height:1.9;margin:18px 0 0}
.system-disclaimer{padding:40px 0 0;color:var(--muted)}
.system-disclaimer h2{font:500 1.4rem/1.3 var(--serif);color:var(--ink);margin:0 0 16px}
.system-disclaimer p{font-size:.72rem;line-height:1.9;margin:0}
.system-page .site-footer nav{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:1000px){
 .system-boundaries{grid-template-columns:1fr}
 .system-boundaries li{border-right:0;border-bottom:1px solid var(--line)}
 .system-boundaries li:last-child{border-bottom:0}
 .system-gate-card{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
 .system-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .system-page .site-header{gap:18px}
}
@media(max-width:760px){
 .system-page .site-header{grid-template-columns:minmax(0,1fr) auto;gap:0}
 .system-page .primary-nav{justify-content:flex-start;gap:22px}
 .system-shell{padding:24px 16px 56px}
 .system-breadcrumb{margin-bottom:28px}
 .system-hero{padding:8px 0 40px}
 .system-hero h1{font-size:clamp(2.65rem,11vw,3.6rem)}
 .system-lead{font-size:.91rem;line-height:1.85}
 .system-section{padding:44px 0}
 .system-section h2{font-size:2rem}
 .system-actions{gap:10px;margin:24px 0}
 .system-button{max-width:100%;padding:12px 16px;font-size:.76rem}
 .system-gate-index{grid-template-columns:1fr}
 .system-gate-index li{border-right:0;border-bottom:1px solid var(--line)}
 .system-gate-index li:last-child{border-bottom:0}
 .system-gate-index a{flex-direction:row;align-items:center;gap:18px;padding:15px 18px}
 .system-gates{padding-top:24px;gap:20px}
 .system-gate-card{grid-template-columns:1fr}
 .system-gate-card header{border-right:0;border-bottom:1px solid var(--line);padding:22px}
 .system-gate-card h3{font-size:1.8rem}
 .system-gate-detail{grid-template-columns:1fr}
 .system-gate-detail>div{padding:20px 22px;border-right:0!important}
 .system-gate-detail dd{font-size:.82rem}
 .system-phases,.system-link-grid,.system-start-grid{grid-template-columns:1fr}
 .system-phase{border-right:0;border-bottom:1px solid var(--line)}
 .system-phase:last-child{border-bottom:0}
 .system-start-card{padding:24px}
}
