/* Isolated Hero preview. The current landing and its shared assets stay unchanged. */
@font-face { font-family: 'BMS Thumbnail'; src: url('../fonts/roboto-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'BMS Thumbnail Condensed'; src: url('../fonts/roboto-condensed-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
.landing-preview .lv2-hero { background-image: none; }
.landing-preview .bms-preview-hero { padding: 0; }
.landing-preview .bms-preview-stage { width: 100%; min-width: 0; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 48px 0 22px; }
.landing-preview .bms-preview-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.bms-preview-copy { min-width: 0; }
.bms-preview-eyebrow-row { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.bms-preview-eyebrow-row .bms-preview-eyebrow { margin: 0; }
.bms-preview-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #8f1325; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.bms-preview-eyebrow span { color: #8c746c; }
.landing-preview .bms-preview-heading { margin: 0; max-width: 580px; font: 500 clamp(39px, 4vw, 58px)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; text-wrap: balance; }
.bms-preview-heading em { display: block; margin-top: 10px; color: #8f1325; font-style: normal; }
.bms-preview-heading > span { display: block; font-size: .64em; line-height: 1.3; letter-spacing: -.025em; }
.bms-preview-lede { max-width: 460px; margin: 22px 0 26px; color: #625951; font-size: 16px; line-height: 1.65; }
.landing-preview .bms-preview-cta { min-height: 52px; padding: 0 23px; font-size: 14px; }
.bms-preview-note { margin: 10px 0 0; color: #625951; font-size: 12px; }
.landing-preview .bms-preview-listen { display: flex; width: max-content; min-height: 48px; margin: 5px 0 0 -5px; padding: 0 5px; gap: 7px; border: 0; border-radius: 4px; background: transparent; box-shadow: none; color: #625951; font: 500 13px/1.4 Inter, system-ui, sans-serif; text-shadow: none; transform: none; filter: none; }
.landing-preview .bms-preview-listen:hover, .landing-preview .bms-preview-listen[aria-pressed="true"] { color: #8f1325; background: transparent; box-shadow: none; }
.bms-preview-listen > i { font-size: 17px; }
.bms-preview-listen > span { color: #625951; }
.bms-preview-gallery { --bms-preview-bar: #3a4d55; --bms-preview-footer: #27221e; --bms-preview-light: #fffdf8; min-width: 0; border: 1px solid #cfd1d4; border-radius: 14px; overflow: hidden; background: var(--bms-preview-light); box-shadow: 0 18px 38px #30282314; }
.bms-preview-windowbar { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 4px 12px 4px 16px; border-bottom: 1px solid #2f4047; background: var(--bms-preview-bar); }
.bms-preview-window-dots { display: flex; flex: 0 0 auto; gap: 6px; }
.bms-preview-window-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #ff7d78; }
.bms-preview-window-dots i:nth-child(2) { background: #f4c451; }
.bms-preview-window-dots i:nth-child(3) { background: #69d993; }
.bms-preview-tabs { display: flex; align-items: center; justify-content: flex-end; flex: 1; min-width: 0; gap: 8px; }
.bms-preview-tabs [role="tab"] { position: relative; isolation: isolate; flex: 0 1 auto; min-width: 44px; min-height: 48px; padding: 6px 12px; border: 0; border-radius: 6px; background: transparent; color: #ebedee; font: 700 12px/1.35 Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.bms-preview-tabs [role="tab"]::before { content: ""; position: absolute; z-index: -1; inset: 6px 0; border: 1px solid #ffffff40; border-radius: 6px; background: #ffffff0a; }
.bms-preview-tabs [role="tab"][aria-selected="true"] { color: #8f1325; }
.bms-preview-tabs [role="tab"][aria-selected="true"]::before { border-color: var(--bms-preview-light); background: var(--bms-preview-light); box-shadow: 0 2px 4px #0002; }
.bms-preview-tabs [role="tab"]:hover::before { border-color: #ffffffb3; }
.bms-preview-label-short { display: none; }
.bms-preview-panel[hidden] { display: none; }
.bms-preview-panel { margin: 0; padding: 0; }
.bms-preview-poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; background: #f4f0e8; overflow: hidden; touch-action: pan-y; user-select: none; container-type: inline-size; }
.bms-preview-poster-copy { position: absolute; inset: auto 0 0; margin: 0; padding: 12% 4% 4%; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.25) 48%, rgba(0,0,0,.4)); font: 900 clamp(22px,8.6cqw,66px)/1.1 'BMS Thumbnail',Arial,sans-serif; letter-spacing: -.025em; -webkit-text-stroke: clamp(3px,1.1cqw,8px) #242424; paint-order: stroke fill; text-shadow: 0 2px 1px #24242499; pointer-events: none; }
.bms-preview-copy-line { display: block; }
.bms-preview-poster-copy .bms-preview-copy-highlight { color: #ffdb5c; }
.bms-preview-poster-copy strong { display: block; margin-top: .15em; color: #fff; font-family: 'BMS Thumbnail Condensed','Arial Narrow',sans-serif; font-size: clamp(18px,6.7cqw,52px); font-weight: 900; letter-spacing: -.015em; }
#preview-panel-show-me-how .bms-preview-poster-copy { font-size: clamp(20px,7.5cqw,58px); }
#preview-panel-show-me-how .bms-preview-poster-copy strong { font-size: clamp(17px,5.8cqw,45px); }
.bms-preview-poster > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; min-height: 0; margin: 0; padding: 0; border: 0; object-fit: cover; object-position: center; pointer-events: none; }
.bms-preview-playbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; padding: 12px 20px 4px; border-top: 1px solid #ffffff26; background: var(--bms-preview-footer); color: var(--bms-preview-light); }
.bms-preview-play { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 9px 20px 9px 13px; border: 1px solid #ffffffb3; border-radius: 999px; background: #8f1325; color: #fff; box-shadow: 0 4px 16px #211d1a26; white-space: nowrap; cursor: pointer; }
.bms-preview-play > i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff7a; border-radius: 50%; font-size: 18px; }
.bms-preview-play > span { font: 750 13px/1.3 Inter, system-ui, sans-serif; }
.bms-preview-play small { margin-left: 7px; color: #fff; font-size: 12px; font-weight: 400; }
.bms-preview-play:hover { background: #701020; }
.bms-preview-caption { min-width: 0; margin: 0; color: var(--bms-preview-light); font-size: 15px; font-weight: 700; line-height: 1.45; }
.bms-preview-play { flex: 0 0 auto; }
.bms-preview-navigation { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px 4px; background: var(--bms-preview-footer); color: var(--bms-preview-light); }
.bms-preview-navigation button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #ebedee; font-size: 24px; cursor: pointer; }
.bms-preview-navigation button:hover { background: #ffffff14; }
.bms-preview-position { min-width: 36px; text-align: center; color: #d5cec3; font: 600 11px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.bms-preview-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.bms-preview-panel.is-entering .bms-preview-poster > img { animation: bms-preview-arrive .18s ease-out; }
@keyframes bms-preview-arrive { from { opacity: .45; } to { opacity: 1; } }
.landing-preview .bms-preview-heritage { padding-top: 32px; color: #625951; font-size: 11px; }
.landing-preview .bms-preview-dialog { width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border-radius: 12px; overflow: auto; }
.landing-preview .bms-preview-dialog > div { gap: 12px; min-height: 64px; padding: 8px 12px 8px 20px; }
.landing-preview .bms-preview-dialog h2 { font: 500 23px/1.2 Georgia, 'Times New Roman', serif; }
.landing-preview .bms-preview-dialog p { margin: 0; font-size: 12px; }
.landing-preview .bms-preview-dialog button { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 6px; cursor: pointer; }
.landing-preview .bms-preview-dialog > .bms-preview-video-shell { position: relative; display: block; min-height: 0; padding: 0; }
.landing-preview .bms-preview-dialog video { display: block; width: 100%; height: auto; max-height: min(82dvh, calc(100dvh - 140px)); background: #111; object-fit: contain; }
.landing-preview .bms-preview-video-toggle { display: none; }
.landing-preview .bms-preview-dialog[data-preview-orientation="portrait"] { width: min(520px, calc(100vw - 24px)); }
.landing-preview .bms-preview-caption-picker { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 5px 12px; overflow-x: auto; border-top: 1px solid #ffffff1f; background: #302b27; color: #d9d3cc; scrollbar-width: thin; }
.landing-preview .bms-preview-caption-picker[hidden] { display: none; }
.landing-preview .bms-preview-caption-picker > span { flex: 0 0 auto; margin-right: 2px; font: 800 11px/1 Inter,system-ui,sans-serif; letter-spacing: .08em; }
.landing-preview .bms-preview-caption-picker button { flex: 0 0 auto; width: auto; height: 32px; min-height: 32px; margin: 0; padding: 0 11px; border: 1px solid #ffffff38; border-radius: 999px; background: transparent; color: #fff; font: 650 12px/1 Inter,system-ui,sans-serif; }
.landing-preview .bms-preview-caption-picker button:hover { background: #ffffff12; }
.landing-preview .bms-preview-caption-picker button[aria-pressed="true"] { border-color: #fff; background: #8f1325; box-shadow: inset 0 0 0 1px #ffffff2e; }
.landing-preview .bms-preview-dialog.has-preview-captions video { max-height: min(82dvh, calc(100dvh - 184px)); }
.landing-preview .bms-preview-chapters { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; border-top: 1px solid #ffffff26; }
.landing-preview .bms-preview-chapters[hidden] { display: none; }
.landing-preview .bms-preview-chapters button { flex: 0 0 auto; width: auto; min-height: 48px; height: auto; margin: 0; padding: 8px 12px; border: 1px solid #ffffff40; background: #302b27; color: #fff; font: 600 12px/1.35 Inter,system-ui,sans-serif; white-space: nowrap; }
.landing-preview .bms-preview-chapters button[aria-current="true"] { border-color: #f3c878; background: #514334; }
.landing-preview .bms-preview-dialog.has-preview-chapters video { max-height: min(82dvh, calc(100dvh - 210px)); }
@media (max-width: 1000px) {
    .landing-preview .bms-preview-chapters::after { content: ""; flex: 0 0 calc(100% - 48px); }
}
.bms-preview-tabs button:focus-visible, .bms-preview-play:focus-visible, .landing-preview .bms-preview-listen:focus-visible, .landing-preview .bms-preview-cta:focus-visible, .bms-preview-dialog button:focus-visible, .bms-preview-dialog video:focus-visible { outline: 3px solid #8f1325; outline-offset: 3px; }
.bms-preview-play:focus-visible, .bms-preview-dialog button:focus-visible, .bms-preview-dialog video:focus-visible { outline-color: #f3c878; outline-offset: -5px; }
.bms-preview-tabs button:focus-visible, .bms-preview-navigation button:focus-visible { outline: 2px solid #f3c878; outline-offset: -3px; }
@media (max-width: 1000px) {
    .landing-preview .bms-preview-stage { padding: 36px 0 20px; }
    .landing-preview .bms-preview-grid { grid-template-columns: 1fr; gap: 24px; width: min(100% - 40px, 680px); }
    .landing-preview .bms-preview-heading { max-width: 630px; }
    .bms-preview-lede { max-width: 600px; margin: 18px 0 20px; }
    .bms-preview-gallery { width: 100%; }
    .bms-preview-poster { aspect-ratio: 16 / 9; }
    .landing-preview .bms-preview-heritage { width: min(100% - 40px, 680px); padding-top: 22px; }
}
@media (min-width: 1001px) and (max-height: 800px) {
    .landing-preview .bms-preview-stage { padding: 26px 0 18px; }
    .bms-preview-lede { margin: 18px 0; }
    .landing-preview .bms-preview-heritage { padding-top: 20px; }
}
@media (orientation: portrait) and (min-width: 901px) and (max-width: 1100px) {
    .landing-preview .bms-preview-heading { font-size: 45px; }
}
@media (max-width: 560px) {
    .landing-preview .bms-preview-hero { min-height: 0 !important; }
    .landing-preview .bms-preview-stage { padding: 24px 0 18px; }
    .landing-preview .bms-preview-grid { width: calc(100% - 32px); gap: 17px; }
    .bms-preview-eyebrow-row { gap: 10px; margin-bottom: 14px; }
    .bms-preview-eyebrow { margin-bottom: 14px; font-size: 10px; gap: 10px; }
    .landing-preview .bms-preview-heading { max-width: 450px; font-size: 42px; }
    .bms-preview-heading em { margin-top: 7px; }
    .bms-preview-lede { margin: 16px 0 18px; font-size: 14px; line-height: 1.55; }
    .landing-preview .bms-preview-cta { width: 100%; min-height: 52px; font-size: 14px; }
    .bms-preview-note { text-align: center; margin-top: 8px; font-size: 11px; }
    .landing-preview .bms-preview-listen { margin: 1px auto -5px; font-size: 12px; }
    .bms-preview-gallery { border-radius: 12px; }
    .bms-preview-windowbar { gap: 8px; padding: 4px 8px; }
    .bms-preview-window-dots { gap: 4px; }
    .bms-preview-window-dots i { width: 6px; height: 6px; }
    .bms-preview-tabs { gap: 6px; }
    .bms-preview-tabs [role="tab"] { padding: 6px; font-size: 11px; }
    .bms-preview-label-full { display: none; }
    .bms-preview-label-short { display: inline; }
    .bms-preview-poster { aspect-ratio: 16 / 9; }
    .bms-preview-play { min-height: 48px; padding: 7px 10px 7px 8px; gap: 6px; }
    .bms-preview-play > span { font-size: 11px; }
    .bms-preview-play > i { width: 26px; height: 26px; font-size: 16px; }
    .bms-preview-play small { display: block; margin: 2px 0 0; font-size: 10px; }
    .bms-preview-playbar { height: 80px; padding: 12px 12px 4px; gap: 12px; }
    .bms-preview-caption { font-size: 13px; }
    .landing-preview .bms-preview-heritage { width: calc(100% - 32px); padding-top: 18px; font-size: 10px; }
    .landing-preview .bms-preview-dialog > div { display: flex; align-items: center; min-height: 56px; padding: 6px 8px 6px 12px; gap: 8px; }
    .landing-preview .bms-preview-dialog h2 { font-size: 20px; }
    .landing-preview .bms-preview-dialog p { grid-column: auto; margin: 0; font-size: 11px; white-space: nowrap; }
    .landing-preview .bms-preview-dialog button { grid-column: auto; grid-row: auto; margin-left: auto; }
    .landing-preview .bms-preview-dialog > .bms-preview-video-shell { display: block; min-height: 0; padding: 0; }
    .landing-preview .bms-preview-dialog #bmsMediaSurfaceToggle { position: absolute; z-index: 3; display: block; inset: 0 0 56px; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
    .landing-preview .bms-preview-video-toggle > span { position: absolute; left: 50%; top: 50%; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #ffffff8a; border-radius: 50%; background: #211d1acc; box-shadow: 0 5px 18px #0008; font-size: 25px; opacity: 0; transform: translate(-50%,-50%) scale(.9); transition: opacity .12s ease, transform .12s ease; pointer-events: none; }
    .landing-preview .bms-preview-video-toggle.show-feedback > span { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    .landing-preview .bms-preview-video-toggle .ri-play-fill { display: none; transform: translateX(2px); }
    .landing-preview .bms-preview-video-toggle.is-paused .ri-play-fill { display: block; }
    .landing-preview .bms-preview-video-toggle.is-paused .ri-pause-fill { display: none; }
    .landing-preview .bms-preview-caption-picker { gap: 5px; padding: 5px 8px; }
    .landing-preview .bms-preview-caption-picker button { margin-left: 0; padding: 0 9px; font-size: 11px; }
}
@media (orientation: landscape) and (max-width: 740px) and (max-height: 400px) {
    .landing-preview .bms-preview-heading { font-size: 28px; line-height: .96; }
}
@media (orientation: landscape) and (min-width: 741px) and (max-width: 900px) and (max-height: 400px) {
    .landing-preview .bms-preview-heading { font-size: 29px; line-height: .96; }
}
@media (prefers-reduced-motion: reduce) {
    .bms-preview-gallery *, .bms-preview-copy * { animation: none !important; transition: none !important; }
}

/* The preserved original Hero now explains the Skill Map in the second section. */
.landing-preview #priority.bms-preview-skill-map { min-height: 0 !important; }
.landing-preview #priority .lv2-hero-stage { width: 100%; min-width: 0; padding: 64px 0 64px; }
.landing-preview #priority .lv2-hero-grid { min-height: 0; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: 56px; }
.landing-preview #priority .lv2-hero-copy { width: 100%; }
.landing-preview #priority .lv2-hero-copy::before { display: none; }
.landing-preview #priority .lv2-hero-title { font-size: clamp(38px,3.87vw,58px); }
.landing-preview #priority .lv2-command { width: 100%; min-width: 0; height: auto; aspect-ratio: auto; }
.landing-preview #priority .lv2-command-map { flex: none; width: 100%; height: auto; aspect-ratio: 681 / 385; }
.landing-preview #priority .lv2-command-map img { width: 100%; height: auto; object-fit: contain; }
.landing-preview #priority .lv2-command-loop { grid-template-columns: repeat(4,48px minmax(0,1fr)) 48px; }
.landing-preview #priority .lv2-command-loop > button { min-width: 48px; min-height: 64px; }
.landing-preview #priority .lv2-voice-seg { width: 32px; height: 32px; min-width: 32px; min-height: 32px; flex-basis: 32px; }
.landing-preview #priority .lv2-hero-actions .lv2-button { min-height: 48px; padding-inline: 20px; font-size: 13px; }
.landing-preview #priority .lv2-command-loop > button:focus-visible { outline: 2px solid #f3c878; outline-offset: 2px; }
.landing-preview .bms-preview-priority-note { width: 100%; margin-top: 18px; padding: 13px 15px; border-left: 3px solid #9f102c; background: #9f102c0a; }
.bms-preview-priority-note p { margin: 0; color: #625951; font-size: 13px; line-height: 1.55; }
.bms-preview-priority-note strong { color: #211d1a; font-weight: 650; }
.landing-preview #priority .bms-preview-priority-note + .lv2-hero-actions { margin-top: 18px; }
/* Skill Map note as points, at the note's text size. */
.landing-preview .bms-preview-priority-note .bms-note-points { max-width: none; margin: 0; gap: 6px; font-size: 13px; line-height: 1.5; }
.landing-preview .bms-preview-priority-note .bms-note-points b { color: #211d1a; font-weight: 650; }
/* A dot, not the check box: the Find / Fix / Prove checks above stay the section's main points. */
.landing-preview .bms-preview-priority-note .bms-note-points li { padding-left: 1.1em; }
.landing-preview .bms-preview-priority-note .bms-note-points li::before { top: .58em; left: .15em; width: .4em; height: .4em; border-radius: 50%; background: var(--wine); box-shadow: none; }
@media (min-width: 1001px) {
    .landing-preview #priority .lv2-command { order: 1; }
    .landing-preview #priority .lv2-hero-copy { order: 2; }
}
@media (max-width: 1000px) {
    .landing-preview #priority .lv2-hero-grid { width: min(100% - 40px,680px); grid-template-columns: 1fr; gap: 32px; }
    .landing-preview #priority .lv2-hero-stage { padding: 48px 0 48px; }
    .landing-preview #priority .lv2-hero-title { font-size: 49px; }
    .landing-preview #priority .lv2-hero-copy { justify-self: stretch; }
}
@media (max-width: 560px) {
    .landing-preview #priority .lv2-hero-stage { padding: 36px 0 40px; }
    .landing-preview #priority .lv2-hero-grid { width: calc(100% - 32px); gap: 28px; }
    .landing-preview #priority .lv2-hero-title { font-size: clamp(26px,7.92vw,36px); }
    .landing-preview #priority .lv2-command-loop { padding-inline: 8px; grid-template-columns: 48px minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr) 48px minmax(0,1fr) 48px; }
    .landing-preview #priority .lv2-command-loop > i { margin-inline: 1px; }
    .bms-preview-priority-note p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-preview #priority * { transition: none !important; animation-duration: 0s !important; }
}

/* Match the existing Lecture Library titlebar: title left, carousel right. */
.bms-preview-window-title { flex: 1; min-width: 0; color: #ebedee; font: 800 11px/1.35 Inter,system-ui,sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.bms-preview-windowbar { gap: 12px; min-height: 48px; padding-block: 2px; }
.bms-preview-windowbar .bms-preview-navigation { flex: 0 0 auto; gap: 0; min-height: 44px; padding: 0; background: transparent; }
.bms-preview-windowbar .bms-preview-navigation > button { position: relative; width: 44px; height: 44px; font-size: 19px; }
.bms-preview-windowbar .bms-preview-navigation > button::before { content: ""; position: absolute; inset: 9px; border: 1px solid #ffffff66; border-radius: 50%; pointer-events: none; }
.bms-preview-windowbar .bms-preview-navigation > button:hover { background: transparent; color: #f3c878; }
.bms-preview-windowbar .bms-preview-tabs { flex: 0 0 auto; gap: 0; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"] { flex: 0 0 24px; width: 24px; min-width: 24px; height: 44px; min-height: 44px; padding: 0; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"]::before { inset: auto; top: 19px; left: 9px; width: 6px; height: 6px; border: 0; border-radius: 999px; background: #a5b1b6; box-shadow: none; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"][aria-selected="true"]::before { left: 4px; width: 16px; background: #d9822b; }
.bms-preview-playbar { padding-bottom: 12px; }
@media (max-width: 560px) {
    .bms-preview-windowbar { gap: 8px; }
    .bms-preview-window-title { font-size: 9px; letter-spacing: .025em; }
}

/* Single image surface: reuse the gold-to-maroon 3D control from section two. */
.bms-preview-poster { --poster-play-size: clamp(35.2px, 7.52cqw, 51.2px); }
.bms-preview-poster .bms-preview-play { position: absolute; z-index: 2; left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%,-50%); width: max(44px,var(--poster-play-size)); height: max(44px,var(--poster-play-size)); min-height: 0; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; transition: transform .15s ease; }
/* The visible circle is 80% of its former diameter; retain a 44px mobile hit area. */
.bms-preview-poster .bms-preview-play::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: var(--poster-play-size); height: var(--poster-play-size); border: 0; border-radius: 50%; background: linear-gradient(160deg,#f6dfb0 0%,#d19a3a 38%,#8f1325 100%); box-shadow: 0 2px 5px rgba(33,29,26,.28), 0 0 15px 6px rgba(0,0,0,.32), 0 7px 18px rgba(0,0,0,.44), inset 0 1px 1px rgba(255,255,255,.62), inset 0 -2px 3px rgba(80,12,20,.32); transition: box-shadow .15s ease, filter .15s ease; pointer-events: none; }
.bms-preview-poster .bms-preview-play > i { position: relative; width: auto; height: auto; border: 0; border-radius: 0; color: #fff; font-size: clamp(18.4px, 3.6cqw, 24px); transform: translateX(1.6px); text-shadow: 0 1px 0 rgba(80,12,20,.35); pointer-events: none; }
.bms-preview-poster .bms-preview-play > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bms-preview-poster .bms-preview-play:hover { background: transparent; transform: translate(-50%,-50%) scale(1.05); }
.bms-preview-poster .bms-preview-play:hover::before { filter: brightness(1.06); }
.bms-preview-poster .bms-preview-play:active { transform: translate(-50%,-50%) scale(.97); }
.bms-preview-poster .bms-preview-play:active::before { box-shadow: 0 0 10px 4px rgba(0,0,0,.28), 0 3px 9px rgba(0,0,0,.38), inset 0 2px 4px rgba(80,12,20,.38); }
.bms-preview-poster-copy { padding-right: 4%; }

/* Natural document flow, with breathing room independent of viewport height. */
.landing-preview #home.bms-preview-hero { --bms-action-gap: 26px; display: block !important; min-height: 0 !important; padding: 0 !important; background: var(--paper); }
/* Sections alternate paper / paper-2 down the page: hero paper, 01 paper-2, 02 ACT paper, 03 Skill Map paper-2, ... */
.landing-preview #priority.bms-preview-skill-map,
.landing-preview #pricing.lv2-pricing { background: var(--paper-2); }
.landing-preview #faq.lv2-faq-section { background: var(--paper); }
.landing-preview #home .bms-preview-stage { flex: none; display: block; min-height: 0; padding: 56px 0; }
.landing-preview #home > .lv2-proof { position: static; margin: 0; flex: none; }
.bms-preview-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.landing-preview .bms-preview-actions .bms-preview-cta { width: auto; min-height: 46px; padding-inline: 20px; font-size: 13px; box-shadow: 0 4px 10px #8f13251a; }
.bms-preview-actions .bms-preview-note { margin: 0; min-width: 0; text-align: left; font-size: 13px; line-height: 1.5; }
.landing-preview .bms-preview-listen { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; min-height: 44px; padding: 0 16px 0 14px; border: 1.5px solid #a8a29a; border-radius: 999px; background: rgba(33,29,26,.32); color: #fff; box-shadow: 0 8px 20px #0004; backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; line-height: 1; }
.landing-preview .bms-preview-listen > span { color: inherit; }
.landing-preview .bms-preview-listen:hover, .landing-preview .bms-preview-listen[aria-pressed="true"] { color: #fff; background: rgba(33,29,26,.45); box-shadow: 0 8px 20px #0004; }
.bms-preview-eq { display: flex; align-items: end; gap: 2px; width: 18px; height: 14px; }
.bms-preview-eq i { display: block; width: 2px; height: 36%; border-radius: 1px; background: var(--wine); transform-origin: bottom; transform: scaleY(.45); animation: bms-preview-equalize 1s ease-in-out infinite; }
.bms-preview-eq i:nth-child(2) { height: 78%; background: color-mix(in srgb,var(--wine) 45%,var(--gold)); animation-delay: .16s; }
.bms-preview-eq i:nth-child(3) { height: 100%; background: var(--gold); animation-delay: .32s; }
.bms-preview-eq i:nth-child(4) { height: 62%; background: color-mix(in srgb,var(--gold) 45%,var(--green)); animation-delay: .48s; }
.bms-preview-eq i:nth-child(5) { height: 46%; background: var(--green); animation-delay: .64s; }
.bms-preview-listen[data-voice-eq="playing"] .bms-preview-eq i { animation-iteration-count: infinite; }
.bms-preview-listen[data-voice-eq="paused"] .bms-preview-eq i { animation: none; }
@keyframes bms-preview-equalize { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.landing-preview #home .bms-preview-lede { margin-bottom: var(--bms-action-gap); }
.landing-preview #home .bms-preview-heritage { width: auto; margin: var(--bms-action-gap) 0 0; padding: 0; font-size: 13px; line-height: 1.5; }
@media (max-width:1000px) {
    .landing-preview #home.bms-preview-hero { --bms-action-gap: 20px; }
    .landing-preview #home .bms-preview-stage { padding: 40px 0; }
}
@media (max-width:560px) {
    .landing-preview #home.bms-preview-hero { --bms-action-gap: 18px; padding-bottom: 0 !important; }
    .landing-preview #home .bms-preview-stage { padding: 32px 0; }
    .bms-preview-actions { gap: 10px; flex-wrap: nowrap; }
    .landing-preview .bms-preview-actions .bms-preview-cta { flex-shrink: 0; min-height: 44px; padding-inline: 12px; font-size: 11px; }
    .bms-preview-actions .bms-preview-note { font-size: 12px; }
    .landing-preview #home .bms-preview-heritage { font-size: 12px; }
    .landing-preview #home .bms-preview-grid { gap: 28px; }
}
@media (prefers-reduced-motion:reduce) { .bms-preview-eq i { animation: none !important; } }

/* Keep the active narration controls in the same 3D top-right pill as the invite. */
.landing-preview .lv2-voice-player:not(.is-invite) {
    top: 92px;
    right: var(--lv2-voice-invite-right,20px);
    bottom: auto;
    left: auto;
    width: 132px;
    height: 38px;
    padding: 5px 6px;
    border: 1px solid rgba(112,59,28,.5);
    border-radius: 999px;
    background: linear-gradient(160deg,#f6dfb0 0%,#d19a3a 38%,#8f1325 100%);
    color: #fff;
    box-shadow: 0 2px 5px rgba(33,29,26,.14),0 0 15px 6px rgba(0,0,0,.16),0 7px 18px rgba(0,0,0,.22),inset 0 1px 1px rgba(255,255,255,.62),inset 0 -2px 3px rgba(80,12,20,.34);
    backdrop-filter: none;
}
.landing-preview .lv2-voice-player:not(.is-invite) .lv2-voice-player-bar { gap: 1px; height: 26px; }
.landing-preview .lv2-voice-player:not(.is-invite) .lv2-voice-player-bar #lv2VoiceTitle {
    flex: 0 1 50px;
    width: 50px;
    min-width: 0;
    max-width: 50px;
    padding: 0 2px;
    overflow: hidden;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10px;
    text-shadow: 0 1px 1px rgba(80,12,20,.55);
}
.landing-preview .lv2-voice-player:not(.is-invite) button {
    width: 14px;
    min-width: 14px;
    min-height: 24px;
    padding: 0;
    border-radius: 999px;
    text-shadow: 0 1px 1px rgba(80,12,20,.55);
}
.landing-preview .lv2-voice-player:not(.is-invite) button:hover { background: rgba(255,255,255,.16); }
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePlay {
    width: 20px;
    height: 26px;
    min-width: 20px;
    min-height: 26px;
    background: transparent;
    box-shadow: none;
}
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePlay:hover { background: rgba(255,255,255,.16); }
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePlay svg { width: 14px; height: 14px; }
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoicePrev:disabled,
.landing-preview .lv2-voice-player:not(.is-invite) #lv2VoiceNext:disabled { opacity: .38; cursor: default; }
.landing-preview.lv2-voice-open { padding-bottom: 0; }
@media (max-width:480px) {
    .landing-preview .lv2-voice-player:not(.is-invite) {
        top: 64px;
        right: var(--lv2-voice-invite-right,12px);
        left: auto;
        bottom: auto;
        width: 132px;
        height: 38px;
        padding: 5px 6px;
        border-radius: 999px;
    }
}

/* All preview carousels use one controller and the same 38px Mac titlebar. */
.bms-preview-gallery { position: relative; }
.bms-preview-windowbar { height: 38px; min-height: 38px; padding-block: 0; }
.bms-preview-windowbar .bms-preview-navigation { height: 36px; min-height: 36px; gap: 7px; }
.bms-preview-windowbar .bms-preview-navigation > button { width: 24px; height: 24px; border: 1px solid #ffffff45; border-radius: 50%; background: #ffffff12; font-size: 17px; }
.bms-preview-windowbar .bms-preview-navigation > button::before { content: none; }
.bms-preview-windowbar .bms-preview-navigation > button:hover { background: #ffffff26; color: #fff; }
.bms-preview-windowbar .bms-preview-tabs { gap: 5px; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"] { flex: 0 0 6px; width: 6px; min-width: 6px; height: 36px; min-height: 36px; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"]::before { top: 15px; left: 0; background: #ffffff55; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"][aria-selected="true"] { flex-basis: 16px; width: 16px; }
.bms-preview-windowbar .bms-preview-tabs [role="tab"][aria-selected="true"]::before { left: 0; }
.landing-preview .lv2-level-result { --lv2-window-path: "Level Test"; }
.landing-preview [data-preview-product-carousel]::before { padding-right: var(--carousel-controls-width,200px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-track { display: block; transform: none; transition: none; touch-action: pan-y; user-select: none; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide[hidden] { display: none !important; }
/* Screens slide (landing-preview-carousels.js sets entering, leaving and slide-back); the leaving one lies over the
   track until it is out. */
.landing-preview [data-preview-product-carousel] .lv2-carousel-track { position: relative; overflow: hidden; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide.entering { animation: preview-slide-in .45s cubic-bezier(.22, .61, .36, 1); }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide.leaving { position: absolute; inset: 0; animation: preview-slide-out .45s cubic-bezier(.22, .61, .36, 1) forwards; }
.landing-preview .slide-back > .entering { animation-name: preview-slide-in-back !important; }
.landing-preview .slide-back > .leaving { animation-name: preview-slide-out-back !important; }
@keyframes preview-slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes preview-slide-out { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes preview-slide-in-back { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes preview-slide-out-back { from { transform: none; } to { transform: translateX(100%); } }
.landing-preview [data-preview-product-carousel].has-lightbox .lv2-carousel-track { cursor: zoom-in; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-slide img { pointer-events: none; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls { display: flex; top: 1px; right: 12px; height: 36px; gap: 7px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls > button { width: 24px; height: 24px; margin: 0; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls > div { gap: 5px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"] { position: relative; width: 6px; height: 36px; border: 0; background: transparent; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"]::before { content: ""; position: absolute; top: 15px; left: 0; width: 6px; height: 6px; background: #ffffff55; border-radius: 9px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"].active { width: 16px; }
.landing-preview [data-preview-product-carousel] .lv2-carousel-controls [role="tab"].active::before { width: 16px; background: #d9822b; }
.landing-preview [data-unified-carousel] button:focus-visible { outline: 2px solid #f3c878; outline-offset: -2px; }
@media (prefers-reduced-motion:reduce) { .landing-preview [data-unified-carousel] * { animation: none !important; transition: none !important; } }

/* 02 / ACT: the carousel window is titled like the SAT one. */
.landing-preview .lv2-act-ui { --lv2-window-path: "Full ACT Exam"; }

/* 01 / SAT: "vs Real SAT" opens the CT or CC comparison chart in a modal. */
.landing-preview .lv2-real-compare { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 2px 10px 0; border: 1px solid #2563eb55; border-radius: 999px; background: #2563eb12; color: #1d4ed8; font-size: 12px; font-weight: 800; line-height: 1.7; white-space: nowrap; vertical-align: 1px; cursor: pointer; }
.landing-preview .lv2-real-compare:hover { background: #2563eb22; }
.landing-preview .lv2-real-compare.cc { border-color: #c2780366; background: #c2780314; color: #9a5d02; }
.landing-preview .lv2-real-compare.cc:hover { background: #c2780326; }
.landing-preview .lv2-real-compare:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* The chart and report dialogs share the demo video dialog's frame (.bms-preview-dialog): title, note, close. */
.landing-preview .bms-chart-dialog > .bms-chart-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: stretch; gap: 0; min-height: 0; padding: 0; }
.landing-preview .bms-chart-dialog .bms-chart-figure { width: 100%; max-width: calc((100dvh - 96px) * 1.33); justify-self: center; background: #fff; }
.landing-preview .bms-chart-dialog .bms-chart-figure svg { display: block; }
.landing-preview .bms-chart-notes { padding: 20px 22px; border-left: 1px solid #ffffff1f; background: #302b27; color: #e9e4dc; font-size: 15px; line-height: 1.55; }
.landing-preview .bms-chart-notes p, .landing-preview .bms-chart-notes ul { margin: 0 0 14px; }
.landing-preview .bms-chart-notes ul { padding-left: 18px; list-style: disc; }
.landing-preview .bms-chart-notes li + li { margin-top: 8px; }
.landing-preview .bms-chart-notes strong { color: #fff; }
.landing-preview .bms-chart-notes b.ct { color: #7aa2ff; }
.landing-preview .bms-chart-notes b.cc { color: #f2a33a; }
.landing-preview .bms-chart-notes b.real { color: #ff8a8a; }
.landing-preview .bms-chart-notes .bms-chart-source { margin-bottom: 0; color: #b9b0a5; font-size: 12.5px; line-height: 1.5; }
@media (max-width:900px) { .landing-preview .bms-chart-dialog > .bms-chart-body { grid-template-columns: 1fr; } .landing-preview .bms-chart-dialog .bms-chart-figure { max-width: none; } .landing-preview .bms-chart-notes { border-left: 0; border-top: 1px solid #ffffff1f; } }
@media (max-width:560px) { .landing-preview .bms-chart-notes { padding: 14px 14px 16px; font-size: 14px; } }

/* 01 / 02: Print Report opens the sample report as a flipbook (page-flip, loaded on first open). */
.landing-preview .lv2-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.landing-preview .lv2-report-button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid #b9b0a5; border-radius: 6px; background: #fff; color: #3a3330; font: 700 14px/1 Inter, system-ui, sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(33,29,26,.06); }
.landing-preview .lv2-report-button i { font-size: 17px; }
.landing-preview .lv2-report-button:hover { border-color: var(--wine); color: var(--wine); }
.landing-preview .lv2-report-button:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.landing-preview .bms-report-dialog > .bms-report-stage { display: block; min-height: 0; padding: 18px 18px 8px; background: #3a3330; }
.landing-preview .bms-report-stage > div { width: min(100%, calc((100dvh - 190px) * 1.545)); margin: 0 auto; }
.landing-preview .bms-report-stage { overflow: hidden; }
.landing-preview .bms-report-page { background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.landing-preview .bms-report-page img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.landing-preview .bms-report-nav { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 6px 12px; border-top: 1px solid #ffffff1f; background: #302b27; color: #e9e4dc; font: 650 13px/1 Inter, system-ui, sans-serif; }
.landing-preview .bms-report-nav button { flex: 0 0 40px; width: 40px; height: 40px; margin: 0; border: 1px solid #ffffff40; border-radius: 50%; background: transparent; color: #fff; font-size: 22px; }
.landing-preview .bms-report-nav button:disabled { opacity: .35; cursor: default; }
.landing-preview .bms-report-nav span { min-width: 120px; text-align: center; }
.landing-preview .bms-report-nav .bms-report-zoom-out { margin-left: 10px; }
.landing-preview .bms-report-zoom-level { min-width: 42px; font-variant-numeric: tabular-nums; }
/* The flipbook's title bar matches the carousel lightbox: window dots, small uppercase title, page note on the right. */
.landing-preview .bms-report-dialog > div:first-child { gap: 14px; min-height: 44px; padding: 4px 8px 4px 16px; }
.landing-preview .bms-report-dialog h2 { overflow: hidden; color: #fff; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.landing-preview .bms-report-dialog > div:first-child p { margin-left: auto; color: #d9d2c8; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .04em; white-space: nowrap; }
.landing-preview .bms-report-dialog > div:first-child button { flex: 0 0 36px; width: 36px; height: 36px; margin-left: 0; border-radius: 50%; font-size: 22px; }
.landing-preview .bms-report-dialog > div:first-child button:hover { background: #ffffff1f; }
@media (max-width:560px) {
    .landing-preview .bms-report-dialog > .bms-report-stage { padding: 10px 8px 4px; }
    .landing-preview .bms-report-nav { gap: 8px; padding: 6px 8px; }
    .landing-preview .bms-report-nav span { min-width: 84px; }
    .landing-preview .bms-report-nav .bms-report-zoom-out { margin-left: 4px; }
    .landing-preview .bms-chart-dialog h2 { white-space: nowrap; font-size: 18px; }
    .landing-preview .bms-chart-dialog > div:first-child { flex-wrap: wrap; row-gap: 0; padding-bottom: 10px; }
    .landing-preview .bms-chart-dialog p { order: 3; flex: 0 0 100%; white-space: normal; }
    .landing-preview .bms-report-dialog > div:first-child { gap: 10px; padding-left: 12px; }
    .landing-preview .bms-report-dialog > div:first-child p { display: none; }
    .landing-preview .bms-report-dialog > div:first-child button { margin-left: auto; }
}

/* Phones: let the pricing title wrap naturally instead of leaving "enough" alone on a line. */
@media (max-width: 560px) {
    .landing-preview .lv2-pricing h2 br { display: none; }
}

/* Plans read 6 · 3 · 1 (the HTML order) so the 6-month price anchors first and 3 Months sits in the middle.
   Phones, where the plans stack, lead with the recommended 3 Months, then 6 Months, then 1 Month.
   Short landscape phones keep three columns, so they keep the 6 · 3 · 1 order too. */
@media (max-width: 699px) and (orientation: portrait), (max-width: 699px) and (min-height: 561px) {
    .landing-preview .lv2-paid-plans > .lv2-plan-card.recommended { order: -1; border-top: 0; }
    .landing-preview .lv2-paid-plans > .lv2-plan-card:first-child { border-top: 1px solid #d9d0c4; }
}

/* The closing call to action on light grey, so it does not merge into the dark footer under it, with the red
   trial button. */
.landing-preview .lv2-final-cta { background: #e4e2df; color: var(--ink); }
.landing-preview .lv2-final-cta p { color: var(--muted); }
.landing-preview .lv2-final-cta .lv2-button { border: 1px solid #c62a30; border-radius: 0; background: #b82025; color: #fff; }
.landing-preview .lv2-final-cta .lv2-button:hover { background: #9f1920; color: #fff; }

/* Footer: brand left and links right, the product line under them, then the rule, the copyright and
   the SAT/ACT trademark notice in smaller, quieter type. Dark grey like the app's own footer. */
.landing-preview .lv2-footer { padding: 26px 0 24px; background: var(--ink); }
.landing-preview .lv2-footer .lv2-wrap { grid-template-columns: 1fr auto; align-items: center; gap: 14px 24px; }
.landing-preview .lv2-footer .lv2-footer-links { justify-self: end; display: flex; gap: 22px; font-size: 12px; }
.landing-preview .lv2-footer .lv2-footer-links a:hover { text-decoration: underline; }
.landing-preview .lv2-footer span { grid-column: 1 / -1; color: #ffffffd9; }
.landing-preview .lv2-footer small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #ffffff2a; font-size: 12px; }
.landing-preview .lv2-footer .lv2-footer-tm { grid-column: 1 / -1; max-width: 920px; margin: -8px 0 0; color: #ffffffa8; font-size: 10.5px; line-height: 1.55; }
@media (max-width: 560px) {
    .landing-preview .lv2-footer { padding: 20px 0 18px; }
    .landing-preview .lv2-footer .lv2-wrap { gap: 12px 16px; }
    .landing-preview .lv2-footer .lv2-footer-links { gap: 16px; }
    .landing-preview .lv2-footer small { padding-top: 14px; }
    .landing-preview .lv2-footer .lv2-footer-tm { margin-top: -6px; font-size: 10px; }
}

/* One spacing system for every section (the sections were built one by one and drifted apart): the same side
   margins at each screen size, the same gap between the two columns, and product windows that fill their column
   so both columns reach the page margins. Two columns stack at 900px and below. */
.landing-preview { --preview-side: 64px; --preview-gap: 72px; }
@media (max-width: 1100px) { .landing-preview { --preview-side: 32px; --preview-gap: 48px; } }
@media (max-width: 560px) { .landing-preview { --preview-side: 16px; } }
.landing-preview .lv2-wrap, .landing-preview #home .bms-preview-grid, .landing-preview #priority .lv2-hero-grid { width: min(1296px, calc(100% - 2 * var(--preview-side))); margin-inline: auto; }
.landing-preview .lv2-chapter-grid, .landing-preview .lv2-chapter-grid.reverse, .landing-preview .lv2-loop-grid, .landing-preview #priority .lv2-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--preview-gap); }
.landing-preview #home .bms-preview-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--preview-gap); }
.landing-preview .lv2-faq-grid { gap: var(--preview-gap); }
.landing-preview .lv2-chapter-grid > .lv2-product, .landing-preview #adaptive-test .lv2-product, .landing-preview #home .bms-preview-grid > .lv2-product, .landing-preview #priority .lv2-command { width: 100%; max-width: none; justify-self: stretch; }
@media (max-width: 900px) {
    .landing-preview .lv2-chapter-grid, .landing-preview .lv2-chapter-grid.reverse, .landing-preview .lv2-loop-grid, .landing-preview #priority .lv2-hero-grid,
    .landing-preview #home .bms-preview-grid, .landing-preview .lv2-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
/* From 1180px (where the menu button gives way to the links) to 1360px, the wider side margins leave the ten links
   (About Us included), Log in and the trial button too little room; tighter link spacing keeps each on one line. */
@media (min-width: 1180px) and (max-width: 1359.98px) {
    .landing-preview .lv2-links { gap: 20px; }
    .landing-preview .lv2-actions { gap: 16px; }
}
@media (min-width: 1180px) and (max-width: 1259.98px) {
    .landing-preview .lv2-links { gap: 14px; margin-left: 24px; }
}

/* Larger view of a carousel's screens (landing-preview-carousels.js). */
.preview-lightbox { --lightbox-ratio: 1.6; width: min(1600px, calc(100vw - 32px), calc((100vh - 32px - 44px - 46px) * var(--lightbox-ratio))); max-width: none; max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #3a4d55; color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.preview-lightbox::backdrop { background: rgba(20, 17, 15, .82); }
.preview-lightbox-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 8px 0 16px; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .1em; }
.preview-lightbox-lights { display: flex; gap: 7px; }
.preview-lightbox-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.preview-lightbox-lights i:nth-child(2) { background: #febc2e; }
.preview-lightbox-lights i:nth-child(3) { background: #28c840; }
.preview-lightbox-title { overflow: hidden; color: #fff; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.preview-lightbox-count { margin-left: auto; color: #d9e2e5; letter-spacing: .04em; }
.preview-lightbox button { display: grid; place-items: center; border: 0; color: #fff; cursor: pointer; }
.preview-lightbox-close { width: 36px; height: 36px; border-radius: 50%; background: transparent; font-size: 22px; }
.preview-lightbox-close:hover { background: #ffffff1f; }
.preview-lightbox-stage:focus { outline: none; }
.preview-lightbox-stage { position: relative; display: grid; overflow: hidden; background: #fff; touch-action: pan-y; user-select: none; }
.preview-lightbox-stage > figure { grid-area: 1 / 1; display: flex; flex-direction: column; margin: 0; background: #fff; }
.preview-lightbox-stage > figure[hidden] { display: none; }
.preview-lightbox-stage > figure.entering { animation: preview-slide-in .45s cubic-bezier(.22, .61, .36, 1); }
.preview-lightbox-stage > figure.leaving { position: absolute; inset: 0; animation: preview-slide-out .45s cubic-bezier(.22, .61, .36, 1) forwards; }
.preview-lightbox-stage.slide-back > figure.entering { animation-name: preview-slide-in-back; }
.preview-lightbox-stage.slide-back > figure.leaving { animation-name: preview-slide-out-back; }
.preview-lightbox-stage svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 32px - 44px - 46px); }
.preview-lightbox-stage img { display: block; width: 100%; height: auto; aspect-ratio: var(--lightbox-ratio); max-height: calc(100vh - 32px - 44px - 46px); object-fit: contain; background: #fff; pointer-events: none; }
.preview-lightbox-stage figcaption { display: grid; align-items: center; min-height: 46px; padding: 8px 18px; background: #3a4d55; color: #d9e2e5; font-size: 13px; line-height: 1.4; }
.preview-lightbox-stage figcaption b { color: #fff; }
.preview-lightbox-prev, .preview-lightbox-next { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: rgba(33, 29, 26, .72) !important; font-size: 26px; }
.preview-lightbox-prev { left: 12px; }
.preview-lightbox-next { right: 12px; }
.preview-lightbox-prev:hover, .preview-lightbox-next:hover { background: rgba(33, 29, 26, .9) !important; }
.preview-lightbox.single .preview-lightbox-prev, .preview-lightbox.single .preview-lightbox-next { display: none; }
@media (max-width: 560px) {
    .preview-lightbox { width: min(calc(100vw - 16px), calc((100vh - 16px - 44px - 64px) * var(--lightbox-ratio))); max-height: calc(100vh - 16px); }
    .preview-lightbox-prev, .preview-lightbox-next { width: 36px; height: 36px; margin-top: -18px; font-size: 22px; }
    .preview-lightbox-prev { left: 6px; }
    .preview-lightbox-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .preview-lightbox-stage > figure { animation: none !important; } }
