/* hydrasolver.com/strategy/ — written by tools/make-strategy-pages.mjs; the site's tokens from store.css. */
.st { max-width: 880px; }
.st .page-head { padding-bottom: clamp(0.75rem, 2vw, 1.25rem); }
.st .page-head h1 { font-size: clamp(2.05rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.07; text-wrap: balance; }
.st .page-head .lede { font-size: var(--fs-hero-lede); max-width: 64ch; }
.st-backbar { margin: 0 0 1.1rem; font-size: var(--fs-foot); font-weight: 600; }
.st-backbar a, .st-section p a, .st-how a, .st-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.st-backbar a:hover, .st-section p a:hover, .st-how a:hover, .st-note a:hover { text-decoration: underline; }
.st-byline { margin: 0.9rem 0 0; font-size: var(--fs-foot); color: var(--text-muted); }

.st-section { padding-block: clamp(1.6rem, 4vw, 2.3rem); border-top: 1px solid var(--border); display: grid; gap: 0.95rem; scroll-margin-top: 5.5rem; }
.st-section > h2 { margin: 0; font-size: var(--fs-section-title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; color: var(--text); text-wrap: balance; }
.st-section > p { margin: 0; max-width: 68ch; line-height: 1.62; color: var(--text-secondary); }
.st-section > p strong { color: var(--text); }
.st-setup-line { font-size: var(--fs-foot); color: var(--text-muted) !important; }

.st-findings ol, .st-rules { margin: 0; padding-left: 1.35rem; display: grid; gap: 0.7rem; max-width: 70ch; }
.st-findings li, .st-rules li { line-height: 1.6; color: var(--text-secondary); padding-left: 0.2rem; }
.st-findings li::marker, .st-rules li::marker { color: var(--accent); font-weight: 700; }
.st-findings strong, .st-rules strong { color: var(--text); }

.st-setup { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0.6rem; }
.st-setup div { padding: 0.75rem 0.95rem 0.8rem; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel); }
.st-setup dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.st-setup dd { margin: 0.2rem 0 0; line-height: 1.5; color: var(--text); }

.st .shot { margin: 0; }
.st .shot picture, .st .shot .zoom { display: block; }
.st .shot .zoom { border-radius: 12px; }
.st .shot .zoom:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
.st .shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px -26px rgba(18, 26, 34, 0.42); }
.st .shot figcaption { margin: 0.6rem 0 0; font-size: var(--fs-foot); line-height: 1.5; color: var(--text-muted); }

.st-table { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel); }
.st-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-foot); font-variant-numeric: tabular-nums; }
.st-table th, .st-table td { padding: 0.55rem 0.8rem; text-align: left; vertical-align: middle; white-space: nowrap; border-bottom: 1px solid var(--border-soft); color: var(--text-secondary); }
.st-table tbody tr:last-child th, .st-table tbody tr:last-child td { border-bottom: 0; }
.st-table thead th { white-space: normal; vertical-align: bottom; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); background: rgba(240, 244, 248, 0.7); }
.st-table tbody th { color: var(--text); font-weight: 700; }
.st-table .r { text-align: right; }
.st-note { margin: 0; max-width: 80ch; font-size: var(--fs-foot); line-height: 1.55; color: var(--text-muted); }

.st-board { display: inline-flex; gap: 3px; vertical-align: -0.35em; }
.st-card { display: inline-grid; place-items: center; align-content: center; width: 22px; height: 30px; border-radius: 4px; background: #3a4250; color: #fafbfc; font-weight: 800; font-size: 12.5px; line-height: 1; }
.st-card span { display: block; font-size: 9.5px; line-height: 1; margin-top: 1px; }
.st-card.c { background: #247a62; }
.st-card.h { background: #b8535e; }
.st-card.d { background: #447aa8; }

.st-video { position: relative; display: grid; gap: 0.3rem; padding: 0 0 0.9rem; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel); text-decoration: none; overflow: hidden; }
.st-video img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.st-play { position: absolute; left: 50%; top: 42%; width: 74px; height: 52px; margin: -26px 0 0 -37px; border-radius: 14px; background: rgba(18, 26, 34, 0.82); }
.st-play::after { content: ''; position: absolute; left: 30px; top: 15px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.st-video:hover .st-play, .st-video:focus-visible .st-play { background: var(--accent); }
.st-video-title { padding: 0.75rem 1rem 0; font-weight: 700; color: var(--text); }
.st-video-where { padding: 0 1rem; font-size: var(--fs-foot); color: var(--accent); font-weight: 600; }

.st-how { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; max-width: 72ch; }
.st-how li { line-height: 1.55; color: var(--text-secondary); }

.st-cards, .st-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0.75rem; }
.st-cards li { display: grid; gap: 0.35rem; align-content: start; padding: 0.95rem 1.05rem 1rem; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel); }
.st-cards strong { color: var(--text); }
.st-cards p { margin: 0; line-height: 1.55; font-size: var(--fs-foot); color: var(--text-secondary); }
.st-cards a { color: var(--accent); font-weight: 600; text-decoration: none; }
.st-cards a:hover { text-decoration: underline; }
.st-more a { display: block; height: 100%; padding: 0.95rem 1.05rem 1rem; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel); text-decoration: none; }
.st-more a:hover, .st-more a:focus-visible { border-color: var(--accent); }
.st-more strong { display: block; color: var(--accent-deep); }
.st-more strong::after { content: ' \2192'; }
.st-more span { display: block; margin-top: 0.25rem; font-size: var(--fs-foot); line-height: 1.5; color: var(--text-secondary); }

.st-foot { margin: 0; padding-block: 1.5rem 0.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.st-foot .cta, .st-foot .cta-ghost { display: inline-block; padding: 0.68rem 1.2rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.st-foot .cta { background: var(--accent); color: #fff; }
.st-foot .cta-ghost { border: 1px solid var(--border); color: var(--accent); background: rgba(252, 253, 254, 0.6); }
.st-foot .back { margin-inline-start: auto; color: var(--accent); font-weight: 600; text-decoration: none; }
@media (max-width: 560px) {
  .st-foot .back { margin-inline-start: 0; }
}
