/* ==========================================================================
   READ VPN Learning — Discovery pages
   Course Catalog (.cat-*, .flt-*) · Course Detail (.cd-*) · About (.ab-*) · shared (.dc-*)
   Loaded only by courses.html / course.html / about.html
   ========================================================================== */

/* ---------- shared ---------- */
.dc-crumbs { flex-wrap: nowrap; min-width: 0; }
.dc-crumbs li { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap; }
.dc-crumbs li:last-child { flex-shrink: 1; min-width: 0; }
.dc-crumbs li > svg { color: var(--ink-muted); }
.dc-crumbs [aria-current="page"] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-crumbs a { display: inline-flex; align-items: center; min-height: 28px; }
@media (max-width: 767px) {
  .cd-hero .dc-crumbs li:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.cat-textbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px; border-radius: 10px;
  font-size: 19px; font-weight: 600; color: var(--brand-primary-dark); white-space: nowrap;
}
.cat-textbtn:hover { background: var(--brand-primary-soft); }
.cat-textbtn svg { width: 15px; height: 15px; }
@media (pointer: coarse) { .cat-textbtn { min-height: 44px; } }
/* the Prototype switcher sits above modals (z 95 > 80) and would cover sheet footers — hide it while a modal is open */
.page-courses.is-locked .proto, .page-course.is-locked .proto, .page-about.is-locked .proto { display: none; }

/* ==========================================================================
   Course Catalog
   ========================================================================== */
.cat-hero { padding-bottom: 40px; }
.cat-hero h1 { margin-top: 14px; }
.cat-search { max-width: 660px; margin-top: 26px; }
.cat-search .search-field input {
  height: 58px; padding-right: 60px; background: #fff; border-color: var(--border-strong);
  box-shadow: 0 14px 32px -22px rgba(24, 39, 42, .5);
}
.cat-search .search-field input::-webkit-search-cancel-button,
.cat-search .search-field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.cat-search .cat-q-clear { right: 9px; }
.cat-search .cat-q-clear svg { position: static; transform: none; width: 18px; height: 18px; color: var(--ink-secondary); }
.cat-search .cat-q-clear:hover svg { color: var(--ink-primary); }

.cat-main { padding: 36px 0 8px; }
.cat-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 36px; align-items: start; }
.cat-results { min-width: 0; }

/* ---------- filter sidebar ---------- */
.cat-side { align-self: stretch; min-width: 0; }
.cat-side-inner {
  position: sticky; top: calc(var(--header-h) + 12px);
  max-height: calc(100vh - var(--header-h) - 24px); max-height: calc(100dvh - var(--header-h) - 24px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
  padding: 16px 16px 8px; background: #fff; border: 1px solid var(--border-default); border-radius: var(--r-card);
}
.cat-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 4px 10px; border-bottom: 1px solid var(--border-default); }
.cat-side-title { margin: 0; font-size: 24.5px; line-height: 1.2; }

.flt-group + .flt-group { border-top: 1px solid var(--border-default); }
.flt-h { margin: 0; font-size: inherit; line-height: inherit; }
.flt-toggle {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 50px; padding: 8px 4px;
  font-size: 20.5px; font-weight: 700; color: var(--ink-primary); text-align: left; border-radius: 10px;
}
.flt-toggle > svg { width: 18px; height: 18px; margin-left: auto; color: var(--ink-secondary); transition: transform .2s; }
.flt-toggle[aria-expanded="false"] > svg { transform: rotate(-90deg); }
.flt-toggle:hover .flt-name { color: var(--brand-primary-dark); }
.flt-sel {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px;
  background: var(--brand-primary); color: #fff; font-size: 16.5px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.flt-panel { padding: 0 0 12px; }
.flt-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.flt-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 6px 8px;
  border-radius: 10px; font-size: 20px; line-height: 1.2; transition: background-color var(--dur-fast);
}
.flt-opt:hover { background: var(--surface-soft); }
.flt-opt input { margin: 0; }
.flt-text { flex: 1; min-width: 0; }
.flt-count { min-width: 24px; text-align: right; font-size: 17px; font-weight: 600; color: var(--ink-secondary); font-variant-numeric: tabular-nums; }
.flt-item.is-zero .flt-text, .flt-item.is-zero .flt-count { color: var(--ink-muted); }
.flt-opt:has(input:checked) { background: var(--brand-primary-soft); }
.flt-opt:has(input:checked) .flt-text { font-weight: 600; color: var(--brand-primary-deep); }
.flt-more { margin: 6px 0 0 2px; }
@media (pointer: coarse) { .flt-opt { min-height: 44px; } }

/* ---------- results toolbar ---------- */
.cat-bar { display: grid; gap: 14px; margin-bottom: 24px; }
.cat-bar-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; min-height: 48px; }
.cat-count { margin: 0 auto 0 0; font-size: 25.5px; line-height: 1.25; font-weight: 700; }
.cat-count small { font-size: 20px; font-weight: 500; color: var(--ink-secondary); }
.cat-count:focus-visible { outline-offset: 6px; }
.cat-sortnote { display: none; }
.cat-tools { display: flex; align-items: center; gap: 12px; }
.cat-sort { display: flex; align-items: center; gap: 10px; }
.cat-sort label { font-size: 19px; color: var(--ink-secondary); white-space: nowrap; }
.cat-select { width: auto; min-height: 44px; padding: 8px 42px 8px 18px; border-radius: var(--r-pill); font-size: 20px; font-weight: 600; background-position: right 14px center; }
.cat-view { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-subtle); }
.cat-view-btn { display: grid; place-items: center; width: 42px; height: 36px; border-radius: var(--r-pill); color: var(--ink-secondary); transition: background-color var(--dur-btn), color var(--dur-btn); }
.cat-view-btn svg { width: 18px; height: 18px; }
.cat-view-btn:hover { color: var(--ink-primary); }
.cat-view-btn[aria-pressed="true"] { background: #fff; color: var(--brand-primary-dark); box-shadow: 0 2px 8px rgba(24, 39, 42, .12); }
.cat-mbtns { display: none; gap: 10px; }
.cat-mbtns .btn { min-height: 44px; padding: 0 18px; font-size: 20px; }

.cat-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cat-chip { min-height: 36px; padding: 0 10px 0 14px; gap: 8px; background: var(--brand-primary-soft); border-color: transparent; color: var(--brand-primary-deep); font-size: 18.5px; font-weight: 600; }
.cat-chip:hover { border-color: var(--brand-primary); color: var(--brand-primary-deep); }
.cat-chip .chip-x { width: 20px; height: 20px; margin-right: -2px; background: rgba(0, 194, 214, .14); }
.cat-chip .chip-x svg { width: 12px; height: 12px; }
@media (pointer: coarse) { .cat-chip { min-height: 44px; } }

/* ---------- results grid / list ---------- */
.cat-list { min-height: 320px; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); }
.cat-grid > li { display: flex; min-width: 0; }
.cat-grid > li > .cc { width: 100%; }
.cat-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.cat-grid.is-list .sk-card { display: flex; }
.cat-grid.is-list .sk-card .sk-media { width: 300px; min-height: 200px; aspect-ratio: auto; flex-shrink: 0; }
.cat-grid.is-list .sk-card .sk-body { flex: 1; }
.cat-ads-inline { margin: var(--gutter) 0; }
.cat-ads-slot { padding-top: 40px; }
.cat-ads-slot:empty { display: none; }

/* ---------- logged-in learning sections ---------- */
.cat-learn { margin-top: 56px; padding: var(--s-80) 0 var(--s-64); }
.cat-learn-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 36px; }
.cat-learn-head h2 { margin: 0; }
.cat-learn-head .eyebrow { margin-bottom: 8px; }
.cat-learn-sub { margin: 8px 0 0; color: var(--ink-primary); }
.cat-lgroup + .cat-lgroup { margin-top: 44px; }
.cat-lgroup .rail-head { margin-bottom: 18px; align-items: center; }
.cat-lgroup .rail-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 29px; line-height: 1.2; }
.cat-lcount {
  display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 9px; border-radius: 99px;
  background: #fff; border: 1px solid var(--border-default); font-size: 18px; font-weight: 700; color: var(--ink-secondary); font-variant-numeric: tabular-nums;
}
.cat-lempty { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-tile); background: #fff; border: 1px dashed var(--border-strong); }
.cat-lempty-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface-soft); color: var(--brand-primary-dark); flex-shrink: 0; }
.cat-lempty-ico svg { width: 22px; height: 22px; }
.cat-lempty-body { flex: 1; min-width: 0; }
.cat-lempty-body b { display: block; font-size: 21.5px; line-height: 1.25; }
.cat-lempty-body span { display: block; font-size: 19px; line-height: 1.3; color: var(--ink-secondary); }

/* ---------- filter drawer / bottom sheets ---------- */
.cat-sheet .modal-foot { justify-content: space-between; flex-wrap: nowrap; }
.cat-sheet .cat-apply { flex: 1; max-width: 320px; }
.flt--sheet .flt-group:first-child .flt-toggle { padding-top: 0; }
.cat-sortlist { display: grid; }
.cat-sortopt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 6px 4px; border-bottom: 1px solid var(--border-default); font-size: 21.5px; }
.cat-sortopt:last-child { border-bottom: 0; }
.cat-sortopt input { margin: 0; }
.cat-sortopt:has(input:checked) span { font-weight: 700; color: var(--brand-primary-deep); }

/* ---------- responsive ---------- */
@media (max-width: 1239px) {
  .cat-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 959px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-side { display: none; }
  .cat-mbtns { display: flex; }
  .cat-sbtn { display: none; }
  .cat-learn { margin-top: 44px; }
}
@media (max-width: 767px) {
  .cat-hero { padding-bottom: 28px; }
  .cat-hero h1 { margin-top: 10px; }
  .cat-search { margin-top: 20px; }
  .cat-search .search-field input { height: 54px; }
  .cat-main { padding-top: 20px; }
  .cat-bar { gap: 12px; margin-bottom: 18px; }
  .cat-mbtns { width: 100%; }
  .cat-mbtns .btn { flex: 1; min-height: 48px; padding: 0 12px; }
  .cat-sbtn { display: inline-flex; }
  .cat-tools { display: none; }
  .cat-count { width: 100%; font-size: 22.5px; }
  .cat-sortnote { display: inline; }
  .cat-active { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--page-pad) * -1); padding: 2px var(--page-pad) 6px; }
  .cat-active::-webkit-scrollbar { display: none; }
  .cat-chips { flex-wrap: nowrap; }
  .cat-chips > li, .cat-clearall { flex-shrink: 0; }
  .cat-grid.is-list .sk-card { display: block; }
  .cat-grid.is-list .sk-card .sk-media { width: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .cat-ads-slot { padding-top: 28px; }
  .cat-learn { margin-top: 36px; padding: 44px 0 36px; }
  .cat-learn-head { margin-bottom: 24px; }
  .cat-lgroup + .cat-lgroup { margin-top: 32px; }
  .cat-lgroup .rail-head h3 { font-size: 25.5px; }
  .cat-lempty { flex-wrap: wrap; padding: 16px; }
  .cat-lempty .btn { width: 100%; }
}

/* ==========================================================================
   Course Detail
   Desktop: named-line grid → soft hero panel behind row 1, sticky purchase panel
   in the right column (rows 1–2), full-width recommended + ads (row 3).
   ≤959px: block flow (hero panel → purchase card → sections) + sticky bottom bar.
   ========================================================================== */
.cd-skel { margin: 16px var(--outer) 0; padding: 44px 0 64px; border-radius: var(--r-section); background: var(--grad-soft); }
.cd-skel-hero { display: grid; gap: 16px; max-width: calc(var(--container) + var(--page-pad) * 2); margin-inline: auto; padding-inline: var(--page-pad); }
.cd-skel-hero > * { max-width: 760px; }
.cd-skel-title { height: 40px; width: 82%; border-radius: 12px; }

.cd-layout {
  --aside-w: 384px; --col-gap: 56px;
  display: grid; padding-top: 16px;
  grid-template-columns:
    [bleed-start] var(--outer)
    [panel-start] minmax(var(--page-pad), 1fr)
    [main-start] minmax(0, calc(var(--container) - var(--aside-w) - var(--col-gap)))
    [main-end] var(--col-gap)
    [aside-start] var(--aside-w)
    [aside-end] minmax(var(--page-pad), 1fr)
    [panel-end] var(--outer) [bleed-end];
}
.cd-hero-bg { grid-column: panel-start / panel-end; grid-row: 1; border-radius: var(--r-section); background: var(--grad-soft); }
.cd-hero { grid-column: main; grid-row: 1; min-width: 0; padding: 36px 0 52px; }
.cd-aside { grid-column: aside; grid-row: 1 / span 2; min-width: 0; padding-top: 28px; }
.cd-main { grid-column: main; grid-row: 2; min-width: 0; padding-bottom: 16px; }
.cd-wide { grid-column: main-start / aside-end; grid-row: 3; min-width: 0; padding-top: 72px; }

/* ---------- hero ---------- */
.cd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 14px; }
.cd-badges { display: contents; }
.cd-cat {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 10px; border-radius: 99px;
  background: #fff; color: var(--brand-primary-dark); font-size: 17px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(24, 39, 42, .06); transition: color var(--dur-btn);
}
.cd-cat svg { width: 16px; height: 16px; }
.cd-cat:hover { color: var(--brand-primary-dark); }
.cd-title { max-width: 820px; margin: 0 0 14px; font-size: clamp(39px, 3.96vw, 57px); line-height: 1.15; }
.cd-lead { max-width: 760px; margin: 0 0 24px; font-size: 24px; line-height: 1.45; color: var(--ink-primary); }
.cd-inst {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 8px 16px 8px 8px; border-radius: 22px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95); text-align: left;
  transition: background-color var(--dur-btn), border-color var(--dur-btn), box-shadow var(--dur-btn);
}
.cd-inst:hover { background: #fff; border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.cd-inst .avatar-stack { flex-shrink: 0; }
.cd-inst .avatar-stack .avatar + .avatar { margin-left: -12px; }
.cd-inst-text { display: flex; flex-direction: column; min-width: 0; }
.cd-inst-label { font-size: 17px; font-weight: 700; color: var(--ink-secondary); }
.cd-inst-names { font-size: 20.5px; font-weight: 600; line-height: 1.3; color: var(--ink-primary); }
.cd-inst-names .more { color: var(--brand-primary-dark); white-space: nowrap; }
.cd-inst > svg { width: 18px; height: 18px; color: var(--ink-secondary); flex-shrink: 0; }
.cd-inst:hover .cd-inst-label { color: var(--brand-primary-dark); }
ul.cd-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.cd-meta li { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; line-height: 1.3; color: var(--ink-primary); }
.cd-meta svg { width: 18px; height: 18px; color: var(--brand-primary-dark); }

/* ---------- purchase panel ---------- */
.cd-panel {
  position: sticky; top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px); max-height: calc(100dvh - var(--header-h) - 32px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
  background: #fff; border: 1px solid var(--border-default); border-radius: var(--r-card);
  box-shadow: 0 28px 56px -32px rgba(24, 39, 42, .38), var(--shadow-card);
}
.cd-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-subtle); }
.cd-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-img) ease; }
.cd-media:hover img { transform: scale(1.05); }
.cd-media-play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; color: #fff;
  background: linear-gradient(180deg, rgba(13, 22, 24, 0) 38%, rgba(13, 22, 24, .6) 100%);
}
.cd-media-play:focus-visible { outline-offset: -5px; border-radius: 0; }
.cd-play-ico {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--brand-primary-dark);
  box-shadow: 0 12px 30px rgba(13, 22, 24, .32); transition: transform .2s var(--ease-out);
}
.cd-play-ico svg { width: 28px; height: 28px; margin-left: 4px; }
.cd-media-play:hover .cd-play-ico { transform: scale(1.07); }
.cd-play-cap { position: absolute; left: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 18.5px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.cd-play-cap svg { width: 16px; height: 16px; }
.cd-media.is-locked img { filter: grayscale(.9) brightness(.65); }
.cd-media.is-locked:hover img { transform: none; }
.cd-media-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; text-align: center; color: #fff; background: rgba(13, 22, 24, .42); }
.cd-media-lockico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.cd-media-lockico svg { width: 24px; height: 24px; }
.cd-media-lock b { font-size: 22px; line-height: 1.2; }
.cd-media-lock > span:last-child { font-size: 18px; opacity: .88; }

.cd-buy { display: grid; gap: 16px; padding: 22px 24px 24px; }
.cd-buy-top, .cd-buy-foot { display: grid; gap: 14px; }
.cd-buy-top:empty, .cd-buy-foot:empty { display: none; }
.cd-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cd-off { flex-shrink: 0; margin-bottom: 6px; }
.cd-prog { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-tile); background: var(--surface-soft); }
.cd-prog-head { display: flex; justify-content: space-between; gap: 10px; font-size: 19px; font-weight: 700; }
.cd-prog-n { flex-shrink: 0; font-size: 18px; font-weight: 600; color: var(--ink-secondary); font-variant-numeric: tabular-nums; }
.cd-prog-sub { margin: 0; font-size: 18px; line-height: 1.3; color: var(--ink-secondary); }
.cd-prog-sub b { font-weight: 600; color: var(--ink-primary); }
.cd-access { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r-tile); background: var(--brand-primary-soft); color: var(--brand-primary-deep); }
.cd-access--package { background: var(--c-violet-tint); color: var(--c-violet); }
.cd-access--free { background: var(--c-success-tint); color: var(--c-success); }
.cd-access > svg { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.cd-access b { display: block; font-size: 20px; line-height: 1.25; }
.cd-access span { display: block; font-size: 18px; line-height: 1.3; color: var(--ink-primary); }
.cd-lock .notice { padding: 12px 14px; font-size: 18.5px; line-height: 1.3; }
.cd-lock .notice b { font-size: 20px; margin-bottom: 2px; }
.cd-ctas { display: grid; gap: 10px; }
.cd-cta-primary:focus { outline: none; }
.cd-cta-more { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cd-cta-more .btn { min-width: 0; padding: 0 12px; gap: 6px; font-size: 20px; }
.cd-cta-more .btn svg { width: 17px; height: 17px; }
.cd-note { display: flex; gap: 8px; margin: 0; font-size: 18px; line-height: 1.3; color: var(--ink-secondary); }
.cd-note svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
ul.cd-perks { display: grid; gap: 10px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--border-default); }
.cd-perks li { display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.3; color: var(--ink-primary); }
.cd-perks svg { width: 18px; height: 18px; color: var(--brand-primary-dark); }

/* ---------- mobile sticky bottom bar ---------- */
.cd-bar { gap: 14px; }
.cd-bar-info { display: grid; gap: 4px; flex-shrink: 0; min-width: 0; max-width: 46%; }
.cd-bar-info .progress { min-width: 124px; }
.cd-bar-label { font-size: 17px; font-weight: 700; color: var(--ink-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-bar .btn { min-width: 0; min-height: 48px; padding: 6px 16px; white-space: normal; line-height: 1.15; }
body.page-course.has-bottom-bar { padding-bottom: 84px; }
@media (min-width: 960px) { .cd-bar { display: none !important; } }

/* ---------- main sections ---------- */
.cd-sec { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 16px); }
.cd-main > .cd-sec:first-child { padding-top: 48px; }
.cd-sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 20px; }
.cd-sec-head h2 { margin: 0; font-size: 36.5px; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 16px); }
.cd-sec-head h2:focus-visible { outline-offset: 6px; }
.cd-sec-sub { margin: 6px 0 0; font-size: 20.5px; color: var(--ink-secondary); }

ul.cd-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 0; padding: 26px 28px; list-style: none; border-radius: var(--r-card); background: var(--surface-soft); border: 1px solid var(--border-default); }
.cd-outcomes li { display: flex; align-items: flex-start; gap: 12px; font-size: 21.5px; line-height: 1.35; color: var(--ink-primary); }
.cd-outcomes svg { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; color: var(--c-success); }

.cd-aud { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cd-aud li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--border-default); border-radius: var(--r-tile); background: #fff; font-size: 21.5px; line-height: 1.3; color: var(--ink-primary); }
.cd-aud-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-primary-soft); color: var(--brand-primary-dark); flex-shrink: 0; }
.cd-aud-ico svg { width: 20px; height: 20px; }

/* curriculum */
.cd-expand { flex-shrink: 0; }
.cd-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 16px; }
.cd-legend .lesson-state { font-weight: 600; }
.cd-acc { gap: 12px; }
.cd-mod-h { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.cd-mod .acc-btn { gap: 14px; }
.cd-mod-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--brand-primary-soft); color: var(--brand-primary-deep); font-size: 19px; font-weight: 800; flex-shrink: 0; }
.cd-mod-meta { display: block; margin-top: 2px; font-size: 18px; font-weight: 500; color: var(--ink-secondary); }
.cd-mod-status { flex-shrink: 0; }
.cd-mod-done { display: inline-flex; align-items: center; gap: 5px; font-size: 17px; font-weight: 700; color: var(--c-success); }
.cd-mod-done svg { width: 15px; height: 15px; }
.cd-mod-part { font-size: 17px; font-weight: 700; color: var(--ink-secondary); font-variant-numeric: tabular-nums; }
.cd-lessons { margin: 0; padding: 0; list-style: none; }
.cd-lessons > li + li { border-top: 1px solid var(--border-default); }
.cd-lessons .lesson { border-top: 0; }
.cd-lesson .lesson-title small { margin-top: 1px; }
.cd-ls-end { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cd-lesson .lesson-state { min-width: 88px; justify-content: flex-end; }
.lesson-state--current { color: var(--brand-primary-dark); }
.cd-lesson.is-locked .lesson-ico { background: var(--surface-subtle); color: var(--ink-secondary); }
.cd-lesson.is-current .lesson-title { font-weight: 600; }
.cd-lockmini { display: inline-grid; margin-left: -6px; color: var(--ink-secondary); }
.cd-lockmini svg { width: 14px; height: 14px; }
.cd-cur-tag { font-weight: 700; color: var(--brand-primary-deep); }

/* completion */
.cd-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.cd-steps li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid var(--border-default); border-radius: var(--r-tile); background: #fff; }
.cd-step-ico { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-primary-soft); color: var(--brand-primary-dark); flex-shrink: 0; }
.cd-step-ico > svg { width: 22px; height: 22px; }
.cd-step-n { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--ink-primary); color: #fff; font-size: 15px; font-weight: 800; }
.cd-step-body { min-width: 0; }
.cd-step-body p { margin: 0; font-size: 20.5px; line-height: 1.35; color: var(--ink-primary); }
.cd-step-status:not(:empty) { display: block; margin-top: 10px; }
.cd-step-status .badge { height: auto; min-height: 26px; padding: 4px 10px; white-space: normal; line-height: 1.15; }

/* instructors */
.cd-ins { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cd-ins-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid var(--border-default); border-radius: var(--r-card); background: #fff; }
.cd-ins-body { min-width: 0; }
.cd-ins-name { margin: 2px 0 8px; font-size: 23px; line-height: 1.25; }
.cd-ins-body .badge { height: auto; min-height: 26px; padding: 4px 10px; white-space: normal; line-height: 1.15; }
.cd-ins-body p { margin: 10px 0 0; font-size: 19px; line-height: 1.35; color: var(--ink-secondary); }

/* course info */
.cd-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; padding: 10px 28px; border: 1px solid var(--border-default); border-radius: var(--r-card); background: #fff; }
.cd-kv { grid-template-columns: 124px minmax(0, 1fr); gap: 0; align-content: start; }
.cd-kv dt, .cd-kv dd { padding: 13px 0; border-bottom: 1px solid var(--border-default); font-size: 20px; line-height: 1.3; }
.cd-kv dt { padding-right: 14px; }
.cd-kv dt:last-of-type, .cd-kv dd:last-of-type { border-bottom: 0; }
.cd-kv-sub { font-weight: 500; color: var(--ink-secondary); }

/* recommended + ads */
.cd-ads { padding: 56px 0 8px; }

/* preview player modal */
.cd-pv .modal-body { padding-top: 12px; }
.cd-player { overflow: hidden; border-radius: 18px; background: #0D1618; }
.cd-pl-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cd-pl-screen img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.cd-player[data-playing="true"] .cd-pl-screen img { filter: brightness(.5) saturate(.9); }
.cd-pl-tag { position: absolute; left: 14px; top: 14px; }
.cd-pl-big {
  position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255, 255, 255, .96); color: var(--brand-primary-dark); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transition: transform .2s var(--ease-out);
}
.cd-pl-big svg { width: 32px; height: 32px; margin-left: 5px; }
.cd-pl-big:hover { transform: scale(1.06); }
.cd-player[data-playing="true"] .cd-pl-big { visibility: hidden; }
.cd-pl-live { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; align-items: flex-end; gap: 4px; color: #fff; font-size: 19px; font-weight: 600; white-space: nowrap; }
.cd-player[data-playing="true"] .cd-pl-live { display: inline-flex; }
.cd-pl-live i { display: inline-block; width: 4px; height: 16px; border-radius: 2px; background: #8FE3EE; transform-origin: bottom; animation: cd-eq .9s ease-in-out infinite; }
.cd-pl-live i:nth-child(2) { animation-delay: .15s; }
.cd-pl-live i:nth-child(3) { animation-delay: .3s; margin-right: 8px; }
@keyframes cd-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.cd-pl-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px 12px 10px; color: #E6EEEF; }
.cd-pl-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; flex-shrink: 0; }
.cd-pl-btn:hover { background: rgba(255, 255, 255, .12); }
.cd-pl-btn svg { width: 18px; height: 18px; }
.cd-pl-track { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.cd-pl-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #62D6E6, #7FE3EE); }
.cd-pl-time { font-size: 18px; color: #A3B1B3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd-player :focus-visible { outline-color: #8FE3EE; }
.cd-pl-note { display: flex; gap: 8px; margin: 14px 0 0; font-size: 18.5px; line-height: 1.3; color: var(--ink-secondary); }
.cd-pl-note svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }

/* locked-lesson modal */
.cd-gate { display: grid; gap: 14px; }
.cd-gate p { margin: 0; font-size: 20.5px; color: var(--ink-primary); }
.cd-gate-lesson { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-soft); }
.cd-gate-text { flex: 1; min-width: 0; }
.cd-gate-text b { display: block; font-size: 20.5px; line-height: 1.2; }
.cd-gate-text small { display: block; font-size: 17px; color: var(--ink-secondary); }
.cd-gate-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border-default); font-size: 19px; color: var(--ink-secondary); }

/* not found / error */
.cd-nf-box, .cd-err .state-box { margin-top: 24px; }
.cd-nf-box { background: #fff; }
.cd-nf-box h1 { margin: 4px 0 0; font-size: 34px; line-height: 1.2; }
.cd-nf-rec { padding-top: 64px; padding-bottom: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1239px) {
  .cd-layout { --aside-w: 344px; --col-gap: 36px; }
  .cd-buy { padding: 20px; }
  ul.cd-meta { gap: 8px 18px; }
}
@media (max-width: 959px) {
  .cd-layout { display: block; padding-top: 0; }
  .cd-hero-bg { display: none; }
  .cd-hero { margin: 16px var(--outer) 0; padding: 30px var(--page-pad) 36px; border-radius: var(--r-section); background: var(--grad-soft); }
  .cd-hero > * { max-width: 760px; }
  .cd-aside, .cd-main, .cd-wide { max-width: calc(var(--container) + var(--page-pad) * 2); margin-inline: auto; padding-inline: var(--page-pad); }
  .cd-aside { padding-top: 24px; }
  .cd-panel { position: static; max-height: none; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .cd-media { aspect-ratio: auto; min-height: 100%; }
  .cd-media img { position: absolute; inset: 0; }
  .cd-wide { padding-top: 56px; }
}
@media (max-width: 767px) {
  .cd-hero { margin-top: 8px; padding: 22px var(--page-pad) 26px; }
  .cd-tags { margin: 14px 0 12px; }
  .cd-title { font-size: 36.5px; line-height: 1.15; }
  .cd-lead { font-size: 22px; margin-bottom: 20px; }
  .cd-inst { width: 100%; }
  ul.cd-meta { gap: 8px 16px; margin-top: 20px; }
  .cd-meta li { font-size: 19px; }
  .cd-panel { display: block; }
  .cd-media { aspect-ratio: 16 / 9; min-height: 0; }
  .cd-media img { position: static; }
  .cd-buy { padding: 18px 18px 20px; }
  .cd-sec { padding-top: 44px; }
  .cd-main > .cd-sec:first-child { padding-top: 36px; }
  .cd-sec-head h2 { font-size: 30px; }
  ul.cd-outcomes { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .cd-aud li { padding: 12px 14px; gap: 12px; font-size: 20.5px; }
  .cd-mod .acc-btn { padding: 12px 14px; gap: 12px; }
  .cd-mod-num { width: 32px; height: 32px; }
  .cd-lesson { flex-wrap: wrap; gap: 6px 12px; padding: 12px 14px; }
  .cd-lesson .lesson-title { flex: 1 1 calc(100% - 50px); }
  .cd-ls-end { width: 100%; justify-content: space-between; padding-left: 46px; }
  .cd-lesson .lesson-state { min-width: 0; }
  .cd-steps { grid-template-columns: minmax(0, 1fr); }
  .cd-steps li { padding: 16px; }
  .cd-ins { grid-template-columns: minmax(0, 1fr); }
  .cd-ins-card { padding: 16px; }
  .cd-info { grid-template-columns: minmax(0, 1fr); padding: 4px 18px; }
  .cd-info .cd-kv:first-child dt:last-of-type, .cd-info .cd-kv:first-child dd:last-of-type { border-bottom: 1px solid var(--border-default); }
  .cd-kv { grid-template-columns: 112px minmax(0, 1fr); }
  .cd-wide { padding-top: 48px; }
  .cd-ads { padding-top: 40px; }
  .cd-pl-bar { gap: 10px; padding-right: 12px; }
  .cd-nf-box h1 { font-size: 29px; }
}
@media (max-width: 479px) {
  .cd-kv { grid-template-columns: minmax(0, 1fr); }
  .cd-kv dt { padding-bottom: 0; border-bottom: 0 !important; font-size: 18.5px; }
  .cd-kv dd { padding-top: 2px; }
  .cd-bar .btn svg { display: none; }
  .cd-bar-info { max-width: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-pl-live i { animation: none; }
}

/* ==========================================================================
   About Us — Brand Story (BeDoctor section patterns)
   hero panel · intro 1/3 + 2/3 · dark "why" panel · facility ½ + ½ ·
   testimonial 2/5 + 3/5 with floating badge card · community cards · CTA panel
   ========================================================================== */
.page-about [data-icon] { display: inline-grid; place-items: center; flex-shrink: 0; }

/* ---------- hero ---------- */
.ab-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 620px;
  margin: var(--outer) var(--outer) 0; border-radius: var(--r-section); background: var(--grad-soft);
}
.ab-hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%; overflow: hidden; background: var(--surface-subtle);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%);
  animation: rv-fade-in 1s both;
}
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(246, 248, 248, .62) 0%, rgba(246, 248, 248, 0) 30%); }
.ab-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 116px; padding-bottom: 92px; }
.ab-hero-copy { max-width: 600px; }
.ab-hero-copy > * { animation: rv-fade-up .8s var(--ease-out) both; }
.ab-hero-copy > *:nth-child(2) { animation-delay: .06s; }
.ab-hero-copy > *:nth-child(3) { animation-delay: .12s; }
.ab-hero-copy > *:nth-child(4) { animation-delay: .18s; }
.ab-hero-copy .eyebrow { margin-bottom: 14px; }
.ab-hero-copy h1 { margin: 0 0 20px; font-size: clamp(47px, 4.94vw, 70px); line-height: 1.15; }
.ab-hero-copy h1 .accent-grad { display: block; }
.ab-lead { max-width: 540px; margin: 0 0 32px; font-size: 24px; line-height: 1.5; color: var(--ink-primary); }
.ab-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- เราคือใคร ---------- */
.ab-who { scroll-margin-top: 96px; }
.ab-who:focus { outline: none; }
.ab-who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 8%; align-items: center; }
.ab-who-media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-card); background: var(--surface-subtle); }
.ab-who-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-img) ease; }
.ab-who-copy h2 { margin-bottom: 28px; }
.ab-quote { width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--brand-primary-soft); color: var(--brand-primary-dark); }
.ab-quote svg { width: 28px; height: 28px; }
.ab-quote--cyan { background: var(--brand-primary-soft); color: var(--brand-primary-dark); }
.ab-who-quote { margin: 0 0 20px; font-size: var(--fs-h4); line-height: 1.4; font-weight: 600; color: var(--ink-primary); }
.ab-who-body { margin: 0 0 32px; font-size: 23px; line-height: 1.5; color: var(--ink-primary); }
.ab-sign { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 22px; font-weight: 700; color: var(--ink-primary); }
.ab-sign-line { width: 96px; border-top: 2px solid var(--brand-primary); flex-shrink: 0; }

/* ---------- สิ่งที่เราเชื่อ ---------- */
.ab-beliefs { padding-bottom: 88px; background: radial-gradient(50% 80% at 92% 0%, rgba(0, 194, 214, .32) 0%, rgba(0, 194, 214, 0) 60%), var(--grad-panel); }
.ab-bel-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.ab-bel-top h2 { margin: 0; }
.ab-bel-intro { max-width: 540px; margin: 0; font-size: 23px; color: rgba(255, 255, 255, .86); }
ol.ab-bel-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: var(--s-80) 0 0; padding: 0; list-style: none; }
.ab-bel-list li { position: relative; padding-right: 16%; }
.ab-bel-list li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: 84px; right: 16px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); }
.ab-bel-num { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff; font-size: 27px; font-weight: 800; }
.ab-bel-list h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 28px; line-height: 1.2; color: #fff; }
.ab-bel-list h3 svg { width: 20px; height: 20px; color: #9FE8F1; }
.ab-bel-list p { margin: 0; font-size: 21.5px; color: rgba(255, 255, 255, .82); }

/* ---------- ความรู้สำหรับการทำงานจริง ---------- */
.ab-pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.ab-pr-media { overflow: hidden; min-height: 480px; border-radius: var(--r-card); background: var(--surface-subtle); }
.ab-pr-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-pr-panel { display: flex; flex-direction: column; align-items: flex-start; padding: 64px 56px 56px; border-radius: var(--r-card); background: var(--grad-soft); }
.ab-pr-pin { width: 96px; height: 96px; margin-bottom: 32px; border-radius: 50%; background: #fff; color: var(--brand-primary-dark); box-shadow: var(--shadow-card); }
.ab-pr-pin svg { width: 40px; height: 40px; }
.ab-pr-panel .eyebrow { margin-bottom: 10px; }
.ab-pr-panel h2 { margin-bottom: 14px; font-size: var(--fs-h3); }
.ab-pr-text { margin: 0 0 24px; font-size: 22.5px; color: var(--ink-primary); }
ul.ab-checks { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.ab-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 21.5px; line-height: 1.3; color: var(--ink-primary); }
.ab-checks [data-icon] { margin-top: 1px; color: var(--c-success); }
.ab-checks svg { width: 20px; height: 20px; }

/* ---------- จาก Content สู่ Learning Platform ---------- */
.ab-platform { padding-top: 40px; }
.ab-pf-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px 64px; align-items: center; }
.ab-pf-copy h2 { margin-bottom: 18px; }
.ab-pf-lead { margin: 0 0 28px; font-size: var(--fs-h5); line-height: 1.45; font-weight: 500; color: var(--ink-primary); }
.ab-pf-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ab-pf-steps li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 14px; background: var(--surface-soft); font-size: 20px; font-weight: 600; line-height: 1.2; }
.ab-pf-steps svg { width: 18px; height: 18px; color: var(--brand-primary-dark); }
.ab-pf-media { position: relative; padding-bottom: 24px; }
.ab-pf-img { overflow: hidden; width: 86%; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--surface-subtle); }
.ab-pf-img img { width: 100%; height: 100%; object-fit: cover; }
.ab-float { position: absolute; right: 0; bottom: 18%; display: flex; align-items: center; gap: 16px; max-width: 420px; padding: 22px 24px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-float); }
.ab-float-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--cream-primary); color: var(--ink-primary); }
.ab-float-ico svg { width: 30px; height: 30px; }
.ab-float-text { min-width: 0; }
.ab-float b { display: block; font-size: 24.5px; line-height: 1.25; color: var(--ink-primary); }
.ab-float small { display: block; margin-top: 2px; font-size: 20.5px; font-weight: 700; color: var(--brand-primary-dark); }

/* ---------- Community / Professional Learning ---------- */
.ab-community { margin-top: 24px; }
.ab-cm-grid { margin: 0; padding: 0; list-style: none; }
.ab-cm-card { padding: 36px 32px; border-radius: var(--r-card); background: #fff; }
.ab-cm-ico { width: 60px; height: 60px; margin-bottom: 24px; border-radius: 18px; background: var(--brand-primary-soft); color: var(--brand-primary-dark); }
.ab-cm-ico svg { width: 26px; height: 26px; }
.ab-cm-ico--violet { background: var(--c-violet-tint); color: var(--c-violet); }
.ab-cm-ico--peach { background: var(--cream-primary); color: var(--ink-primary); }
.ab-cm-card h3 { margin: 0 0 10px; font-size: 27px; line-height: 1.25; }
.ab-cm-card p { margin: 0; font-size: 21.5px; color: var(--ink-primary); }

/* ---------- CTA (BeDoctor appointment CTA) ---------- */
.ab-cta-wrap { padding-bottom: 24px; }
.ab-cta {
  position: relative; overflow: hidden; padding: var(--s-80) var(--s-48) var(--s-64); border-radius: var(--r-section); text-align: center; color: #fff;
  background: radial-gradient(40% 70% at 12% 100%, rgba(239, 227, 202, .28) 0%, rgba(239, 227, 202, 0) 70%), radial-gradient(45% 80% at 95% 0%, rgba(0, 194, 214, .45) 0%, rgba(0, 194, 214, 0) 70%), var(--grad-panel-cyan);
}
.ab-cta::before, .ab-cta::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); pointer-events: none; }
.ab-cta::before { width: 420px; height: 420px; left: -150px; top: -190px; }
.ab-cta::after { width: 560px; height: 560px; right: -230px; bottom: -310px; }
.ab-cta-ico { width: 84px; height: 84px; margin: 0 auto 32px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ab-cta-ico svg { width: 36px; height: 36px; }
.ab-cta h2 { max-width: 660px; margin: 0 auto 16px; color: #fff; }
.ab-cta p { max-width: 580px; margin: 0 auto 32px; font-size: 23px; color: rgba(255, 255, 255, .88); }
.ab-cta .btn--white:hover { border-color: #fff; }
.ab-cta .btn { position: relative; z-index: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1239px) {
  .ab-hero { min-height: 580px; }
  .ab-pr-panel { padding: 48px 40px 44px; }
  .ab-bel-list li { padding-right: 8%; }
}
@media (max-width: 959px) {
  .ab-hero { min-height: 520px; }
  .ab-hero-media { width: 50%; }
  .ab-hero-copy { max-width: 440px; }
  .ab-hero-copy h1 { font-size: 47px; }
  .ab-lead { font-size: 22px; }
  .ab-hero-inner { padding-top: 104px; padding-bottom: 64px; }
  .ab-who-grid { gap: 32px; }
  .ab-who-quote { font-size: 25.5px; }
  .ab-who-body { font-size: 22px; }
  .ab-bel-top { grid-template-columns: minmax(0, 1fr); }
  ol.ab-bel-list { gap: 24px; margin-top: var(--s-48); }
  .ab-bel-list li { padding-right: 0; }
  .ab-bel-list li::after { display: none; }
  .ab-bel-list h3 { font-size: 24.5px; }
  .ab-pr-media { min-height: 0; }
  .ab-pr-panel { padding: 32px 28px; }
  .ab-pr-pin { width: 76px; height: 76px; margin-bottom: 22px; }
  .ab-pr-pin svg { width: 32px; height: 32px; }
  .ab-pf-grid { gap: 32px; }
  .ab-pf-lead { font-size: 23px; }
  .ab-pf-steps { grid-template-columns: minmax(0, 1fr); }
  .ab-float { max-width: 280px; padding: 16px 18px; gap: 12px; }
  .ab-float-ico { width: 52px; height: 52px; }
  .ab-float b { font-size: 21.5px; }
  .ab-cm-grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ab-cm-card { padding: 26px 20px; }
  .ab-cm-card h3 { font-size: 24px; }
}
@media (max-width: 767px) {
  .ab-hero { flex-direction: column; align-items: stretch; min-height: 0; margin: 0 var(--outer); border-radius: 0 0 var(--r-section) var(--r-section); }
  .ab-hero-inner { order: 1; padding: 84px 20px 24px; }
  .ab-hero-media { order: 2; position: relative; width: auto; aspect-ratio: 4 / 3; margin: 0 14px 14px; border-radius: 18px; -webkit-mask-image: none; mask-image: none; }
  .ab-hero-media::after { display: none; }
  .ab-hero-copy { max-width: none; }
  .ab-hero-copy h1 { font-size: 40.5px; line-height: 1.15; margin-bottom: 14px; }
  .ab-lead { margin-bottom: 24px; font-size: 21.5px; }
  .ab-ctas { flex-direction: column; }
  .ab-ctas .btn { width: 100%; }
  .ab-who-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ab-who-media { aspect-ratio: 16 / 11; }
  .ab-who-copy h2 { margin-bottom: 20px; }
  .ab-quote { width: 52px; height: 52px; margin-bottom: 18px; }
  .ab-quote svg { width: 24px; height: 24px; }
  .ab-who-quote { font-size: 24.5px; }
  .ab-who-body { margin-bottom: 24px; }
  .ab-sign { font-size: 20px; gap: 12px; }
  .ab-sign-line { width: 48px; }
  .ab-beliefs { padding-bottom: 48px; }
  .ab-bel-intro { font-size: 22px; }
  ol.ab-bel-list { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 36px; }
  .ab-bel-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; }
  .ab-bel-num { grid-row: span 2; width: 52px; height: 52px; margin: 0; font-size: 23px; }
  .ab-pr-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-pr-media { aspect-ratio: 4 / 3; }
  .ab-pr-panel { padding: 28px 22px; }
  .ab-pr-panel h2 { font-size: var(--fs-h3); }
  .ab-platform { padding-top: 16px; }
  .ab-pf-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-pf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-pf-media { padding-bottom: 56px; }
  .ab-pf-img { width: 100%; }
  .ab-float { left: 16px; right: 16px; bottom: 0; max-width: none; }
  .ab-community { margin-top: 8px; }
  .ab-cm-grid.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .ab-cm-card { padding: 24px 20px; }
  .ab-cm-ico { width: 52px; height: 52px; margin-bottom: 16px; }
  .ab-cta { padding: var(--s-48) 20px; }
  .ab-cta-ico { width: 64px; height: 64px; margin-bottom: 22px; }
  .ab-cta-ico svg { width: 28px; height: 28px; }
  .ab-cta .btn { width: 100%; }
}
@media (max-width: 479px) {
  .ab-pf-steps { grid-template-columns: minmax(0, 1fr); }
}
