/* BroadbandSwitch.uk — article visual enhancements (scoped; tokens from styles.css :root only) */

.bbs-article-page {
  --bbs-callout-bg: var(--brand-50);
  --bbs-callout-border: var(--brand);
}

/* ----- Layout: intro + TOC + body columns ----- */
.bbs-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .bbs-article-layout {
    grid-template-columns: minmax(0, 1fr) 17rem;
    grid-template-areas:
      "intro toc"
      "rest toc";
    gap: 2rem 2.25rem;
  }

  .bbs-layout-intro {
    grid-area: intro;
  }

  .bbs-layout-rest {
    grid-area: rest;
    min-width: 0;
  }

  .bbs-toc-sidebar {
    grid-area: toc;
    position: sticky;
    top: 6rem;
    align-self: start;
    max-height: calc(100vh - 8rem);
    overflow: auto;
    padding-bottom: 1rem;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbs-faq__item,
  .bbs-faq__summary::after,
  .bbs-related-card__link::after {
    transition: none !important;
  }
}

/* ----- 1. Direct answer callout ----- */
.bbs-callout {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  background: var(--bbs-callout-bg);
  box-shadow: var(--shadow);
}

.bbs-callout__icon {
  flex: 0 0 auto;
  color: var(--brand-700);
  margin-top: 0.15rem;
}

.bbs-callout__body > p:last-child {
  margin-bottom: 0;
}

/* ----- 2. At a glance facts grid ----- */
.bbs-facts-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 680px) {
  .bbs-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbs-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bbs-fact {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.bbs-fact__icon {
  flex-shrink: 0;
  color: var(--brand-700);
  margin-top: 0.1rem;
}

.bbs-fact p {
  margin: 0;
  font-size: 0.9375rem;
}

/* ----- 3. TOC ----- */
.bbs-toc-sidebar .bbs-toc__details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--chip);
  padding: 0;
}

.bbs-toc__summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 44px;
}

.bbs-toc__summary::-webkit-details-marker {
  display: none;
}

.bbs-toc__summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.bbs-toc__details[open] > .bbs-toc__summary::after {
  transform: rotate(-135deg);
}

.bbs-toc__panel {
  padding: 0 1rem 1rem;
}

.bbs-toc__panel ol {
  margin: 0;
  padding-left: 1.2rem;
}

.bbs-toc__panel ol a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bbs-toc__panel ol a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  .bbs-toc-sidebar .bbs-toc.on-this-page {
    padding: 1rem 1.1rem 1.2rem;
    background: var(--chip);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .bbs-toc-sidebar .bbs-toc__details {
    border: none;
    background: transparent;
    padding: 0;
  }

  .bbs-toc-sidebar .bbs-toc__summary {
    display: none;
  }

  .bbs-toc-sidebar .bbs-toc__panel {
    padding: 0;
    display: block !important;
  }

  .bbs-toc-sidebar .bbs-toc-heading {
    margin-top: 0;
  }

  .bbs-toc-sidebar .bbs-toc__panel ol {
    padding-left: 1.1rem;
  }

  .bbs-toc-sidebar .bbs-toc__panel ol a {
    text-decoration: none;
    color: var(--ink);
  }
}

@media (min-width: 1024px) and (hover: hover) {
  .bbs-toc-sidebar .bbs-toc__panel ol a:hover {
    color: var(--brand-700);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

.bbs-toc-heading.bbs-h2-row {
  margin-bottom: 0.75rem;
}

/* ----- 4. H2 + icon row ----- */
.bbs-h2-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.bbs-h2-row .section-title {
  margin: 0;
  flex: 1;
}

.bbs-h2-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.35rem;
  color: var(--muted);
}

/* ----- 5. Step cards (three honest ways) ----- */
.bbs-step-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 760px) {
  .bbs-step-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Four-up step cards (best-value method) */
@media (min-width: 760px) {
  .bbs-step-cards.bbs-step-cards--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .bbs-step-cards.bbs-step-cards--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Six-up step cards (lowest-upfront method) */
@media (min-width: 760px) {
  .bbs-step-cards.bbs-step-cards--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbs-step-cards.bbs-step-cards--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Seven-up step cards (lowest total cost checklist) */
@media (min-width: 760px) {
  .bbs-step-cards.bbs-step-cards--seven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbs-step-cards.bbs-step-cards--seven {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Neutral definition grid (4 cards): 2×2 then row */
@media (min-width: 640px) {
  .bbs-sweet-grid.bbs-sweet-grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbs-sweet-grid.bbs-sweet-grid--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bbs-step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 1rem;
  background: var(--bg);
  box-shadow: var(--shadow);
  position: relative;
}

.bbs-step-card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-700);
  margin-bottom: 0.35rem;
}

.bbs-step-card__text {
  margin: 0;
  font-weight: 600;
}

/* ----- 6. Warning DL + pull quote ----- */
.bbs-warn-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .bbs-warn-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .bbs-warn-grid.bbs-warn-grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbs-warn-grid.bbs-warn-grid--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .bbs-warn-grid.bbs-warn-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbs-warn-grid.bbs-warn-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bbs-when-not-list li {
  margin-bottom: 0.65rem;
}

.bbs-when-not-list li:last-child {
  margin-bottom: 0;
}

.bbs-warn-grid dl,
.bbs-warn-card dl {
  margin: 0;
}

.bbs-warn-grid dt,
.bbs-warn-card dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.bbs-warn-grid dd,
.bbs-warn-card dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.bbs-warn-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--brand-50);
}

.bbs-warn-card__ic {
  flex-shrink: 0;
  color: var(--brand-700);
}

.bbs-pullquote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand-700);
  background: var(--chip);
  border-radius: var(--radius);
  font-size: 1.125rem;
  line-height: 1.55;
}

.bbs-pullquote p {
  margin: 0;
}

.bbs-pullquote em {
  font-style: italic;
  color: var(--ink);
}

/* ----- Sweet-spot / positive DL cards (neutral chip, brand accent bar) ----- */
.bbs-sweet-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .bbs-sweet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bbs-sweet-grid dl {
  margin: 0;
}

.bbs-sweet-grid dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.bbs-sweet-grid dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.bbs-sweet-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--chip);
  border-left: 4px solid var(--brand);
}

.bbs-sweet-card__ic {
  flex-shrink: 0;
  color: var(--brand-700);
}

/* ----- Warning grid: four cards in 2×2 ----- */
@media (min-width: 760px) {
  .bbs-warn-grid.bbs-warn-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- Speed-first comparison table (month column third) ----- */
.bbs-table-wrap.bbs-table--speed-first td:nth-child(3),
.bbs-table-wrap.bbs-table--speed-first th:nth-child(3) {
  text-align: right;
}

.bbs-table-wrap.bbs-table--speed-first td:nth-child(2),
.bbs-table-wrap.bbs-table--speed-first th:nth-child(2) {
  text-align: left;
}

/* ----- APA-style reference cards (Ofcom badge) ----- */
.bbs-ref-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 720px) {
  .bbs-ref-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bbs-ref-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--chip);
}

.bbs-ref-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.5rem;
}

.bbs-ref-card p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.bbs-ref-card p:last-child {
  margin-bottom: 0;
}

/* ----- 7. Table ----- */
.bbs-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem 0.25rem;
  scrollbar-gutter: stable;
}

.bbs-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.bbs-table-wrap caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 0.5rem;
}

.bbs-table-wrap thead th {
  background: var(--chip);
  border-bottom: 2px solid var(--border);
}

.bbs-table-wrap tbody tr:nth-child(even) {
  background: var(--brand-50);
}

@media (hover: hover) {
  .bbs-table-wrap tbody tr:hover {
    background: var(--chip);
  }
}

.bbs-table-wrap th[scope="row"],
.bbs-table-wrap tbody th {
  font-weight: 700;
}

.bbs-table-wrap td:nth-child(2),
.bbs-table-wrap th:nth-child(2) {
  text-align: right;
}

/* All-column narrative tables (no numeric alignment) */
.bbs-table-wrap table.bbs-table--text th,
.bbs-table-wrap table.bbs-table--text td,
.bbs-table-wrap table.bbs-table--text td:nth-child(2),
.bbs-table-wrap table.bbs-table--text th:nth-child(2) {
  text-align: left;
}

/* Lowest total cost: illustrative totals table (numeric columns 2–5) */
.bbs-table-wrap.bbs-table--worked table.bbs-table--text th:nth-child(2),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text th:nth-child(3),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text th:nth-child(4),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text th:nth-child(5),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text td:nth-child(2),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text td:nth-child(3),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text td:nth-child(4),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text td:nth-child(5) {
  text-align: right;
}

.bbs-table-wrap.bbs-table--worked table.bbs-table--text th:nth-child(1),
.bbs-table-wrap.bbs-table--worked table.bbs-table--text td:nth-child(1) {
  text-align: left;
}

/* Contract length comparison: numeric columns 2–3 */
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text th:nth-child(2),
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text th:nth-child(3),
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text td:nth-child(2),
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text td:nth-child(3) {
  text-align: right;
}

.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text th:nth-child(1),
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text td:nth-child(1),
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text th:nth-child(4),
.bbs-table-wrap.bbs-table--contract-length table.bbs-table--text td:nth-child(4) {
  text-align: left;
}

.bbs-table-wrap th,
.bbs-table-wrap td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ----- 8. Step flow (how to) ----- */
.bbs-step-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: bbsstep;
}

@media (min-width: 900px) {
  .bbs-step-flow {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: stretch;
  }
}

.bbs-step-flow > li {
  position: relative;
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
  padding: 0.65rem 0.75rem 0.65rem 2.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  counter-increment: bbsstep;
}

.bbs-step-flow > li::before {
  content: counter(bbsstep);
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ----- 9. Icon X list ----- */
.bbs-list-x {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bbs-list-x > li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.bbs-list-x > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  opacity: 0.85;
}

.bbs-list-x > li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55rem;
  width: 6px;
  height: 2px;
  background: var(--muted);
  transform: rotate(45deg);
  box-shadow: 3px -3px 0 0 var(--muted);
}

/* ----- 10. Related cards ----- */
.bbs-related-grid .card {
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

@media (hover: hover) {
  .bbs-related-grid .card:hover {
    box-shadow: var(--shadow-md);
  }
}

.bbs-related-h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0;
}

.bbs-related-h3 svg {
  flex-shrink: 0;
  color: var(--brand-700);
}

.bbs-related-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

@media (hover: hover) {
  .bbs-related-card__link::after {
    content: "\2192";
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    font-size: 0.85em;
    color: var(--brand-700);
  }

  .bbs-related-card__link:hover::after {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- 11. FAQ accordion ----- */
.bbs-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--bg);
  overflow: hidden;
}

.bbs-faq__summary {
  cursor: pointer;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.bbs-faq__summary::-webkit-details-marker {
  display: none;
}

.bbs-faq__summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.bbs-faq__item[open] > .bbs-faq__summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.bbs-faq__summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.bbs-faq__answer {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--border);
}

.bbs-faq__answer p {
  margin: 0.75rem 0 0;
}

/* ----- 12. Trust block ----- */
.bbs-trust-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3rem;
  background: var(--chip);
}

.bbs-trust-panel__badge {
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  color: var(--brand-700);
}

.bbs-trust-panel p {
  margin: 0;
}

.bbs-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--bg);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--brand-700);
  margin-left: 0.25rem;
  min-height: 44px;
}

.bbs-trust-pill:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

@media (hover: hover) {
  .bbs-trust-pill:hover {
    background: var(--brand-50);
  }
}

/* ----- 13. References ----- */
.bbs-ref-list {
  padding-left: 0;
  list-style: none;
  counter-reset: bbsref;
}

.bbs-ref-list > li {
  counter-increment: bbsref;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 4.5rem;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-indent: 0;
  overflow-wrap: anywhere;
}

.bbs-ref-list > li::before {
  content: counter(bbsref) ".";
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.bbs-ref-list > li:nth-child(-n + 5) {
  border-left: 3px solid var(--brand-700);
}

.bbs-ref-list > li:nth-child(n + 6) {
  border-left: 3px solid var(--chip-border);
}

/* ----- 14. CTA trust strip + secondary ----- */
.bbs-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.bbs-cta-trust span {
  white-space: nowrap;
}

.bbs-cta-secondary-quiet .btn-primary {
  background: transparent;
  color: var(--brand-700);
  border: 2px solid var(--brand);
  box-shadow: none;
}

@media (hover: hover) {
  .bbs-cta-secondary-quiet .btn-primary:hover {
    background: var(--brand-50);
  }
}

.bbs-cta-secondary-quiet .btn-primary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ----- FAQ summary + heading ----- */
.bbs-faq__summary h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

/* TOC: hide duplicate desktop title when mobile summary is visible */
@media (max-width: 1023px) {
  .bbs-toc-desktop-h2 {
    display: none !important;
  }
}

/* ----- 15. Long-form article polish (shared: under-£30, best value, etc.) ----- */
.bbs-article-page .breadcrumb {
  margin-bottom: 1rem;
}

.bbs-article-page .breadcrumb ol {
  font-size: 0.875rem;
}

.bbs-article-page .article-header {
  padding-bottom: 1.1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.bbs-article-page .article-header .section-title {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bbs-article-page .article-meta {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.bbs-article-page .bbs-layout-rest h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.bbs-article-page .bbs-layout-rest section > h3:first-of-type {
  margin-top: 0.5rem;
}

.bbs-article-page .bbs-layout-rest > section {
  scroll-margin-top: 5.5rem;
}

.bbs-article-page .cta.cta-primary {
  padding: 1.2rem 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--brand-50) 0%, var(--bg) 70%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.bbs-article-page .cta.cta-primary > p:first-of-type {
  margin-top: 0;
}

#live-comparison .stickee-outer {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--chip);
}

.bbs-article-layout + p.micro {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8125rem;
}

.bbs-step-card__text {
  line-height: 1.5;
}

section#faq.section-gap--sm {
  scroll-margin-top: 5rem;
}
