/*
   Souce public landing page (Components/Landing). Loaded only on static pages — never with the
   app shell, so nothing here can leak into the WebAssembly app.

   Tokens are the Souce design system (SouceTheme / docs/DESIGN/souce-ui-design-system.md).
   Buttons use PrimaryDark (#C42E54): white on Primary (#EF3B69) is 3.82:1, below AA for
   button-size text; #C42E54 passes. Primary stays for accents.
*/

:root {
    --lp-primary: #EF3B69;
    --lp-primary-strong: #C42E54;
    --lp-primary-deeper: #A8244A;
    --lp-primary-tint: rgba(239, 59, 105, .10);
    --lp-ink: #151719;
    --lp-ink-2: #1A1D21;
    --lp-purple: #7560BA;
    --lp-brand-purple: #220E40;   /* the logo */
    --lp-bg: #F8F9FA;
    --lp-surface: #FFFFFF;
    --lp-border: #E2E8F0;
    --lp-muted: #64748B;
    --lp-text-2: #475569;
    --lp-ok: #047857;    --lp-ok-tint: rgba(16, 185, 129, .12);
    --lp-pend: #B45309;  --lp-pend-tint: rgba(245, 158, 11, .14);
    --lp-rej: #8C092E;   --lp-rej-tint: rgba(140, 9, 46, .10);
    --lp-info: #5B47A0;  --lp-info-tint: rgba(117, 96, 186, .12);
    --lp-radius: 16px;
    --lp-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: Inter, Helvetica, Arial, sans-serif;
    color: var(--lp-ink);
    background: var(--lp-surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }

:focus-visible { outline: 3px solid var(--lp-primary); outline-offset: 3px; border-radius: 6px; }

.lp-container { width: 100%; max-width: var(--lp-max); margin: 0 auto; padding: 0 20px; }

.lp-skip {
    position: absolute; left: 12px; top: -48px; z-index: 100;
    background: var(--lp-ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.lp-skip:focus { top: 12px; }

/* ───────── Buttons ───────── */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 22px; border-radius: 999px;
    font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
    border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.lp-btn--lg { min-height: 52px; padding: 12px 30px; font-size: 16px; }
.lp-btn--block { width: 100%; }
.lp-btn--primary { background: var(--lp-primary-strong); color: #fff; }
.lp-btn--primary:hover { background: var(--lp-primary-deeper); }
.lp-btn--dark { background: var(--lp-ink); color: #fff; }
.lp-btn--dark:hover { background: #000; }
.lp-btn--light { background: #fff; color: var(--lp-ink); }
.lp-btn--light:hover { background: #F1F5F9; }
.lp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.lp-btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ───────── Header ───────── */
.lp-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.lp-brand { display: inline-flex; align-items: center; text-decoration: none; }
.lp-brand img { width: auto; height: 52px; }
.lp-nav { display: flex; gap: 28px; margin-left: auto; }
.lp-nav a, .lp-link { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--lp-text-2); }
.lp-nav a:hover, .lp-link:hover { color: var(--lp-ink); }
.lp-header__actions { display: flex; align-items: center; gap: 20px; margin-left: 12px; }

.lp-menu { display: none; margin-left: auto; position: relative; }
.lp-menu summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px;
    display: grid; place-content: center; gap: 5px;
}
.lp-menu summary::-webkit-details-marker { display: none; }
.lp-menu summary span { display: block; width: 22px; height: 2px; background: var(--lp-ink); border-radius: 2px; }
.lp-menu__panel {
    position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 40px));
    background: #fff; border: 1px solid var(--lp-border); border-radius: 14px;
    box-shadow: 0 18px 40px -16px rgba(21,23,25,.35); padding: 10px; display: grid; gap: 2px;
}
.lp-menu__panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.lp-menu__panel a:hover { background: var(--lp-bg); }
.lp-menu__panel .lp-btn { margin-top: 6px; }
.lp-menu__panel .lp-btn:hover { background: var(--lp-primary-deeper); }

/* ───────── Hero ───────── */
.lp-hero {
    color: #fff;
    background:
        linear-gradient(100deg, rgba(21,23,25,.94) 0%, rgba(21,23,25,.82) 45%, rgba(21,23,25,.55) 100%),
        url("../landing/hero-bg.jpg") center / cover no-repeat,
        var(--lp-ink);
}
.lp-hero__inner {
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
    padding-top: 96px; padding-bottom: 96px;
}
.lp-hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; }
.lp-hero p { font-size: 18px; color: rgba(255,255,255,.86); margin: 22px 0 0; max-width: 34em; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-hero__shot { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }

/* ───────── Sections ───────── */
.lp-section { padding: 88px 0; }
.lp-section h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; text-align: center; }
.lp-eyebrow {
    margin: 0 0 12px; text-align: center; font-size: 13px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--lp-primary-strong);
}
.lp-eyebrow--light { color: var(--lp-primary); }
.lp-lead { max-width: 40em; margin: 18px auto 0; text-align: center; font-size: 18px; color: var(--lp-text-2); }
.lp-lead--left { margin-left: 0; text-align: left; }

/* Integrations */
.lp-intro { padding-bottom: 64px; }
.lp-logos__label { margin: 48px 0 18px; text-align: center; font-size: 14px; font-weight: 600; color: var(--lp-muted); }
.lp-logos {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px;
}
.lp-logos img { height: 48px; width: auto; }

/* ───────── Features (dark panel + tabs) ───────── */
#features { padding-top: 0; }
.lp-features {
    background: var(--lp-ink); color: #fff; border-radius: 28px;
    padding: 64px clamp(20px, 4vw, 56px);
}
.lp-features h2 { color: #fff; margin-bottom: 48px; }

/* Without the tab script every panel shows, stacked, with its own heading. */
.lp-tabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.lp-tabs__list, .lp-panel { min-width: 0; }
.lp-tabs__list { display: none; }
.lp-panel__nojs { font-size: 20px; margin-bottom: 16px; }

.lp-tabs.is-enhanced { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); align-items: center; gap: 48px; }
.lp-tabs.is-enhanced .lp-tabs__list { display: block; border-left: 1px solid rgba(255,255,255,.15); }
.lp-tabs.is-enhanced .lp-panel__nojs { display: none; }
.lp-tabs.is-enhanced .lp-panel { grid-column: 2; grid-row: 1; animation: lp-fade .3s ease-out; }
.lp-tabs.is-enhanced .lp-panel[hidden] { display: none; }

.lp-tab {
    display: block; width: 100%; margin-left: -1px; padding: 18px 22px; text-align: left;
    background: transparent; border: 0; border-left: 4px solid transparent; color: #fff;
    cursor: pointer; font: inherit; border-radius: 0 12px 12px 0;
}
.lp-tab:hover { background: rgba(255,255,255,.05); }
.lp-tab[aria-selected="true"] { border-left-color: var(--lp-primary); background: rgba(239,59,105,.14); }
.lp-tab__title { display: block; font-size: 19px; font-weight: 700; }
.lp-tab__text { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.66); }
.lp-tab[aria-selected="true"] .lp-tab__text { color: rgba(255,255,255,.86); }

@keyframes lp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* The phone sits off the card's lower-right corner, clear of the Status column. */
.lp-preview { position: relative; padding: 0 150px 64px 0; min-width: 0; }
.lp-preview__desk {
    background: #fff; color: var(--lp-ink); border-radius: var(--lp-radius); padding: 22px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.lp-preview__title { margin: 0 0 14px; font-weight: 700; font-size: 18px; }
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--lp-border); border-radius: 10px; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lp-table th { text-align: left; background: #F1F5F9; font-weight: 600; padding: 10px 12px; white-space: nowrap; }
.lp-table td { padding: 12px; border-top: 1px solid var(--lp-border); white-space: nowrap; }
.lp-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

.lp-preview__phone {
    position: absolute; right: 0; bottom: 0; width: 200px;
    background: #fff; color: var(--lp-ink); border-radius: 28px; padding: 18px 16px;
    border: 5px solid #2A2E35; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.lp-preview__phone .lp-preview__title { font-size: 14px; margin-bottom: 8px; }
.lp-preview__phone ul { list-style: none; margin: 0; padding: 0; }
.lp-preview__phone li {
    display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center;
    padding: 9px 0; border-top: 1px solid var(--lp-border); font-size: 12px;
}
.lp-preview__phone li:first-child { border-top: 0; }
.lp-preview__phone strong { grid-column: 1 / -1; font-size: 13px; }
.lp-preview__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Status pills — the app's status colour families */
.lp-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.lp-pill--ok   { color: var(--lp-ok);   background: var(--lp-ok-tint); }
.lp-pill--pend { color: var(--lp-pend); background: var(--lp-pend-tint); }
.lp-pill--rej  { color: var(--lp-rej);  background: var(--lp-rej-tint); }
.lp-pill--info { color: var(--lp-info); background: var(--lp-info-tint); }
.lp-pill--new  { color: var(--lp-primary-strong); background: var(--lp-primary-tint); }

/* ───────── Pricing ───────── */
.lp-plans { display: grid; gap: 24px; margin-top: 56px; align-items: start; }
.lp-plans--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.lp-plans--2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.lp-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lp-plan {
    background: #FFF7F9; border: 1px solid #F8D7E0; border-radius: 22px; padding: 30px;
    display: flex; flex-direction: column;
}
.lp-plan--featured { background: var(--lp-ink); color: #fff; border-color: var(--lp-ink); transform: translateY(-12px); }
.lp-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-plan h3 { font-size: 20px; }
.lp-plan__badge {
    background: var(--lp-primary-strong); color: #fff; border-radius: 999px;
    padding: 4px 12px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.lp-plan__desc { margin: 10px 0 0; font-size: 14px; color: var(--lp-text-2); }
.lp-plan--featured .lp-plan__desc { color: rgba(255,255,255,.72); }
.lp-plan__price { margin: 22px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.lp-plan__currency { font-weight: 700; font-size: 16px; }
.lp-plan__amount { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.lp-plan__cycle { font-size: 14px; color: var(--lp-muted); }
.lp-plan--featured .lp-plan__cycle { color: rgba(255,255,255,.66); }
.lp-plan__saving { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--lp-ok); }
.lp-plan--featured .lp-plan__saving { color: #34D399; }
.lp-plan__features { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; font-size: 14px; flex: 1; }
.lp-plan__features li { position: relative; padding-left: 26px; }
.lp-plan__features li::before {
    content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px;
    border-left: 2px solid var(--lp-primary-strong); border-bottom: 2px solid var(--lp-primary-strong);
    transform: rotate(-45deg);
}
.lp-plan--featured .lp-plan__features li::before { border-color: var(--lp-primary); }
.lp-plan__more { color: var(--lp-muted); }
.lp-plan__more::before { display: none; }
.lp-plan > .lp-btn { margin-top: auto; }

.lp-plans-fallback {
    margin: 48px auto 0; max-width: 520px; text-align: center; padding: 32px;
    border: 1px dashed var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-bg);
}
.lp-plans-fallback p { margin: 0 0 18px; color: var(--lp-text-2); }

/* ───────── Call to action ───────── */
.lp-cta {
    background: linear-gradient(120deg, var(--lp-primary-strong), var(--lp-primary-deeper));
    color: #fff; text-align: center; padding: 72px 0;
}
.lp-cta h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.lp-cta p { margin: 14px auto 0; max-width: 36em; color: rgba(255,255,255,.9); font-size: 17px; }
.lp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ───────── FAQ ───────── */
.lp-faq { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 56px; align-items: start; }
.lp-faq h2 { text-align: left; }
.lp-faq .lp-eyebrow { text-align: left; }
.lp-faq__list { border: 1px solid var(--lp-border); border-radius: var(--lp-radius); overflow: hidden; }
.lp-faq__list details + details { border-top: 1px solid var(--lp-border); }
.lp-faq__list summary {
    cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; position: relative;
}
.lp-faq__list summary::-webkit-details-marker { display: none; }
.lp-faq__list summary::after {
    content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
    border-right: 2px solid var(--lp-ink); border-bottom: 2px solid var(--lp-ink);
    transform: rotate(45deg); transition: transform .2s;
}
.lp-faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-faq__list summary:hover { background: var(--lp-bg); }
.lp-faq__list details p { margin: 0; padding: 0 22px 20px; color: var(--lp-text-2); }

/* ───────── Footer ───────── */
.lp-footer { background: #FFF7F9; border-top: 1px solid #F8D7E0; }
.lp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.lp-footer .lp-brand img { height: 64px; }
.lp-footer__tagline { max-width: 26em; margin: 16px 0 0; font-size: 14px; color: var(--lp-text-2); }
.lp-footer__links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.lp-footer__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--lp-text-2); }
.lp-footer__links a:hover { color: var(--lp-ink); }
.lp-footer__legal { margin: 0; padding: 20px; text-align: center; font-size: 13px; color: var(--lp-muted); border-top: 1px solid #F8D7E0; }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
    .lp-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-plan--featured { transform: none; }
}

@media (max-width: 960px) {
    .lp-nav, .lp-header__actions { display: none; }
    .lp-menu { display: block; }
    .lp-hero__inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
    .lp-tabs.is-enhanced { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .lp-tabs.is-enhanced .lp-panel { grid-column: 1; grid-row: auto; }
    .lp-tabs.is-enhanced .lp-tabs__list { border-left: 0; display: grid; gap: 4px; }
    .lp-tab { border-left: 0; border-radius: 12px; padding: 14px 16px; margin: 0; }
    .lp-tab[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--lp-primary); }
    .lp-plans--3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
    .lp-faq { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
    .lp-section { padding: 64px 0; }
    .lp-brand img { height: 44px; }
    .lp-hero p { font-size: 16px; }
    .lp-hero__actions .lp-btn { flex: 1 1 140px; }
    .lp-features { border-radius: 0; margin: 0 -20px; padding: 48px 20px; }
    .lp-preview { padding: 0; }
    .lp-preview__phone { display: none; }
    .lp-plans--2, .lp-plans--4 { grid-template-columns: minmax(0, 1fr); }
    .lp-logos { gap: 20px 36px; }
    .lp-logos img { height: 36px; }
    .lp-footer__links { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-tabs.is-enhanced .lp-panel { animation: none; }
}

/* ───────── How it works ───────── */
.lp-steps { background: var(--lp-bg); }
.lp-steps__list {
    list-style: none; margin: 56px 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none;
}
.lp-steps__list li {
    background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 28px;
}
.lp-steps__num {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: var(--lp-primary-tint); color: var(--lp-primary-strong); font-weight: 800; font-size: 18px;
}
.lp-steps__list h3 { margin-top: 18px; font-size: 20px; }
.lp-steps__list p { margin: 8px 0 0; color: var(--lp-text-2); }

.lp-plans__talk { margin: 36px 0 0; text-align: center; color: var(--lp-text-2); }
.lp-plans__talk a { color: var(--lp-primary-strong); font-weight: 600; }

/* ───────── Demo page ───────── */
.lp-eyebrow--left { text-align: left; }
.lp-demo { background: var(--lp-bg); }
.lp-demo__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.lp-demo h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.lp-checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-checklist li { position: relative; padding-left: 30px; color: var(--lp-text-2); }
.lp-checklist li::before {
    content: ""; position: absolute; left: 2px; top: .4em; width: 13px; height: 7px;
    border-left: 2px solid var(--lp-primary-strong); border-bottom: 2px solid var(--lp-primary-strong); transform: rotate(-45deg);
}
.lp-contact { margin-top: 36px; padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--lp-border); display: grid; gap: 8px; }
.lp-contact__title { margin: 0 0 4px; font-weight: 700; }
.lp-contact a { color: var(--lp-primary-strong); font-weight: 600; text-decoration: none; }
.lp-contact a:hover { text-decoration: underline; }

.lp-demo__card { background: #fff; border: 1px solid var(--lp-border); border-radius: 22px; padding: 32px; box-shadow: 0 24px 50px -30px rgba(21,23,25,.35); }
.lp-demo__done h2 { font-size: 26px; text-align: left; }
.lp-demo__done p { color: var(--lp-text-2); margin: 12px 0 24px; }

.lp-form { display: grid; gap: 18px; }
.lp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lp-form__row { display: grid; gap: 6px; }
.lp-form label { font-size: 14px; font-weight: 600; }
.lp-form__optional { font-weight: 400; color: var(--lp-muted); }
.lp-form input, .lp-form select, .lp-form textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--lp-ink); background: #fff;
    border: 1px solid #CBD5E1; border-radius: 10px; padding: 11px 13px; min-height: 46px;
}
.lp-form textarea { resize: vertical; min-height: 110px; }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus {
    outline: none; border-color: var(--lp-primary-strong); box-shadow: 0 0 0 3px var(--lp-primary-tint);
}
.lp-form .invalid { border-color: var(--lp-rej); }
.lp-form .validation-message { color: var(--lp-rej); font-size: 13px; }
.lp-form__alert { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--lp-rej-tint); color: var(--lp-rej); font-size: 14px; }
.lp-form__note { margin: 0; font-size: 13px; color: var(--lp-muted); text-align: center; }
.lp-form__note a { color: inherit; }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.lp-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ───────── Legal pages ───────── */
.lp-legal__inner { max-width: 760px; }
.lp-legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.lp-legal__meta { margin: 8px 0 28px; color: var(--lp-muted); font-size: 14px; }
.lp-legal h2 { text-align: left; font-size: 22px; margin: 36px 0 10px; }
.lp-legal p, .lp-legal li { color: var(--lp-text-2); }
.lp-legal ul { padding-left: 22px; display: grid; gap: 8px; }
.lp-legal a { color: var(--lp-primary-strong); }
.lp-legal__draft {
    margin: 0 0 28px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
    background: var(--lp-pend-tint); color: var(--lp-pend);
}

@media (max-width: 960px) {
    .lp-steps__list { grid-template-columns: minmax(0, 1fr); }
    .lp-demo__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
    .lp-form__grid { grid-template-columns: minmax(0, 1fr); }
    .lp-demo__card { padding: 22px; }
}

/* ───────── Mobile app section ───────── */
.lp-mobile__inner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 72px; align-items: center; max-width: 980px; }
.lp-mobile__shot { width: 100%; max-width: 330px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(21,23,25,.28)); }
.lp-mobile__title { text-align: left !important; }
.lp-mobile__note { margin: 24px 0 0; font-size: 14px; color: var(--lp-muted); }

/* ───────── Footer contact ───────── */
.lp-footer__contact { font-style: normal; display: grid; gap: 8px; align-content: start; }
.lp-footer__heading { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.lp-footer__contact a { text-decoration: none; font-size: 14px; color: var(--lp-text-2); }
.lp-footer__contact a:hover { color: var(--lp-ink); }

@media (max-width: 960px) {
    .lp-mobile__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .lp-mobile__shot { max-width: 260px; }
}

picture { display: block; }
