/* x1-resources-startup-legal-checklist — /resources/startup-legal-checklist (2026-10-01).
   Signature: a working checklist. Twelve steps with real checkboxes, a sticky rail that
   tracks progress and the step in view, and the one pull line set between steps 10 and 11. */
.x1-resources-startup-legal-checklist .hero-media .photo {min-height: 30rem;}

.x1-resources-startup-legal-checklist .sl-list {padding-top: clamp(3rem, 2rem + 4vw, 6rem);}
.x1-resources-startup-legal-checklist .sl-grid {align-items: start; row-gap: var(--stack-m);}
.x1-resources-startup-legal-checklist .sl-rail {grid-column: 1 / span 4; position: sticky; top: 92px; align-self: start;}
.x1-resources-startup-legal-checklist .sl-main {grid-column: 6 / span 7; min-width: 0;}

/* rail */
.x1-resources-startup-legal-checklist .sl-rail-in {border-top: 2px solid var(--ink); padding-top: 1.1rem;}
.x1-resources-startup-legal-checklist .sl-rail-k {font: 600 var(--fs-eyebrow)/1.4 var(--sans); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--accent);}
.x1-resources-startup-legal-checklist .sl-count {margin-top: .5rem; font: 400 clamp(1.75rem, 1.4rem + 1vw, 2.25rem)/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums lining-nums;}
.x1-resources-startup-legal-checklist .sl-done {color: var(--accent);}
.x1-resources-startup-legal-checklist .sl-bar {margin-top: .8rem; height: 3px; background: var(--rule); border-radius: 3px; overflow: hidden;}
.x1-resources-startup-legal-checklist .sl-bar-fill {display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s var(--ease);}
.x1-resources-startup-legal-checklist .sl-toc {list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid;}
.x1-resources-startup-legal-checklist .sl-toc a {display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .7rem; align-items: start; padding: .5rem .25rem .5rem 0; color: var(--muted); text-decoration: none; font-size: .9375rem; line-height: 1.35; border-radius: 6px; transition: color .2s;}
.x1-resources-startup-legal-checklist .sl-toc a:hover {color: var(--ink);}
.x1-resources-startup-legal-checklist .sl-toc-n {display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); font: 600 .75rem/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; transform: translateY(-.1rem); transition: background-color .2s, border-color .2s, color .2s;}
.x1-resources-startup-legal-checklist .sl-toc a.is-current {color: var(--ink); font-weight: 600;}
.x1-resources-startup-legal-checklist .sl-toc a.is-current .sl-toc-n {border-color: var(--ink); color: var(--ink);}
.x1-resources-startup-legal-checklist .sl-toc a.is-done .sl-toc-n {background: var(--accent); border-color: var(--accent); color: transparent; position: relative;}
.x1-resources-startup-legal-checklist .sl-toc a.is-done .sl-toc-n::after {content: ""; position: absolute; left: 50%; top: 45%; width: .4rem; height: .7rem; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg);}
.x1-resources-startup-legal-checklist .sl-toc a.is-done {text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25);}

/* steps */
.x1-resources-startup-legal-checklist .sl-steps {list-style: none; margin: 0; padding: 0; display: grid;}
.x1-resources-startup-legal-checklist .sl-step {display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1.25rem; padding-block: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); border-top: 1px solid var(--rule); scroll-margin-top: 96px;}
.x1-resources-startup-legal-checklist .sl-steps:first-child .sl-step:first-child {border-top: 2px solid var(--ink);}
.x1-resources-startup-legal-checklist .sl-cb {appearance: none; -webkit-appearance: none; margin: .35rem 0 0; width: 2.25rem; height: 2.25rem; border: 1.5px solid rgba(0,0,0,.35); border-radius: 8px; background: var(--surface); cursor: pointer; position: relative; transition: background-color .2s, border-color .2s;}
.x1-resources-startup-legal-checklist .sl-cb:hover {border-color: var(--ink);}
.x1-resources-startup-legal-checklist .sl-cb:checked {background: var(--accent); border-color: var(--accent);}
.x1-resources-startup-legal-checklist .sl-cb:checked::after {content: ""; position: absolute; left: 50%; top: 44%; width: .55rem; height: 1rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(45deg);}
.x1-resources-startup-legal-checklist .sl-cb:focus-visible {outline: 2px solid var(--focus); outline-offset: 3px;}
.x1-resources-startup-legal-checklist .sl-t {font: 400 clamp(1.625rem, 1.3rem + 1vw, 2.125rem)/1.15 var(--serif); color: var(--ink); letter-spacing: -.012em; text-wrap: balance; margin-bottom: .75rem;}
.x1-resources-startup-legal-checklist .sl-n {color: var(--accent); font-variant-numeric: lining-nums; margin-right: .2em;}
.x1-resources-startup-legal-checklist .sl-body p {max-width: 40rem; text-wrap: pretty;}
.x1-resources-startup-legal-checklist .sl-step.is-done .sl-t {color: var(--muted);}
.x1-resources-startup-legal-checklist .sl-step.is-done .sl-body p {color: var(--muted);}

/* the pull line between 10 and 11 */
.x1-resources-startup-legal-checklist .sl-aha {margin: 0; padding: clamp(2.5rem, 1.75rem + 2.5vw, 4rem) 0; border-top: 1px solid var(--rule);}
.x1-resources-startup-legal-checklist .sl-aha p {font: italic 400 clamp(1.875rem, 1.3rem + 2.2vw, 3rem)/1.16 var(--serif); letter-spacing: -.015em; color: var(--ink); padding-left: clamp(1.25rem, 1rem + 1vw, 2rem); border-left: 2px solid var(--accent); max-width: 24ch; text-wrap: balance;}
.x1-resources-startup-legal-checklist .sl-step-last {border-bottom: 1px solid var(--rule);}

/* Counsel + Legal Room */
.x1-resources-startup-legal-checklist .sl-after {background: var(--tint); border-top: 0 !important;}
.x1-resources-startup-legal-checklist .sl-pair {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap);}
.x1-resources-startup-legal-checklist .sl-card {background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); display: flex; flex-direction: column; gap: 1rem;}
.x1-resources-startup-legal-checklist .sl-card-k {font: 600 var(--fs-eyebrow)/1.4 var(--sans); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted);}
.x1-resources-startup-legal-checklist .sl-card p:last-child {text-wrap: pretty;}

/* FAQ */
.x1-resources-startup-legal-checklist .sl-after + .sl-faq-sec {border-top: 0;}
.x1-resources-startup-legal-checklist .sl-faq-grid {align-items: start; row-gap: 1rem;}
.x1-resources-startup-legal-checklist .sl-faq-k {grid-column: 1 / span 4; padding-top: 1.6rem;}
.x1-resources-startup-legal-checklist .sl-faq {grid-column: 6 / span 7;}
.x1-resources-startup-legal-checklist .sl-faq-sec + .close {padding-top: 0;}

@media (max-width: 960px){
.x1-resources-startup-legal-checklist .sl-rail, .x1-resources-startup-legal-checklist .sl-main, .x1-resources-startup-legal-checklist .sl-faq-k, .x1-resources-startup-legal-checklist .sl-faq {grid-column: 1 / -1;}
.x1-resources-startup-legal-checklist .sl-rail {top: 68px; z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: .7rem var(--gutter); background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule);}
.x1-resources-startup-legal-checklist .sl-rail-in {border-top: 0; padding-top: 0; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: .5rem 1rem;}
.x1-resources-startup-legal-checklist .sl-count {margin: 0; font-size: 1.25rem;}
.x1-resources-startup-legal-checklist .sl-bar {margin: 0;}
.x1-resources-startup-legal-checklist .sl-toc {display: none;}
.x1-resources-startup-legal-checklist .sl-pair {grid-template-columns: 1fr;}
.x1-resources-startup-legal-checklist .sl-steps:first-child .sl-step:first-child {border-top: 0;}
.x1-resources-startup-legal-checklist .sl-list {padding-top: var(--stack-m);}
.x1-resources-startup-legal-checklist .sl-faq-k {padding-top: 0;}
.x1-resources-startup-legal-checklist .hero-media .photo {min-height: 0; aspect-ratio: 3 / 2;}
}
@media (max-width: 700px){
.x1-resources-startup-legal-checklist .sl-step {grid-template-columns: 2rem minmax(0, 1fr); gap: .9rem;}
.x1-resources-startup-legal-checklist .sl-cb {width: 1.85rem; height: 1.85rem; margin-top: .2rem;}
.x1-resources-startup-legal-checklist .sl-cb:checked::after {width: .45rem; height: .85rem;}
}
@media (prefers-reduced-motion: reduce){
.x1-resources-startup-legal-checklist .sl-bar-fill, .x1-resources-startup-legal-checklist .sl-cb, .x1-resources-startup-legal-checklist .sl-toc a, .x1-resources-startup-legal-checklist .sl-toc-n {transition: none;}
}
@media print{
.x1-resources-startup-legal-checklist .sl-rail {display: none;}
.x1-resources-startup-legal-checklist .sl-main {grid-column: 1 / -1;}
.x1-resources-startup-legal-checklist .sl-step {break-inside: avoid;}
}

/* sticky rail: overflow-x:hidden on .d29 makes it a scroll container; clip keeps the no-sideways-scroll guarantee without that */
.x1-resources-startup-legal-checklist.d29 {overflow-x: clip;}
