/* Blocks shared by the landing (/landing) and the in-account help page (/help):
   phone mockup, cards, setup timeline, payment list. Only .lp-* classes here -
   no element or global rules, so it is safe inside the account layout. */

:root {
    --lp-accent: #5d9cec;
    --lp-accent-dark: #3f7fd6;
    --lp-ink: #1f2d3a;
    --lp-muted: #5b6b7a;
    --lp-bg: #ffffff;
    --lp-bg-alt: #f3f6fa;
    --lp-line: #e2e8f0;
    --lp-radius: 16px;
    --lp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* phone frame */
.lp-phone {
    --w: min(300px, 78vw);
    position: relative;
    width: var(--w);
    aspect-ratio: 390 / 844;
    padding: 12px;
    border-radius: calc(var(--w) * .16);
    background: #111;
    box-shadow: 0 0 0 2px #2a2a2a, 0 30px 60px rgba(31,45,58,.25);
}
.lp-phone__island {
    position: absolute; z-index: 5; top: 20px; left: 50%; transform: translateX(-50%);
    width: 30%; height: 22px; border-radius: 12px; background: #000;
}
.lp-phone__screen {
    position: relative; width: 100%; height: 100%;
    border-radius: calc(var(--w) * .13);
    overflow: hidden;
    /* poster until the portal frames load: the default portal background */
    background: #fff center / cover no-repeat;   /* image set inline in the view */
}
.lp-phone__statusbar {
    position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 40px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 18px 0 24px;
    font-size: 12px; font-weight: 600; color: #000;
    background: #fff;
}
.lp-phone__icons { display: inline-flex; gap: 5px; align-items: center; }

/* ---------- cards ---------- */
.lp-next__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.lp-card {
    padding: 24px; border-radius: var(--lp-radius);
    background: #fff; border: 1px solid var(--lp-line);
    box-shadow: 0 6px 24px rgba(31,45,58,.05);
}
.lp-card h3 { margin: 0 0 8px; font-size: 20px; }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: 16px; }
/* ---------- setup steps ---------- */
.lp-timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; max-width: 760px; }
.lp-timeline::before {
    content: ""; position: absolute; top: 8px; bottom: 8px; left: 19px; width: 2px; background: var(--lp-line);
}
.lp-timeline li { position: relative; display: flex; gap: 20px; padding: 0 0 32px; }
.lp-timeline li:last-child { padding-bottom: 0; }
.lp-timeline__num {
    position: relative; flex: 0 0 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--lp-accent); color: #fff; font-weight: 700;
    box-shadow: 0 0 0 6px var(--lp-bg);
}
.lp-timeline h3 { margin: 6px 0 6px; font-size: 20px; }
.lp-timeline p { margin: 0; color: var(--lp-muted); }

/* ---------- payment ---------- */
.lp-pay { margin: 12px 0 0; padding: 0; list-style: none; color: var(--lp-muted); font-size: 16px; }
.lp-pay li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.lp-pay li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-accent); }

@media (min-width: 768px) {
    .lp-next__grid { grid-template-columns: repeat(3, 1fr); }
}

/* account screenshots in the setup steps */
.lp-timeline li > div { min-width: 0; flex: 1; }
.lp-shot { margin: 16px 0 0; }
.lp-shot img {
    display: block; max-width: 100%; height: auto;
    border-radius: 10px; border: 1px solid var(--lp-line);
    box-shadow: 0 8px 28px rgba(31,45,58,.10);
}
.lp-shots { display: grid; grid-template-columns: 1fr; gap: 0 16px; align-items: start; }
@media (min-width: 768px) {
    .lp-shots { grid-template-columns: 2fr 3fr; }
}

/* step 5: still phone with the portal screenshot */
.lp-phone.lp-phone--static { --w: 220px; margin-top: 18px; padding: 9px; box-shadow: 0 0 0 2px #2a2a2a, 0 18px 40px rgba(31,45,58,.2); }
.lp-phone--static .lp-phone__island { top: 15px; height: 16px; }
.lp-phone--static .lp-phone__statusbar { height: 30px; font-size: 10px; padding: 2px 14px 0 18px; }
.lp-phone--static .lp-phone__statusbar svg { width: 14px; height: 10px; }
.lp-phone__shot { position: absolute; top: 30px; left: 0; width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: bottom; }

.lp-card__link, .lp-card__note { margin-top: 12px !important; }

/* in-account help page (/help): sections inside the account's card boxes */
.lp-help h2 { margin: 0 0 20px; font-size: 22px; }
.lp-help .lp-timeline { max-width: 820px; }
