/* The public pages: landing, privacy and terms. Everything here starts with lp- so it never touches the app screens.
   Colours come from tokens.css, so a change there reaches this page too. */

html:has(.lp) { scroll-behavior: smooth; scroll-padding-top: 84px; }
body:has(.lp) { background: #fff; }

.lp { color: var(--color-text); overflow-x: clip; }
.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
    font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.lp-btn-block { width: 100%; }
.lp-btn-ink { background: var(--color-ink); color: #fff; box-shadow: 0 8px 20px rgba(12, 61, 48, .22); }
.lp-btn-ink:hover { background: var(--color-ink-hover); color: #fff; }
.lp-btn-ghost { background: #fff; color: var(--color-ink); border-color: var(--color-border-input); }
.lp-btn-ghost:hover { border-color: var(--color-ink); color: var(--color-ink); }
.lp-btn-light { background: #fff; color: var(--color-ink); }
.lp-btn-light:hover { color: var(--color-ink); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.lp-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.lp-btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Jelly primary button: glossy ink pill that wobbles once on hover (from a Uiverse idea, recoloured) */
.lp-btn-jelly {
    background: linear-gradient(180deg, var(--color-primary-deep), var(--color-ink));
    color: #fff;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 10px 22px rgba(12, 61, 48, .26);
}
.lp-btn-jelly:hover { color: #fff; }
.lp-btn-jelly:active { transform: scale(.97); }
@media (hover: hover) {
    .lp-btn-jelly:hover { animation: lp-jelly .6s ease both; }
}
@keyframes lp-jelly {
    0% { transform: scale(1); }
    30% { transform: scale(1.06, .94); }
    55% { transform: scale(.97, 1.03); }
    80% { transform: scale(1.02, .99); }
    100% { transform: scale(1); }
}

/* Secondary hero button: a quiet pill with a small dot that nudges down to hint the page continues */
.lp-more-dot { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary-deep); transition: background .15s ease, color .15s ease; }
.lp-more-dot svg { animation: lp-bob 2.6s ease-in-out infinite; }
.lp-btn-ghost:hover .lp-more-dot { background: var(--color-primary); color: #fff; }
@keyframes lp-bob { 0%, 55%, 100% { transform: none; } 28% { transform: translateY(3px); } }

/* Soft scroll-in: JS tags the block, hides it only if it is below the screen, then fades it up once */
@media (prefers-reduced-motion: no-preference) {
    html.lp-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
    html.lp-js [data-reveal].is-in { opacity: 1; transform: none; }
    html.lp-js .lp-features [data-reveal]:nth-child(3n+2), html.lp-js .lp-steps [data-reveal]:nth-child(2) { transition-delay: .08s; }
    html.lp-js .lp-features [data-reveal]:nth-child(3n), html.lp-js .lp-steps [data-reveal]:nth-child(3) { transition-delay: .16s; }
}

/* ---------- Top bar ---------- */
.lp-nav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .98); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border-soft); }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.lp-logo { display: inline-flex; text-decoration: none; flex: 0 0 auto; }
.lp-links { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.lp-links a { padding: 9px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; color: var(--color-text-nav); text-decoration: none; }
.lp-links a:hover { background: var(--color-primary-soft); color: var(--color-ink); }
.lp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-menu { display: none; position: relative; }
.lp-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--color-border-input); background: #fff; cursor: pointer; color: var(--color-ink); }
.lp-menu summary::-webkit-details-marker { display: none; }
.lp-menu summary { transition: background .15s ease, color .15s ease, border-color .15s ease; }
.lp-menu[open] summary { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.lp-ico-close { display: none; }
.lp-menu[open] .lp-ico-open { display: none; }
.lp-menu[open] .lp-ico-close { display: inline-flex; }
.lp-menu-panel {
    position: absolute; right: 0; top: 58px; width: min(300px, calc(100vw - 32px)); padding: 10px; display: flex; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid var(--color-border); border-radius: 22px; box-shadow: 0 22px 50px rgba(16, 35, 27, .20);
    transform-origin: top right; animation: lp-menu-in .16s ease-out;
}
@keyframes lp-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.lp-menu-panel > a { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 14px; font-weight: 600; color: var(--color-text); text-decoration: none; }
.lp-menu-panel > a svg { color: var(--color-text-muted); }
.lp-menu-panel > a:active { background: var(--color-primary-soft); }
@media (hover: hover) { .lp-menu-panel > a:hover { background: var(--color-primary-soft); } }
.lp-menu-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--color-border-soft); }
.lp-menu-actions .lp-btn { width: 100%; }
.lp-menu-legal { display: flex; justify-content: center; gap: 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--color-border-soft); }
.lp-menu-panel .lp-menu-legal a { padding: 4px 6px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); text-decoration: none; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; padding: 72px 0 64px; background:
    radial-gradient(900px 480px at 88% 8%, #D8F0E4 0%, rgba(216, 240, 228, 0) 70%),
    radial-gradient(700px 420px at 0% 100%, #EAF6D2 0%, rgba(234, 246, 210, 0) 70%),
    linear-gradient(180deg, #F7FCF9 0%, #FFFFFF 100%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--color-primary-soft); color: var(--color-primary-ink); font-weight: 700; font-size: 14px; }
.lp-hero h1 { margin-top: 22px; font-size: 52px; line-height: 1.06; letter-spacing: -0.035em; color: var(--color-brand-black); }
.lp-accent { color: var(--color-primary); }
.lp-lead { margin-top: 22px; max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--color-text-nav); }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--color-text-nav); font-weight: 600; font-size: 14.5px; }
.lp-checks li { display: inline-flex; align-items: center; gap: 8px; }
.lp-checks svg { color: var(--color-primary); }
.lp-caption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--color-text-muted); }

/* The picture in the hero, with a few real facts floating over it. */
.lp-hero-art { position: relative; }
.hero-photo { position: relative; max-width: 500px; margin-left: auto; padding: 8px; border-radius: 44px; background: #fff; box-shadow: 0 40px 80px rgba(12, 61, 48, .18), 0 0 0 1px var(--color-border-soft); }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 36px; background: #EAF6F0; }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 20px; background: rgba(255, 255, 255, .96); border: 1px solid var(--color-border-soft); box-shadow: 0 18px 40px rgba(12, 61, 48, .18); }
.hero-chip small { display: block; font-size: 11.5px; font-weight: 600; color: var(--color-text-muted); }
.hero-chip b { display: block; margin-top: 1px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: var(--color-brand-black); white-space: nowrap; }
.hero-chip-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--color-warning-bg); color: var(--color-warning-ink); flex: 0 0 auto; }
.hero-chip-icon.is-green { background: var(--color-primary-soft); color: var(--color-primary); }
.hero-chip-icon.is-rose { background: var(--color-danger-bg); color: var(--color-danger-ink); }
.hero-chip-sales { top: 9%; right: -30px; }
.hero-chip-expiry { top: 47%; left: -42px; }
.hero-chip-stock { bottom: 7%; right: -22px; }

/* ---------- Pillars under the hero ---------- */
.lp-pillars { background: #fff; border-top: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft); }
.lp-pillars ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.lp-pillars li { display: flex; align-items: center; gap: 14px; padding: 26px 22px; }
.lp-pillars li + li { border-left: 1px solid var(--color-border-soft); }
.lp-pillar-icon, .lp-point-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 16px; background: var(--color-primary-soft); color: var(--color-primary-ink); flex: 0 0 auto; }
.lp-pillars b, .lp-points b { display: block; font-size: 15.5px; letter-spacing: -.01em; color: var(--color-brand-black); }
.lp-pillars small, .lp-points small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--color-text-muted); }

/* ---------- Product preview (drawn with CSS, using the real app look) ---------- */
.mock { position: relative; width: 100%; max-width: 580px; padding: 14px 18px 30px 0; }
.mock-window { border-radius: 20px; background: #fff; border: 1px solid var(--color-border); box-shadow: 0 30px 70px rgba(12, 61, 48, .18); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F4F9F6; border-bottom: 1px solid var(--color-border-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFE0D8; }
.mock-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--color-border-soft); font-size: 11px; font-weight: 600; color: var(--color-text-muted); }
.mock-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); background: linear-gradient(165deg, #FAFDFB, #EAF6F0); }
.mock-side { padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.mock-brand { margin-bottom: 12px; padding-left: 6px; font-weight: 800; font-size: 15px; color: var(--color-brand-black); }
.mock-brand b { color: var(--color-primary-deep); }
.mock-nav { padding: 8px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; color: var(--color-text-nav); }
.mock-nav.is-on { background: var(--color-ink); color: #fff; }
.mock-main { padding: 16px 16px 18px 6px; min-width: 0; }
.mock-title { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.mock-sub { margin-top: 2px; font-size: 11px; color: var(--color-text-muted); }
.mock-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mock-tile { display: flex; flex-direction: column; gap: 14px; padding: 11px 12px; border-radius: 14px; color: var(--tile-ink); }
.mock-tile span { font-size: 10.5px; font-weight: 700; }
.mock-tile b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.t-lime { background: var(--tile-lime); }
.t-mint { background: var(--tile-mint); }
.t-lav { background: var(--tile-lavender); }
.t-rose { background: var(--tile-rose); }
.mock-panel { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; }
.mock-panel-head { font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--color-border-soft); font-size: 11.5px; font-weight: 700; }
.mock-row:first-of-type { border-top: 0; }
.mock-row > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.mock-row small { display: block; font-weight: 500; color: var(--color-text-muted); font-size: 10px; }
.mock-row em { font-style: normal; padding: 3px 9px; border-radius: 99px; background: var(--color-warning-bg); color: var(--color-warning-ink); font-size: 10px; }
.mock-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--tile-mint); flex: 0 0 auto; }
.mock-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border-radius: 18px; background: #fff; border: 1px solid var(--color-border-soft); box-shadow: 0 18px 40px rgba(12, 61, 48, .16); font-size: 12px; }
.mock-float b { display: block; font-size: 12.5px; }
.mock-float small { display: block; margin-top: 2px; color: var(--color-text-muted); font-size: 11px; }
.mock-float-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-warning-bg); color: var(--color-warning-ink); flex: 0 0 auto; }
.mock-float-icon.is-green { background: var(--color-primary-soft); color: var(--color-primary); }
.mock-float-a { left: -26px; bottom: 6px; }
.mock-float-b { right: -10px; top: -6px; }
.mock-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 4px; }
.mock-bars i { width: 8px; border-radius: 3px; background: var(--color-primary); opacity: .85; }

/* ---------- Sections ---------- */
.lp-section { padding: 96px 0; }
.lp-tint { background: linear-gradient(180deg, #F3FAF6, #EAF6F0); }
.lp-soft { background: linear-gradient(180deg, #F8FCFA, #F0F8F4); border-top: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft); }
.lp-dark { background: var(--color-ink); color: #fff; }
.lp-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.lp-kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
.lp-head h2, .lp-split-copy h2 { font-size: 40px; line-height: 1.12; letter-spacing: -.03em; color: var(--color-brand-black); }
.lp-head p { margin-top: 14px; font-size: 17px; color: var(--color-text-muted); line-height: 1.6; }
.lp-head.is-light h2 { color: #fff; }
.lp-head.is-light p { color: rgba(255, 255, 255, .72); }
.lp-head.is-light .lp-kicker { color: #8FE0BE; }

/* Features */
.lp-more-input, .lp-more-label { display: none; }
.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-feature { position: relative; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--color-border); transition: transform .18s ease, box-shadow .18s ease; }
.lp-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 35, 27, .09); }
.lp-ficon { transition: transform .2s ease; }
.lp-feature:hover .lp-ficon { transform: scale(1.07) rotate(-3deg); }
.lp-ficon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; color: var(--tile-ink); }
.lp-feature h3 { margin-top: 20px; font-size: 19px; letter-spacing: -.02em; }
.lp-feature p { margin-top: 10px; color: var(--color-text-muted); line-height: 1.6; font-size: 15px; }
.lp-state { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-state.is-soon { background: #F1F4F2; color: var(--color-text-muted); }
.lp-next-head { display: flex; align-items: center; gap: 18px; margin-top: 56px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-muted); }
.lp-next-head::before, .lp-next-head::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--color-border); }
.lp-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.lp-next-item { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 22px; background: var(--color-surface-alt); border: 1px dashed var(--color-border-input); }
.lp-next-item > div { flex: 1 1 auto; min-width: 0; }
.lp-next-item h3 { font-size: 16px; }
.lp-next-item p { margin-top: 4px; font-size: 14px; color: var(--color-text-muted); }
.lp-next-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); flex: 0 0 auto; }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.lp-steps li { position: relative; transition: background .18s ease, transform .18s ease; padding: 30px; border-radius: 26px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.lp-steps li:hover { background: rgba(255, 255, 255, .11); transform: translateY(-3px); }
.lp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 53px; right: -23px; width: 24px; border-top: 2px dashed rgba(255, 255, 255, .3); }
.lp-step-no { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tile-lime); color: var(--color-ink); font-weight: 800; font-size: 18px; }
.lp-steps h3 { margin-top: 22px; font-size: 20px; color: #fff; }
.lp-steps p { margin-top: 10px; color: rgba(255, 255, 255, .72); line-height: 1.6; }

/* Built for Pakistan: a picture on one side, three plain points on the other. */
.lp-for { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.lp-for-photo { position: relative; }
.lp-for-photo::before { content: ""; position: absolute; inset: 26px -20px -20px 26px; border-radius: 38px; background: linear-gradient(160deg, var(--color-primary-soft), #D8F0E4); }
.lp-for-photo img { position: relative; display: block; width: 100%; height: auto; border-radius: 32px; box-shadow: 0 30px 70px rgba(12, 61, 48, .16); }
.lp-for-copy h2 { font-size: 40px; line-height: 1.12; letter-spacing: -.03em; color: var(--color-brand-black); }
.lp-for-copy > p { margin: 16px 0 28px; font-size: 17px; line-height: 1.65; color: var(--color-text-muted); }
.lp-points { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.lp-points li { display: flex; align-items: flex-start; gap: 16px; }

/* Split section */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lp-split-copy > p { margin: 16px 0 26px; font-size: 17px; line-height: 1.65; color: var(--color-text-muted); }
.lp-list { margin: 0 0 30px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.lp-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; color: var(--color-text-nav); font-weight: 500; }
.lp-list svg { flex: 0 0 auto; margin-top: 2px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); }
.lp-list.is-compact { gap: 10px; margin-bottom: 26px; }
.lp-list.is-compact svg { width: 22px; height: 22px; }
.lp-split-art { display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* Your data section: reasons on the left, an open pharmacy with two locked ones behind it on the right */
.lp-ficon-sm { width: 46px; height: 46px; border-radius: 15px; flex: 0 0 auto; }
.lp-safe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.lp-safe-grid li { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--color-border); }
.lp-safe-grid h3 { font-size: 15.5px; letter-spacing: -.01em; }
.lp-safe-grid p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.lp-safe-art { position: relative; width: 100%; max-width: 460px; padding-top: 96px; }
.lp-safe-back { position: absolute; display: flex; align-items: flex-start; gap: 8px; height: 80px; padding: 13px 18px; border-radius: 22px; background: var(--color-surface-alt); border: 1px solid var(--color-border); font-size: 13.5px; font-weight: 700; color: var(--color-text-muted); }
.lp-safe-back { white-space: nowrap; overflow: hidden; }
.lp-safe-back svg { flex: 0 0 auto; margin-top: 1px; }
.lp-safe-back em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #EEF2F0; }
.lp-safe-back.is-far { top: 0; left: 40px; right: 40px; opacity: .7; }
.lp-safe-back.is-near { top: 36px; left: 20px; right: 20px; box-shadow: 0 10px 24px rgba(16, 35, 27, .05); }
.lp-safe-main { position: relative; z-index: 1; padding: 22px; border-radius: 28px; background: linear-gradient(165deg, #FFFFFF, #EAF6F0); border: 1px solid var(--color-border); box-shadow: 0 30px 70px rgba(12, 61, 48, .14); }
.lp-safe-head { display: flex; align-items: center; gap: 14px; }
.lp-safe-head > div { flex: 1 1 auto; min-width: 0; }
.lp-safe-head b { display: block; font-size: 16px; color: var(--color-brand-black); }
.lp-safe-head small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--color-text-muted); }
.lp-safe-badge { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--color-ink); color: #fff; flex: 0 0 auto; box-shadow: 0 10px 22px rgba(12, 61, 48, .28); }
.lp-safe-head em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: var(--color-success-bg); color: var(--color-success-ink); white-space: nowrap; }
.lp-safe-head em i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); animation: lp-live 2.8s ease-in-out infinite; }
@keyframes lp-live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.lp-safe-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.lp-safe-stats div { padding: 12px; border-radius: 16px; }
.lp-safe-stats .is-lime { background: var(--tile-lime); }
.lp-safe-stats .is-mint { background: var(--tile-mint); }
.lp-safe-stats .is-lav { background: var(--tile-lavender); }
.lp-safe-stats small { display: block; font-size: 11.5px; font-weight: 600; color: var(--color-ink); opacity: .75; }
.lp-safe-stats b { display: block; margin-top: 3px; font-size: 15px; color: var(--color-ink); white-space: nowrap; }
.lp-safe-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; margin-top: 16px; padding: 12px 14px 0; border-radius: 16px; background: #fff; border: 1px solid var(--color-border-soft); }
.lp-safe-bars span { flex: 1 1 0; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--color-primary), #7FD1B0); }
.lp-safe-note { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--color-text-muted); }

/* Pricing */
.lp-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 860px; margin: 0 auto; }
.lp-plan { position: relative; padding: 36px; border-radius: 30px; background: #fff; border: 1px solid var(--color-border); }
.lp-plan.is-best { border: 2px solid var(--color-ink); box-shadow: 0 24px 56px rgba(12, 61, 48, .16); }
.lp-plan h3 { font-size: 20px; }
.lp-price { margin-top: 14px; font-size: 44px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--color-brand-black); }
.lp-price small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--color-text-muted); }
.lp-plan-note { margin: 12px 0 24px; color: var(--color-text-muted); font-size: 14.5px; }
.lp-ribbon { position: absolute; top: -14px; right: 28px; padding: 6px 14px; border-radius: 99px; background: var(--color-ink); color: #fff; font-size: 12.5px; font-weight: 700; }
.lp-fineprint { max-width: 640px; margin: 30px auto 0; text-align: center; color: var(--color-text-muted); font-size: 14.5px; line-height: 1.6; }

/* FAQ */
.lp-faq { display: flex; flex-direction: column; gap: 12px; }
.lp-faq details { border-radius: 20px; background: var(--color-surface-alt); border: 1px solid var(--color-border); transition: background .15s ease; }
.lp-faq details[open] { background: #fff; box-shadow: 0 10px 28px rgba(16, 35, 27, .07); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; list-style: none; cursor: pointer; font-weight: 700; font-size: 16.5px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2.5px solid var(--color-primary); border-bottom: 2.5px solid var(--color-primary); transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px; }
.lp-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.lp-faq p { padding: 0 24px 22px; color: var(--color-text-muted); line-height: 1.7; }

/* Final call */
.lp-final { position: relative; overflow: hidden; padding: 72px 0; background: var(--gradient-brand-panel); color: #fff; }
.lp-final::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.lp-final::after { content: ""; position: absolute; left: 22%; bottom: -200px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.lp-final-inner { position: relative; z-index: 1; }
.lp-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-final h2 { font-size: 36px; letter-spacing: -.03em; color: #fff; }
.lp-final p { margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: 17px; }
.lp-final .lp-cta-row { margin-top: 0; }

/* Footer */
.lp-footer {
    position: relative; padding: 72px 0 28px; color: rgba(255, 255, 255, .72); overflow: hidden;
    background: radial-gradient(900px 340px at 12% -10%, rgba(18, 165, 118, .22), transparent 70%), linear-gradient(180deg, #0A2E24 0%, #08261E 100%);
}
.lp-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #12A576, #7FE3BC 50%, #12A576); opacity: .85; }
.lp-footer-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.lp-footer-trust span {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10); font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .88);
}
.lp-footer-trust svg { color: #7FE3BC; flex: 0 0 auto; }
.lp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.3fr; gap: 36px; }
/* The logo text lives in a scoped file that would otherwise win, so these selectors are deliberately longer. */
.lp-footer .lp-footer-brand .brand-text .brand-name { color: #7FE3BC; }
.lp-footer .lp-footer-brand .brand-text .brand-name .brand-rx { color: #FFFFFF; }
.lp-footer-brand p { margin-top: 18px; max-width: 320px; line-height: 1.65; font-size: 14.5px; }
.lp-footer h3 { margin-bottom: 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.lp-footer-grid a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 14.5px; overflow-wrap: anywhere; }
.lp-footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lp-footer-legal a { color: #fff; font-weight: 600; }
.lp-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }

/* ---------- Legal pages ---------- */
.lp-doc-head { padding: 64px 0 36px; background: linear-gradient(180deg, #F3FAF6, #FFFFFF); border-bottom: 1px solid var(--color-border-soft); }
.lp-doc-head h1 { font-size: 44px; letter-spacing: -.03em; color: var(--color-brand-black); }
.lp-doc-head p { margin-top: 12px; color: var(--color-text-muted); font-size: 16px; }
.lp-doc { padding: 48px 0 96px; }
.lp-doc h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.02em; color: var(--color-brand-black); }
.lp-doc h2:first-child { margin-top: 0; }
.lp-doc p, .lp-doc li { line-height: 1.75; color: var(--color-text-nav); font-size: 16px; }
.lp-doc p + p { margin-top: 12px; }
.lp-doc ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.lp-doc a { font-weight: 600; }
/* The switch between the two legal pages: tabs at the top, a card at the bottom. */
.lp-tabs { display: inline-flex; max-width: 100%; gap: 4px; margin-bottom: 22px; padding: 5px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--color-border); box-shadow: 0 6px 18px rgba(16, 35, 27, .06); }
.lp-tabs a { padding: 9px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--color-text-nav); text-decoration: none; transition: background .15s ease, color .15s ease; }
.lp-tabs a:hover { background: var(--color-primary-soft); color: var(--color-primary-ink); }
.lp-tabs a.is-on { background: var(--color-ink); color: #FFFFFF; box-shadow: 0 6px 14px rgba(12, 61, 48, .25); }
.lp-doc .lp-legal-next {
    display: flex; align-items: center; gap: 16px; margin-top: 48px; padding: 20px 24px; border-radius: 22px; text-decoration: none;
    background: linear-gradient(135deg, #EAF7F0 0%, #F7FBF9 100%); border: 1px solid var(--color-border);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lp-doc .lp-legal-next:hover { transform: translateY(-2px); border-color: var(--color-primary); box-shadow: 0 14px 30px rgba(16, 35, 27, .10); }
.lp-legal-next-icon { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--color-ink); color: #FFFFFF; }
.lp-legal-next-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-legal-next-text small { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); }
.lp-legal-next-text strong { font-size: 18px; color: var(--color-brand-black); }
.lp-legal-next-arrow { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; color: var(--color-ink); border: 1px solid var(--color-border); transition: transform .15s ease; }
.lp-doc .lp-legal-next:hover .lp-legal-next-arrow { transform: translateX(3px); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1000px) {
    .lp-links { display: none; }
    .lp-menu { display: block; }
    .lp-hero { padding-top: 40px; }
    .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .lp-hero h1 { font-size: 46px; }
    .lp-hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
    .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-steps { grid-template-columns: minmax(0, 1fr); }
    .lp-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-footer-brand { grid-column: 1 / -1; }
    .lp-hero { padding: 48px 0 56px; }
    .hero-photo { max-width: 440px; margin: 0 auto; }
    .hero-chip-sales { right: -10px; }
    .hero-chip-expiry { left: -14px; }
    .hero-chip-stock { right: -8px; }
    .lp-pillars ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-pillars li:nth-child(3) { border-left: 0; }
    .lp-pillars li:nth-child(n+3) { border-top: 1px solid var(--color-border-soft); }
    .lp-for { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .lp-for-photo { max-width: 640px; margin: 0 auto; width: calc(100% - 20px); }
    .lp-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
    .lp-wrap { padding: 0 18px; }
    .lp-nav-inner { height: 66px; gap: 12px; }
    .lp-hide-sm { display: none; }
    .lp-btn { padding: 0 18px; }
    .lp-hero { padding: 28px 0 24px; }
    .lp-hero h1 { font-size: 36px; }
    .lp-lead { font-size: 16.5px; }
    .lp-cta-row .lp-btn { flex: 1 1 100%; }
    .lp-section { padding: 64px 0; }
    .lp-head { margin-bottom: 36px; }
    .lp-head h2, .lp-split-copy h2, .lp-for-copy h2 { font-size: 30px; }
    .lp-pricing { grid-template-columns: minmax(0, 1fr); }
    .lp-safe-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .lp-safe-grid li { padding: 14px; }
    .lp-safe-main { padding: 18px; }
    .lp-safe-back.is-far em { display: none; }
    .lp-safe-head small { font-size: 12px; }
    .lp-safe-stats { gap: 8px; }
    .lp-safe-stats div { padding: 10px; }
    .lp-safe-stats b { font-size: 14px; }
    /* Features stay in one tidy column, and only the first four show until the visitor asks for the rest */
    .lp-features { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .lp-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px; }
    .lp-feature .lp-ficon { grid-row: span 2; width: 48px; height: 48px; border-radius: 16px; }
    .lp-feature h3 { margin-top: 2px; font-size: 17.5px; }
    .lp-feature p { margin-top: 0; font-size: 14.5px; }
    .lp-feature:nth-child(n+5) { display: none; }
    .lp-more-input:checked ~ .lp-features .lp-feature:nth-child(n+5) { display: grid; }
    .lp-more-label { display: flex; width: 100%; margin-top: 16px; }
    .lp-more-input:checked ~ .lp-more-label { display: none; }
    /* On the way: two small tiles side by side */
    .lp-next { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lp-next-item { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
    .lp-next-item .lp-state { position: absolute; top: 14px; right: 12px; padding: 3px 9px; font-size: 11px; }
    .lp-next-icon { width: 40px; height: 40px; }
    .lp-next-item h3 { font-size: 15px; }
    .lp-next-item p { font-size: 13px; line-height: 1.5; }
    /* How it works: a tidy list with the number beside the text and a dashed link between steps */
    .lp-steps { gap: 14px; }
    .lp-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 18px; border-radius: 20px; }
    .lp-step-no { grid-row: span 2; width: 40px; height: 40px; font-size: 16px; }
    .lp-steps h3 { margin-top: 0; align-self: center; font-size: 17.5px; }
    .lp-steps p { margin-top: 0; font-size: 14.5px; }
    .lp-steps li:not(:last-child)::after { display: block; top: 100%; right: auto; left: 38px; width: 0; height: 14px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .3); }
    .lp-plan { padding: 28px; }
    .lp-price { font-size: 38px; }
    .lp-final h2 { font-size: 28px; }
    .lp-final-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .lp-final .lp-btn { flex: 1 1 100%; }
    .hero-photo { max-width: 360px; padding: 6px; border-radius: 36px; }
    .hero-photo img { border-radius: 30px; }
    .hero-chip { gap: 9px; padding: 8px 12px 8px 8px; border-radius: 16px; }
    .hero-chip-icon { width: 32px; height: 32px; }
    .hero-chip small { font-size: 10.5px; }
    .hero-chip b { font-size: 12.5px; }
    .hero-chip-sales { top: 6%; right: -6px; }
    .hero-chip-expiry { top: 44%; left: -8px; }
    .hero-chip-stock { bottom: 5%; right: -4px; }
    .lp-pillars ul { grid-template-columns: minmax(0, 1fr); }
    .lp-pillars li { padding: 18px 4px; }
    .lp-pillars li + li, .lp-pillars li:nth-child(n+3) { border-left: 0; border-top: 1px solid var(--color-border-soft); }
    .lp-for-photo::before { inset: 16px -10px -12px 16px; }
    .lp-footer { padding: 52px 0 24px; }
    .lp-footer-trust { gap: 8px; margin-bottom: 34px; }
    .lp-footer-trust span { padding: 8px 13px; font-size: 13px; }
    .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
    .lp-footer-grid > div:last-child { grid-column: 1 / -1; }
    .lp-footer-bottom { flex-direction: column; align-items: center; gap: 6px; margin-top: 36px; text-align: center; }
    .lp-tabs a { padding: 8px 14px; font-size: 13.5px; }
    .lp-doc .lp-legal-next { padding: 16px 18px; }
    .lp-doc-head h1 { font-size: 32px; }
    /* The preview stays readable on a phone by dropping the side menu and the floating cards. */
    .mock { padding: 0 0 6px; }
    .mock-body { grid-template-columns: minmax(0, 1fr); }
    .mock-side { display: none; }
    .mock-main { padding: 16px; }
    .mock-float-b { display: none; }
    .mock-float-a { left: 10px; bottom: -8px; }
}
@media (hover: none) {
    .lp-feature:hover, .lp-steps li:hover { transform: none; box-shadow: none; }
    .lp-feature:hover .lp-ficon { transform: none; }
    .lp-steps li:hover { background: rgba(255, 255, 255, .07); }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.lp) { scroll-behavior: auto; }
    .lp-btn, .lp-feature { transition: none; }
    .lp-btn-jelly:hover { animation: none; }
    .lp-more-dot svg, .lp-safe-head em i { animation: none; }
}
