/* ============================================================
   LikeGlow design system — 2026 redesign
   ------------------------------------------------------------
   Tokens, layout primitives, components.
   Per-platform theming via body.theme-{instagram|facebook|tiktok}.
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    --navbar-height: 72px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color .15s ease;
}
a:hover { color: var(--brand-primary-dark); }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 2.4vw + .5rem, 2.5rem); letter-spacing: 0; }
h3 { font-size: clamp(1.4rem, 1.5vw + .5rem, 1.85rem); letter-spacing: 0; }
h4 { font-size: 1.25rem; letter-spacing: 0; }

p { margin: 0; }

::selection { background: color-mix(in srgb, var(--brand-primary) 30%, transparent); color: var(--ink); }

/* ---------- Tokens (default = Instagram) ---------- */
:root, body.theme-instagram {
    --ink: #0F172A;
    --ink-soft: #1F2937;
    --ink-muted: #5B6573;
    --ink-line: #E2E8F0;
    --ink-faint: #F1F5F9;

    --bg: #FFFFFF;
    --surface: #FAFAFC;
    --surface-2: #F4F5F8;
    --surface-elev: #FFFFFF;

    --brand-primary: #E1306C;
    --brand-primary-dark: #C22862;
    --brand-secondary: #F58529;
    --brand-accent: #515BD4;
    --brand-gradient: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #515BD4 100%);
    --brand-soft: #FFE6EE;

    --success: #10B981;
    --success-soft: #D1FAE5;
    --warning: #F59E0B;
    --warning-soft: #FEF3C7;
    --danger: #EF4444;
    --danger-soft: #FEE2E2;

    --shadow-1: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow-2: 0 4px 12px rgba(15, 23, 42, .06), 0 2px 4px rgba(15, 23, 42, .04);
    --shadow-3: 0 18px 48px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .06);
    --shadow-brand: 0 16px 32px -12px color-mix(in srgb, var(--brand-primary) 45%, transparent);

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Single source of truth for left/right page padding so every public page
       breathes the same amount on phones. Min 16px on the smallest screens,
       grows up to 32px on tablet+. Used by .container/.lg-container and any
       full-width section wrapper that doesn't nest .container inside it. */
    --content-pad-x: clamp(16px, 3vw, 32px);
}

body.theme-facebook {
    --brand-primary: #1877F2;
    --brand-primary-dark: #0866D6;
    --brand-secondary: #0866FF;
    --brand-accent: #42B72A;
    --brand-gradient: linear-gradient(135deg, #1877F2 0%, #0866FF 60%, #42B72A 100%);
    --brand-soft: #E7F1FE;
}

body.theme-tiktok {
    --brand-primary: #FE2C55;
    --brand-primary-dark: #E01E47;
    --brand-secondary: #25F4EE;
    --brand-accent: #25F4EE;
    --brand-gradient: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
    --brand-soft: #FFE5EC;
}

/* ---------- Layout primitives ---------- */
.container, .lg-container {
    width: 100%;
    margin: 0 auto;
    padding-inline: var(--content-pad-x);
}
.container { max-width: 1180px; }
.lg-container { max-width: 1320px; }

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #fff; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    color: var(--brand-primary);
    background: var(--brand-soft);
    border-radius: var(--radius-pill);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.lede {
    color: var(--ink-muted);
    font-size: clamp(1rem, .4vw + .9rem, 1.125rem);
    line-height: 1.65;
    max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    color: #fff;
    background: var(--brand-primary);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s cubic-bezier(.4,0,.2,1), background .18s, box-shadow .18s, border-color .18s;
    box-shadow: var(--shadow-brand);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--brand-primary-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-primary) 35%, transparent); outline-offset: 2px; }

.btn--gradient { background: var(--brand-gradient); border: 0; }
.btn--gradient:hover { filter: brightness(1.05); background: var(--brand-gradient); }

.btn--ghost {
    color: var(--ink);
    background: var(--ink-faint);
    box-shadow: none;
}
.btn--ghost:hover { background: var(--ink-line); color: var(--ink); }

.btn--outline {
    color: var(--ink);
    background: transparent;
    border-color: var(--ink-line);
    box-shadow: none;
}
.btn--outline:hover { background: var(--surface); border-color: var(--ink-muted); color: var(--ink); }

.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Site logo ---------- */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
    min-width: 0;
}
.site-logo__mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    /* Brand gradient is locked — does not adapt to per-page theme */
    background: linear-gradient(145deg, #ff8a2a 0%, #df2f78 48%, #4c58d4 100%);
    border-radius: 10px;
    box-shadow:
        0 10px 24px -10px rgba(221, 42, 123, .6),
        inset 0 1px 0 rgba(255, 255, 255, .2),
        inset 0 -1px 0 rgba(20, 16, 34, .16);
}
.site-logo__dot { color: #DD2A7B; }
.site-logo__mark svg { width: 21px; height: 21px; }
.site-logo__text {
    min-width: 0;
    max-width: clamp(128px, 16vw, 240px);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 850;
    font-size: 1.08rem;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-logo__dot {
    color: var(--brand-primary);
}
.site-logo--footer .site-logo__mark { width: 34px; height: 34px; }
.site-logo--footer .site-logo__mark svg { width: 20px; height: 20px; }
.site-logo--footer .site-logo__text { max-width: min(260px, 100%); }

/* ---------- Navbar ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 80;
    width: 100%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid color-mix(in srgb, var(--ink-line) 80%, transparent);
}
.nav__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    /* Generous gap between the links column and the CTA so longer labels in
       Romanian / German / etc. never sit visually flush against "My Account". */
    column-gap: 28px;
    height: var(--navbar-height);
}
.nav__brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; }
.nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0;
    /* A bit of inline padding so the first/last link never sit flush against the
       brand or the CTA — important for languages whose labels grow longer. */
    padding: 0 4px;
    list-style: none;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    /* Keep horizontal scroll silent — CTA stays pinned on the right of the grid. */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav__links::-webkit-scrollbar { display: none; }
.nav__links > li { flex: 0 0 auto; }
.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    color: var(--ink-soft);
    font-weight: 650;
    font-size: .9rem;
    line-height: 1;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--surface); color: var(--ink); }
.nav__link.is-active {
    color: var(--brand-primary);
    background: var(--brand-soft);
}
.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px;
    bottom: -3px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand-gradient);
}
.nav__account-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 28%, var(--ink-line));
    border-radius: 999px;
    color: var(--ink);
    background: color-mix(in srgb, var(--brand-soft) 70%, #fff);
    font-weight: 760;
    font-size: .86rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.nav__account-link:hover,
.nav__account-link.is-active {
    color: var(--brand-primary);
    border-color: color-mix(in srgb, var(--brand-primary) 45%, var(--ink-line));
    background: #fff;
    text-decoration: none;
}
.nav__cta { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.nav__cta .btn { min-height: 40px; padding: 0 16px; border-radius: var(--radius-sm); font-size: .9rem; white-space: nowrap; }
.nav__cta .btn--login {
    color: var(--ink); background: transparent; box-shadow: none;
    border-color: transparent;
}
.nav__cta .btn--login:hover { background: var(--surface); color: var(--ink); }

@media (min-width: 1025px) and (max-width: 1320px) {
    /* Tight desktop range — keep a healthy gap so longer translated labels
       still don't visually run into the My Account / Login button. */
    .nav__inner { column-gap: 22px; }
    .nav__link { padding: 7px 8px; font-size: .82rem; }
    .nav__links { gap: 0; padding: 0 6px; }
    .nav__cta .btn { padding: 0 12px; font-size: .85rem; min-height: 38px; }
    .nav__account-link { min-height: 36px; padding: 0 12px; font-size: .8rem; }
    .site-logo__text { max-width: clamp(118px, 13vw, 190px); font-size: 1.02rem; }
}

.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: transparent; border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--ink);
    margin-left: auto;
}
.nav__toggle:hover { background: var(--surface); }
.nav__toggle svg { width: 22px; height: 22px; }

#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
#nav-toggle:checked ~ .nav .nav__toggle .nav__icon-open { display: none; }
#nav-toggle:checked ~ .nav .nav__toggle .nav__icon-close { display: block; }
.nav__icon-close { display: none; }
/* Don't let the body scroll behind the open mobile drawer. */
body:has(#nav-toggle:checked) { overflow: hidden; }

/* ---------- Mobile drawer (sibling of <header>) ----------
   Hidden on desktop. The drawer is a top-level element so it escapes the
   header's stacking context (header has backdrop-filter + position:sticky +
   z-index, which would otherwise trap a fixed child below other page content).
*/
.nav__drawer { display: none; }
.nav__scrim  { display: none; }

@media (max-width: 1024px) {
    .nav__inner { grid-template-columns: auto auto; }
    .nav__toggle { display: inline-flex; justify-self: end; }

    /* Hide the inline desktop nav on mobile — the drawer takes over. */
    .nav .nav__links,
    .nav .nav__cta { display: none; }

    /* ---------- Full-screen drawer ----------
       Always rendered on mobile but hidden via opacity + visibility so the
       fade-in animation can play. CSS display can't be transitioned, so we
       lean on visibility (toggled instantly when opening, delayed on close)
       to make sure tap targets are inert when the menu is closed. */
    .nav__drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: #fff;
        z-index: 9999;                /* above the header AND any other fixed UI */
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition:
            opacity .22s cubic-bezier(.4, 0, .2, 1),
            transform .22s cubic-bezier(.4, 0, .2, 1),
            visibility 0s linear .22s;
    }
    #nav-toggle:checked ~ .nav__drawer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition:
            opacity .22s cubic-bezier(.4, 0, .2, 1),
            transform .22s cubic-bezier(.4, 0, .2, 1),
            visibility 0s linear 0s;
    }
    @media (prefers-reduced-motion: reduce) {
        .nav__drawer,
        #nav-toggle:checked ~ .nav__drawer { transition: none; transform: none; }
    }

    /* Optional dim scrim — only visible when the drawer is open, useful if the
       drawer ever doesn't fully cover the viewport (e.g. landscape phones). */
    .nav__scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .35);
        opacity: 0;
        visibility: hidden;
        z-index: 9998;
        cursor: pointer;
        transition:
            opacity .22s cubic-bezier(.4, 0, .2, 1),
            visibility 0s linear .22s;
    }
    #nav-toggle:checked ~ .nav__scrim {
        opacity: 1;
        visibility: visible;
        transition:
            opacity .22s cubic-bezier(.4, 0, .2, 1),
            visibility 0s linear 0s;
    }

    /* ---------- Drawer top bar (logo + ✕) ---------- */
    .nav__drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex: 0 0 auto;
        height: var(--navbar-height);
        padding-inline: var(--content-pad-x);
        border-bottom: 1px solid var(--ink-line);
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .nav__drawer-head .nav__brand { min-width: 0; }
    .nav__drawer-head .site-logo__text { font-size: 1.05rem; }

    .nav__close {
        display: inline-flex;
        align-items: center; justify-content: center;
        width: 44px; height: 44px;
        border-radius: var(--radius-sm);
        cursor: pointer;
        color: var(--ink);
        transition: background .15s, transform .15s;
        flex: 0 0 auto;
    }
    .nav__close:hover { background: var(--surface); }
    .nav__close:active { transform: scale(.94); }
    .nav__close:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-primary) 40%, transparent); outline-offset: 2px; }
    .nav__close svg { width: 22px; height: 22px; }

    /* Hide the header's hamburger icon swap — the drawer covers it anyway. */
    #nav-toggle:checked ~ .nav .nav__toggle { visibility: hidden; }

    /* ---------- Drawer links list ---------- */
    .nav__drawer-links {
        flex: 1 1 auto;
        list-style: none;
        margin: 0;
        padding: 18px var(--content-pad-x);
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .nav__drawer-links > li { width: 100%; }
    .nav__drawer-link {
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 14px 16px;
        font-size: 1.0625rem;
        font-weight: 600;
        border-radius: var(--radius-md);
        color: var(--ink);
        text-decoration: none;
    }
    .nav__drawer-link:hover { background: var(--surface); color: var(--ink); }
    .nav__drawer-link.is-active {
        background: var(--brand-soft);
        color: var(--brand-primary);
    }

    /* ---------- Drawer CTA pinned at bottom ---------- */
    .nav__drawer-cta {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 18px var(--content-pad-x) calc(18px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--ink-line);
        background: var(--surface);
    }
    .nav__drawer-cta form { margin: 0; }
    .nav__drawer-cta .btn {
        width: 100%;
        min-height: 52px;
        font-size: 1rem;
    }
}

@keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 80px;
    padding: clamp(48px, 6vw, 80px) 0 32px;
    background: var(--surface);
    border-top: 1px solid var(--ink-line);
    color: var(--ink-soft);
    font-size: .9375rem;
}
.footer__grid {
    display: grid;
    /* Brand | Services | Company | Legal — 4 cells in one row.
       Services gets a bit more width to fit the 4 platform accordions. */
    grid-template-columns: 1.35fr 1.4fr 1fr 1fr;
    gap: clamp(28px, 3.5vw, 56px);
    align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.footer__brand p { color: var(--ink-muted); line-height: 1.6; }

/* Services column — 4 collapsible platform groups */
.footer__platforms {
    display: flex; flex-direction: column;
    gap: 4px;
}
.footer__platform {
    border-top: 1px solid var(--ink-line);
}
.footer__platform:last-child {
    border-bottom: 1px solid var(--ink-line);
}
.footer__platform > summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
}
.footer__platform > summary::-webkit-details-marker { display: none; }
.footer__platform-name {
    display: inline-flex; align-items: center; gap: 10px;
}
.footer__platform-icon {
    width: 18px; height: 18px;
    color: var(--ink); opacity: .85;
}
/* Brand colour each platform icon */
.footer__platform[data-platform="instagram"] .footer__platform-icon { color: #E1306C; }
.footer__platform[data-platform="tiktok"]    .footer__platform-icon { color: #161823; }
.footer__platform[data-platform="facebook"]  .footer__platform-icon { color: #1877F2; }
.footer__platform[data-platform="youtube"]   .footer__platform-icon { color: #FF0033; }

.footer__platform-chevron {
    font-size: .8rem; opacity: .55;
    transition: transform .2s ease;
}
.footer__platform[open] > summary .footer__platform-chevron { transform: rotate(180deg); }
.footer__platform > ul {
    list-style: none; padding: 4px 0 12px 28px; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.footer__platform > ul > li > a {
    color: var(--ink-muted);
    transition: color .15s;
}
.footer__platform > ul > li > a:hover { color: var(--ink); }
.footer__col h4 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
    color: var(--ink-muted);
    transition: color .15s;
}
.footer__col a:hover { color: var(--ink); }
/* Payment logos (inline SVG). One shared ruleset for the product form
 * (variant=form, centered + slightly bigger) and the site footer
 * (variant=footer, left-aligned, compact). No chip / white-box wrapper —
 * the logos sit on the page background with their natural brand colors. */
.paylogos {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 12px;
}
.paylogo {
    display: inline-flex; align-items: center; justify-content: center;
    height: 22px;
    width: var(--paylogo-width, auto);
    color: var(--ink);        /* Apple Pay / Google Pay "Pay" inherits this */
    line-height: 1;
    opacity: .95;
}
.paylogo svg { display: block; max-width: 100%; height: 100%; width: auto; }
.paylogo--visa { --paylogo-width: 54px; }
.paylogo--mastercard { --paylogo-width: 42px; }
.paylogo--apple-pay { --paylogo-width: 56px; }
.paylogo--google-pay { --paylogo-width: 56px; }
.paylogo--paypal { --paylogo-width: 62px; }
.paylogo--discover { --paylogo-width: 76px; }

.paylogos--form {
    justify-content: center;
    margin-top: 16px;
    gap: 14px;
}
.paylogos--form .paylogo { height: 22px; }

.paylogos--footer {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 10px;
    max-width: 100%;
}
.paylogos--footer .paylogo {
    height: 18px;
    transform: scale(.94);
    transform-origin: left center;
}

@media (max-width: 540px) {
    .paylogos--form { gap: 12px; }
    .paylogos--form .paylogo { height: 20px; }
    .paylogos--footer { flex-wrap: wrap; gap: 10px 12px; }
}
.footer__trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.footer__security-badge {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
}
.footer__security-badge img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 156px;
    object-fit: contain;
}
.footer__anpc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
}
.footer__anpc-badge img {
    display: block;
    width: auto;
    height: 50px;
    max-width: min(240px, 100%);
    object-fit: contain;
}
.footer__bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-line);
    display: flex; flex-wrap: wrap; gap: 12px 24px;
    align-items: center; justify-content: space-between;
    color: var(--ink-muted);
    font-size: .8125rem;
}
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom-links a { color: var(--ink-muted); }
.footer__bottom-links a:hover { color: var(--ink); }

@media (max-width: 1100px) {
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 760px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Service bar (above product hero) ---------- */
.service-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--ink-line);
    padding: 14px 0;
}
.service-bar--compact {
    background: transparent;
    border-bottom: 0;
    padding: 0;
    width: min(100%, 480px);
    margin-bottom: 8px;
}
.service-bar__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.service-bar__list > li { min-width: 0; }

.service-pill {
    --pill-color: var(--ink-soft);
    --pill-bg: #fff;
    --pill-border: var(--ink-line);
    --pill-icon-bg: var(--surface-2);
    --pill-icon-color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 6px 12px;
    color: var(--pill-color);
    background: var(--pill-bg);
    border: 1.5px solid var(--pill-border);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .8125rem;
    line-height: 1.15;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.service-pill:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--pill-icon-color) 60%, var(--ink-line));
    color: var(--pill-color);
    box-shadow: var(--shadow-1);
}
.service-pill__icon {
    flex: 0 0 24px;
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pill-icon-bg);
    color: var(--pill-icon-color);
    border-radius: 7px;
    transition: background .18s, color .18s;
}
.service-pill__icon svg { width: 14px; height: 14px; }
.service-pill__label-short { display: none; white-space: nowrap; }
.service-pill__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-bar--compact .service-pill {
    align-items: flex-start;
    min-height: 46px;
}
.service-bar--compact .service-pill__label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
}

/* per-service color identity for the pill */
.service-pill--instagram { --pill-icon-color: #E1306C; --pill-icon-bg: #FFE6EE; }
.service-pill--facebook  { --pill-icon-color: #1877F2; --pill-icon-bg: #E7F1FE; }
.service-pill--tiktok    { --pill-icon-color: #FE2C55; --pill-icon-bg: #E9F9F9; }
.service-pill--youtube   { --pill-icon-color: #FF0033; --pill-icon-bg: #FFE9EC; }

/* active state — fill with the brand color for that platform */
.service-pill.is-active {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--pill-icon-color) 55%, transparent);
}
.service-pill--instagram.is-active { background: linear-gradient(135deg,#F58529 0%,#DD2A7B 50%,#515BD4 100%); }
.service-pill--facebook.is-active  { background: linear-gradient(135deg,#1877F2 0%,#0866FF 100%); }
.service-pill--tiktok.is-active    { background: linear-gradient(135deg,#25F4EE 0%,#FE2C55 100%); }
.service-pill--youtube.is-active   { background: linear-gradient(135deg,#FF0033 0%,#CC0000 100%); }
.service-pill.is-active .service-pill__icon {
    background: rgba(255,255,255,.22);
    color: #fff;
}

@media (max-width: 600px) {
    .service-bar { padding: 10px 0; }
    .service-bar__list { gap: 8px; }
    .service-pill { padding: 8px 12px; min-height: 52px; font-size: .8125rem; gap: 8px; }
    .service-pill__icon { flex: 0 0 28px; width: 28px; height: 28px; }
    .service-pill__icon svg { width: 16px; height: 16px; }
    .service-pill__label { display: none; }
    .service-pill__label-short { display: inline; }
}

/* ── service-bar mobile/desktop split ──────────────────────────────
   Desktop (≥720px): horizontal pill bar with same-platform services.
   Mobile (<720px): 2×2 grid of platform tabs + a single shared panel
   below. Apple-grade smoothness: gradient fills cross-fade via an
   ::before overlay (rather than a hard background swap), and the
   panel expands with a `grid-template-rows: 0fr → 1fr` height
   transition rather than a popping in/out. No scale on press. */
.service-bar--mobile { display: none; }

@media (max-width: 720px) {
    .service-bar--desktop { display: none; }
    .service-bar--mobile  { display: block; padding: 10px 0; }

    .sb-mobile { width: 100%; }

    /* 2×2 platform tab grid */
    .sb-mobile__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .sb-mobile__tab {
        position: relative;
        isolation: isolate;          /* keeps the ::before gradient inside this stack */
        overflow: hidden;
        cursor: pointer;
        width: 100%;
        min-height: 50px;
        padding: 10px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        font-family: inherit;
        font-size: .9rem;
        font-weight: 700;
        background: #fff;
        color: var(--ink);
        border: 1px solid var(--ink-line);
        border-radius: 14px;
        -webkit-tap-highlight-color: transparent;
        transition:
            color           .28s cubic-bezier(.4, 0, .2, 1),
            border-color    .28s cubic-bezier(.4, 0, .2, 1),
            box-shadow      .28s cubic-bezier(.4, 0, .2, 1);
    }
    /* Gradient overlay that cross-fades on open — gradients can't
       transition between two background-images directly, but an
       opacity transition on an overlay layer does the same thing
       cleanly. */
    .sb-mobile__tab::before {
        content: '';
        position: absolute;
        inset: -1px;
        z-index: -1;
        border-radius: inherit;
        opacity: 0;
        transition: opacity .28s cubic-bezier(.4, 0, .2, 1);
        background: var(--ink); /* fallback */
    }
    .sb-mobile__tab.service-pill--instagram::before {
        background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #515BD4 100%);
    }
    .sb-mobile__tab.service-pill--tiktok::before {
        background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
    }
    .sb-mobile__tab.service-pill--facebook::before {
        background: linear-gradient(135deg, #1877F2 0%, #0866FF 100%);
    }
    .sb-mobile__tab.service-pill--youtube::before {
        background: linear-gradient(135deg, #FF0033 0%, #CC0000 100%);
    }
    .sb-mobile__tab.is-open::before,
    .sb-mobile__tab.is-current::before { opacity: 1; }

    .sb-mobile__tab .service-pill__icon {
        flex: 0 0 24px; width: 24px; height: 24px;
        background: transparent;
        transition: color .28s cubic-bezier(.4, 0, .2, 1);
    }
    .sb-mobile__tab .service-pill__icon svg { width: 20px; height: 20px; }
    .sb-mobile__tab.service-pill--instagram .service-pill__icon { color: #E1306C; }
    .sb-mobile__tab.service-pill--tiktok    .service-pill__icon { color: #FE2C55; }
    .sb-mobile__tab.service-pill--facebook  .service-pill__icon { color: #1877F2; }
    .sb-mobile__tab.service-pill--youtube   .service-pill__icon { color: #FF0033; }
    .sb-mobile__tab .service-pill__label {
        display: inline;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sb-mobile__tab .service-pill__label-short { display: none; }

    /* Tiny dot on the tab whose platform owns the current page */
    .sb-mobile__dot { display: none; }

    /* Opened (selected) state — white text on the gradient overlay,
       softly elevated. Border fades to transparent. */
    .sb-mobile__tab.is-open,
    .sb-mobile__tab.is-current {
        color: #fff;
        border-color: transparent;
        box-shadow: 0 14px 32px -16px rgba(15, 23, 42, .35);
    }
    .sb-mobile__tab.is-open .service-pill__icon,
    .sb-mobile__tab.is-current .service-pill__icon { color: #fff; }

    /* ── Panel: grid-template-rows trick for smooth height transition ── */
    .sb-mobile__panel {
        display: grid;
        grid-template-rows: 0fr;
        margin-top: 0;
        opacity: 0;
        transition:
            grid-template-rows .32s cubic-bezier(.4, 0, .2, 1),
            margin-top         .32s cubic-bezier(.4, 0, .2, 1),
            opacity            .22s cubic-bezier(.4, 0, .2, 1);
        will-change: grid-template-rows, opacity;
    }
    .sb-mobile__panel.is-open {
        grid-template-rows: 1fr;
        margin-top: 10px;
        opacity: 1;
    }
    .sb-mobile__panel-inner {
        overflow: hidden;
        min-height: 0;
        background: #fff;
        border: 1px solid var(--ink-line);
        border-radius: 14px;
    }
    .sb-mobile__panel:not(.is-open) .sb-mobile__panel-inner {
        border-color: transparent;
    }
    .sb-mobile__panel ul {
        list-style: none;
        margin: 0;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .sb-mobile__link {
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
        color: var(--ink);
        font-weight: 600;
        font-size: .9375rem;
        text-decoration: none;
        transition: background .18s ease, color .18s ease;
    }
    .sb-mobile__link:hover { background: var(--surface); }
    .sb-mobile__link.is-active {
        background: #fff5f8;
        color: var(--brand-primary);
        font-weight: 800;
    }

    /* Respect users who prefer reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .sb-mobile__tab,
        .sb-mobile__tab::before,
        .sb-mobile__panel,
        .sb-mobile__panel-inner,
        .sb-mobile__link { transition: none; }
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    /* Reduced top/bottom padding so the product form fits above the fold
     * on a typical laptop viewport (~720-768px tall). Previous values
     * pushed the form ~80-110px down which hid the "Continue" button
     * below the scroll. */
    padding: clamp(28px, 3.5vw, 56px) 0 clamp(28px, 3vw, 48px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -10% -5% auto auto;
    width: 540px; height: 540px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-primary) 22%, transparent), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 12px; max-width: 580px; }
.hero__title {
    font-size: clamp(1.75rem, 2.25vw + 1rem, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: break-word;
    text-wrap: balance;
}
@media (max-width: 540px) { .hero__title { white-space: normal; font-size: clamp(1.55rem, 6vw, 2rem); } }
.hero h1 .accent, .hero__title .accent {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.hero__sub {
    color: var(--ink-muted);
    font-size: clamp(1rem, .5vw + .95rem, 1.1875rem);
    line-height: 1.6;
    max-width: 56ch;
}
.hero__trust {
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--ink-line);
}
.hero__trust-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--ink-soft);
    font-size: .875rem;
    font-weight: 600;
}
.hero__trust-item svg { width: 18px; height: 18px; color: var(--brand-primary); }
.hero__stars { display: inline-flex; gap: 2px; color: #FBBF24; }

.hero__media {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    min-height: 360px;
}
.hero__media img {
    width: min(100%, 480px);
    border-radius: var(--radius-xl);
}
.hero__media::before, .hero__media::after {
    content: "";
    position: absolute;
    border-radius: 30%;
    pointer-events: none;
    z-index: -1;
}
.hero__media::before {
    width: 70%; height: 70%;
    background: var(--brand-gradient);
    filter: blur(60px); opacity: .35;
    top: 8%; left: 8%;
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__copy { max-width: 100%; text-align: center; align-items: center; }
    .hero__sub { margin-inline: auto; }
    .hero__trust { justify-content: center; }
    .hero__media { display: none; }
    .hero::before { display: none; }
}

@media (max-width: 540px) {
    .hero {
        padding: 18px 0 24px;
    }
    .hero__copy {
        gap: 9px;
    }
    .hero__title {
        font-size: clamp(1.42rem, 5.7vw, 1.85rem);
        line-height: 1.07;
    }
    .hero__sub {
        font-size: .95rem;
        line-height: 1.5;
    }
    .hero__trust {
        gap: 10px;
        margin-top: 4px;
        padding-top: 10px;
    }
    .hero__trust-item {
        gap: 7px;
        font-size: .78rem;
    }
}

/* ---------- Trust strip ---------- */
.trust-strip {
    padding: 22px 0;
    background: var(--surface);
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
}
.trust-strip__inner {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
    gap: 16px 32px;
    color: var(--ink-muted);
    font-size: .875rem;
    font-weight: 600;
}
.trust-strip__item { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip__item svg { width: 16px; height: 16px; color: var(--brand-primary); }

/* ---------- Steps grid ("How it works") ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: clamp(32px, 4vw, 56px);
}
.step-card {
    position: relative;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s, border-color .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--brand-primary) 40%, var(--ink-line)); }
.step-card__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--brand-primary) 50%, transparent);
}
.step-card h3 { margin-bottom: 10px; font-size: 1.1875rem; }
.step-card p { color: var(--ink-muted); line-height: 1.55; font-size: .9375rem; }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature blocks (alternating image/text) ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
    padding: clamp(40px, 5vw, 72px) 0;
}
.feature-row:not(:last-child) { border-bottom: 1px solid var(--ink-line); }
.section > .container > .feature-row:first-child { padding-top: 0; }
.feature-row__copy h2 { margin-bottom: 20px; }
.feature-row__copy p { color: var(--ink-muted); font-size: 1.0625rem; line-height: 1.7; }
.feature-row__copy strong { color: var(--ink); font-weight: 700; }
.feature-row__media {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.feature-row__media .col {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-row__media img {
    display: block;
    width: min(100%, 520px);
    max-height: 430px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}
.service-feature-image {
    height: auto;
}
.feature-row--reverse .feature-row__media { order: -1; }

@media (max-width: 800px) {
    .feature-row, .feature-row--reverse { grid-template-columns: 1fr; }
    .feature-row__media, .feature-row--reverse .feature-row__media { order: -1; }
    .feature-row__media img { width: min(92vw, 380px); max-height: 340px; }
    .feature-row__copy { text-align: center; }
    .feature-row__copy p { margin-inline: auto; max-width: 56ch; }
}

/* ---------- Reputation cards ---------- */
.reputation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: clamp(32px, 4vw, 48px);
}
.reputation-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    display: flex; flex-direction: column; gap: 14px;
}
.reputation-card__icon {
    width: 100%;
    max-width: 188px;
    height: clamp(132px, 14vw, 172px);
    margin: 0 auto 2px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    color: var(--brand-primary);
    border-radius: 0;
}
.reputation-card__icon svg, .reputation-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.reputation-card h3 { font-size: 1.1875rem; }
.reputation-card p { color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; }

@media (max-width: 800px) {
    .reputation { grid-template-columns: 1fr; }
    .reputation-card { text-align: center; align-items: center; }
    .reputation-card__icon { max-width: 176px; height: 148px; }
}

/* ---------- Reviews ---------- */
.reviews {
    background: var(--surface);
}
.reviews__head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); }
.reviews__head .lede { margin: 16px auto 0; }

.reviews__track {
    display: flex; gap: 18px; overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.reviews__track::-webkit-scrollbar { height: 8px; }
.reviews__track::-webkit-scrollbar-thumb { background: var(--ink-line); border-radius: 4px; }
.review-card {
    flex: 0 0 min(360px, 80vw);
    scroll-snap-align: start;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column; gap: 14px;
    box-shadow: var(--shadow-1);
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    flex-shrink: 0;
}
.review-card__photo {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 44px;
    background: var(--surface-2);
}
.review-card__handle {
    font-weight: 700; color: var(--ink); font-size: .9375rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.review-card__stars { display: flex; gap: 2px; color: #FBBF24; }
.review-card__stars svg { width: 14px; height: 14px; }
.review-card__body { color: var(--ink-soft); line-height: 1.6; font-size: .9375rem; }

/* ---------- Cross-sell — 4 platform groups ---------- */
.crosssell-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(32px, 4vw, 48px);
}
.crosssell-group {
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.crosssell-group__head {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--ink-line);
}
.crosssell-group__icon {
    width: 26px; height: 26px;
    color: var(--ink);
    flex-shrink: 0;
}
/* Brand-coloured cross-sell icons (mirror the header & footer scheme). */
.crosssell-group[data-platform="instagram"] .crosssell-group__icon { color: #E1306C; }
.crosssell-group[data-platform="tiktok"]    .crosssell-group__icon { color: #FE2C55; }
.crosssell-group[data-platform="facebook"]  .crosssell-group__icon { color: #1877F2; }
.crosssell-group[data-platform="youtube"]   .crosssell-group__icon { color: #FF0033; }
.crosssell-group__head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}
.crosssell-group__list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 4px;
}
.crosssell-row {
    position: relative;
    display: flex; flex-direction: column;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    transition: background .15s ease, color .15s ease;
}
.crosssell-row:hover {
    background: #fff5f8;
    color: var(--brand-primary);
}
.crosssell-row__label {
    font-weight: 600; font-size: .95rem;
    display: inline-flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.crosssell-row__price {
    margin-top: 2px;
    color: var(--ink-muted); font-size: .8125rem;
}
.crosssell-row__price b { color: var(--brand-primary); }
.crosssell-row__pop {
    display: inline-block;
    padding: 2px 8px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: .625rem; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-brand);
    white-space: nowrap;
}

@media (max-width: 1100px) { .crosssell-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:  640px) { .crosssell-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-list {
    max-width: 820px;
    margin: clamp(32px, 4vw, 48px) auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] {
    border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--ink-line));
    box-shadow: var(--shadow-1);
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
    flex: 0 0 auto;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border-radius: 50%;
    transition: background .2s, transform .25s;
}
.faq-item__icon svg { width: 14px; height: 14px; color: var(--ink-muted); }
.faq-item[open] .faq-item__icon { background: var(--brand-soft); transform: rotate(180deg); }
.faq-item[open] .faq-item__icon svg { color: var(--brand-primary); }
.faq-item__body {
    padding: 0 24px 24px;
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.65;
}

/* ---------- Article (terms / privacy / refunds) ---------- */
.article {
    max-width: 820px;
    margin: 0 auto;
    /* Vertical rhythm only — horizontal padding is provided by the .container
       class on the same element so legal pages line up with the rest of the site. */
    padding-block: clamp(56px, 8vw, 96px);
}
.article__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.article__head h1 { margin-bottom: 12px; }
.article__head .lede { margin: 0 auto; }
.article section { margin-bottom: 36px; }
.article h2 { font-size: 1.375rem; margin-bottom: 14px; }
.article h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.article p { color: var(--ink-soft); line-height: 1.75; font-size: 1.0625rem; }
.article p + p { margin-top: 12px; }
.article,
.article li,
.article a {
    overflow-wrap: anywhere;
}
.article ul,
.article ol {
    padding-left: 1.25rem;
}

/* ---------- Forms ---------- */
.form-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--shadow-2);
}
.form-card h1 { font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem); }
.form-card .lede { margin-top: 8px; margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 650;
    font-size: .875rem;
    color: var(--ink);
}
.field__input,
.field__textarea,
.field__select {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s, background .15s;
    -webkit-appearance: none; appearance: none;
}
.field__textarea {
    height: auto;
    min-height: 130px;
    padding: 12px 16px;
    line-height: 1.55;
    resize: vertical;
}
.field__select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%235B6573' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
.field__input:focus,
.field__textarea:focus,
.field__select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.field__input.is-invalid,
.field__textarea.is-invalid,
.field__select.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent);
}
.field__error {
    display: block;
    margin-top: 8px;
    color: var(--danger);
    font-size: .8125rem;
    font-weight: 600;
}
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .field__row { grid-template-columns: 1fr; } }

.checkbox {
    display: inline-flex; align-items: center; gap: 10px;
    cursor: pointer;
    font-size: .9375rem;
    color: var(--ink-soft);
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--brand-primary); }

.honeypot {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px; height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    clip-path: inset(50%);
}

/* ---------- Ticket receipt (after contact form submit) ---------- */
.ticket-receipt {
    margin-bottom: 24px;
    padding: clamp(20px, 3vw, 28px);
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand-primary) 8%, var(--surface)) 0%, var(--surface) 100%);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 25%, var(--ink-line));
    border-radius: var(--radius-lg);
    text-align: center;
    overflow-wrap: anywhere;
}
.ticket-receipt__icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-brand);
}
.ticket-receipt__icon svg { width: 28px; height: 28px; }
.ticket-receipt__title { font-size: 1.125rem; margin: 0 0 6px; }
.ticket-receipt__lede { color: var(--ink-muted); font-size: .9375rem; line-height: 1.5; margin: 0 auto 18px; max-width: 44ch; }
.ticket-receipt__ref {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    gap: 2px;
    padding: 12px 22px;
    background: #fff;
    border: 1px dashed color-mix(in srgb, var(--brand-primary) 40%, var(--ink-line));
    border-radius: var(--radius-md);
}
.ticket-receipt__ref-label {
    color: var(--ink-muted);
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ticket-receipt__ref-value {
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.ticket-receipt__meta {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    color: var(--ink-soft);
    font-size: .875rem;
}
.ticket-receipt__meta li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .65);
    border-radius: var(--radius-sm);
    overflow-wrap: anywhere;
}
.ticket-receipt__meta svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--brand-primary); margin-top: 1px; }

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: .9375rem;
}
.alert--success { background: var(--success-soft); color: #065F46; border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.alert--error   { background: var(--danger-soft);  color: #991B1B; border-color: color-mix(in srgb, var(--danger) 30%, transparent); }

/* ---------- Page header (institutional) ---------- */
.page-head {
    padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 4vw, 56px);
    text-align: center;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 7%, var(--surface)) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--ink-line);
}
.page-head h1 { margin-bottom: 14px; }
.page-head .lede { margin: 0 auto; }

/* ---------- 404 ---------- */
.page-404 {
    padding: clamp(64px, 10vw, 140px) 0;
    text-align: center;
}
.page-404__digits {
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 12px;
}
.page-404 h1 { margin-bottom: 14px; }
.page-404 .lede { margin: 0 auto 28px; }

/* ---------- Payment result ---------- */
.payment-result {
    max-width: 640px;
    margin: 0 auto;
    /* Used standalone on /payment-cancel and /payment-success (no .container
       wrapper around it), so we apply the standard side padding directly. */
    padding-block: clamp(56px, 8vw, 96px);
    padding-inline: var(--content-pad-x);
    text-align: center;
}
.payment-result__icon {
    width: 88px; height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.payment-result__icon svg { width: 44px; height: 44px; }
.payment-result__icon--cancel { background: var(--ink-faint); color: var(--ink-muted); box-shadow: none; }
.payment-result__ref {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brand-soft);
    color: var(--brand-primary);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .9375rem;
    margin: 14px 0;
}
.payment-result h1 { margin-bottom: 12px; }
.payment-result__details {
    margin: 32px auto;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    text-align: left;
}
.payment-result__details dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 24px; row-gap: 12px;
    margin: 0;
}
.payment-result__details dt {
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.payment-result__details dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.payment-result__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Product form (4-step pack picker — CSS-only state machine)
   ============================================================ */
.pf {
    --pf-radius: var(--radius-lg);
    --pf-radius-sm: var(--radius-md);
    width: min(100%, 480px);
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--pf-radius);
    padding: clamp(20px, 3vw, 28px);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .10), 0 8px 22px rgba(15, 23, 42, .06);
    color: var(--ink);
}
.pf__head { margin-bottom: 14px; }
.pf__title { margin: 0 0 4px; font-size: 1.125rem; font-weight: 800; letter-spacing: 0; }
.pf__hint  { margin: 0; color: var(--ink-muted); font-size: .875rem; line-height: 1.45; }

.pf__progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}
.pf__progress-step {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--ink-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pf__progress-bar {
    width: 100%; height: 4px;
    background: var(--ink-line);
    border-radius: 999px;
}
.pf__progress-step.is-active .pf__progress-bar { background: var(--brand-primary); }
.pf__progress-step.is-active { color: var(--brand-primary); }
.pf__progress-step.is-done .pf__progress-bar { background: var(--brand-primary); }

.pf__packs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.pf__pack-radio { position: absolute; opacity: 0; pointer-events: none; }
.pf__pack {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px;
    min-height: 96px;
    padding: 22px 8px 10px;
    background: var(--surface);
    border: 1.5px solid var(--ink-line);
    border-radius: var(--pf-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: background .18s cubic-bezier(.4,0,.2,1), border-color .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1), box-shadow .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1);
    -webkit-tap-highlight-color: transparent;
}
.pf__pack:hover { border-color: color-mix(in srgb, var(--brand-primary) 50%, var(--ink-line)); background: #fff; }
.pf__pack--no-discount {
    padding-top: 14px;
}
.pf__pack-amount { font-size: 1.0625rem; font-weight: 800; letter-spacing: 0; }
.pf__pack-price  { max-width: 100%; font-size: .75rem; font-weight: 700; line-height: 1.15; color: var(--ink-muted); overflow-wrap: anywhere; }
.pf__pack-price small { font-weight: 600; font-size: .6875rem; }
.pf__pack-badge {
    position: absolute; top: 6px; right: 6px;
    padding: 2px 7px;
    background: var(--brand-primary);
    color: #fff;
    font-size: .625rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    letter-spacing: .02em;
}
.pf__pack-check {
    position: absolute; top: 6px; left: 6px;
    width: 16px; height: 16px;
    color: #fff; opacity: 0;
}

/* CSS-only selected state */
#pf-pack-1:checked ~ .pf__packs .pf__pack[for="pf-pack-1"],
#pf-pack-2:checked ~ .pf__packs .pf__pack[for="pf-pack-2"],
#pf-pack-3:checked ~ .pf__packs .pf__pack[for="pf-pack-3"],
#pf-pack-4:checked ~ .pf__packs .pf__pack[for="pf-pack-4"],
#pf-pack-5:checked ~ .pf__packs .pf__pack[for="pf-pack-5"],
#pf-pack-6:checked ~ .pf__packs .pf__pack[for="pf-pack-6"],
#pf-pack-7:checked ~ .pf__packs .pf__pack[for="pf-pack-7"],
#pf-pack-8:checked ~ .pf__packs .pf__pack[for="pf-pack-8"] {
    color: #fff;
    background: var(--brand-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}
#pf-pack-1:checked ~ .pf__packs .pf__pack[for="pf-pack-1"] .pf__pack-price,
#pf-pack-2:checked ~ .pf__packs .pf__pack[for="pf-pack-2"] .pf__pack-price,
#pf-pack-3:checked ~ .pf__packs .pf__pack[for="pf-pack-3"] .pf__pack-price,
#pf-pack-4:checked ~ .pf__packs .pf__pack[for="pf-pack-4"] .pf__pack-price,
#pf-pack-5:checked ~ .pf__packs .pf__pack[for="pf-pack-5"] .pf__pack-price,
#pf-pack-6:checked ~ .pf__packs .pf__pack[for="pf-pack-6"] .pf__pack-price,
#pf-pack-7:checked ~ .pf__packs .pf__pack[for="pf-pack-7"] .pf__pack-price,
#pf-pack-8:checked ~ .pf__packs .pf__pack[for="pf-pack-8"] .pf__pack-price {
    color: rgba(255, 255, 255, .9);
}
#pf-pack-1:checked ~ .pf__packs .pf__pack[for="pf-pack-1"] .pf__pack-badge,
#pf-pack-2:checked ~ .pf__packs .pf__pack[for="pf-pack-2"] .pf__pack-badge,
#pf-pack-3:checked ~ .pf__packs .pf__pack[for="pf-pack-3"] .pf__pack-badge,
#pf-pack-4:checked ~ .pf__packs .pf__pack[for="pf-pack-4"] .pf__pack-badge,
#pf-pack-5:checked ~ .pf__packs .pf__pack[for="pf-pack-5"] .pf__pack-badge,
#pf-pack-6:checked ~ .pf__packs .pf__pack[for="pf-pack-6"] .pf__pack-badge,
#pf-pack-7:checked ~ .pf__packs .pf__pack[for="pf-pack-7"] .pf__pack-badge,
#pf-pack-8:checked ~ .pf__packs .pf__pack[for="pf-pack-8"] .pf__pack-badge {
    background: #fff; color: var(--brand-primary);
}
#pf-pack-1:checked ~ .pf__packs .pf__pack[for="pf-pack-1"] .pf__pack-check,
#pf-pack-2:checked ~ .pf__packs .pf__pack[for="pf-pack-2"] .pf__pack-check,
#pf-pack-3:checked ~ .pf__packs .pf__pack[for="pf-pack-3"] .pf__pack-check,
#pf-pack-4:checked ~ .pf__packs .pf__pack[for="pf-pack-4"] .pf__pack-check,
#pf-pack-5:checked ~ .pf__packs .pf__pack[for="pf-pack-5"] .pf__pack-check,
#pf-pack-6:checked ~ .pf__packs .pf__pack[for="pf-pack-6"] .pf__pack-check,
#pf-pack-7:checked ~ .pf__packs .pf__pack[for="pf-pack-7"] .pf__pack-check,
#pf-pack-8:checked ~ .pf__packs .pf__pack[for="pf-pack-8"] .pf__pack-check {
    opacity: 1;
}

.pf__summary {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--ink-line);
    border-radius: var(--pf-radius-sm);
    margin-bottom: 16px;
}
.pf__summary-total,
.pf__summary-discount {
    min-width: 0;
}
.pf__summary-total {
    grid-column: 1;
    justify-self: center;
    text-align: center;
}
.pf__summary-discount {
    grid-column: 2;
    display: none;
    justify-self: start;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    max-width: 180px;
}
.pf__summary-label {
    display: block;
    color: var(--ink-muted);
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.pf__summary-price {
    display: none;
    align-items: baseline; gap: 4px;
    font-size: 1.5rem; font-weight: 800; letter-spacing: 0;
    color: var(--ink);
}
.pf__summary-price small { color: var(--ink-muted); font-size: .8125rem; font-weight: 700; }
.pf__summary-deal {
    display: none;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
}
.pf__summary-original {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, .82);
    color: #64748b;
    border: 1px solid rgba(203, 213, 225, .78);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    font-size: .98rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}
.pf__summary-original s {
    text-decoration-line: line-through;
    text-decoration-color: #94a3b8;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: none;
}
.pf__summary-original small {
    color: #94a3b8;
    font-size: .7rem;
    font-weight: 800;
}
.pf__summary-savings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 4px 8px;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}
/* When there is no discount the blade renders an empty span; keep the old
 * price + save stack hidden for that pack. */
.pf__summary-deal:empty { display: none !important; }

#pf-pack-1:checked ~ .pf__summary .pf__summary-price[data-pack="1"],
#pf-pack-2:checked ~ .pf__summary .pf__summary-price[data-pack="2"],
#pf-pack-3:checked ~ .pf__summary .pf__summary-price[data-pack="3"],
#pf-pack-4:checked ~ .pf__summary .pf__summary-price[data-pack="4"],
#pf-pack-5:checked ~ .pf__summary .pf__summary-price[data-pack="5"],
#pf-pack-6:checked ~ .pf__summary .pf__summary-price[data-pack="6"],
#pf-pack-7:checked ~ .pf__summary .pf__summary-price[data-pack="7"],
#pf-pack-8:checked ~ .pf__summary .pf__summary-price[data-pack="8"] { display: inline-flex; }

#pf-pack-2:checked ~ .pf__summary,
#pf-pack-3:checked ~ .pf__summary,
#pf-pack-4:checked ~ .pf__summary,
#pf-pack-5:checked ~ .pf__summary,
#pf-pack-6:checked ~ .pf__summary,
#pf-pack-7:checked ~ .pf__summary,
#pf-pack-8:checked ~ .pf__summary { grid-template-columns: auto auto; }

#pf-pack-2:checked ~ .pf__summary .pf__summary-discount,
#pf-pack-3:checked ~ .pf__summary .pf__summary-discount,
#pf-pack-4:checked ~ .pf__summary .pf__summary-discount,
#pf-pack-5:checked ~ .pf__summary .pf__summary-discount,
#pf-pack-6:checked ~ .pf__summary .pf__summary-discount,
#pf-pack-7:checked ~ .pf__summary .pf__summary-discount,
#pf-pack-8:checked ~ .pf__summary .pf__summary-discount { display: flex; }

#pf-pack-1:checked ~ .pf__summary .pf__summary-deal[data-pack="1"],
#pf-pack-2:checked ~ .pf__summary .pf__summary-deal[data-pack="2"],
#pf-pack-3:checked ~ .pf__summary .pf__summary-deal[data-pack="3"],
#pf-pack-4:checked ~ .pf__summary .pf__summary-deal[data-pack="4"],
#pf-pack-5:checked ~ .pf__summary .pf__summary-deal[data-pack="5"],
#pf-pack-6:checked ~ .pf__summary .pf__summary-deal[data-pack="6"],
#pf-pack-7:checked ~ .pf__summary .pf__summary-deal[data-pack="7"],
#pf-pack-8:checked ~ .pf__summary .pf__summary-deal[data-pack="8"] { display: flex; }

.pf__btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
    background: var(--brand-gradient);
    color: #fff;
    border: 0;
    border-radius: var(--pf-radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-brand);
    transition: filter .15s, transform .15s;
}
.pf__btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.pf__btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    background: var(--surface);
    color: var(--ink);
    border: 0;
    border-radius: var(--pf-radius-sm);
    font-weight: 700; font-size: 1rem;
    cursor: pointer;
}
.pf__btn-ghost:hover { background: var(--ink-faint); }

.pf__actions { display: flex; gap: 10px; margin-top: 18px; }
.pf__actions .pf__btn-primary { flex: 1; }

.pf__review { margin: 0; padding: 4px 0; }
.pf__review-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-line);
}
.pf__review-row:last-child { border-bottom: 0; }
.pf__review-row dt { margin: 0; color: var(--ink-muted); font-size: .9375rem; font-weight: 600; }
.pf__review-row dd {
    margin: 0; font-weight: 700; color: var(--ink);
    overflow-wrap: anywhere; text-align: right; max-width: 60%;
}
.pf__review-row--total dt, .pf__review-row--total dd { font-size: 1.25rem; font-weight: 800; }
.pf__review-row--total dd small { color: var(--ink-muted); font-size: .8125rem; font-weight: 700; }

.pf__secure {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 14px;
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 600;
}
.pf__secure svg { width: 16px; height: 16px; }

@media (max-width: 540px) {
    .pf {
        --pf-radius: 14px;
        --pf-radius-sm: 10px;
        width: min(100%, 390px);
        padding: 14px;
    }
    .pf__packs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 10px;
    }
    .pf__pack {
        min-height: 76px;
        padding: 16px 6px 7px;
        gap: 2px;
    }
    .pf__pack--no-discount {
        padding-top: 10px;
    }
    .pf__pack-amount {
        font-size: .98rem;
    }
    .pf__pack-price {
        font-size: .7rem;
    }
    .pf__pack-price small {
        display: block;
        font-size: .64rem;
        line-height: 1.1;
    }
    .pf__pack-badge {
        top: 4px;
        right: 4px;
        padding: 1px 6px;
        border-radius: 6px;
        font-size: .56rem;
    }
    .pf__pack-check {
        top: 5px;
        left: 5px;
        width: 14px;
        height: 14px;
    }
    .pf__summary {
        grid-template-columns: auto;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    .pf__summary-total { grid-column: 1; justify-self: end; text-align: center; }
    .pf__summary-discount {
        grid-column: 2;
        justify-self: start;
        justify-content: center;
        text-align: left;
        max-width: min(44vw, 170px);
    }
    #pf-pack-2:checked ~ .pf__summary,
    #pf-pack-3:checked ~ .pf__summary,
    #pf-pack-4:checked ~ .pf__summary,
    #pf-pack-5:checked ~ .pf__summary,
    #pf-pack-6:checked ~ .pf__summary,
    #pf-pack-7:checked ~ .pf__summary,
    #pf-pack-8:checked ~ .pf__summary { grid-template-columns: auto auto; }
    .pf__summary-price { font-size: 1.35rem; }
    .pf__progress-step { font-size: .6875rem; }
    .pf__summary-original {
        min-height: 28px;
        padding: 4px 7px;
        font-size: .8rem;
    }
    .pf__summary-original small { font-size: .58rem; }
    .pf__summary-savings {
        padding: 3px 7px;
        font-size: .66rem;
    }
    .pf__head { display: none; }
    .pf__btn-primary {
        min-height: 48px;
        padding: 0 18px;
        font-size: .95rem;
        line-height: 1.15;
        white-space: normal;
    }
}

@media (max-width: 340px) {
    .hero {
        padding: 12px 0 18px;
    }
    .hero__copy {
        gap: 8px;
    }
    .hero__sub {
        display: none;
    }
    .pf {
        padding: 12px;
    }
    .pf__packs {
        gap: 5px;
        margin-bottom: 8px;
    }
    .pf__pack {
        min-height: 64px;
        padding: 12px 4px 5px;
    }
    .pf__pack--no-discount {
        padding-top: 8px;
    }
    .pf__summary {
        padding: 6px 8px;
        margin-bottom: 8px;
        gap: 6px;
    }
    .pf__summary-label {
        display: none;
    }
    .pf__summary-price {
        font-size: 1.25rem;
    }
    .pf__summary-original {
        min-height: 26px;
        padding: 4px 5px;
        font-size: .68rem;
    }
    .pf__summary-original small { font-size: .5rem; }
    .pf__summary-savings {
        padding: 3px 5px;
        font-size: .58rem;
    }
    .pf__btn-primary {
        min-height: 46px;
    }
}

/* ============================================================
   Dedicated checkout pages
   ============================================================ */
.checkout { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: var(--surface); min-height: 70vh; }
.checkout__shell { max-width: 1100px; }
.checkout__head { text-align: center; margin-bottom: clamp(28px, 4vw, 40px); }
.checkout__title { margin: 18px 0 12px; font-size: clamp(1.75rem, 2.4vw + .8rem, 2.5rem); }
.checkout__hint { color: var(--ink-muted); font-size: 1rem; max-width: 56ch; margin: 0 auto; line-height: 1.6; }

.checkout__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 32px auto 0;
    padding: 0;
    max-width: 720px;
    list-style: none;
    counter-reset: step;
}
.checkout__step {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 700;
    text-align: center;
}
.checkout__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px; left: calc(50% + 22px); right: calc(-50% + 22px);
    height: 2px;
    background: var(--ink-line);
    z-index: 0;
}
.checkout__step-num {
    position: relative; z-index: 1;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 2px solid var(--ink-line);
    border-radius: 50%;
    color: var(--ink-muted);
    font-weight: 800;
    font-size: .875rem;
}
.checkout__step.is-done .checkout__step-num { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.checkout__step.is-done::after { background: var(--brand-primary); }
.checkout__step.is-active .checkout__step-num { background: var(--brand-gradient); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.checkout__step.is-active { color: var(--ink); }
.checkout__step-label { white-space: nowrap; }

.checkout__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: start;
}
.checkout__main {
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-2);
}
.checkout__summary {
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 2.5vw, 28px);
    box-shadow: var(--shadow-1);
    position: sticky;
    top: calc(var(--navbar-height) + 16px);
}
.checkout__summary h3 {
    margin: 0 0 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-muted);
    font-weight: 800;
}
.checkout__summary-row {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ink-line);
    font-size: .9375rem;
}
.checkout__summary-row:last-of-type { border-bottom: 0; }
.checkout__summary-row dt { margin: 0; color: var(--ink-muted); font-weight: 600; }
.checkout__summary-row dd { margin: 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; text-align: right; max-width: 60%; }
.checkout__summary-row--total { padding-top: 18px; }
.checkout__summary-row--total dt, .checkout__summary-row--total dd { font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.checkout__summary-row--total dd small { color: var(--ink-muted); font-size: .8125rem; font-weight: 700; }

.checkout__form-actions {
    display: flex; gap: 12px; margin-top: 24px;
}
.checkout__form-actions .btn { flex: 1; min-width: 0; }
.checkout .btn { overflow-wrap: anywhere; }
.checkout__back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-muted);
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    margin-bottom: 14px;
}
.checkout__back svg { width: 14px; height: 14px; }
.checkout__back:hover { color: var(--ink); }

/* Stripe Payment Element — white-label wrapper */
#payment-form,
.pay-express,
.pay-frame,
#payment-element {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.pay-frame {
    margin-top: 12px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-md);
}
.pay-error {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--danger-soft);
    color: #991B1B;
    border-radius: var(--radius-md);
    font-size: .9375rem;
    font-weight: 600;
    display: none;
}
.pay-error.is-visible { display: block; }
.pay-trust {
    display: flex; flex-wrap: wrap; gap: 14px;
    align-items: center; justify-content: center;
    margin-top: 16px;
    color: var(--ink-muted);
    font-size: .8125rem;
    font-weight: 600;
}
.pay-trust span { display: inline-flex; align-items: center; gap: 6px; }
.pay-trust svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
    .checkout__layout { grid-template-columns: 1fr; }
    .checkout__summary { position: static; }
    .checkout__steps { gap: 4px; }
    .checkout__step:not(:last-child)::after { left: calc(50% + 18px); right: calc(-50% + 18px); top: 17px; }
    .checkout__step-label { display: none; }
}

@media (max-width: 600px) {
    .pay-frame {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .checkout {
        padding: 28px 0 48px;
    }
    .checkout__head {
        margin-bottom: 22px;
    }
    .checkout__title {
        margin-top: 14px;
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }
    .checkout__hint {
        font-size: .92rem;
        line-height: 1.5;
    }
    .checkout__steps {
        margin-top: 22px;
    }
    .checkout__main,
    .checkout__summary {
        padding: 16px;
        border-radius: 14px;
    }
    .checkout .btn {
        padding-inline: 16px;
        line-height: 1.16;
        white-space: normal;
    }
    .checkout__form-actions {
        gap: 10px;
    }
    .checkout__summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
    }
    .checkout__summary-row dd {
        max-width: 100%;
        text-align: left;
    }
    .pay-trust {
        justify-content: flex-start;
    }
}

/* "Order ready" success */
.order-ready {
    max-width: 680px; margin: 0 auto;
    text-align: center;
    /* Vertical-only — horizontal padding comes from the .container class
       applied alongside .order-ready in the markup. */
    padding-block: clamp(40px, 6vw, 80px);
}
.order-ready__icon {
    width: 96px; height: 96px;
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: var(--shadow-brand);
    animation: bounceIn .55s cubic-bezier(.4,0,.2,1);
}
.order-ready__icon svg { width: 48px; height: 48px; }
@keyframes bounceIn {
    0% { transform: scale(.6); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}
.order-ready h1 { margin-bottom: 12px; }
.order-ready__ref { display: inline-block; padding: 6px 16px; background: var(--brand-soft); color: var(--brand-primary); border-radius: var(--radius-pill); font-weight: 700; font-size: .9375rem; margin: 14px 0 24px; }
.order-ready__details {
    margin: 32px 0;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-xl);
    text-align: left;
}
.order-ready__details dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; }
.order-ready__details dt { color: var(--ink-muted); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.order-ready__details dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.order-ready__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- About page extras ---------- */
.about-promise-head {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.about-promise-head h2 {
    margin-top: 16px;
    overflow-wrap: break-word;
    text-wrap: balance;
}
.about-card {
    min-height: 100%;
    padding: clamp(26px, 2.4vw, 34px);
    background: #fff;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.about-card img {
    width: clamp(150px, 13vw, 190px);
    height: clamp(150px, 13vw, 190px);
    object-fit: contain;
    flex: 0 0 auto;
}
.about-card__copy {
    width: 100%;
    min-width: 0;
}
.about-card h6 {
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-weight: 800;
    overflow-wrap: break-word;
    text-wrap: balance;
}
.about-card p {
    color: var(--ink-muted);
    line-height: 1.65;
    font-size: .9375rem;
    width: 100%;
    max-width: 31ch;
    margin-inline: auto;
    overflow-wrap: break-word;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin-top: clamp(32px, 4vw, 48px);
}
.about-commitments {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,250,252,.92)),
        radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--brand-primary) 10%, transparent), transparent 34%),
        #f8fafc;
    border-top: 1px solid rgba(226, 232, 240, .82);
    border-bottom: 1px solid rgba(226, 232, 240, .82);
}
.about-commitments .about-promise-head {
    max-width: 780px;
}
.about-commitments .about-grid {
    gap: 24px;
}
.about-commitments .about-card {
    position: relative;
    align-items: center;
    text-align: center;
    padding: clamp(26px, 2.8vw, 38px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9)),
        #fff;
    border-color: rgba(203, 213, 225, .82);
    box-shadow: 0 18px 48px -34px rgba(15, 23, 42, .55);
}
.about-commitments .about-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: inherit inherit 0 0;
    background: var(--brand-gradient);
}
.about-commitments .about-card img {
    width: clamp(104px, 9vw, 140px);
    height: clamp(104px, 9vw, 140px);
    margin-inline: auto;
    padding: 14px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--brand-soft) 55%, #fff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.about-commitments .about-card h6 {
    font-size: 1.18rem;
}
.about-commitments .about-card p {
    max-width: 100%;
    margin-inline: auto;
    color: #475569;
}
@media (max-width: 800px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-card {
        padding: 26px 22px;
        gap: 14px;
    }
    .about-card img {
        width: 150px;
        height: 150px;
    }
    .about-card p { max-width: 100%; }
    .about-commitments .about-card { text-align: center; align-items: center; }
    .about-commitments .about-card p { margin-inline: auto; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.flow > * + * { margin-top: var(--flow, 1em); }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Focus & motion ---------- */
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-primary) 40%, transparent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
