/* How it works (/how-it-works), ported from the design's page styles. */
.pipe{display:grid;grid-template-columns:230px 64px minmax(0,1fr) 64px 250px;align-items:center;padding:34px 30px;gap:0}
.pipe .kicker{margin-bottom:12px}
.p-search{display:flex;align-items:center;gap:9px;height:52px;padding:0 14px;border:1px solid #E1DEE8;border-radius:12px;background:#FFFFFF;box-shadow:0 0 0 4px rgba(142,123,224,.10);font-size:15px;font-weight:500}
.fan{width:64px;height:352px;display:block}
.fan path{fill:none;stroke:#C9C2DF;stroke-width:1.5}
.p-mid{display:grid;grid-auto-rows:52px;row-gap:8px}
.p-mid .chk{border:1px solid #E1DEE8;border-radius:12px;background:#FFFFFF;padding:0 14px;height:52px;font-size:13.5px}
.p-mid .chk-n small{font-family:'IBM Plex Mono',monospace;font-size:11px}
.p-out{border:1px solid #E1DEE8;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:12px;background:#FFFFFF;box-shadow:0 18px 40px -24px rgba(46,26,96,.35)}
.p-out .ring{width:92px;height:92px}
.p-out .ring-n{font-size:28px}
.p-li{display:flex;align-items:center;gap:8px;font-size:13px;color:#34323D}
.vis{height:210px;border-radius:14px;background:#F8F7FB;border:1px solid #EDEBF2;padding:22px;display:flex;flex-direction:column;justify-content:center;gap:10px;overflow:hidden}
.vis .chk{background:#FFFFFF;border:1px solid #EDEBF2;border-radius:10px;padding:9px 12px}
.sugg{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#FFFFFF;border:1px solid #E1DEE8;border-radius:10px;font-size:13px}
.step-t{display:flex;flex-direction:column;gap:8px;padding:22px 4px 0}
.nine{padding:24px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.nine-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:6px}
.nine-ic{width:42px;height:42px;border-radius:12px;background:#F3F1F8;display:flex;align-items:center;justify-content:center;color:#17161C;transition:background .4s,color .4s,transform .5s cubic-bezier(.22,1,.36,1)}

.nine-n{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--soft)}
.rd{padding:20px;display:flex;flex-direction:column;gap:12px}
.rd-top{display:flex;align-items:center;gap:10px;color:#FFFFFF;font-size:15px}
.rd-ic{width:34px;height:34px;border-radius:10px;background:#2F2B3B;display:flex;align-items:center;justify-content:center;color:#E7E4EF;flex-shrink:0}
.rd-st{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#B3AFC0}
.rd-f{display:flex;justify-content:space-between;font-size:12px;color:#A9A5B6;font-family:'IBM Plex Mono',monospace}
.wr{margin-top:14px;padding:20px 22px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.wr-q{margin-left:auto;padding:12px 16px;border-radius:12px;background:#1A1823;border:1px solid #3A3647;color:#FFFFFF;font-size:15px;min-width:0;max-width:100%;overflow:hidden}
.rl{display:flex;flex-direction:column;gap:12px}
.rl .track{margin-bottom:18px}
.rule-n{font-family:'IBM Plex Mono',monospace;font-size:12.5px;color:var(--soft)}
.pairs{margin-top:52px;display:flex;flex-direction:column;gap:14px}
.pair-h{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 6px}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.says,.never{padding:20px 22px;display:flex;gap:14px;align-items:flex-start}
.never{background:#FFFFFF;box-shadow:none;border-style:dashed}
.ic{width:26px;height:26px;border-radius:999px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;font-weight:700}
.ic.ok{background:#E5F4EC;color:#0C7650}.ic.no{background:#FCE8EA;color:#BF2E3D}
.says p{margin:0 0 10px;font-weight:600;line-height:1.45}
.never p{margin:0;color:#5E5B68;font-size:17px;line-height:1.45}
.score{padding:28px}
.ded{display:grid;grid-template-columns:minmax(0,1fr) 120px 44px;gap:14px;align-items:center;padding:11px 0;border-top:1px solid #EDEBF2;font-size:14px}
.ded .num{font-family:'IBM Plex Mono',monospace;font-weight:600;text-align:right}
@media (max-width:1080px){.pipe{grid-template-columns:minmax(0,1fr);gap:20px}.fan{display:none}}
@media (max-width:860px){.pair,.pair-h{grid-template-columns:1fr}.pair-h{display:none}.wr-q{margin-left:0}.wr-q .type{white-space:normal}}
.ded .num.ok{color:var(--ok)}.ded .num.bad{color:var(--bad)}.ded-end{border-top:1.5px solid var(--ink)}
.rd .tiny,.wr .tiny{color:var(--night-muted)}.wr b{color:#FFFFFF;font-weight:600}.wr-q .caret{background:#FFFFFF}

/* The nine checks on a phone: two compact columns (they ran 3.5 screens one
   card per row; UI audit 2026-11-23, batch 6). */
@media (max-width: 560px) {
  .grid3:has(> .nine) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  .nine { padding: 16px 14px; gap: 6px; }
  .nine-top { margin-bottom: 2px; }
  .nine-ic { width: 34px; height: 34px; border-radius: 10px; }
  .nine .h4 { font-size: 16px; }
  .nine .small { font-size: 14px; line-height: 1.45; }
  .nine .srcchip { max-width: 100%; height: auto; min-height: 24px; padding: 3px 8px; white-space: normal; line-height: 1.3; }
}

/* The score card on a phone: each label gets the row, its bar and points go
   under it (labels had about 100px and wrapped to three or four lines;
   UI audit 2026-11-23, batch 6b). */
@media (max-width: 560px) {
  .ded { grid-template-columns: minmax(0, 1fr) 44px; row-gap: 6px; }
  .ded > span:first-child { grid-column: 1 / -1; }
}
