/* =========================================================================
   Shopora landing page (landing sheets 3+). Reference book pages 4, 5, 9.
   Brand only: orange #EE9F3A, light green #5DA249, dark green #183615,
   sky #FBEACE. Poppins, with the tagline in Fira Sans Condensed Bold.
   Fonts are served from our own server (public/fonts/landing, SIL OFL).
   ========================================================================= */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/landing/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/landing/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/landing/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/landing/poppins-800.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/landing/fira-sans-condensed-700.woff2') format('woff2'); }
/* Speed (12 Nov): while Poppins loads, a fallback sized like Poppins, so the
   hero barely moves when Poppins arrives (it measured a 0.18 layout shift).
   Standard Poppins-on-Arial metrics. */
@font-face { font-family: 'Poppins Fallback'; font-display: swap; src: local('Arial'), local('ArialMT'), local('Roboto'), local('Helvetica Neue'); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }

:root {
    --lp-orange: #EE9F3A;
    --lp-orange-edge: #C97A1F;    /* the button's darker bottom edge */
    --lp-green: #5DA249;
    --lp-dark: #183615;
    --lp-sky: #FBEACE;
    --lp-muted: #4A5946;          /* dark green, softened, for body text */
    --lp-green-text: #3F7A30;     /* light green, deepened, for small text (5.2 : 1 on white) */
    --lp-line: rgba(24, 54, 21, 0.10);
    --lp-gutter: 24px;
    --lp-max: 1290px;
    --lp-logo-w: 160px;
    --lp-font: 'Poppins', 'Poppins Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

body.lp {
    margin: 0;
    background: var(--lp-sky);
    color: var(--lp-dark);
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

.lp img { max-width: 100%; height: auto; }

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

/* ---------- Header ---------- */

.lp-header {
    border-bottom: 1px solid var(--lp-line);
    background: var(--lp-sky);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.lp-brand {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--lp-dark);
    flex-shrink: 0;
}

.lp-logo {
    display: block;
    width: var(--lp-logo-w);
    height: auto;
}

/* The tagline sits under the word "Shopora", not under the icon. */
.lp-tagline {
    margin-top: 2px;
    padding-left: calc(var(--lp-logo-w) * 0.30);
    font-family: 'Fira Sans Condensed', 'Arial Narrow', var(--lp-font);
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.2;
    white-space: nowrap;
}

/* ---------- Buttons: all "Start Shopping" buttons share this look ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    background: var(--lp-orange);
    color: var(--lp-dark);              /* dark green on orange: 6.1 : 1, readable in sunlight */
    font-family: var(--lp-font);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    box-shadow: 0 5px 0 var(--lp-orange-edge);
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.lp-btn:hover { filter: brightness(1.04); color: var(--lp-dark); }
.lp-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--lp-orange-edge); }
.lp-btn:focus-visible { outline: 3px solid var(--lp-dark); outline-offset: 4px; }

.lp-btn--small { font-size: 15px; padding: 11px 24px; }
.lp-btn--big   { font-size: 20px; padding: 20px 42px; box-shadow: 0 6px 0 var(--lp-orange-edge); }
.lp-btn--big:active { box-shadow: 0 2px 0 var(--lp-orange-edge); transform: translateY(4px); }

.lp-btn-arrow { width: 1.05em; height: 1.05em; flex-shrink: 0; }

/* ---------- Hero ---------- */

.lp-hero { padding: 48px 0 56px; }

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.lp-headline {
    margin: 0 0 22px;
    font-size: clamp(2.6rem, 1.2rem + 2.8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--lp-dark);
}

.lp-sub {
    margin: 0 0 32px;
    max-width: 34em;
    font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
    line-height: 1.5;
    color: var(--lp-muted);
}

.lp-reassure {
    margin: 22px 0 0;
    font-size: 0.9rem;
    color: var(--lp-muted);
}

/* Reserved for Sheet 4 (order ring card and story pictures), so the
   headline and button never move when they arrive. */
.lp-ring-slot:empty { display: none; }
.lp-hero-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
}
.lp-hero-media:empty { background: rgba(24, 54, 21, 0.05); }

/* ---------- Live order ring (Sheet 4, book page 6) ---------- */

.lp-ring-slot { margin-top: 32px; }

.lp-ring-card {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 440px;
    padding: 20px 26px 20px 20px;
    background: #FDF6EA;
    border-radius: 22px;
}

.lp-ring {
    position: relative;
    flex-shrink: 0;
    width: 104px;
    height: 104px;
}

.lp-ring-svg { display: block; width: 100%; height: 100%; overflow: visible; }

.lp-ring-track { fill: none; stroke: #E2E1D5; stroke-width: 4.5; }

.lp-ring-arc {
    fill: none;
    stroke: var(--lp-orange);
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;     /* empty until the story starts; JS grows it */
}

.lp-ring-head path { fill: var(--lp-dark); }

/* The icons share one spot; only the current one shows. */
.lp-ring-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 34px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lp-ring-icon.is-active { opacity: 1; }

/* Numbered stops: future = white, done = orange, current = dark green.
   The button is a 30px tap target around a 20px dot. */
.lp-ring-stop {
    position: absolute;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.lp-ring-stop span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #C9C8BC;
    color: var(--lp-dark);
    font: 700 10px/1 var(--lp-font);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.lp-ring-stop.is-done span { background: var(--lp-orange); border-color: var(--lp-orange); color: var(--lp-dark); }
.lp-ring-stop.is-current span { background: var(--lp-dark); border-color: var(--lp-dark); color: #fff; }
.lp-ring-stop:focus-visible { outline: none; }
.lp-ring-stop:focus-visible span { outline: 2px solid var(--lp-dark); outline-offset: 2px; }

.lp-ring-text { min-width: 0; }

.lp-live {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-dark);
}

.lp-live-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lp-green);
    flex-shrink: 0;
}
.lp-live-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--lp-green);
    animation: lp-pulse 1.8s ease-out infinite;
}
@keyframes lp-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* All step texts sit in the same grid cell, so the card always has the
   height of the longest step and nothing around it ever moves. */
.lp-step-texts { display: grid; }
.lp-step-text {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.lp-step-text.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0s;
}

.lp-step-label {
    margin: 0 0 2px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--lp-dark);
}

.lp-step-caption {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--lp-muted);
}

.lp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Story pictures ---------- */

.lp-hero-media {
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(24, 54, 21, 0.16);
}
.lp-hero-media:empty { box-shadow: none; }

.lp-story-pic {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.lp-story-pic.is-active { opacity: 1; }

.lp-story-pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* ---------- Hero extras: shop count, old decorations (switches) ---------- */

.lp-hero { position: relative; }
.lp-hero > .lp-container { position: relative; z-index: 1; }
.lp-decorations {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: right 4% top 12%;
    background-size: min(60%, 860px) auto;
    pointer-events: none;
    opacity: 0.9;
}
.lp-shop-count { margin: 10px 0 0; font-size: 0.95rem; color: var(--lp-muted); }
.lp-shop-count strong { color: var(--lp-dark); }

/* ---------- Sections 2-7: shared ---------- */

.lp-section { padding: 72px 0; }

.lp-eyebrow {
    margin: 0 0 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-green-text);
}

.lp-title {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--lp-dark);
}

.lp-lead {
    margin: 0 0 28px;
    max-width: 38em;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--lp-muted);
}

.lp-card-title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.lp-card-text  { margin: 0; font-size: 0.95rem; line-height: 1.55; }

/* ---------- 2 · How it works ---------- */

.lp-how { background: #fff; }
.lp-steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.lp-step-card {
    padding: 18px 18px 24px;
    background: #FEF5E7;
    border-radius: 18px;
    color: var(--lp-dark);
}
.lp-step-card .lp-card-text { color: var(--lp-muted); }
.lp-step-card picture { display: block; }
.lp-step-pic {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
}
.lp-step-number {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--lp-orange);
    color: var(--lp-dark);
    font-weight: 700;
    font-size: 15px;
}

/* ---------- 3 · Problem band ---------- */

.lp-problem {
    padding: 56px 0;
    background: var(--lp-dark);
    color: #fff;
    text-align: center;
}
.lp-problem-title {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}
.lp-problem-line { margin: 0 0 14px; font-size: 1.2rem; color: #fff; }
.lp-problem-aside { margin: 0; font-size: 1rem; font-style: italic; color: rgba(255, 255, 255, 0.75); }

/* ---------- 4 · Why Shopora ---------- */

.lp-why { background: #12290F; color: #fff; }
.lp-why .lp-eyebrow { color: var(--lp-orange); }
.lp-why .lp-title { color: #fff; }
.lp-why .lp-lead { color: rgba(255, 255, 255, 0.85); }
.lp-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.lp-card {
    padding: 26px 24px 30px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    text-align: center;
}
.lp-card .lp-card-title { color: #fff; }
.lp-card .lp-card-text { color: rgba(255, 255, 255, 0.78); }
.lp-card-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(238, 159, 58, 0.16);
    font-size: 30px;
    line-height: 1;
}
.lp-card-icon img { width: 40px; height: 40px; object-fit: contain; }

/* ---------- 5 · Shopora on your phone ---------- */

.lp-app { background: #FDF6EA; }
.lp-app-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.lp-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    padding: 9px 18px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
}
.lp-badge:focus-visible { outline: 3px solid var(--lp-dark); outline-offset: 3px; }
.lp-badge-icon { width: 24px; height: 24px; flex-shrink: 0; }
.lp-badge-words { display: flex; flex-direction: column; line-height: 1.1; }
.lp-badge-words small { font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-badge-words strong { font-size: 17px; font-weight: 600; }
.lp-badge--soon { background: #62625E; cursor: not-allowed; padding-right: 24px; }
.lp-soon-tag {
    position: absolute;
    top: -16px;
    right: -10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lp-orange);
    color: var(--lp-dark);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.lp-phone {
    justify-self: center;
    width: min(250px, 70vw);
    aspect-ratio: 9 / 18.5;
    padding: 10px;
    border-radius: 40px;
    background: #111;
    box-shadow: 0 30px 60px rgba(24, 54, 21, 0.18);
    position: relative;
}
.lp-phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 38%;
    height: 22px;
    transform: translateX(-50%);
    background: #111;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.lp-phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 31px;
    background: #fff;
}
.lp-phone-screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Neutral placeholder until a real screenshot is set: brand stripes + logo. */
.lp-phone-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(135deg, #FBEACE 0 14px, #FFF8EC 14px 28px);
}
.lp-phone-placeholder img { width: 62%; height: auto; }

/* Kevin 8 Nov, D4: the text on top, then the app screens. Computers: three
   phones side by side with captions. Phones: one row to swipe, with dots.
   Nothing moves by itself. */
.lp-app .lp-app-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; text-align: center; }
.lp-app .lp-badges { justify-content: center; }
.lp-screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 880px;
    margin: 40px auto 0;
    padding: 0;
    list-style: none;
}
.lp-screen { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lp-screen .lp-phone { width: min(230px, 100%); }
.lp-screen-caption { margin: 16px 0 0; max-width: 240px; text-align: center; font-size: 15px; line-height: 1.4; color: var(--lp-dark); }
.lp-screen-number { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 4px; border-radius: 50%; background: var(--lp-orange); color: var(--lp-dark); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.lp-screen-dots { display: none; }
.lp-screens-label { margin: 24px 0 0; text-align: center; font-size: 13px; color: rgba(24, 54, 21, 0.7); }
@media (max-width: 767px) {
    .lp-screens {
        display: flex;
        gap: 16px;
        margin: 32px -20px 0;
        padding: 0 20px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .lp-screens::-webkit-scrollbar { display: none; }
    .lp-screen { flex: 0 0 74%; scroll-snap-align: center; }
    .lp-screen .lp-phone { width: min(220px, 100%); }
    .lp-screen-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
    .lp-screen-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
    .lp-screen-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(24, 54, 21, 0.25); transition: background .2s, transform .2s; }
    .lp-screen-dot.is-active::after { background: var(--lp-dark); transform: scale(1.25); }
}

/* ---------- 6 · Stakes + success ---------- */

.lp-stakes { background: #fff; }
.lp-stakes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.lp-stakes-line { margin: 0 0 8px; font-size: 1rem; font-weight: 500; color: #A65A0F; }
.lp-stakes .lp-title { font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.6rem); }
.lp-grocery {
    border-radius: 24px;
    background: #F7F7F5;
    overflow: hidden;
}
.lp-grocery img { display: block; width: 100%; height: auto; }

/* ---------- 7 · Sellers and riders ---------- */

.lp-join { background: #fff; padding-top: 8px; }
.lp-join-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.lp-join-card {
    padding: 30px 28px 32px;
    border-radius: 20px;
    color: #fff;
}
.lp-join-card--seller { background: var(--lp-green); }
.lp-join-card--rider { background: var(--lp-dark); }
.lp-join-question {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);   /* dark green on white: readable at this small size */
    color: var(--lp-dark);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.lp-join-line { margin: 0 0 20px; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.65rem); font-weight: 700; line-height: 1.25; color: #fff; }
.lp-join-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--lp-dark);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.lp-join-btn:hover { background: #FBEACE; color: var(--lp-dark); }
.lp-join-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- What is Shopora? (Sheet 6) ---------- */

.lp-about { background: #FDF6EA; }
.lp-about-text {
    margin: 0 0 28px;
    max-width: 40em;
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--lp-dark);
}
.lp-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}
.lp-faq-item {
    padding: 20px 22px;
    background: #fff;
    border-radius: 14px;
}
.lp-faq-q { margin: 0 0 6px; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--lp-dark); }
.lp-faq-a { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--lp-muted); }

/* ---------- Footer ---------- */

.lp-footer {
    padding: 40px 0 48px;
    background: var(--lp-dark);
    color: rgba(255, 255, 255, 0.8);
}
.lp-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}
.lp-footer-logo { display: block; width: 120px; height: auto; filter: brightness(0) invert(1); }
.lp-footer-copy { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lp-footer-links a { color: #fff; font-size: 14px; text-decoration: none; }
.lp-footer-links a:hover { text-decoration: underline; }
/* Kevin 8 Nov, D1: contact details and social links from the admin. */
.lp-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.lp-contact a { color: #fff; text-decoration: none; }
.lp-contact a:hover { text-decoration: underline; }
.lp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.lp-social a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 16px; color: #fff; font-size: 13px; text-decoration: none; }
.lp-social a:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Floating WhatsApp button (same place as before) ---------- */

.lp-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.lp-whatsapp:focus-visible { outline: 3px solid var(--lp-dark); outline-offset: 3px; }
/* Kevin 8 Nov, D1: "We reply 8am–8pm" beside the button, on screens with room. */
.lp-whatsapp-hours { display: none; }
@media (min-width: 768px) {
    .lp-whatsapp-hours { display: block; position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 14px; background: #fff; color: var(--lp-dark, #183615); font-size: 13px; font-weight: 600; line-height: 1.4; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
}

/* ---------- "Show shops near you" pop-up (Sheet 7, book page 7) ---------- */

.lp-dialog {
    width: min(400px, calc(100vw - 40px));
    max-width: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: #fff;
    color: var(--lp-dark);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.lp-dialog::backdrop { background: rgba(24, 54, 21, 0.55); }
/* Browsers without <dialog>: same look, centred, with a dark surround. */
.lp-dialog--fallback {
    position: fixed;
    inset: 0;
    height: fit-content;
    z-index: 100;
    box-shadow: 0 0 0 100vmax rgba(24, 54, 21, 0.55);
}
.lp-dialog-card { padding: 34px 28px 26px; text-align: center; }
.lp-dialog-icon {
    display: inline-grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #FDEBD8;
    font-size: 34px;
    line-height: 1;
}
.lp-dialog-title { margin: 0 0 10px; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.lp-dialog-text { margin: 0 0 24px; font-size: 1rem; line-height: 1.55; color: var(--lp-muted); }
.lp-dialog-allow { width: 100%; font-size: 19px; padding: 17px 24px; cursor: pointer; border: 0; }
.lp-dialog-allow[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.lp-dialog-later {
    margin-top: 16px;
    padding: 6px 4px;
    border: 0;
    background: none;
    color: var(--lp-muted);
    font: 500 15px/1.4 var(--lp-font);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.lp-dialog-later:hover { color: var(--lp-dark); }
.lp-dialog-later:focus-visible { outline: 2px solid var(--lp-dark); outline-offset: 2px; border-radius: 4px; }

/* ---------- Phones (<= 760px): one column, full-width big button ---------- */

@media (max-width: 760px) {
    :root { --lp-gutter: 20px; --lp-logo-w: 118px; }

    .lp-header-inner { min-height: 64px; }
    .lp-tagline { font-size: 12px; }
    .lp-btn--small { font-size: 14.5px; padding: 10px 17px; }

    .lp-hero { padding: 28px 0 36px; }
    .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .lp-headline { font-size: clamp(2.25rem, 1rem + 6.4vw, 3rem); margin-bottom: 18px; }
    .lp-sub { margin-bottom: 26px; }
    .lp-btn--big { display: flex; width: 100%; font-size: 21px; padding: 19px 24px; }
    .lp-reassure { margin-top: 20px; font-size: 15px; }
    .lp-hero-media { aspect-ratio: 3 / 4; border-radius: 20px; }

    /* Tall pictures shown 3:4: trim mostly the empty top, never the sides. */
    .lp-story-pic img { object-position: 50% 72%; }

    .lp-ring-slot { margin-top: 26px; }
    .lp-ring-card { max-width: none; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 20px; }
    .lp-ring { width: 84px; height: 84px; }
    .lp-ring-icon { font-size: 28px; }
    .lp-step-label { font-size: 18px; }
    .lp-step-caption { font-size: 15px; }

    .lp-section { padding: 52px 0; }
    .lp-steps,
    .lp-cards,
    .lp-app-grid,
    .lp-stakes-grid,
    .lp-join-grid,
    .lp-faq { grid-template-columns: minmax(0, 1fr); }
    .lp-about-text { font-size: 1.05rem; }
    .lp-app-grid { gap: 40px; }
    .lp-stakes-grid { gap: 32px; }
    .lp-problem { padding: 44px 0; }
    .lp-decorations { background-size: 90% auto; background-position: right -20% top 4%; }
    .lp-join { padding-top: 0; }
    .lp-join-card { padding: 26px 22px 28px; }
    .lp-footer { padding-bottom: 104px; }   /* keep the last line clear of the WhatsApp button */
    .lp-footer-inner { flex-direction: column; }
    .lp-whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* Very narrow phones: keep the header on one line. */
@media (max-width: 360px) {
    :root { --lp-gutter: 16px; --lp-logo-w: 100px; }
    .lp-header-inner { gap: 8px; }
    .lp-tagline { font-size: 10.5px; padding-left: calc(var(--lp-logo-w) * 0.24); }
    .lp-btn--small { font-size: 12.5px; padding: 8px 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-story-pic,
    .lp-step-text,
    .lp-step-text.is-active,
    .lp-ring-icon,
    .lp-ring-stop span { transition: none; }
    .lp-live-dot::after { animation: none; }
}

/* Kevin 8 Nov, D7: the "Pay Your Way" card text links to the band (#pay). */
.lp-card-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(24, 54, 21, 0.35); text-underline-offset: 3px; }
.lp-card-link:hover { text-decoration-color: currentColor; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* N5: a switched-off app button (admin → Apps): grey, not clickable, "Coming soon". */
.lp-join-btn--off, .lp-join-btn--off:hover { background: #8a8a85; color: #f4f5f7; cursor: not-allowed; }
.lp-join-soon { display: block; margin-top: 8px; color: #F6C27A; font-weight: 700; font-size: 14px; }
