/* Switch pages (sweatpals.com/business/switch/*): the comparison blocks that only these pages have.
   Loads after sweatpals.css and uses its tokens. Shared blocks (header, hero, steps, cards, reviews,
   FAQ, closing, footer) come from sweatpals.css unchanged. */

/* Blue hero colourway: Recover Blue with the Brand Book 121 artwork, white type (as the class-booking page) */
.bb-blue { --bb-base: #1A57FF; --bb-img: url("brand/bb-121.webp"); }
.bb-orange { --bb-img: url("brand/bb-124.webp"); }

/* ---------- Comparison tables (at a glance, feature by feature) ---------- */
.cmp-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 17px; }
.cmp-table th, .cmp-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; line-height: 1.45; }
.cmp-table thead th { background: var(--dark); color: #fff; font-family: var(--font-display); font-size: 24px; line-height: 1; border-bottom: 0; }
.cmp-table thead th.us { background: var(--lime); color: #111; }
.cmp-table tbody th { font-weight: 700; color: var(--ink); background: var(--bg-soft); width: 20%; }
.cmp-table td { color: var(--ink-2); }
.cmp-table td.us { background: #F7FFE4; color: var(--ink); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td::before { display: none; content: attr(data-col); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cmp-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: right; }

/* Feature table: narrow yes/no columns, the difference takes the rest */
.cmp-table.features tbody th { width: 18%; }
.cmp-table.features .yes-no { width: 12%; white-space: nowrap; }
.cmp-table.features td.diff { width: 58%; }

/* Yes / No / Yes, but chips */
.yn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; }
.yn .i { width: 18px; height: 18px; stroke-width: 2.6; }
.yn-yes { background: var(--lime); color: #111; }
.yn-no { background: var(--bg-soft); color: var(--muted); }
.yn-part { background: var(--tint-yellow); color: #111; }

@media (max-width: 980px) {
  .cmp-table { font-size: 16px; }
  .cmp-table th, .cmp-table td { padding: 16px 18px; }
  .cmp-table thead th { font-size: 20px; }
}
/* Phones: each row becomes a block, the column names become small labels */
@media (max-width: 720px) {
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: auto !important; }
  .cmp-table thead { display: none; }
  .cmp-table tr { padding: 18px 18px 20px; border-bottom: 1px solid var(--line); }
  .cmp-table tr:last-child { border-bottom: 0; }
  .cmp-table th, .cmp-table td { padding: 0; border: 0; background: none !important; }
  .cmp-table tbody th { font-size: 18px; line-height: 1.25; margin-bottom: 12px; }
  .cmp-table td { font-size: 15px; }
  .cmp-table td + td { margin-top: 12px; }
  .cmp-table td::before { display: block; }
  .cmp-table.features .yes-no { display: inline-flex; align-items: center; gap: 10px; margin: 0 20px 12px 0; }
  .cmp-table.features .yes-no::before { margin: 0; }
  .cmp-table.features td.diff { display: block; margin-top: 2px; }
  .cmp-note { text-align: left; }
}

/* ---------- Complaints and answers, side by side ---------- */
.pairs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; }
.pair-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 0 2px 4px; }
.pair { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.pair.gripe { background: var(--bg-soft); border-color: transparent; }
.pair .mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.pair.gripe .mark { background: #fff; color: var(--muted); }
.pair.fix .mark { background: var(--lime); color: #111; }
.pair .mark .i { width: 16px; height: 16px; stroke-width: 2.6; }
.pair .eyebrow { display: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pair h3 { font-size: 20px; line-height: 1.2; margin-bottom: 8px; text-wrap: balance; }
.pair p { font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 760px) {
  .pairs { grid-template-columns: 1fr; gap: 12px; }
  .pair-label { display: none; }
  .pair .eyebrow { display: block; }
  .pair { padding: 22px 20px; gap: 14px; }
  .pair.fix { margin-bottom: 12px; }
}

/* ---------- Reasons: stacked cards, brand panel with the title, text beside it ---------- */
.reasons { display: flex; flex-direction: column; gap: 24px; }
.reason { position: sticky; top: calc(96px + var(--k, 0) * 16px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.reason-panel { padding: 48px 40px; display: flex; align-items: center; justify-content: center; text-align: center; color: #111; }
.reason-panel.bb-blue { color: #fff; }
.reason-panel h3 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); line-height: .98; letter-spacing: -0.01em; color: inherit; max-width: 12ch; text-wrap: balance; }
.reason-text { display: flex; align-items: center; padding: 56px 64px; }
.reason-text p { font-size: 22px; line-height: 1.45; color: var(--ink); max-width: 36ch; text-wrap: pretty; }
@media (max-width: 1100px) {
  .reason-text { padding: 40px; }
  .reason-text p { font-size: 19px; }
}
@media (max-width: 980px) {
  .reason { position: static; grid-template-columns: 1fr; min-height: 0; }
  .reason-panel { min-height: 220px; padding: 32px 24px; }
  .reason-panel h3 { font-size: clamp(32px, 7vw, 44px); }
  .reason-text { padding: 28px 24px 32px; }
  .reason-text p { font-size: 17px; max-width: none; }
}

/* ---------- Use cases: seven photo cards, three wide then four ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.uc-grid > li:nth-child(-n+3) { grid-column: span 4; }
.uc-grid > li:nth-child(n+4) { grid-column: span 3; }
.uc-grid .cat-card { aspect-ratio: 4 / 3; }
.uc-grid .cat-card .name { font-size: clamp(22px, 2vw, 30px); }
@media (max-width: 980px) {
  .uc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .uc-grid > li:nth-child(n) { grid-column: auto; }
  .uc-grid > li:nth-child(n):last-child { grid-column: 1 / -1; }
  .uc-grid > li:last-child .cat-card { aspect-ratio: 16 / 7; }
}
@media (max-width: 480px) {
  .uc-grid .cat-card .name { font-size: 20px; left: 16px; right: 16px; bottom: 14px; }
}

/* Visually hidden (the other pages get this from the language switcher's inline CSS) */
.lang-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Switching steps: the button under the four steps ---------- */
.switch-cta { display: flex; justify-content: center; margin-top: 56px; }
.switch-cta .i { width: 18px; height: 18px; }
@media (max-width: 720px) { .switch-cta { margin-top: 36px; } }

/* ======================================================================
   Switch hub (sweatpals.com/business/switch): blocks only the hub page has.
   ====================================================================== */

/* ---------- Hero: the four checks under the buttons ---------- */
.lp-hero .hero-actions + .cta-note { margin-bottom: 0; }
.hero-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 28px auto 64px; font-size: 15px; font-weight: 700; line-height: 1.2; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-checks .i { width: 18px; height: 18px; stroke-width: 2.8; color: #111; }
.lp-hero.text-white .hero-checks .i { color: var(--lime); }
@media (max-width: 720px) {
  .hero-checks { gap: 10px 18px; margin: 22px auto 40px; font-size: 14px; }
}

/* ---------- Switching steps: six steps whose copy carries its own numbers ---------- */
.switch-steps.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.switch-steps.six li::before { display: none; }
.switch-steps.six li { padding-top: 26px; }
@media (max-width: 980px) { .switch-steps.six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 720px) { .switch-steps.six { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Check / cross lists (pricing, honest fit) ---------- */
.check-list, .x-list { display: grid; gap: 16px; }
.check-list li, .x-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.45; color: var(--ink); }
.check.x { background: var(--bg-soft); color: var(--muted); }

/* ---------- Pricing: what is free, what you pay ---------- */
.price-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.price-col { padding: 44px 40px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.price-col.free { background: #F7FFE4; border-color: transparent; }
.price-col h3 { font-family: var(--font-display); font-size: 36px; line-height: 1; letter-spacing: -0.01em; margin-bottom: 28px; }
.pay-list { display: grid; }
.pay-list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.pay-list li:first-child { border-top: 0; padding-top: 0; }
.pay-list li:last-child { padding-bottom: 0; }
.pay-list strong { color: var(--ink); }
.note { font-size: 15px; line-height: 1.5; color: var(--muted); text-align: center; }
.note a { color: var(--ink); }
.price-note, .fit-note { margin-top: 32px; }
@media (max-width: 980px) {
  .price-cols { grid-template-columns: 1fr; gap: 16px; }
  .price-col { padding: 32px 24px; }
  .price-col h3 { font-size: 30px; margin-bottom: 22px; }
}

/* ---------- Why / features: icon cards, three across ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feat-card { display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.feat-icon { width: 28px; height: 28px; color: var(--ink); margin-bottom: 24px; }
.feat-card h3 { font-size: 22px; line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.feat-card p { font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.feat-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink); }
.feat-link .i { width: 18px; height: 18px; transition: transform .15s ease; }
.feat-link:hover .i { transform: translateX(3px); }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feat-card { padding: 28px 22px; }
}

/* ---------- Pick your current software: eight linked cards ---------- */
.sw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sw-card { display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.sw-card:hover { border-color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.08); transform: translateY(-2px); }
.sw-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); overflow: hidden; }
.sw-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sw-logo.pad { padding: 9px; }
.sw-logo.pad img { object-fit: contain; }
.sw-logo.full { background: transparent; }
.sw-card h3 { font-size: 21px; line-height: 1.2; margin: 22px 0 8px; }
.sw-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.sw-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sw-link .i { width: 18px; height: 18px; transition: transform .15s ease; }
.sw-card:hover .sw-link .i { transform: translateX(3px); }
.sw-link span { white-space: nowrap; }
@media (max-width: 1100px) { .sw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .sw-grid { grid-template-columns: 1fr; gap: 12px; }
  .sw-card { padding: 24px 22px; }
  .sw-card h3 { margin-top: 18px; }
}

/* ---------- Honest fit: two columns ---------- */
.fit-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.fit-col { padding: 44px 40px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.fit-col h3 { font-size: 24px; line-height: 1.2; margin-bottom: 24px; text-wrap: balance; }
@media (max-width: 980px) {
  .fit-cols { grid-template-columns: 1fr; gap: 16px; }
  .fit-col { padding: 32px 24px; }
}

/* ---------- Closing CTA on the dark band ---------- */
.closing.band-dark { background: var(--dark); color: #fff; }
.closing.band-dark h2 { color: #fff; }
.closing.band-dark p { color: #b9b9b9; }
.closing.band-dark .btn-primary { background: var(--lime); color: #111; border-color: var(--lime); }
.closing.band-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.8); }
.closing.band-dark .cta-note { color: rgba(255,255,255,.7); }
.closing.band-dark :focus-visible { outline-color: #fff; }

/* ---------- FAQ answers with more than one paragraph or a list ---------- */
.faq-list div.answer p + p, .faq-list .answer ul { margin-top: 12px; }
.faq-list .answer ul { padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.faq-list .answer strong { color: var(--ink); }

/* ---------- Dark bands: the switching steps and the "better way" cards sit on the dark card (as the ticket bands on the business-type pages) ---------- */
.section.on-dark { background: #0a0a0a; color: #fff; margin: 0 var(--inset) var(--section-y); border-radius: var(--radius-xl); padding: 104px 24px; }
.section.on-dark .sec-head h2 { color: #fff; }
.section.on-dark .sec-head .intro { color: #b9b9b9; }
.on-dark .switch-steps li { border-top-color: rgba(255,255,255,.16); }
.on-dark .switch-steps h3 { color: #fff; }
.on-dark .switch-steps p { color: #b9b9b9; }
.on-dark .feat-card { background: #161616; border-color: rgba(255,255,255,.12); }
.on-dark .feat-icon { color: var(--lime); }
.on-dark .feat-card h3 { color: #fff; }
.on-dark .feat-card p { color: #b9b9b9; }
.on-dark .feat-link { color: #fff; }
@media (max-width: 720px) { .section.on-dark { border-radius: var(--radius-lg); padding: 64px 20px; } }

/* ---------- Callout: "Using something else?" under the comparison cards ---------- */
.callout { max-width: 820px; margin: 0 auto; padding: 44px 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }
.callout p { font-size: 21px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
.callout a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--lime); }
.callout a:hover { text-decoration-color: var(--ink); }
@media (max-width: 720px) {
  .callout { padding: 28px 22px; }
  .callout p { font-size: 17px; }
}
