/* =====================================================================================
   Dropsheep public landing page. Loaded only by the landing page, on top of app.css.
   Fluent 2 tokens + --ds-* palette variables only (light and dark follow the theme); system colours are fallbacks.
   The hero flow panel and the final CTA are Ink panels in both themes (the marketing equivalent of the
   sign-in hero, see branding/README.md).
   ===================================================================================== */

.lp {
    --lp-bg: var(--colorNeutralBackground1, Canvas);
    --lp-bg-alt: var(--colorNeutralBackground2, Canvas);
    --lp-card: var(--colorNeutralBackground1, Canvas);
    --lp-border: var(--colorNeutralStroke2, GrayText);
    --lp-border-soft: var(--colorNeutralStroke3, var(--lp-border));
    --lp-text: var(--colorNeutralForeground1, CanvasText);
    --lp-text-2: var(--colorNeutralForeground2, CanvasText);
    --lp-text-3: var(--colorNeutralForeground3, GrayText);
    --lp-brand: var(--colorBrandBackground, Highlight);
    --lp-brand-hover: var(--colorBrandBackgroundHover, Highlight);
    --lp-brand-fg: var(--colorBrandForeground1, LinkText);
    --lp-on-brand: var(--colorNeutralForegroundOnBrand, HighlightText);
    --lp-ok: var(--ds-success-fg, var(--colorPaletteGreenForeground1, CanvasText));
    --lp-tint: color-mix(in srgb, var(--lp-brand) 9%, var(--lp-bg));
    --lp-tint-strong: color-mix(in srgb, var(--lp-brand) 16%, var(--lp-bg));
    --lp-shadow: var(--ds-shadow-pop, 0 8px 24px color-mix(in srgb, CanvasText 12%, transparent));
    --lp-accent: #8A8481;          /* second headline line: Pebble, darkened for contrast on light */
    --lp-dark: var(--ds-ink, #1C1A19);
    --lp-on-dark: var(--ds-fleece, #FCFCFB);
    --lp-max: 1200px;
    --lp-gutter: clamp(16px, 4vw, 32px);
    --lp-radius: 14px;
    min-height: 100dvh;
    background: var(--lp-bg);
    color: var(--lp-text);
    color-scheme: light dark;
    font-size: 16px;
    line-height: 1.6;
}

/* Fluent's base styles lock the body to the viewport (height: 100dvh; overflow: hidden) for the app shell,
   which scrolls inside its own panes. The landing page scrolls the whole document instead.
   overflow must stay "visible" here (a scroll container on body would break the sticky header); horizontal
   overflow is clipped on .lp instead, which doesn't create a scroll container. */
html:has(.lp), body:has(.lp) { height: auto; min-height: 100%; overflow: visible; }
.lp { overflow-x: clip; }

.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.lp :where(ul, ol) { padding: 0; list-style: none; }
.lp img { display: block; max-width: 100%; height: auto; }
.lp a { color: var(--lp-brand-fg); }
.lp :focus-visible { outline: 2px solid var(--lp-brand-fg); outline-offset: 2px; border-radius: 4px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lp-wrap { width: 100%; max-width: var(--lp-max); margin-inline: auto; padding-inline: var(--lp-gutter); }
.lp-skip { position: absolute; left: 8px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--lp-brand); color: var(--lp-on-brand) !important; border-radius: 6px; }
.lp-skip:focus { top: 8px; }

/* ---------- Header ----------------------------------------------------------------- */
.lp-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--lp-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--lp-border-soft); }
.lp-header .lp-wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; text-decoration: none; color: var(--lp-text) !important; }
.lp-brand img { width: 32px; height: 32px; border-radius: 8px; }
.lp-brand .wordmark > span { color: var(--ds-pebble); }
.lp-nav { display: flex; gap: 2px; margin-inline-start: 24px; }
.lp-nav a { padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--lp-text-2); font-size: 15px; }
.lp-nav a:hover { background: var(--colorSubtleBackgroundHover, transparent); color: var(--lp-text); }
.lp-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lp-iconbtn {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 6px;
    background: transparent; color: var(--lp-text-2); cursor: pointer;
}
.lp-iconbtn:hover { background: var(--colorSubtleBackgroundHover, transparent); }
.lp-iconbtn svg { width: 20px; height: 20px; fill: currentColor; }
/* the shared language menu is styled for the brand-coloured app header; here it sits on a plain surface */
.lp .lang-menu > summary { color: var(--lp-text-2); }
.lp .lang-menu > summary:hover { background: var(--colorSubtleBackgroundHover, transparent); }
.lp .lang-menu-panel { right: 0; }

/* ---------- Buttons & links ------------------------------------------------------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px;
    border-radius: 8px; border: 1px solid var(--lp-border); background: var(--lp-card); color: var(--lp-text) !important;
    font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.lp-btn:hover { background: var(--colorSubtleBackgroundHover, var(--lp-bg-alt)); }
.lp-btn.primary { background: var(--lp-brand); border-color: transparent; color: var(--lp-on-brand) !important; box-shadow: 0 1px 2px color-mix(in srgb, var(--lp-brand) 40%, transparent); }
.lp-btn.primary:hover { background: var(--lp-brand-hover); }
.lp-btn.lg { min-height: 50px; padding: 0 28px; font-size: 16px; }
.lp-btn.block { width: 100%; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; padding: 8px 4px; }
.lp-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Section rhythm: eyebrow → 10px → heading → 16px → lead → 48px → content ---- */
.lp section { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: 64px; }
.lp section.alt { background: var(--lp-bg-alt); }
.lp .lp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-text-3);
}
.lp h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.lp .lp-lead { margin-top: 16px; max-width: 62ch; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; color: var(--lp-text-2); text-wrap: pretty; }
.lp-head { margin-bottom: clamp(32px, 5vw, 52px); }
.lp-head.center { text-align: center; }
.lp-head.center h2 { max-width: 24ch; margin-inline: auto; }
.lp-head.center .lp-lead { margin-inline: auto; }

/* ---------- Hero ------------------------------------------------------------------- */
.lp .lp-hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px);
    background: radial-gradient(ellipse 70% 60% at 85% 10%, color-mix(in srgb, var(--ds-pebble) 14%, transparent), transparent 70%), var(--lp-bg); }
.lp .lp-hero > .lp-wrap { max-width: 1320px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.lp-hero h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.lp-hero h1 > span { display: block; }
/* Greek runs ~25% longer: a slightly smaller headline keeps it to four lines. */
.lp-hero h1:lang(el) { font-size: clamp(34px, 3.9vw, 52px); }
.lp-hero h1 .lp-accent { color: var(--lp-accent); }
:root[data-theme="dark"] .lp { --lp-accent: var(--ds-pebble); }
.lp-hero .lp-lead { margin-top: 24px; max-width: 54ch; }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.lp-assure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--lp-text-3); }
.lp-assure.center { justify-content: center; margin-top: 24px; }
.lp-assure li { position: relative; padding-inline-start: 22px; }
.lp-assure li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .38em; width: 10px; height: 5px; border-left: 2px solid var(--lp-ok); border-bottom: 2px solid var(--lp-ok); transform: rotate(-45deg); }

/* Flow panel: supplier chips → product card → channel chips, on an Ink panel (both themes). */
.lp-flow {
    --flow-gap: 36px;
    --lp-on-brand: var(--lp-on-dark);
    position: relative; display: grid; grid-template-columns: max-content minmax(170px, 1fr) max-content;
    column-gap: var(--flow-gap); row-gap: 12px; align-items: center;
    padding: clamp(22px, 3vw, 32px); border-radius: 20px; color: var(--lp-text);
    background:
        radial-gradient(color-mix(in srgb, var(--lp-on-dark) 14%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(135deg, #343233, var(--lp-dark) 55%, #111112);
    border: 1px solid color-mix(in srgb, var(--lp-on-dark) 8%, transparent);
    box-shadow: var(--lp-shadow);
}
/* Columns are "display: contents" on wide screens, so the three labels share one row and the contents another. */
.lp-flow-col { display: contents; }
.lp-flow-in > * { grid-column: 1; }
.lp-flow-mid > * { grid-column: 2; }
.lp-flow-out > * { grid-column: 3; }
.lp-flow-col > .lp-flow-label { grid-row: 1; align-self: end; }
.lp-flow-col > ul, .lp-flow-col > .lp-product { grid-row: 2; }
.lp-flow-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--lp-on-brand) 82%, transparent); }
.lp-flow-col > ul { position: relative; display: grid; gap: 10px; }
.lp-chip {
    position: relative; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px;
    border-radius: 10px; background: var(--lp-card); color: var(--lp-text); font-size: 13.5px; font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25); white-space: nowrap;
}
.lp-chip.muted { background: color-mix(in srgb, var(--lp-card) 80%, transparent); color: var(--lp-text-2); font-weight: 500; }
.lp-chip strong { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.lp-chip-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--lp-tint-strong); color: var(--lp-text); font-size: 11px; font-weight: 700; }
.lp-avatar { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.lp-avatar.skroutz { background: var(--ds-skroutz); }
.lp-avatar.shopflix { background: var(--ds-shopflix); }
.lp-avatar.woo { background: var(--ds-woocommerce); }
.lp-avatar.api { background: var(--ds-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: 11px; }
.lp-avatar.xml { background: var(--ds-slate); font-size: 10px; }

/* Connectors (decorative): dashed tails from each chip to a vertical "bus", then into the product card. */
.lp-flow-in > ul > li::after, .lp-flow-out > ul > li::before {
    content: ""; position: absolute; top: 50%; width: calc(var(--flow-gap) / 2); border-top: 2px dashed color-mix(in srgb, var(--lp-on-brand) 65%, transparent);
}
.lp-flow-in > ul > li::after { left: 100%; }
.lp-flow-out > ul > li::before { right: 100%; }
.lp-flow-in > ul::before, .lp-flow-out > ul::before {
    content: ""; position: absolute; top: 21px; bottom: 21px; border-left: 2px dashed color-mix(in srgb, var(--lp-on-brand) 65%, transparent);
}
.lp-flow-in > ul::before { left: calc(100% + var(--flow-gap) / 2); }
.lp-flow-out > ul::before { right: calc(100% + var(--flow-gap) / 2); }
.lp-product::before, .lp-product::after {
    content: ""; position: absolute; top: 50%; width: calc(var(--flow-gap) / 2); border-top: 2px dashed color-mix(in srgb, var(--lp-on-brand) 65%, transparent);
}
.lp-product::before { right: 100%; }
.lp-product::after { left: 100%; }

.lp-product {
    position: relative; padding: 16px; border-radius: 14px; background: var(--lp-card); color: var(--lp-text);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
    outline: 3px solid color-mix(in srgb, var(--lp-on-dark) 22%, transparent);
}
.lp-product-kicker { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-text-3); }
.lp-product-name { margin-top: 6px !important; font-size: 15px; line-height: 1.35; font-weight: 700; }
.lp-product-ids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.lp-product-ids span { white-space: nowrap; padding: 2px 8px; border-radius: 6px; background: var(--lp-bg-alt); color: var(--lp-text-2); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.lp-product-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lp-border-soft); font-size: 13px; color: var(--lp-text-3); }
.lp-product-cost { white-space: nowrap; }
.lp-product-cost strong { color: var(--lp-text); font-size: 15px; margin-inline-start: 4px; }
.lp-pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid transparent; }
.lp-pill.ok { background: var(--ds-success-bg); color: var(--ds-success-fg); border-color: var(--ds-success-border); }
.lp-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ds-success-dot); }
.lp-flow-note { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; font-size: 13px; color: color-mix(in srgb, var(--lp-on-brand) 88%, transparent); text-align: center; }

/* ---------- By the numbers ---------------------------------------------------------- */
.lp .lp-stats-band { padding-block: 28px; border-block: 1px solid var(--lp-border-soft); background: var(--lp-bg-alt); }
.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; }
.lp-stats li { display: grid; align-content: start; gap: 4px; padding-inline-start: 16px; border-inline-start: 3px solid var(--lp-border); }
.lp-stats strong { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-stats span { font-size: 14px; color: var(--lp-text-2); }

/* ---------- How it works ----------------------------------------------------------- */
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.lp-step { position: relative; padding: 0 4px; }
.lp-step::before {
    counter-increment: step; content: counter(step); position: relative; z-index: 1;
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--lp-brand); color: var(--lp-on-brand); font-weight: 700; font-size: 16px;
    box-shadow: 0 0 0 6px var(--lp-bg);
}
/* dotted connector between the numbers */
.lp-step:not(:last-child)::after {
    content: ""; position: absolute; top: 19px; left: 52px; right: -20px; border-top: 2px dashed var(--lp-border);
}
.lp-step-chip {
    display: table; margin-top: 18px; padding: 3px 10px; border-radius: 6px; background: var(--lp-card); border: 1px solid var(--lp-border); color: var(--lp-text-2);
    font-family: var(--fontFamilyMonospace, ui-monospace, monospace); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.lp-step h3 { margin-top: 12px; font-size: 19px; font-weight: 700; }
.lp-step p { margin-top: 8px; font-size: 15px; color: var(--lp-text-2); }

/* ---------- Feature rows ----------------------------------------------------------- */
.lp .lp-features-intro { padding-bottom: 0; }
.lp .lp-features-intro .lp-head { margin-bottom: 0; }
.lp .lp-row { padding-block: clamp(48px, 7vw, 88px); }
.lp-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-row.flip .lp-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-row.flip .lp-copy { order: 2; }
.lp-num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lp-brand); color: var(--lp-on-brand); font-size: 11px; letter-spacing: .04em; }
.lp-feature h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.lp-leads { display: grid; gap: 14px; margin-top: 20px !important; }
.lp-leads li { position: relative; padding-inline-start: 30px; color: var(--lp-text-2); line-height: 1.55; }
.lp-leads strong { color: var(--lp-text); font-weight: 600; }
.lp-leads li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--lp-tint-strong); }
.lp-leads li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.2em + 6px); width: 8px; height: 4px; border-left: 2px solid var(--lp-text); border-bottom: 2px solid var(--lp-text); transform: rotate(-45deg); }

/* Screenshot on a tinted panel, in a browser frame, with one floating callout. */
.lp-visual { position: relative; padding: clamp(18px, 3vw, 36px); border-radius: 20px; background: var(--lp-bg-alt); border: 1px solid var(--lp-border-soft); }
.lp-row.alt .lp-visual { background: var(--lp-card); }
.lp-browser { max-width: min(100%, var(--crop-max, 100%)); margin-inline: auto; overflow: hidden; border: 1px solid var(--lp-border); border-radius: 12px; background: var(--lp-card); box-shadow: var(--lp-shadow); }
.lp-browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--lp-border-soft); background: var(--lp-bg-alt); }
.lp-dots { display: flex; gap: 6px; }
.lp-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-border); }
.lp-url { flex: 1; max-width: 340px; margin-inline: auto; padding: 2px 12px; border-radius: 6px; background: var(--lp-card); color: var(--lp-text-3); font-size: 12px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-crop { display: block; overflow: hidden; aspect-ratio: var(--crop-ratio, 16 / 10); }
.lp .lp-crop img { width: var(--crop-w, 100%); max-width: none; margin-left: var(--crop-x, 0); margin-top: var(--crop-y, 0); }
.lp-callout {
    position: absolute; bottom: clamp(-18px, -1.5vw, -10px); inset-inline-end: clamp(8px, 3vw, 28px); z-index: 1;
    display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 16px); padding: 10px 14px; border-radius: 12px;
    background: var(--lp-card); border: 1px solid var(--lp-border-soft); box-shadow: var(--lp-shadow);
    font-size: 14px; font-weight: 600; color: var(--lp-text); font-variant-numeric: tabular-nums;
}
.lp-row.flip .lp-callout { inset-inline-end: auto; inset-inline-start: clamp(8px, 3vw, 28px); }
.lp-callout-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ds-success-dot); box-shadow: 0 0 0 4px var(--ds-success-bg); }

/* ---------- Why Dropsheep ---------------------------------------------------------- */
.lp-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-principles li { padding: 28px 24px; border: 1px solid var(--lp-border-soft); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lp-card); color: var(--lp-text-2); border: 1px solid var(--lp-border); box-shadow: var(--ds-shadow); }
.lp-icon svg { width: 24px; height: 24px; fill: currentColor; }
.lp-principles h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.lp-principles p { margin-top: 8px; color: var(--lp-text-2); font-size: 15px; }

/* ---------- Channels & trust facts ------------------------------------------------ */
.lp-channels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lp-channels li { display: grid; align-content: start; gap: 8px; padding: 20px 18px; border: 1px solid var(--lp-border-soft); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-channels .lp-avatar { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; }
.lp-channels h3 { margin-top: 6px; font-size: 17px; font-weight: 700; }
.lp-channels p { font-size: 14px; color: var(--lp-text-2); line-height: 1.5; }
.lp-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 28px; }
.lp-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lp-border-soft); background: var(--lp-card); font-size: 14px; font-weight: 600; color: var(--lp-text-2); }
.lp-facts svg { width: 16px; height: 16px; fill: var(--lp-text-2); }

/* ---------- Testimonials (only with configured quotes) ------------------------------ */
.lp-quote-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.lp-quote-list li { padding: 24px; border: 1px solid var(--lp-border-soft); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-quote-list blockquote p { font-size: 17px; line-height: 1.55; }
.lp-quote-by { display: grid; margin-top: 16px !important; font-size: 14px; color: var(--lp-text-3); }
.lp-quote-by strong { color: var(--lp-text); }

/* ---------- Pricing ---------------------------------------------------------------- */
.lp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-plan.featured { border: 2px solid var(--lp-brand); box-shadow: var(--lp-shadow); }
.lp-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--lp-brand); color: var(--lp-on-brand); font-size: 12px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.lp-plan h3 { font-size: 20px; font-weight: 700; }
.lp-price { margin-top: 12px; margin-bottom: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.lp-price strong { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-price span { font-size: 14px; color: var(--lp-text-3); }
.lp-plan-limits { display: grid; }
.lp-plan-limits li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--lp-border-soft); font-size: 14px; }
.lp-plan-limits span { color: var(--lp-text-3); }
.lp-plan-limits strong { text-align: end; font-variant-numeric: tabular-nums; }
.lp-plan-checks { display: grid; gap: 8px; margin: 14px 0 22px !important; flex: 1; align-content: start; }
.lp-plan-checks li { position: relative; padding-inline-start: 24px; font-size: 14px; color: var(--lp-text-2); }
.lp-plan-checks li::before { content: ""; position: absolute; inset-inline-start: 3px; top: .45em; width: 10px; height: 5px; border-left: 2px solid var(--lp-ok); border-bottom: 2px solid var(--lp-ok); transform: rotate(-45deg); }
.lp-plan-checks li.off { color: var(--lp-text-3); }
.lp-plan-checks li.off::before { width: 10px; height: 0; border-left: 0; border-bottom: 2px solid var(--lp-text-3); transform: none; top: .7em; }

.lp-compare { margin-top: 28px; border: 1px solid var(--lp-border-soft); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-compare > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; text-align: center; color: var(--lp-text); }
.lp-compare > summary::-webkit-details-marker { display: none; }
.lp-compare > summary::after { content: " ↓"; }
.lp-compare[open] > summary::after { content: " ↑"; }
.lp-compare-scroll { overflow-x: auto; padding: 0 20px 20px; }
.lp-compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-compare th, .lp-compare td { padding: 10px 12px; border-top: 1px solid var(--lp-border-soft); text-align: start; }
.lp-compare thead th { border-top: 0; font-weight: 700; }
.lp-compare tbody th { font-weight: 500; color: var(--lp-text-2); }
.lp-compare .featured { color: var(--lp-text); background: var(--lp-bg-alt); }

.lp-addons { margin-top: 20px; padding: 22px 24px; border: 1px solid var(--lp-border-soft); border-radius: var(--lp-radius); background: var(--lp-card); }
.lp-addons h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.lp-addons ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
.lp-addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--lp-border-soft); font-size: 14px; }
.lp-addons small { font-weight: 400; color: var(--lp-text-3); }
.lp-foot { margin-top: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--lp-text-3); text-align: center; }

/* ---------- FAQ (two columns on desktop) ------------------------------------------- */
.lp-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.lp-faq-col { display: grid; gap: 12px; }
.lp-faq details { border: 1px solid var(--lp-border-soft); border-radius: 12px; background: var(--lp-card); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; font-size: 16px; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--lp-text-3); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { padding: 0 20px 18px; color: var(--lp-text-2); }

/* ---------- Final CTA -------------------------------------------------------------- */
.lp .lp-final { text-align: center; color: var(--lp-on-dark); --lp-on-brand: var(--lp-on-dark);
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, color-mix(in srgb, var(--ds-pebble) 26%, transparent), transparent 70%),
        linear-gradient(135deg, #2B2A2B, var(--lp-dark) 60%, #111112); }
.lp-final-mark { display: grid; justify-items: center; gap: 8px; margin-bottom: 22px; }
.lp-final-mark img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.lp-shelf { width: 72px; height: 5px; border-radius: 3px; background: var(--ds-stone); }
.lp-final h2 { color: inherit; max-width: 22ch; margin-inline: auto; }
.lp-final .lp-lead { color: inherit; opacity: .92; margin-inline: auto; }
.lp-final .lp-cta { justify-content: center; }
.lp-final .lp-btn.primary { background: var(--lp-on-dark); color: var(--lp-dark) !important; }
.lp-final .lp-btn.primary:hover { background: var(--ds-mist); }
.lp-final .lp-link { color: var(--lp-on-dark); }

/* ---------- Footer ----------------------------------------------------------------- */
.lp-footer { padding-block: 48px 28px; border-top: 1px solid var(--lp-border-soft); font-size: 14px; color: var(--lp-text-3); }
.lp-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-footer-brand p { margin-top: 12px; max-width: 32ch; }
.lp-footer-brand .lp-brand { font-size: 18px; }
.lp-footer-brand .lp-brand img { width: 28px; height: 28px; }
.lp-footer h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-text); }
.lp-footer ul { display: grid; gap: 8px; margin-top: 12px; }
.lp-footer a { color: var(--lp-text-2); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-text); text-decoration: underline; }
.lp-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--lp-border-soft); }
.lp-footer-tools { display: flex; align-items: center; gap: 8px; }
/* the footer language menu opens upwards */
.lp-footer .lang-menu-panel { top: auto !important; bottom: calc(100% + 6px); }

/* ---------- Sticky "Start free" bar (phones, after the hero; landing.js) ------------ */
.lp-sticky {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px;
    background: var(--lp-card); border: 1px solid var(--lp-border); box-shadow: var(--shadow28, var(--lp-shadow));
    font-size: 14px; font-weight: 600;
}
.lp-sticky[hidden] { display: none; }
.lp-sticky > span { flex: 1; }
.lp-sticky-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--lp-text-3); cursor: pointer; }
.lp-sticky-close svg { width: 16px; height: 16px; fill: currentColor; }
html.lp-has-sticky .lp { padding-bottom: 84px; }

/* ---------- Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
    .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .lp-hero-copy { max-width: 720px; }
    .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .lp-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .lp-feature, .lp-row.flip .lp-feature { grid-template-columns: minmax(0, 1fr); }
    .lp-faq { grid-template-columns: minmax(0, 1fr); }
    .lp-row.flip .lp-copy { order: 0; }
    .lp-principles { grid-template-columns: minmax(0, 1fr); }
    .lp-addons ul { grid-template-columns: minmax(0, 1fr); }
    .lp-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-footer-brand { grid-column: 1 / -1; }
    /* How it works: a vertical timeline */
    .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .lp-step { padding-inline-start: 60px; }
    .lp-step::before { position: absolute; left: 0; top: 0; }
    .lp-step:not(:last-child)::after { top: 48px; bottom: -24px; left: 19px; right: auto; border-top: 0; border-left: 2px dashed var(--lp-border); }
    .lp-step-chip { margin-top: 8px; }
}
@media (max-width: 720px) {
    .lp-nav { display: none; }
    .lp-header .lp-wrap { gap: 8px; }
    .lp-actions .lp-btn.signin { display: none; }
    .lp-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Flow panel stacks: suppliers → card → channels, joined by vertical dashes */
    .lp-flow { grid-template-columns: minmax(0, 1fr); row-gap: 28px; --flow-gap: 0px; }
    .lp-flow-col { display: grid; gap: 10px; grid-column: 1; }
    .lp-flow-col > * { grid-row: auto !important; grid-column: auto !important; }
    .lp-flow-mid > .lp-flow-label { display: none; }
    .lp-flow-note { grid-row: auto; }
    .lp-flow-in > ul > li::after, .lp-flow-out > ul > li::before, .lp-flow-in > ul::before, .lp-flow-out > ul::before { display: none; }
    .lp-product::before, .lp-product::after { width: 0; height: 28px; top: auto; left: 50%; right: auto; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--lp-on-brand) 65%, transparent); }
    .lp-product::before { bottom: 100%; }
    .lp-product::after { top: 100%; }
    .lp-flow-in > ul { display: flex; flex-wrap: wrap; gap: 8px; }
    .lp-flow-in .lp-chip { height: 36px; }
    .lp-flow-out > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .lp-flow-out .lp-chip { font-size: 12.5px; padding: 0 10px; }
    .lp-flow-out .lp-chip strong { display: none; }
    /* Pricing cards scroll sideways, the recommended plan first */
    .lp-plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 16px 4px 8px; margin-inline: calc(-1 * var(--lp-gutter)); padding-inline: var(--lp-gutter); scroll-padding-inline: var(--lp-gutter); }
    .lp-plan { flex: 0 0 84%; scroll-snap-align: start; }
    .lp-plan.featured { order: -1; }
    .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-callout { position: relative; bottom: auto; inset-inline: auto !important; margin-top: 12px; }
}
@media (max-width: 520px) {
    .lp-cta { flex-direction: column; align-items: stretch; }
    .lp-cta .lp-btn { width: 100%; }
    .lp-cta .lp-link { justify-content: center; }
    .lp-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
    .lp-btn { transition: background .12s; }
}

/* ---- Screenshot viewer (landing.js) ------------------------------------------------------------ */
.lp-zoom {
    display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit;
    cursor: zoom-in; touch-action: manipulation; /* no native double-tap zoom on the page */
}
.lp-zoom:focus-visible { outline: 2px solid var(--lp-brand-fg); outline-offset: -2px; }
.lp-zoom img { display: block; }

/* While the viewer is open the page doesn't scroll (wins over the html:has(.lp) rule above). */
html.lp-noscroll:has(.lp) { overflow: hidden; }

.lp-lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: grid; place-items: center;
    background: var(--colorBackgroundOverlay, color-mix(in srgb, CanvasText 45%, transparent));
    backdrop-filter: blur(3px);
    touch-action: none; /* our own pan / pinch / double-tap */
    overscroll-behavior: contain;
    opacity: 0;
}
.lp-lightbox[hidden] { display: none; }
.lp-lightbox.is-open { opacity: 1; }
.lp-lightbox-stage { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; }
.lp-lightbox-img {
    max-width: min(94vw, 1440px); max-height: 86vh; width: auto; height: auto;
    border-radius: 10px; background: var(--lp-card);
    box-shadow: var(--shadow64, var(--shadow28, none));
    transform-origin: center center;
    cursor: zoom-in; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.lp-lightbox.is-zoomed .lp-lightbox-img { cursor: grab; border-radius: 0; }
.lp-lightbox.is-dragging .lp-lightbox-img { cursor: grabbing; }
.lp-lightbox-close {
    position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); z-index: 1;
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--lp-border); border-radius: 50%; cursor: pointer;
    background: var(--lp-card); color: var(--lp-text); box-shadow: var(--shadow8, none);
}
.lp-lightbox-close:focus-visible { outline: 2px solid var(--lp-brand-fg); outline-offset: 2px; }
.lp-lightbox-hint {
    position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); margin: 0;
    padding: 6px 12px; border-radius: 999px; font-size: 13px; line-height: 1.4; white-space: nowrap; pointer-events: none;
    background: var(--lp-card); color: var(--lp-text-2); box-shadow: var(--shadow4, none);
}
.lp-lightbox.is-zoomed .lp-lightbox-hint { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
    .lp-lightbox { transition: opacity .18s ease; }
    .lp-lightbox-img { transition: transform .22s ease; }
    .lp-lightbox-hint { transition: opacity .15s; }
}

/* ---- Beta: badge and join-the-beta form (Launch:BetaSignup; see docs/launch.md) ------------------------ */
.lp-beta-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px !important; padding: 4px 12px 4px 10px;
    border-radius: 999px; border: 1px solid var(--lp-border); background: var(--lp-card); box-shadow: var(--ds-shadow);
    font-size: 13px; font-weight: 600; color: var(--lp-text-2);
}
.lp-beta-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ds-warning-dot); box-shadow: 0 0 0 3px var(--ds-warning-bg); }
.lp-beta { margin-top: 32px; max-width: 540px; scroll-margin-top: 96px; }
.lp-beta-form { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-beta-form input[type="email"] {
    flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 16px;
    border: 1px solid var(--colorNeutralStroke1, var(--lp-border)); border-radius: 8px; box-shadow: var(--ds-shadow);
    background: var(--lp-card); color: var(--lp-text); font: inherit; font-size: 16px;
}
.lp-beta-form input[type="email"]::placeholder { color: var(--lp-text-3); }
.lp-beta-form input[type="email"]:focus { outline: none; border-color: var(--lp-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-pebble) 35%, transparent); }
.lp-beta-form input.invalid { border-color: var(--ds-danger-dot); }
.lp-beta-form .lp-btn { flex: 0 0 auto; }
.lp-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lp .lp-beta-error { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--ds-danger-fg); }
.lp-beta-note { margin-top: 12px !important; font-size: 14px; color: var(--lp-text-3); }
.lp-beta-signin { margin-top: 6px !important; font-size: 14px; color: var(--lp-text-3); }
.lp-beta-done {
    display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--ds-success-border); background: var(--ds-success-bg); color: var(--ds-success-fg);
}
.lp-beta-done svg { flex: none; width: 20px; height: 20px; fill: currentColor; margin-top: 2px; }
@media (max-width: 520px) { .lp-beta-form .lp-btn { width: 100%; } }
