/* /systems/: the work behind the checks, in reader language. */
.sys { background: var(--field); color: var(--bone); }
.sys h2 { margin: 0 0 18px; font: 800 var(--h2)/1.08 var(--face); letter-spacing: -0.02em; text-wrap: balance; font-weight: 800; font-stretch: 112%; }
.sys p { line-height: 1.58; }
.sys a:focus-visible { outline: 3px solid var(--piece-o); outline-offset: 4px; }
.sys-section-tag { margin: 0 0 12px; font-size: .84rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.sys-crumb { display: flex; align-items: center; gap: 8px; color: var(--bone-soft); font-size: .95rem; }
.sys-crumb a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

.sys-hero { padding-block: clamp(20px, 4vw, 60px) clamp(44px, 7vw, 110px); border-bottom: 1px solid var(--field-line); }
.sys-hero-grid { display: grid; gap: 32px 6vw; }
.sys-kicker { margin: clamp(24px, 4vw, 48px) 0 10px; color: var(--bone-soft); font-size: .95rem; font-weight: 800; }
.sys-hero h1 { margin: 0 0 22px; max-width: 15ch; font: 800 var(--h1-page)/1.04 var(--face); font-stretch: 112%; letter-spacing: -0.025em; text-wrap: balance; }
.sys-lede { max-width: 48ch; margin: 0 0 20px; font-size: clamp(1.17rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.43 !important; }
.sys-intro { max-width: 60ch; margin: 0 0 24px; color: var(--bone-soft); }
.sys-hero-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--piece-o); font-weight: 800; }
.sys-hero-note { align-self: end; max-width: 490px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--field-line); border-top: 6px solid var(--piece-j); background: var(--field-2); }
.sys-note-mark { display: flex; gap: 4px; margin-bottom: 24px; }
.sys-note-mark i { width: 17px; height: 17px; background: var(--piece-j); }
.sys-note-mark i:nth-child(2) { transform: translateY(9px); }
.sys-note-mark i:nth-child(3) { transform: translateY(18px); }
.sys-note-mark i:nth-child(4) { transform: translateY(27px); }
.sys-hero-note blockquote { margin: 0; }
.sys-hero-note blockquote p { margin: 0 0 24px; font-size: clamp(1.45rem, 2.5vw, 2.15rem); font-weight: 800; line-height: 1.23; }
.sys-hero-note footer { color: var(--bone-soft); font-size: .93rem; }
.sys-hero-note a { color: var(--bone); }
@media (min-width: 950px) { .sys-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); align-items: end; } }

.sys-promises { padding-block: var(--section); color: var(--ink); }
.sys-promises .sys-section-tag, .sys-audit .sys-section-tag, .sys-limits .sys-section-tag { color: var(--work-ink); }
.sys-promises h2 { max-width: 19ch; }
.sys-section-lede { max-width: 66ch; margin: 0 0 30px; font-size: 1.1rem; }
.sys-promise-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sys-promise { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: clamp(16px, 3vw, 34px); padding: clamp(24px, 4vw, 44px) 0; border-bottom: 1px solid var(--paper-line); }
.sys-promise-number { display: grid; place-items: center; align-self: start; width: 42px; height: 42px; background: var(--field); color: var(--bone); font-size: 1.12rem; font-weight: 800; }
.sys-promise h3 { margin: 0 0 12px; max-width: 28ch; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.16; letter-spacing: -.02em; }
.sys-promise p { max-width: 68ch; margin: 0 0 12px; }
.sys-promise-risk { color: var(--ink-soft); }
.sys-promise-risk strong { color: var(--ink); }
.sys-promise a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 4px; color: var(--work-ink); font-weight: 800; }
@media (min-width: 850px) { .sys-promise { grid-template-columns: 56px minmax(0, 1fr); } .sys-promise-copy { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); gap: 0 42px; } .sys-promise h3 { grid-row: span 3; } }

.sys-dash { padding-block: var(--section); }
.sys-dash-grid { display: grid; gap: 32px 7vw; }
.sys-dash .sys-section-tag { color: var(--piece-o); }
.sys-dash h2 { max-width: 15ch; }
.sys-dash p { max-width: 61ch; }
.sys-dash a { display: inline-flex; align-items: center; min-height: 44px; color: var(--piece-o); font-weight: 800; }
.sys-dash-steps { border-top: 1px solid var(--field-line); }
.sys-dash-steps div { display: grid; grid-template-columns: 44px 1fr; gap: 0 15px; padding: 22px 0; border-bottom: 1px solid var(--field-line); }
.sys-dash-steps span { grid-row: span 2; color: var(--piece-o); font-size: 1.15rem; font-weight: 800; }
.sys-dash-steps strong { font-size: 1.1rem; }
.sys-dash-steps p { margin: 4px 0 0; color: var(--bone-soft); }
@media (min-width: 920px) { .sys-dash-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; } }

.sys-audit { padding-block: var(--section); color: var(--ink); }
.sys-audit-intro { max-width: 72ch; margin: 0 0 28px; font-size: 1.08rem; }
.sys-audit-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.sys-audit-table thead th { padding: 16px; text-align: left; color: var(--ink-soft); font-size: .9rem; }
.sys-audit-table th[scope="row"], .sys-audit-table td { padding: 18px 16px; border-top: 1px solid var(--paper-line); text-align: left; vertical-align: top; line-height: 1.5; }
.sys-audit-table th[scope="row"] { font-weight: 700; }
.sys-audit-table th a { color: var(--ink); }
.sys-audit-table q { quotes: none; }
.audit-rank { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; margin-right: 6px; background: var(--field); color: var(--bone); font-size: .85rem; }
.audit-status { font-weight: 800; }
.audit-row--check .audit-status { color: var(--work-ink); }
.audit-row--partly .audit-status { color: var(--number-ink); }
.audit-row--none .audit-status { color: var(--lesson-ink); }
@media (max-width: 760px) { .sys-audit-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .sys-audit-table, .sys-audit-table tbody, .sys-audit-table tr, .sys-audit-table th[scope="row"], .sys-audit-table td { display: block; } .sys-audit-table tr { padding: 16px 0; border-top: 1px solid var(--paper-line); } .sys-audit-table th[scope="row"], .sys-audit-table td { padding: 4px 0; border: 0; } .sys-audit-table td::before { content: attr(data-label); display: block; margin-top: 8px; color: var(--ink-soft); font-size: .85rem; font-weight: 800; } }

.sys-limits { padding-block: 0 clamp(64px, 8vw, 120px); color: var(--ink); }
.sys-limits-grid { display: grid; gap: 12px 6vw; padding-top: clamp(36px, 6vw, 70px); border-top: 2px solid var(--ink); }
.sys-limits h2 { max-width: 18ch; }
.sys-limits-grid > div:last-child { max-width: 65ch; }
.sys-limits p { margin-top: 0; }
@media (min-width: 900px) { .sys-limits-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
@media (min-width: 1900px) { .sys-section-lede, .sys-audit-intro { max-width: 80ch; font-size: 1.2rem; } .sys-limits-grid > div:last-child { max-width: 72ch; } }

.sys-next { padding-block: var(--section); }
.sys-next h2 { margin-bottom: 10px; }
.sys-next p { max-width: 60ch; margin: 0 0 22px; }
.sys-siblings ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 24px 0 0; padding: 0; }
.sys-siblings a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); }

/* Times I was wrong (2026-10-12): each mistake as one card that reads across, caught, what was wrong,
   the fix, what stops it now, so the skill is in the sequence, not just the outcome. */
.sys-wrong { padding-block: var(--section, 64px); color: var(--bone); }
.sys-wrong h2 { margin: 0 0 12px; font: 800 var(--h2)/1.08 var(--face); font-stretch: 112%; }
.sys-wrong-intro { color: var(--bone-soft); }
.wrong-list { display: grid; gap: 22px; margin: 28px auto 0; padding: 0; list-style: none; max-width: 1240px; }
.wrong-card { padding: 18px 20px 16px; background: #23272f; border: 2px solid #2f3440; border-radius: 6px; box-shadow: 5px 5px 0 rgba(0,0,0,.35); }
.wrong-meta { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; color: var(--bone-soft); font-size: .95rem; }
.wrong-type { padding: 3px 9px; background: var(--number, #f2b544); color: #1d2027; border-radius: 3px; font-weight: 800; }
.wrong-card h3 { margin: 0 0 14px; font: 800 clamp(1.2rem, 1rem + .8vw, 1.55rem)/1.2 var(--face); color: var(--bone); }
.wrong-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.wrong-steps li { position: relative; padding: 10px 12px 12px 44px; background: #1b1e25; border-radius: 4px; line-height: 1.5; max-width: none; }
.wrong-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; background: var(--bone); color: #1d2027; font: 850 .85rem/1 var(--face); border-radius: 3px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.wrong-steps li:last-child::before { background: #8fbf4d; }
.wrong-steps strong { display: block; margin-bottom: 2px; color: var(--bone); }
.wrong-link { margin: 12px 0 0; }
.wrong-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); font-weight: 700; text-underline-offset: .2em; }
@media (min-width: 700px) { .wrong-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .wrong-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
