/* app/static/site/solutions.css — extras for the /solutions/* pages only
   (John's 10-22 review). Loaded through {% block head_extra %} by
   site/solutions/solo-pilots.html and site/solutions/_solution.html, on top
   of site-a.css; the shared design lives there. */

/* ── Solo pilots: the "sound familiar?" index ─────────────────────────── */
.sp-index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; counter-reset: none; }
.sp-index a { display: flex; gap: 14px; align-items: baseline; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.35; transition: border-color 0.2s ease, transform 0.2s ease; }
.sp-index a:hover { border-color: var(--accent); transform: translateY(-2px); }
.sp-index-n { flex: none; font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

.sp-replaces { margin-top: clamp(32px, 4vw, 48px); padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 14px; }
.sp-replaces ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.sp-replaces li { font-size: 14px; color: var(--ink-2); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--ink-2) 60%, transparent); }
.sp-replaces-one { margin: 16px 0 0 !important; font-size: 17px; font-weight: 600; color: var(--ink); }

/* ── Pain → answer rows ───────────────────────────────────────────────── */
.sp-row { scroll-margin-top: 90px; }
.sp-label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px !important; }
.sp-label--pain { color: var(--ink-2); margin-right: 8px !important; }
.sp-label--fix { color: var(--accent); margin-top: 22px !important; }
.sp-pain { font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); margin: 0 0 10px !important; }
.sp-pain .sp-label { display: block; margin-bottom: 8px !important; }
.sp-problem { font-size: 16px; color: var(--ink-2); margin: 0 !important; padding-left: 14px; border-left: 2px solid var(--line-2); }
.sp-row-cta { margin-top: 22px; }
.sp-row .ha-shot img { width: 100%; height: auto; }

/* ── Callouts shared by the other solution pages ──────────────────────── */
.sol-callout { border: 1px solid var(--accent); border-radius: 18px; padding: clamp(24px, 3vw, 36px); background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 6%, transparent), transparent); }
.sol-callout h2 { margin-bottom: 12px; }
.sol-callout .ha-lede { margin-bottom: 20px; }
.sol-callout .pa-list { margin-bottom: 24px; }
.sol-callout small { display: block; font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.sol-scenario { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sol-scenario li { position: relative; padding: 18px 20px 18px 62px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 16px; color: var(--ink-2); }
.sol-scenario li strong { color: var(--ink); font-weight: 600; }
.sol-scenario li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 16px; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.sol-limits { margin-top: 18px !important; font-size: 14px; color: var(--ink-2); }

/* Tall screens (a phone capture, a long project page) stay a sensible height
   beside their text instead of stretching the row. */
.site-a .pa-row .ha-shot img { max-height: 620px; width: auto; max-width: 100%; margin-inline: auto; }
