/* ══ Landing-page PHONE layer ═════════════════════════════════════════
   https://landing.vodlix.com/shared/lp/lp-mobile.css

   One place for the phone fixes the owner asked for on 2026-09-16 (and the
   base layout of the blocks those fixes touch), so the reference page, the
   church page and the element library stay in step.
   Desktop is untouched: every layout rule sits under a max-width query,
   except the dark-mode logo wall and the label swap, which are theme and
   copy fixes. Selectors lead with `.pg` so they outrank page-local rules
   without !important.

   Load after the page's own stylesheet:
     <link rel="stylesheet" href="https://landing.vodlix.com/shared/lp/lp-mobile.css">
   ══════════════════════════════════════════════════════════════════════ */

/* ── Short labels: <span class="lbl-l">long</span><span class="lbl-s">short</span>
   The long label on desktop, the short one on a phone. ────────────────── */
.lbl-s { display:none; }
@media (max-width: 859.98px) {
  .lbl-l { display:none; }
  .lbl-s { display:inline; }
}

/* ── TOP BAR ("looks ugly"; "Start and book a meeting buttons needed at top")
   Under 860px the DS hides the menu pill but kept its three-column grid,
   so the actions floated in the middle. Logo left, actions right: Start
   (filled), Book Demo (outline), the mode toggle and the menu, all 40px. ── */
@media (max-width: 859.98px) {
  .pg .d-nav { grid-template-columns:auto minmax(0,1fr); gap:8px; padding:10px 14px; }
  .pg .d-nav__actions { justify-self:end; gap:6px; }
  .pg .vp-navghost { display:inline-flex; height:40px; padding:0 13px; font-size:12.5px; font-weight:600; border-width:1px; }
  .pg .d-nav__ctatab { height:40px; padding:0 15px; }
}
/* 360px phones: the toggle leaves the bar (it is repeated in the menu sheet)
   so both buttons keep their labels. */
@media (max-width: 374.98px) {
  .pg .d-nav__actions > .lp-mode { display:none; }
  .pg .vp-navghost, .pg .d-nav__ctatab { padding:0 11px; }
}

/* ── CLIENT LOGO WALL: the logos are the near-black set, which vanished on
   the dark ground. In dark mode they are drawn white. ─────────────────── */
:root[data-mode="dark"] .pg .clientwall-track img { filter:brightness(0) invert(1); opacity:.62; }
:root[data-mode="dark"] .pg .clientwall-track img:hover { opacity:1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) .pg .clientwall-track img { filter:brightness(0) invert(1); opacity:.62; }
}

/* ── STATS: four tiles, so a phone shows an even 2 x 2 and desktop a full
   row of four (three left an empty slot in both). ───────────────────── */
.pg .vp-stats { grid-template-columns:repeat(2, minmax(0,1fr)); }
@container (min-width: 640px) { .pg .vp-stats { grid-template-columns:repeat(4, minmax(0,1fr)); } }

/* ── HOW IT WORKS, base layout (desktop): four steps on one rail. The church
   page never had these rules (it styled only the type), so its steps sat in
   a single column on desktop too. Unprefixed, so a page's own rules win. ── */
.hw-a { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; position:relative; }
.hw-a--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hw-a::before { content:""; position:absolute; left:12%; right:12%; top:27px; height:2px;
  background:linear-gradient(90deg, var(--brand) 0%, var(--brand) 72%, var(--line) 72%); }
.hw-a__s { position:relative; padding:0 14px; text-align:center; min-width:0; display:flex; flex-direction:column; }
.hw-a__s > p { flex:1 1 auto; }
.hw-a__n { position:relative; z-index:1; width:54px; height:54px; margin:0 auto 16px; border-radius:50%;
  display:grid; place-items:center; background:var(--brand); color:#fff; font:700 19px/1 var(--ff-body), sans-serif; box-shadow:0 0 0 7px var(--bg); }
.hw-a__s--last .hw-a__n { background:var(--surface); color:var(--sub); border:2px solid var(--line); }
.hw-a h4 { min-height:calc(2 * 1.3em); text-wrap:balance; }

/* ── HOW IT WORKS: a vertical timeline on a phone ("1..2..3..4 vertical").
   Number on the left, a brand rail joining the steps, the copy beside it
   and the timing as a small chip. ────────────────────────────────────── */
@media (max-width: 859.98px) {
  .pg .hw-a, .pg .hw-a--3 { grid-template-columns:1fr; gap:0; margin:6px auto 30px; max-width:520px; }
  .pg .hw-a::before { display:none; }
  .pg .hw-a__s { display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:16px; align-items:start;
    text-align:left; padding:0 0 26px; }
  .pg .hw-a__s::before { content:""; position:absolute; left:21px; top:50px; bottom:6px; width:2px; border-radius:2px;
    background:linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 35%, transparent)); }
  .pg .hw-a__s--last { padding-bottom:0; }
  .pg .hw-a__s--last::before { display:none; }
  .pg .hw-a__n { grid-column:1; grid-row:1 / span 3; width:44px; height:44px; margin:0; font-size:16px; box-shadow:0 0 0 5px var(--bg); }
  .pg .hw-a__s > :not(.hw-a__n) { grid-column:2; }
  .pg .hw-a h4 { font-size:16px; min-height:0; margin:10px 0 6px; text-wrap:pretty; }
  .pg .hw-a p { font-size:14px; line-height:1.6; margin:0 0 10px; }
  .pg .hw-a__meta { justify-self:start; display:inline-block; font-size:12px; padding:4px 10px; border-radius:999px;
    background:var(--brand-tint); color:var(--accent-ink); }
  .pg .hw-a__s--last .hw-a__meta { background:var(--btn-soft); color:var(--sub); }
}

/* ── NO-CODE TILES: a compact list on a phone, icon beside the copy, instead
   of five centred blocks stacked a screen and a half tall. ───────────── */
@media (max-width: 559.98px) {
  .pg .vp-nocode .vp-eyebrow { text-align:center; margin-bottom:16px; }
  .pg .vp-nocode .fgrid { gap:0; }
  .pg .vp-nocode .fgrid > div { display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:14px; align-items:start;
    text-align:left; padding:14px 0; border-top:1px solid var(--line); }
  .pg .vp-nocode .fgrid > div:first-child { border-top:0; }
  .pg .vp-nocode .fgrid .ico { grid-row:1 / span 2; width:44px; height:44px; margin:0; border-radius:12px; }
  .pg .vp-nocode .fgrid h6 { font-size:15px; margin:1px 0 3px; }
  .pg .vp-nocode .fgrid p { font-size:13.5px; margin:0; }
}

/* ── INDUSTRY CARDS: two-up square photo tiles on a phone, name on the photo. */
@container (max-width: 559.98px) {
  .pg .vp-inds { grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  .pg .vp-ind { position:relative; border-radius:14px; border:0; }
  .pg .vp-ind img { aspect-ratio:1 / 1; height:100%; object-position:50% 40%; }
  .pg .vp-ind div { position:absolute; left:0; right:0; bottom:0; padding:36px 11px 11px;
    background:linear-gradient(180deg, transparent, rgba(0,0,0,.55) 45%, rgba(0,0,0,.82)); }
  .pg .vp-ind h4 { color:#fff; font-size:13px; line-height:1.25; margin:0; text-wrap:balance; }
  .pg .vp-ind p { display:none; }
  .pg .vp-ind:nth-child(1) img { object-position:68% 40%; }
  .pg .vp-ind:nth-child(4) img { object-position:64% 40%; }
  .pg .vp-ind:nth-child(5) img { object-position:58% 50%; }
}

/* ── FINAL CTA: the two buttons side by side on a phone ("footer buttons
   shall be horizontal"), each half the row, short labels. ────────────── */
@media (max-width: 859.98px) {
  .pg .vp-final .darkband__actions { flex-wrap:nowrap; justify-content:center; gap:8px; width:100%; }
  .pg .vp-final .darkband__actions .btn { flex:1 1 0; min-width:0; max-width:220px; padding:12px 10px; white-space:nowrap; font-size:14px; }
}

/* ── BUSINESS SPLIT ("More than streaming" / "Run a complete white-label OTT
   business"): the phone mock was a tall empty gradient and the six features
   a list a screen long. On a phone the lock screen is only as tall as its
   notifications, and the features sit two to a row. ─────────────────── */
@media (max-width: 859.98px) {
  .pg .split { gap:22px; }
  .pg .split__copy h3 { margin-bottom:10px; }
  .pg .split__copy .vp-list { margin-top:14px; }
  .pg .biz-visual { padding:14px; gap:12px; }
  .pg .biz-phone { max-width:190px; }
  .pg .biz-phone-screen { aspect-ratio:auto; padding:10px 8px 14px; }
  .pg .biz-phone-date { margin-top:18px; }
  .pg .biz-features-card { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:6px; padding:8px; }
  .pg .biz-feat { gap:8px; padding:9px 8px; font-size:12.5px; line-height:1.25; border:1px solid var(--line); border-radius:10px; }
  .pg .biz-feat-img { width:28px; height:28px; }
  /* the no-code block under it needs air of its own, like a new section */
  .pg .split + .el-nocode, .pg .split + .vp-nocode { margin-top:40px; padding-top:30px; border-top:1px solid var(--line); }
}

/* ── GIVING (church): tighter type and panel on a phone. ── */
@media (max-width: 859.98px) {
  .pg .vp-give { gap:20px; }
  .pg .vp-give h2 { font-size:24px; }
  .pg .vp-give > div > p { font-size:16px; line-height:1.6; }
  .pg .vp-give .vp-list { margin-top:14px !important; }
  .pg .vp-givepanel { padding:14px; }
  .pg .vp-givepanel .d-stats { gap:8px; }
  .pg .vp-givepanel .stat { padding:12px; }
  .pg .vp-givefoot { margin-top:12px; }
}

/* ── USE-CASE CARDS: a swipeable rail on a phone (six stacked cards were
   1,200px). The next card peeks in so the rail reads as swipeable. ── */
@media (max-width: 859.98px) {
  .pg .vp-cards { display:grid; grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:78%; gap:10px;
    overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none;
    margin:0 -20px; padding:2px 20px 10px; scroll-padding-inline:20px; }
  .pg .vp-cards::-webkit-scrollbar { display:none; }
  .pg .vp-cards > .card { scroll-snap-align:start; padding:16px; }
  .pg .vp-cards h5 { font-size:15px; }
  .pg .vp-cards p { font-size:13.5px; line-height:1.55; }
}

/* ── BUSINESS SPLIT feature tiles: the icon chip, on every screen size. The
   church page draws its icons as inline SVG (.fico) but only styled <img>,
   so the chips rendered empty with the label pushed to the middle. ── */
.pg .biz-feat-img { width:32px; height:32px; flex:0 0 32px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:9px; background:var(--icon-chip-bg); border:1px solid var(--icon-chip-line); color:var(--accent-ink); }
.pg .biz-feat-img svg { width:18px; height:18px; display:block; color:inherit; }
.pg .biz-feat-img img { width:18px; height:18px; object-fit:contain; display:block; }
.pg .biz-feat { justify-content:flex-start; text-align:left; }
@media (max-width: 859.98px) {
  .pg .biz-feat-img { width:30px; height:30px; flex-basis:30px; }
  .pg .biz-feat { padding:9px 10px; }
}
