/* Promo pages (api/promo.js): /quick-share, /streamable-alternative, /tiktok-quality-method.
   Sits on top of css/tools.css; Veel monochrome, one white button per view. */
.vp { --pe: #333330; --pe2: #262624; --pm: rgba(237, 237, 236, .64); --pf: rgba(237, 237, 236, .42); }
.vp [hidden] { display: none !important; }

/* calls to action under the headline */
.vp-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.vp-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid #fff; background: #fff; color: #121212; font: 600 15px Geist, Inter, sans-serif; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.vp-btn:hover { background: #e6e6e4; border-color: #e6e6e4; }
.vp-btn.sec { height: 46px; background: transparent; color: #fff; border-color: var(--pe); }
.vp-btn.sec:hover { background: rgba(255, 255, 255, .04); border-color: #4a4a46; }
.vp-btn:focus-visible, .vp a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vp-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--pf); }

/* before / after slider */
.vp-ba-sec { margin: 34px auto 0; max-width: 560px; }
.vp-ba { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--pe); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.vp-ba video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.vp-ba video.af { clip-path: inset(0 0 0 var(--x)); }
.vp-ba .ln { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 14px rgba(0, 0, 0, .6); }
.vp-ba .ln b { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.vp-ba .ln b::before, .vp-ba .ln b::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; border: solid #121212; border-width: 0 0 2px 2px; }
.vp-ba .ln b::before { left: 11px; transform: rotate(45deg); }
.vp-ba .ln b::after { right: 11px; transform: rotate(-135deg); }
.vp-ba .tg { position: absolute; top: 12px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; pointer-events: none; }
.vp-ba .tg.l { left: 12px; background: rgba(14, 14, 13, .72); color: #fff; }
.vp-ba .tg.r { right: 12px; background: #fff; color: #121212; }
.vp-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.vp-ba input[type=range]:focus-visible + .ln, .vp-ba:focus-within .ln b { outline: 2px solid #fff; outline-offset: 3px; }
.vp-cap { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--pf); }
.vp-cap a { color: var(--pm); text-underline-offset: 2px; }

/* comparison / method tables */
.vp-table { border: 1px solid var(--pe); border-radius: 16px; overflow: hidden; margin-top: 14px; }
.vp-tr { display: grid; grid-template-columns: minmax(120px, .8fr) 1.3fr 1fr; gap: 16px; padding: 13px 18px; font-size: 14px; line-height: 1.45; color: var(--pm); align-items: start; }
.vp-tr + .vp-tr { border-top: 1px solid var(--pe2); }
.vp-tr.th { font-size: 12.5px; font-weight: 600; color: var(--pf); padding-top: 12px; padding-bottom: 12px; }
.vp-tr.th span:nth-child(2) { color: #fff; }
.vp-tr [role=rowheader] { color: #ededec; font-weight: 500; }
.vp-tr .us { color: #fff; font-weight: 600; }
.vp-table.m .vp-tr { grid-template-columns: 110px 1fr 104px; }

/* plans */
.vp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.vp-plan { border: 1px solid var(--pe); border-radius: 16px; padding: 20px 20px 18px; }
.vp-plan.main { border-color: #5a5a57; }
.vp-plan .n { font-size: 14px; font-weight: 600; color: #fff; }
.vp-plan .gb { margin-top: 12px; font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.vp-plan .p { margin-top: 6px; font-size: 13px; color: var(--pm); font-variant-numeric: tabular-nums; }
.vp-plan p { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--pe2); font-size: 13px; color: var(--pm); }
.vp-plan p svg { flex: none; color: #fff; }

@media (max-width: 560px) {
    .vp-ctas { flex-direction: column; align-items: stretch; }
    .vp-btn { justify-content: center; }
    .vp-tr { grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 14px; }
    .vp-tr [role=rowheader] { grid-column: 1 / -1; font-size: 12.5px; color: var(--pf); }
    .vp-tr.th span:first-child { display: none; }
    .vp-table.m .vp-tr { grid-template-columns: 1fr auto; }
    .vp-table.m .vp-tr [role=rowheader] { grid-column: auto; font-size: 14px; color: #ededec; }
    .vp-table.m .vp-tr span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
    .vp-table.m .vp-tr.th span:nth-child(2) { display: none; }
    .vp-plans { grid-template-columns: 1fr; }
}
