/* The hand-built sales pages (AddonSalesPages, IndicatorSalesPages): the sections between the standard
   video section and the price box. Every class starts with sp- so nothing collides with Tailwind's prebuilt
   output.css. No vh units: the desktop site runs at zoom 0.8 (see the end of input.css). */

.sp {
    --sp-navy: #081E71;
    --sp-navy-deep: #06113D;
    --sp-ink: #171717;
    --sp-muted: #6b7280;
    --sp-body: #4b5563;
    --sp-text: #374151;
    --sp-gray: #f3f4f6;
    --sp-line: #e5e7eb;
    --sp-orange: #FF6200;
    --sp-tint: #eef1fb;
    --sp-brand: linear-gradient(89.96deg, #99083C 0.04%, #FF6200 101.28%);
    background: var(--sp-gray);
    color: var(--sp-ink);
}

.sp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sp-section { padding: 88px 0; }
.sp-section--flush-top { padding-top: 0; }
.sp-sheet { background: #fff; border-radius: 80px; }

/* headings */
.sp-eyebrow { color: var(--sp-orange); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.sp-h2 { font-size: 40px; line-height: 1.12; font-weight: 600; margin: 0 0 18px; letter-spacing: -.01em; color: var(--sp-ink); }
.sp-h3 { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.sp-lead { font-size: 19px; line-height: 1.6; color: var(--sp-body); margin: 0; max-width: 760px; }
.sp-lead--small { font-size: 17px; }
.sp-heading--center { text-align: center; }
.sp-heading--center .sp-lead { margin: 0 auto; }

/* buttons */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--sp-brand); border-radius: 16px; padding: 12px 22px; font-size: 16px; text-decoration: none; border: 0; transition: transform .2s; }
.sp-btn:hover { transform: scale(1.04); color: #fff; }
.sp-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .5); }
.sp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* worked-example panels */
.sp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.sp-panel { background: #fff; border: 1px solid var(--sp-line); border-radius: 24px; padding: 24px; }
.sp-panel--ours { border: 2px solid var(--sp-navy); box-shadow: 0 10px 30px rgba(8, 30, 113, .10); }
.sp-panel-title { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.sp-panel-sub { color: var(--sp-muted); font-size: 14px; margin: 0 0 8px; }
.sp-chart { width: 100%; height: auto; display: block; }
.sp-callouts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.sp-callouts li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--sp-text); }
.sp-badge { flex: 0 0 22px; height: 22px; border-radius: 999px; background: var(--sp-navy); color: #fff; font-size: 12px; display: grid; place-items: center; margin-top: 1px; }
.sp-badge--muted { background: #9ca3af; }
/* the three-panel rules diagram: full width, and on phones it scrolls inside its panel rather than shrinking */
.sp-rules { margin-top: 40px; overflow-x: auto; }
.sp-rules .sp-chart { min-width: 600px; }
.sp-caption { color: var(--sp-muted); font-size: 14px; margin: 18px 0 0; text-align: center; }

/* ATR: from trades to brick size, a row of steps (stacked on phones) */
.sp-pipeline { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.sp-step { position: relative; background: #fff; border: 1px solid var(--sp-line); border-radius: 16px; padding: 18px 16px; text-align: center; }
.sp-step b { display: block; font-size: 17px; font-weight: 600; color: var(--sp-ink); }
.sp-step span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--sp-muted); }
.sp-step--result { background: #fff7ed; border: 2px solid var(--sp-orange); }
.sp-step:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--sp-orange); font-size: 20px; }
.sp-subsection { margin-top: 56px; }
.sp-subsection .sp-table-wrap, .sp-subsection .sp-shot { margin-top: 24px; }

/* Binance: three sources -> the adapter -> three outputs (stacked on phones) */
.sp-flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: 18px; align-items: center; margin-top: 44px; }
.sp-flow-col { display: grid; gap: 14px; }
.sp-flow-box { background: #fff; border: 1px solid var(--sp-line); border-radius: 16px; padding: 14px 16px; }
.sp-flow-box b { display: block; font-size: 16px; font-weight: 600; }
.sp-flow-box span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--sp-muted); }
.sp-flow-hub { background: #fff7ed; border: 2px solid var(--sp-orange); border-radius: 20px; padding: 22px; text-align: center; }
.sp-flow-hub b { font-size: 20px; font-weight: 600; display: block; margin-bottom: 10px; }
.sp-flow-hub span { display: block; font-size: 14px; line-height: 1.8; color: var(--sp-body); }
.sp-flow-arrow { color: var(--sp-orange); font-size: 26px; }

/* screenshots */
.sp-shot { margin: 0; background: #fff; border: 1px solid var(--sp-line); border-radius: 20px; padding: 14px; }
.sp-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.sp-shot figcaption { margin: 12px 4px 2px; font-size: 14px; line-height: 1.5; color: var(--sp-muted); }
.sp-shot figcaption b { color: var(--sp-ink); font-weight: 600; }
.sp-shot-row { margin-top: 40px; }
.sp-table-wrap + .sp-shot, .sp-shot + .sp-table-wrap { margin-top: 28px; }
.sp-shots { display: grid; grid-template-columns: 2.1fr 1fr; gap: 20px; margin-top: 40px; align-items: start; }

/* numbered setup steps */
.sp-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.sp-step-card { background: #fff; border: 1px solid var(--sp-line); border-radius: 20px; padding: 24px; }
.sp-step-num { width: 34px; height: 34px; border-radius: 999px; background: var(--sp-brand); color: #fff; display: grid; place-items: center; font-weight: 600; }
.sp-step-title { font-size: 20px; font-weight: 600; margin: 14px 0 6px; }
.sp-step-card p { margin: 0 0 14px; color: var(--sp-body); font-size: 16px; line-height: 1.6; }
.sp-step-card img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--sp-line); }
.sp-step-card .sp-table-wrap { margin-top: 0; }
/* grid items may shrink below their content, so a wide table scrolls in its wrapper instead of widening the page */
.sp-steps > *, .sp-shots > *, .sp-flow > *, .sp-two > *, .sp-honest > * { min-width: 0; }

/* the dark band's "What you need" panel */
.sp-needs { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 28px 30px; }
.sp-needs-title { margin: 0 0 16px; font-size: 20px; font-weight: 600; color: #fff; }
.sp-needs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sp-needs li { padding-left: 26px; position: relative; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.sp-needs li::before { content: "•"; position: absolute; left: 6px; color: var(--sp-orange); font-weight: 700; }
.sp-needs b { color: #fff; font-weight: 600; }

/* four navy cards */
.sp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sp-card { position: relative; overflow: hidden; border-radius: 20px; background: var(--sp-navy); color: #fff; padding: 28px 24px; }
.sp-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 999px; background: radial-gradient(circle, rgba(255, 98, 0, .35), transparent 70%); }
.sp-card-num { font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: .1em; }
.sp-card-title { font-size: 21px; font-weight: 600; margin: 10px 0 8px; }
.sp-card p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.55; }

/* two columns */
.sp-two { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.sp-two--top { align-items: start; margin-top: 64px; }
.sp-defs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.sp-defs--flush { margin-top: 0; }
.sp-defs li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--sp-text); }
.sp-defs b { color: var(--sp-ink); font-weight: 600; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sp-chip { background: #fff; border: 1px solid var(--sp-line); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--sp-text); }
.sp-chip::before { content: "●"; color: var(--sp-orange); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

/* tables: on phones a wide table scrolls inside its wrapper, never the page */
.sp-table-wrap { overflow-x: auto; margin-top: 40px; }
.sp-settings + .sp-table-wrap { margin-top: 18px; }
.sp-vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.sp-vs th, .sp-vs td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--sp-line); vertical-align: top; }
.sp-vs thead th { font-size: 15px; font-weight: 600; }
.sp-vs thead th.sp-us { background: var(--sp-navy); color: #fff; border-radius: 16px 16px 0 0; }
.sp-vs td.sp-us { background: var(--sp-tint); color: var(--sp-ink); font-weight: 500; }
.sp-vs td.sp-them { color: var(--sp-muted); }
.sp-vs tbody th { font-weight: 500; color: var(--sp-ink); width: 18%; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 16px; overflow: hidden; }
.sp-table th, .sp-table td { padding: 12px 18px; border-bottom: 1px solid var(--sp-line); text-align: left; }
.sp-table th { background: #f9fafb; color: var(--sp-muted); font-weight: 500; font-size: 13px; }
.sp-mono { font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.sp-callout { margin-top: 28px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 16px; padding: 18px 22px; font-size: 16px; line-height: 1.55; color: #7c2d12; }

/* settings */
.sp-settings { display: grid; gap: 14px; margin-top: 36px; }
.sp-setting { display: grid; grid-template-columns: 260px 1fr; gap: 24px; background: #fff; border-radius: 18px; padding: 22px 26px; border: 1px solid var(--sp-line); }
.sp-setting-name { margin: 0; font-size: 18px; font-weight: 600; }
.sp-default { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--sp-navy); background: var(--sp-tint); border-radius: 999px; padding: 3px 10px; }
.sp-setting p { margin: 0; color: var(--sp-body); font-size: 16px; line-height: 1.6; }

/* who it's for */
.sp-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sp-who-card { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--sp-line); }
.sp-who-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sp-brand); display: grid; place-items: center; color: #fff; }
.sp-who-icon svg { width: 22px; height: 22px; }
.sp-who-title { font-size: 20px; margin: 18px 0 8px; font-weight: 600; }
.sp-who-card p { margin: 0; color: var(--sp-body); line-height: 1.6; font-size: 16px; }

/* honest trade-offs */
.sp-honest { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.sp-tradeoffs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sp-tradeoffs li { background: #fff; border: 1px solid var(--sp-line); border-left: 4px solid #9ca3af; border-radius: 14px; padding: 16px 20px; font-size: 16px; line-height: 1.55; color: var(--sp-text); }
.sp-tradeoffs b { color: var(--sp-ink); font-weight: 600; }

/* make it yours */
.sp-dark { background: linear-gradient(to top, var(--sp-navy-deep), var(--sp-navy)); color: #fff; }
.sp-dark .sp-h2 { color: #fff; }
.sp-dark .sp-lead { color: rgba(255, 255, 255, .75); }
.sp-code { background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 22px 24px; margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: 14px; line-height: 1.7; color: #dbe4ff; white-space: pre; overflow-x: auto; }
.sp-code-k { color: #ff9a5c; }
.sp-code-c { color: rgba(255, 255, 255, .45); }
.sp-checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.sp-checks li { display: flex; gap: 12px; font-size: 17px; color: rgba(255, 255, 255, .9); }
.sp-checks li::before { content: "✓"; color: var(--sp-orange); font-weight: 700; }

/* faq */
.sp-faq { max-width: 860px; margin: 40px auto 0; display: grid; gap: 12px; }
.sp-faq-row { background: #fff; border: 1px solid var(--sp-line); border-radius: 16px; padding: 18px 22px; }
.sp-faq-row summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sp-faq-row summary::-webkit-details-marker { display: none; }
.sp-faq-row summary::after { content: "+"; color: var(--sp-orange); font-size: 22px; line-height: 1; }
.sp-faq-row[open] summary::after { content: "–"; }
.sp-faq-row p { margin: 12px 0 0; color: var(--sp-body); line-height: 1.6; font-size: 16px; }

/* closing */
.sp-closing { text-align: center; padding: 72px 0; }
.sp-closing .sp-lead { margin: 0 auto 26px; }

/* order flow (/indicator/ncorderflowvolprofile): generated chart figures in white panels. On phones they keep
   640px and scroll inside their panel, or the chart labels get too small to read. */
.sp-figure { margin: 36px 0 0; background: #fff; border: 1px solid var(--sp-line); border-radius: 24px; padding: 18px; }
.sp-figure--lead { margin-top: 40px; box-shadow: 0 10px 30px rgba(8, 30, 113, .08); }
.sp-subsection > .sp-figure { margin-top: 24px; }
.sp-figure-scroll { overflow-x: auto; }
.sp-figure-scroll img { display: block; width: 100%; height: auto; }
.sp-figure .sp-callouts { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.sp-two--start { align-items: start; }
.sp-lead--wide { max-width: none; }

/* what traders use it for: four cards with small schematic bars */
.sp-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.sp-use { background: #fff; border: 1px solid var(--sp-line); border-radius: 20px; padding: 22px; }
.sp-use svg { width: 100%; height: auto; display: block; background: #15181d; border-radius: 12px; }
.sp-use-title { font-size: 19px; font-weight: 600; margin: 16px 0 8px; }
.sp-use p { margin: 0; color: var(--sp-body); font-size: 15px; line-height: 1.6; }

/* how it compares: two navy cards with the wins, then a wide table that scrolls in its wrapper */
.sp-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.sp-win { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 28px; background: var(--sp-navy); color: #fff; }
.sp-win::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; border-radius: 999px; background: radial-gradient(circle, rgba(255, 98, 0, .35), transparent 70%); }
.sp-win-big { font-size: 40px; font-weight: 700; line-height: 1; }
.sp-win-title { font-size: 21px; font-weight: 600; margin: 12px 0 8px; }
.sp-win p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.6; }
.sp-vs--wide { min-width: 1040px; font-size: 15px; }
.sp-vs--wide th, .sp-vs--wide td { line-height: 1.45; }
.sp-vs td.sp-us b { color: var(--sp-navy); }
.sp-yes::before { content: "✓ "; color: #2e9b5f; font-weight: 700; }
.sp-no::before { content: "– "; color: #9ca3af; }
.sp-fineprint { color: var(--sp-muted); font-size: 13px; line-height: 1.5; margin: 14px 0 0; }

/* a line under the dark band's buttons, with a link */
.sp-dark-note { margin: 22px 0 0; max-width: 560px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.sp-dark-note a { color: #ff9a5c; text-decoration: underline; }
.sp-dark-note a:hover { color: #ffb685; }

/* make it yours: the request above the code */
.sp-ask { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 12px 16px; margin: 0 0 12px; font-size: 15px; color: #fff; }
.sp-ask b { color: #ff9a5c; font-weight: 600; }

@media (max-width: 900px) {
    .sp-h2 { font-size: 30px; }
    .sp-section { padding: 60px 0; }
    .sp-section--flush-top { padding-top: 0; }
    .sp-sheet { border-radius: 40px; }
    .sp-compare, .sp-two, .sp-honest, .sp-who { grid-template-columns: 1fr; }
    .sp-cards { grid-template-columns: 1fr 1fr; }
    .sp-pipeline { grid-template-columns: 1fr; gap: 26px; }
    .sp-flow { grid-template-columns: 1fr; }
    .sp-flow-arrow { transform: rotate(90deg); justify-self: center; }
    .sp-shots, .sp-steps { grid-template-columns: 1fr; }
    /* stacked, the tall portrait shot (the SuperDOM) would fill the width and run two screens high */
    .sp-shots > :last-child { width: 100%; max-width: 360px; justify-self: center; }
    .sp-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -25px; transform: translateX(-50%); }
    .sp-setting { grid-template-columns: 1fr; gap: 8px; }
    .sp-vs { font-size: 14px; }
    .sp-vs th, .sp-vs td { padding: 12px 10px; }
    .sp-uses { grid-template-columns: 1fr 1fr; }
    .sp-figure .sp-callouts, .sp-wins { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .sp-cards, .sp-uses { grid-template-columns: 1fr; }
    .sp-figure { padding: 10px; border-radius: 16px; }
    .sp-figure-scroll img { min-width: 640px; }
    .sp-wrap { padding: 0 16px; }
    .sp-defs li { grid-template-columns: 90px 1fr; }
}

/* swing profile (/indicator/swingprofile): the owner's screenshots in white panels, each opening full size in a new
   tab. On phones a wide chart keeps 720px and scrolls inside its panel, or its labels get too small to read. */
.sp-fig { background: #fff; border: 1px solid var(--sp-line); border-radius: 24px; padding: 14px; }
.sp-fig--full { margin-top: 28px; }
.sp-fig--tall { max-width: 300px; margin: 0 auto; }
.sp-fig-title { font-size: 18px; font-weight: 600; margin: 4px 4px 2px; }
.sp-fig-sub { color: var(--sp-muted); font-size: 14px; margin: 0 4px 12px; line-height: 1.5; }
.sp-zoom { position: relative; display: block; }
.sp-zoom img { display: block; width: 100%; height: auto; border-radius: 10px; }
.sp-fig--tall .sp-zoom img { border-radius: 6px; }
/* the numbered pins on screenshot 01, by percent of the picture; checked so they cover no box and not the dotted
   leg. If the screenshot is recropped or retaken, move them. */
.sp-pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 999px; background: var(--sp-navy); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(0, 0, 0, .45); pointer-events: none; }
.sp-pin--1 { left: 52.4%; top: 58%; }
.sp-pin--2 { left: 11.6%; top: 31.5%; }
.sp-pin--3 { left: 94.6%; top: 61.5%; }
.sp-shots2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; align-items: start; }
.sp-block { margin-top: 72px; }
.sp-defs--near, .sp-chips--near { margin-top: 8px; }
.sp-inside { margin-top: 36px; text-align: center; }
.sp-inside .sp-eyebrow { margin-bottom: 4px; }
.sp-inside .sp-chips { justify-content: center; margin-top: 14px; }

/* the three line styles, each with a swatch of its line */
.sp-states { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.sp-states--row { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.sp-states li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.55; color: var(--sp-text); background: #fff; border: 1px solid var(--sp-line); border-radius: 14px; padding: 14px 16px; }
.sp-states b { color: var(--sp-ink); font-weight: 600; }
.sp-swatch { display: block; height: 0; margin-top: 11px; border-top: 3px solid #1E90FF; }
.sp-swatch--temp { border-top: 3px dashed #FFA500; }
.sp-swatch--forming { border-top: 3px dashed #808080; }

/* the box rows and the plots: plain tables in a bordered box (both fit a phone; the box rows stack there) */
.sp-tablebox { margin-top: 32px; border: 1px solid var(--sp-line); border-radius: 16px; overflow: hidden; background: #fff; }
.sp-tablebox .sp-table { border-radius: 0; }
.sp-table td b { font-weight: 600; color: var(--sp-ink); }
.sp-table td.sp-on { color: var(--sp-navy); font-weight: 500; white-space: nowrap; }
.sp-table td.sp-off { color: var(--sp-muted); white-space: nowrap; }
.sp-table .sp-mono { white-space: nowrap; color: var(--sp-ink); }
.sp-plots td:first-child { color: var(--sp-muted); width: 36px; white-space: nowrap; }
.sp-plots .sp-mono { font-size: 13px; }
.sp-plotsgrid { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: start; margin-top: 8px; }
.sp-api { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.sp-api .sp-who-title { margin-top: 0; }
.sp-api ul { margin: 10px 0 0; padding-left: 18px; color: var(--sp-body); font-size: 15px; line-height: 1.6; }
.sp-api code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--sp-navy); }
.sp-shots2 > *, .sp-api > *, .sp-plotsgrid > * { min-width: 0; }

/* the comparison: six groups, and a price row that stands out (on phones too) */
.sp-vs--swing { min-width: 1100px; font-size: 14px; }
.sp-vs--swing th, .sp-vs--swing td { padding: 12px 14px; line-height: 1.45; }
.sp-vs--swing tbody th { width: 14%; }
.sp-vs--swing thead th { vertical-align: bottom; }
.sp-vs tr.sp-grp th { padding: 26px 20px 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sp-orange); border-bottom: 2px solid var(--sp-line); }
.sp-vs td.sp-dash { color: #b8bec8; }
.sp-vs tr.sp-pricerow th, .sp-vs tr.sp-pricerow td.sp-them { background: #fff7ed; font-size: 17px; font-weight: 600; color: var(--sp-ink); padding-top: 22px; padding-bottom: 22px; }
.sp-vs tr.sp-pricerow td.sp-us { background: var(--sp-navy); color: #fff; font-weight: 500; padding-top: 22px; padding-bottom: 22px; box-shadow: inset 0 0 0 3px var(--sp-orange); }
.sp-vs tr.sp-pricerow .sp-amount { display: block; font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 6px; }
.sp-vs tr.sp-pricerow .sp-deal { display: inline-block; margin-top: 12px; background: var(--sp-orange); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }

@media (max-width: 900px) {
    .sp-shots2, .sp-api, .sp-states--row, .sp-plotsgrid { grid-template-columns: 1fr; }
    /* the row names stay put while the table scrolls sideways; the group labels too */
    .sp-vs--swing thead th:first-child, .sp-vs--swing tbody tr:not(.sp-grp) th { position: sticky; left: 0; z-index: 1; background: var(--sp-gray); box-shadow: 1px 0 0 var(--sp-line); min-width: 130px; }
    .sp-vs--swing tbody tr.sp-pricerow:not(.sp-grp) th { background: #fff7ed; }
    .sp-vs--swing tr.sp-grp th span { position: sticky; left: 10px; }
    .sp-pin { width: 24px; height: 24px; font-size: 12px; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(0, 0, 0, .45); }
}

@media (max-width: 560px) {
    .sp-zoom-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .sp-zoom-scroll > .sp-zoom { min-width: 720px; }
    .sp-rowtable thead { display: none; }
    /* dense: the default (On/Off) fills the gap beside the row name instead of dropping below the description */
    .sp-rowtable tr { display: grid; grid-template-columns: 1fr auto; grid-auto-flow: row dense; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--sp-line); }
    .sp-rowtable td { border: 0; padding: 0; }
    .sp-rowtable td.sp-ex { grid-column: 1 / -1; }
    .sp-rowtable td.sp-what { grid-column: 1 / -1; color: var(--sp-body); }
    .sp-states li { grid-template-columns: 32px 1fr; }
    .sp-plots th, .sp-plots td { padding: 10px; }
    .sp-plots .sp-mono { font-size: 12px; }
}
