.cms-media-frame { aspect-ratio: 16 / 9; width: 100%; }
.cms-media-frame iframe, .cms-media-frame video, .cms-media-frame img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.cms-story { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) {
  .cms-story { grid-template-columns: 1fr 1fr; }
  .cms-story--media_right .cms-story-media { order: 2; }
}
.cms-story-media { position: relative; min-height: 0; margin: 0; }
.cms-story-media img { position: static; width: 100%; height: auto; }
.cms-story-media::after { display: none; }
.cms-layout--contrast { background: var(--ssc-primary); color: #fff; }

/* Walkthrough 37 (1 Oct 2026): feature page patterns. */
.cms-hero-split { display: grid; gap: 40px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 56px clamp(18px, 4vw, 48px) 64px; }
@media (min-width: 980px) { .cms-hero-split { grid-template-columns: 1fr 1.15fr; } }
.cms-hero-copy h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; margin: 0 0 18px; }
.cms-hero-copy p { font-size: 18px; line-height: 1.55; max-width: 540px; }
.cms-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.cms-hero-note p { font-size: 14px; }
.cms-carousel-device { background: var(--ssc-ink, #0d2038); border-radius: 14px; padding: 10px; box-shadow: 0 30px 60px rgba(8, 43, 89, .18); }
.cms-carousel-screen { position: relative; aspect-ratio: 1204 / 750; overflow: hidden; border-radius: 6px; background: #fff; }
.cms-carousel-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cms-carousel-base { height: 12px; margin: 0 -18px; border-radius: 0 0 14px 14px; background: linear-gradient(#cfd8e3, #aab6c4); }
.cms-carousel-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; }
.cms-carousel-label { font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 10px; background: #fff3e8; color: #97400a; }
.cms-carousel-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.cms-carousel-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, #dde6f0); background: #fff; font-size: 18px; cursor: pointer; }
.cms-carousel-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line, #dde6f0); border-radius: 99px; background: #fff; }
.cms-carousel-tabs button { min-height: 36px; border: 0; border-radius: 99px; padding: 6px 13px; background: transparent; font-weight: 600; cursor: pointer; }
.cms-carousel-tabs button[aria-selected="true"] { background: var(--ssc-primary, #082b59); color: #fff; }
.cms-carousel-pause { min-height: 36px; border: 0; border-radius: 99px; padding: 6px 14px; background: var(--ssc-action, #006be6); color: #fff; font-weight: 700; cursor: pointer; }
.cms-chain { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .cms-chain { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.cms-chain li, .cms-tagged article, .cms-compare-card { border: 1px solid var(--line, #dde6f0); border-radius: 14px; padding: 18px; background: #fff; }
.cms-chain h3, .cms-tagged h3, .cms-compare-card h3 { margin: 0 0 6px; }
.cms-chain p { margin: 0 0 10px; }
.cms-tag { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cms-tag--ok { background: #e7f6f1; color: #076a4d; }
.cms-tag--est { background: #fff3e8; color: #97400a; }
.cms-tag--none { background: #eef1f5; color: #4f5d6c; }
.cms-compare, .cms-tagged { display: grid; gap: 18px; }
@media (min-width: 760px) { .cms-compare, .cms-tagged { grid-template-columns: 1fr 1fr; } }
.cms-compare-card { border-top: 5px solid #9aa8b8; background: #f7f9fc; }
.cms-compare-card--primary { border-top-color: var(--ssc-action, #006be6); background: #fff; }
.cms-compare-label { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cms-compare-card ul { margin: 0; padding-left: 20px; line-height: 1.7; }
.cms-tagged ul { margin: 12px 0 0; padding: 0; list-style: none; }
.cms-tagged li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line, #dde6f0); }
@media (min-width: 900px) {
  .cms-layout--side .pricing-steps { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-areas: "head list" "body list"; column-gap: 40px; align-items: start; }
  .cms-layout--side .pricing-steps > div { grid-area: head; }
  .cms-layout--side .pricing-steps > ol { grid-area: list; }
  .cms-layout--side .pricing-steps > p { grid-area: body; }
}
.cms-price-compact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--line, #dde6f0); border-radius: 14px; padding: 24px 28px; background: #fff; }
.cms-price-compact > div { max-width: 760px; }
.cms-price-summary { font-size: 18px; font-weight: 600; }
.cms-price-vat { font-size: 14px; }
.cms-faq { max-width: 820px; margin: 0 auto; }
.cms-faq details { border: 1px solid var(--line, #dde6f0); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; background: #fff; }
.cms-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; min-height: 24px; }
.cms-faq-answer { margin-top: 10px; }
.cms-carousel-screen img[hidden] { display: none; }
.cms-chain, .cms-compare, .cms-tagged, .cms-price-compact, .cms-faq { margin-bottom: 72px; }
.cms-section--feature_cards .preview-section-heading { margin-top: 24px; }

/* Chain cards line up (Edwin, 5 Oct 2026): titles wrap to one or two lines,
   which left each card's text and tag at a different height. Each card now
   shares its rows with its neighbours, so titles, text and tags align. */
.cms-chain li { display: flex; flex-direction: column; }
.cms-chain li .cms-tag { margin-top: auto; align-self: flex-start; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 760px) {
    .cms-chain li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .cms-chain li h3 { align-self: start; }
    .cms-chain li p { align-self: start; }
    .cms-chain li .cms-tag { align-self: end; justify-self: start; margin-top: 0; }
  }
}

/* Help section (walkthrough 73) */
.cms-help-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; max-width: 760px; margin: 0 0 28px; }
.cms-help-search label { flex-basis: 100%; font-weight: 700; }
.cms-help-search input[type="search"] { flex: 1 1 260px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line, #cfd8dc); border-radius: 8px; font: inherit; }
.cms-help-group { max-width: 760px; margin: 0 0 28px; }
.cms-help-list { list-style: none; margin: 0; padding: 0; }
.cms-help-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line, #e1e7ea); }
.cms-help-meta { color: var(--muted, #5b6b73); font-size: .9rem; }
.cms-help-article { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.cms-help-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 28px; }
.cms-help-facts dt { font-size: .85rem; color: var(--muted, #5b6b73); }
.cms-help-facts dd { margin: 0; font-weight: 700; }
.cms-help-body img { display: block; max-width: 100%; height: auto; margin: 16px 0; border: 1px solid var(--line, #e1e7ea); border-radius: 8px; }
.cms-help-body li { margin: 0 0 6px; }

/* Clickable video ending (Edwin, 15 Oct 2026): the section's button over the end card. */
.cms-video-frame { position: relative; width: 100%; height: 100%; }
.cms-video-frame video { display: block; }
.cms-video-cta { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); z-index: 2; border-radius: 999px; font-size: clamp(14px, 2.2vw, 24px); padding: 0.6em 1.6em; white-space: nowrap; }
.cms-video-cta[hidden] { display: none; }
