/* Screen Lock explainer — extends style.css (reuses .lock__* from the home section) */
.doc .nav { position: sticky; }
.dhero { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.dhero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.dhero h1 { margin: 6px 0 18px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.dhero .lead + .lead { margin-top: 14px; }
.lead--sm { font-size: 1.05rem; color: var(--muted); }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.crumbs a:hover { color: var(--text); }
.rules3 { display: grid; gap: 12px; margin-top: 28px; }
.rules3 > div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.rules3__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: rgba(46,230,255,.12); color: var(--cyan); }
.rules3 p { color: var(--text-2); font-size: .97rem; }
.rules3 strong { color: var(--text); }
@media (max-width: 900px) { .dhero__grid { grid-template-columns: 1fr; } .dhero .lock__visual { order: -1; } }

.dsec { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.dsec--alt { background: var(--bg-2); }
.dsec__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.dsec__side { position: sticky; top: calc(var(--nav-h) + 24px); }
.dsec__side h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dsec__side .eyebrow { margin-bottom: 10px; }
.side-note { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 30ch; }
.dsec__main > p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; }
.dsec__main > p:last-child { margin-bottom: 0; }
.dsec__main strong { color: var(--text); }
.note { padding: 14px 18px; border-left: 3px solid var(--cyan); background: rgba(46,230,255,.06); border-radius: 0 12px 12px 0; color: var(--text-2); }
@media (max-width: 860px) { .dsec__grid { grid-template-columns: 1fr; } .dsec__side { position: static; } .side-note { max-width: none; } }

.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; }
.path span { padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; }
.path i { color: var(--muted); font-style: normal; }

.steps { counter-reset: s; margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text-2); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--grad-zone); color: #0a0b0d; }

.dtable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; font-size: .97rem; margin-bottom: 18px; }
.dtable th, .dtable td { padding: 13px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.dtable thead th { border-top: 0; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.02); }
.dtable td:first-child { color: var(--text); font-weight: 500; width: 38%; }
.dtable--3 td:first-child { width: 30%; }
.dtable td { color: var(--text-2); }
.dtable td.on { color: var(--green); }
.dtable td.off { color: #ff8a80; }
.dtable a { color: var(--orange); }
@media (max-width: 640px) {
  .dtable, .dtable thead, .dtable tbody, .dtable tr, .dtable td, .dtable th { display: block; }
  .dtable thead { display: none; }
  .dtable tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .dtable td { border: 0; padding: 4px 14px; width: auto !important; }
  .dtable td:first-child { padding-top: 10px; }
  .dtable tr td:last-child { padding-bottom: 12px; }
}

.flow { margin: 0 0 22px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.flow svg { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.flow .node rect { fill: #181c24; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.flow .node rect.ghost { fill: transparent; stroke-dasharray: 4 4; }
.flow .node--on rect { fill: rgba(46,230,255,.10); stroke: var(--cyan); }
.flow .node--off rect { fill: rgba(255,59,48,.08); stroke: rgba(255,59,48,.5); }
.flow text { fill: var(--text); font-size: 15px; font-weight: 600; text-anchor: middle; }
.flow text.sub { fill: var(--muted); font-size: 11.5px; font-weight: 400; }
.flow .edge { fill: none; stroke: #8a93a0; stroke-width: 1.6; }
.flow .edge--ok { stroke: var(--cyan); }
.flow .edge--dash { stroke-dasharray: 5 4; }
.flow .lbl { fill: var(--muted); font-size: 11.5px; font-weight: 500; text-anchor: start; }
.flow .lbl--ok { fill: var(--cyan); }
.flow .foot { fill: var(--muted); font-size: 11px; font-weight: 400; text-anchor: start; }
.flow figcaption { margin-top: 12px; color: var(--muted); font-size: .85rem; }

.faq .dsec__main details { border-top: 1px solid var(--line); }
.faq .dsec__main details:last-of-type { border-bottom: 1px solid var(--line); }
.faq .dsec__main summary { padding: 18px 44px 18px 0; }
.final { padding-top: clamp(48px, 7vw, 88px); }
