/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
    --color-primary: #11CDEF;
    --color-primary-dark: #0A99B2;
    --color-primary-glow: rgba(17, 205, 239, 0.25);
    --color-gold: #FEBA02;
    --color-gold-glow: rgba(254, 186, 2, 0.25);

    --color-navy: #0E1A28;
    --color-navy-2: #112035;
    --color-surface: #162233;
    --color-surface-2: #1E2E45;
    --color-border: rgba(255, 255, 255, 0.08);

    --color-bg: #F4F7FA;
    --color-bg-2: #EBF0F6;
    --color-text: #1B2A3A;
    --color-text-2: #5D6F82;
    --color-text-3: #8A9BB0;
    --color-text-inv: #F0F4F8;
    --color-text-inv-2: #A8B6C5;

    --color-places: #6366F1;
    --color-artists: #F59E0B;
    --color-events: #E040FB;
    --color-success: #2EB67D;
    --color-error: #D94545;

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-accent: 'Baumans', sans-serif;

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
    --shadow-cyan: 0 8px 40px rgba(17, 205, 239, 0.2);
    --shadow-cyan-lg: 0 16px 64px rgba(17, 205, 239, 0.35);

    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.14s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-height: 68px;
    --nav-height-mobile: 60px;
    --container-max: 1160px;
    --container-pad: clamp(1.25rem, 5vw, 2.5rem);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ─── Layout Utilities ───────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.main-content {
    padding-top: var(--nav-height);
    min-height: 100dvh;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;

    &:active { transform: scale(0.97); }

    &.primary {
        background: var(--color-primary);
        color: var(--color-navy);
        box-shadow: 0 4px 20px var(--color-primary-glow);

        &:hover {
            background: var(--color-primary-dark);
            box-shadow: var(--shadow-cyan-lg);
            transform: translateY(-1px);
        }
    }

    &.outline {
        background: transparent;
        color: var(--color-text-inv);
        border: 1.5px solid rgba(255, 255, 255, 0.3);

        &:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-1px);
        }
    }

    &.ghost {
        background: transparent;
        color: var(--color-primary);
        padding-inline: 0.75rem;

        &:hover { background: rgba(17, 205, 239, 0.08); }
    }

    &.sm { padding: 0.5625rem 1.25rem; font-size: 0.875rem; }
    &.lg { padding: 1rem 2.25rem; font-size: 1rem; }

    /* gold — reserved for the support/crowdfunding ask, never product CTAs */
    &.gold {
        background: var(--color-gold);
        color: #2A1F00;
        box-shadow: 0 4px 20px var(--color-gold-glow);

        &:hover {
            background: #E5A700;
            box-shadow: 0 16px 64px rgba(254, 186, 2, 0.35);
            transform: translateY(-1px);
        }
    }

    /* cyan outline for use on dark backgrounds (hero secondary CTA) */
    &.outline-cyan {
        background: rgba(17, 205, 239, 0.08);
        color: var(--color-primary);
        border: 1.5px solid rgba(17, 205, 239, 0.4);

        &:hover {
            background: rgba(17, 205, 239, 0.16);
            border-color: var(--color-primary);
            transform: translateY(-1px);
        }
    }

    .ico { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
}

/* ─── Icons (inline Lucide, inherit color via currentColor) ──────────────── */
.ico {
    display: block;
    stroke: currentColor;
    fill: none;
}

/* visually-hidden but accessible (used by iOS notify label) */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(14, 26, 40, 0.95);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition), box-shadow var(--transition);

    &.scrolled {
        background: rgba(14, 26, 40, 0.98);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    }

    .inner {
        height: 100%;
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 0.625rem;
        flex-shrink: 0;
    }

    .logo-wrap {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 0 0 1px rgba(17, 205, 239, 0.3), var(--shadow-cyan);
        flex-shrink: 0;

        & svg { width: 100%; height: 100%; }
    }

    .wordmark {
        font-family: var(--font-accent);
        font-size: 1.375rem;
        color: #fff;
        letter-spacing: 0.01em;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        margin-inline-start: auto;
    }

    .link {
        padding: 0.5rem 0.875rem;
        border-radius: var(--radius-sm);
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--color-text-inv-2);
        transition: color var(--transition-fast), background var(--transition-fast);

        &:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
    }

    .actions { display: flex; align-items: center; }

    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        margin-inline-start: auto;

        & span {
            display: block;
            width: 22px;
            height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: transform var(--transition), opacity var(--transition);
        }
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem var(--container-pad) 1.25rem;
        border-top: 1px solid var(--color-border);
        background: rgba(14, 26, 40, 0.98);

        &.open { display: flex; }
    }

    .mobile-link {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-text-inv-2);
        border-radius: var(--radius-sm);
        transition: color var(--transition-fast), background var(--transition-fast);

        &:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
    }

    .mobile-cta { margin-top: 0.5rem; }

    @media (max-width: 768px) {
        /* keep a defined height so the bar doesn't collapse to the logo;
           the mobile menu is absolutely positioned below, not inside this height */
        height: var(--nav-height-mobile);
        position: fixed;

        .nav-links, .actions { display: none; }
        .hamburger { display: flex; }

        .mobile-menu {
            position: absolute;
            top: 100%;
            inset-inline: 0;
            background: rgba(14, 26, 40, 0.98);
            backdrop-filter: blur(18px) saturate(1.6);
            -webkit-backdrop-filter: blur(18px) saturate(1.6);
        }
    }
}

@media (max-width: 768px) {
    .main-content { padding-top: var(--nav-height-mobile); }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    background: #060c13;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: var(--color-text-inv-2);
    padding-top: 4rem;

    .inner {
        display: flex;
        gap: 3rem;
        flex-wrap: wrap;
        padding-bottom: 3rem;
        border-bottom: 1px solid var(--color-border);
    }

    .brand {
        display: flex;
        align-items: flex-start;
        gap: 0.875rem;
        flex: 1 1 260px;
    }

    .logo-wrap {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: var(--shadow-cyan);

        & svg { width: 100%; height: 100%; }
    }

    .wordmark {
        font-family: var(--font-accent);
        font-size: 1.25rem;
        color: #fff;
        margin-bottom: 0.25rem;
    }

    .tagline { font-size: 0.875rem; }

    .nav-col {
        display: flex;
        gap: 3rem;
        flex-wrap: wrap;
    }

    .nav-group {
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
        min-width: 120px;
    }

    .nav-heading {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-text-inv);
        margin-bottom: 0.25rem;
    }

    .nav-link {
        font-size: 0.9375rem;
        color: var(--color-text-inv-2);
        transition: color var(--transition-fast);

        &:hover { color: var(--color-primary); }
    }

    .nav-link-social {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;

        svg { flex-shrink: 0; }

        img {
            flex-shrink: 0;
            border-radius: 4px;
            opacity: 0.85;
            transition: opacity 0.2s;
        }

        &:hover img { opacity: 1; }
    }

    .bottom { padding-block: 1.25rem; }

    .bottom-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .copy {
        font-size: 0.875rem;
        color: var(--color-text-3);
    }
}

/* ─── Section Shared ─────────────────────────────────────────────────────── */
.section {
    padding-block: clamp(4rem, 8vw, 7rem);

    &.dark { background: var(--color-navy); color: var(--color-text-inv); }
    &.darker { background: var(--color-navy-2); color: var(--color-text-inv); }
    &.light { background: var(--color-bg); }
    &.light-2 { background: var(--color-bg-2); }

    .header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

    .label {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.8125rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--color-primary);
        margin-bottom: 0.875rem;

        &::before {
            content: '';
            display: block;
            width: 20px;
            height: 2px;
            background: var(--color-primary);
            border-radius: 2px;
        }

        &.center { justify-content: center; }
    }

    .title {
        font-family: var(--font-accent);
        font-size: clamp(1.875rem, 4vw, 2.625rem);
        font-weight: 400;
        letter-spacing: 0.01em;
        line-height: 1.15;
        margin-bottom: 1rem;

        &.center { text-align: center; }
    }

    &.dark .title { color: #fff; }

    .subtitle {
        font-size: clamp(1rem, 2vw, 1.125rem);
        color: var(--color-text-2);
        max-width: 560px;
        line-height: 1.7;

        &.center { text-align: center; margin-inline: auto; }
        &.inv { color: var(--color-text-inv-2); }
    }
}

/* ─── Store Badge ────────────────────────────────────────────────────────── */
.store-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.6875rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--transition), border-color var(--transition), transform var(--transition-fast);

    &:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }
}

.store-icon { font-size: 1.375rem; line-height: 1; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--color-navy);
    overflow: hidden;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;

    .bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.55;

        &.orb-1 {
            width: 680px; height: 680px;
            top: -220px; left: -180px;
            background: radial-gradient(circle, rgba(17,205,239,0.35) 0%, transparent 70%);
        }
        &.orb-2 {
            width: 500px; height: 500px;
            bottom: -160px; right: -140px;
            background: radial-gradient(circle, rgba(254,186,2,0.2) 0%, transparent 70%);
        }
        &.orb-3 {
            width: 320px; height: 320px;
            top: 30%; right: 15%;
            background: radial-gradient(circle, rgba(17,205,239,0.12) 0%, transparent 70%);
        }
    }

    .grid {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(17,205,239,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(17,205,239,0.04) 1px, transparent 1px);
        background-size: 48px 48px;
        mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    }

    .inner {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 4rem;
        align-items: center;
        width: 100%;
        max-width: var(--container-max);
        margin-inline: auto;
        padding-inline: var(--container-pad);
    }

    .content { max-width: 580px; }

    .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 1rem;
        border-radius: var(--radius-full);
        background: rgba(17, 205, 239, 0.12);
        border: 1px solid rgba(17, 205, 239, 0.25);
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--color-primary);
        letter-spacing: 0.04em;
        margin-bottom: 1.5rem;
        animation: fadeSlideUp 0.5s ease both;

        .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--color-primary);
            animation: glow-pulse 2s ease-in-out infinite;
        }
    }

    .title {
        font-family: var(--font-accent);
        font-weight: 400;
        font-size: clamp(2.5rem, 6vw, 4rem);
        line-height: 1.08;
        letter-spacing: 0.01em;
        color: #fff;
        margin-bottom: 1.25rem;
        animation: fadeSlideUp 0.5s 0.1s ease both;

        .highlight {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
    }

    .subtitle {
        font-size: clamp(1rem, 2vw, 1.1875rem);
        color: var(--color-text-inv-2);
        line-height: 1.7;
        margin-bottom: 2rem;
        max-width: 500px;
        animation: fadeSlideUp 0.5s 0.2s ease both;
    }

    .cta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.875rem;
        animation: fadeSlideUp 0.5s 0.3s ease both;
    }

    .visual {
        position: relative;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
    }

    .phone-glow {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 360px; height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(17,205,239,0.2) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
    }

    @media (max-width: 900px) {
        .inner {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .content { max-width: 100%; }
        .subtitle { margin-inline: auto; }
        .cta { justify-content: center; }

        .visual {
            display: flex;
            justify-content: center;
            margin-top: 1.5rem;
        }

        .phone { width: 200px; }
    }
}


/* ─── iPhone mockup bezel (reusable) ─────────────────────────────────────── */
.phone {
    position: relative;
    width: 280px;
    aspect-ratio: 280 / 580;
    border-radius: 44px;
    padding: 12px;
    background: linear-gradient(160deg, #1d2b3d 0%, #0c1623 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        var(--shadow-cyan-lg),
        inset 0 0 0 2px rgba(255, 255, 255, 0.04),
        inset 0 2px 1px rgba(255, 255, 255, 0.08);

    .notch {
        position: absolute;
        top: 16px; left: 50%;
        transform: translateX(-50%);
        width: 96px; height: 22px;
        background: #060d16;
        border-radius: 0 0 14px 14px;
        z-index: 2;
    }

    .phone-screen {
        position: relative;
        width: 100%; height: 100%;
        border-radius: 32px;
        overflow: hidden;
    }

    @media (max-width: 600px) { width: 230px; }
}

/* Gentle bob — hero phone only (entity-section phones stay still).
   Neutralised by the prefers-reduced-motion guard below. */
.hero .phone {
    animation: float 4s ease-in-out infinite;
}

/* ─── Mockup placeholders (swap for real screenshots) ────────────────────── */
.mockup {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.06), transparent 60%),
        linear-gradient(170deg, var(--mk-from, #16273a) 0%, var(--mk-to, #0c1623) 100%);

    .mockup-label {
        position: relative;
        z-index: 3;
        margin-bottom: 1.25rem;
        padding: 0.375rem 0.75rem;
        border-radius: var(--radius-full);
        background: rgba(0, 0, 0, 0.45);
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        text-align: center;
        backdrop-filter: blur(4px);
    }

    /* Real screenshot, when present. Sits above the placeholder + pins.
       If the file is missing, onerror removes the <img> and the tinted
       placeholder + label show through (graceful fallback). */
    .mockup-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 4;
    }
}

/* abstract "streets" overlay shared by all mockups */
.mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 100%);
    z-index: 1;
}

.mockup-map     { --mk-from: #15314a; --mk-to: #0a1a2b; }
.mockup-places  { --mk-from: #1f2150; --mk-to: #0f1024; }   /* indigo wash */
.mockup-artists { --mk-from: #3a2a0c; --mk-to: #1c1405; }   /* gold wash */
.mockup-events  { --mk-from: #3a1142; --mk-to: #1c071f; }   /* magenta wash */

/* coloured map pins */
.pin {
    position: absolute;
    width: 16px; height: 16px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.pin::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
}
.pin-places  { background: var(--color-places);  top: 30%; left: 24%; }
.pin-artists { background: var(--color-gold);     top: 52%; left: 58%; }
.pin-events  { background: var(--color-events);   top: 38%; left: 70%; }
.pin-places.alt  { top: 64%; left: 40%; }
.pin-events.alt  { top: 22%; left: 46%; }
.pin-artists.alt { top: 70%; left: 76%; }
.pin-places.alt2 { top: 48%; left: 14%; }

/* pin drop-in animation (gated on reduced-motion below) */
.reveal-in .pin,
.map-fullbleed.reveal-in .pin {
    animation: pin-drop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pin-artists       { animation-delay: 0.08s; }
.pin-events        { animation-delay: 0.16s; }
.pin-places.alt    { animation-delay: 0.24s; }
.pin-events.alt    { animation-delay: 0.32s; }
.pin-artists.alt   { animation-delay: 0.40s; }
.pin-places.alt2   { animation-delay: 0.48s; }

@keyframes pin-drop {
    from { opacity: 0; transform: rotate(-45deg) translateY(-18px) scale(0.6); }
    to   { opacity: 1; transform: rotate(-45deg) translateY(0) scale(1); }
}

/* ─── Proof band (qualitative, no fabricated numbers) ────────────────────── */
.proof {
    background: var(--color-navy-2);
    border-bottom: 1px solid var(--color-border);
    padding-block: 2rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;

    @media (max-width: 820px) { grid-template-columns: 1fr 1fr; }
    @media (max-width: 480px) { grid-template-columns: 1fr; }
}

.proof-item {
    background: transparent;
    border-right: 1px solid var(--color-border);

    &:last-child { border-right: none; }

    @media (max-width: 820px) {
        &:nth-child(2) { border-right: none; }
        &:nth-child(3) { border-right: 1px solid var(--color-border); }
        border-bottom: 1px solid var(--color-border);
        &:nth-child(3), &:nth-child(4) { border-bottom: none; }
    }

    @media (max-width: 480px) {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        &:last-child { border-bottom: none; }
    }
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    position: relative;
    transition: background var(--transition), transform var(--transition-fast);

    /* cyan top-border accent */
    &::before {
        content: '';
        position: absolute;
        top: 0; left: 1.5rem; right: 1.5rem;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
        opacity: 0;
        transition: opacity var(--transition);
    }

    &:hover {
        background: var(--color-surface);
        transform: translateY(-2px);

        &::before { opacity: 1; }
        .ico-wrap { background: rgba(17, 205, 239, 0.16); }
    }

    .ico-wrap {
        width: 52px; height: 52px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(17, 205, 239, 0.1);
        transition: background var(--transition);
    }

    .ico {
        width: 1.5rem; height: 1.5rem;
        color: var(--color-primary);
    }

    span {
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--color-text-inv);
        line-height: 1.4;
    }
}

/* ─── Social proof strip ────────────────────────────────────────────────── */
.social-proof {
    background: var(--color-navy-2);
    border-bottom: 1px solid var(--color-border);
    padding-block: 2.5rem;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;

    @media (max-width: 768px) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.testimonial-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
    margin-inline: 2rem;

    @media (max-width: 768px) { display: none; }
}

.testimonial {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding-inline: 1rem;
}

.testimonial-mark {
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.5;
    margin-bottom: -0.5rem;
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--color-text-inv-2);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-inv);
    letter-spacing: 0.02em;
}

/* ─── Full-bleed cultural map ────────────────────────────────────────────── */
.map-fullbleed {
    position: relative;
    background: var(--color-navy);
    overflow: hidden;
}

.map-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    align-items: stretch;

    .mockup-label {
        position: absolute;
        bottom: 1.5rem; left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    /* scrim so the overlaid text stays AA-legible over a real map photo */
    &::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 5;
        background: linear-gradient(180deg, rgba(14,26,40,0.72) 0%, rgba(14,26,40,0.88) 100%);
        pointer-events: none;
    }
}

.map-overlay {
    position: relative;
    z-index: 6;   /* above the scrim (5) and the screenshot img (4) */
    padding-block: clamp(4rem, 9vw, 7rem);
    max-width: 720px;
    margin-inline: auto;

    .label, .title { color: #fff; }
    .label { color: var(--color-primary); }
    .title { font-family: var(--font-accent); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: 0.01em; margin-bottom: 2rem; }

    .map-card {
        background: var(--color-navy);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem);
    }
}

.map-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;

    li {
        display: inline-flex;
        align-items: center;
        gap: 0.625rem;
        padding: 0.625rem 1.125rem;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 0.9375rem;
        font-weight: 600;
        width: fit-content;

        .ico { width: 1.125rem; height: 1.125rem; color: var(--color-primary); }
    }
}

@media (max-width: 600px) {
    .map-overlay .map-card {
        padding: 1.5rem;
    }

    .map-overlay .title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .map-bullets {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

/* ─── Entity sections (Places / Artists / Events) ────────────────────────── */
.entity {
    /* each section sets --entity to its colour; defaults to cyan */
    --entity: var(--color-primary-dark);

    .entity-grid {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: clamp(2.5rem, 6vw, 5rem);
        align-items: center;
    }

    &.reversed .entity-grid { grid-template-columns: auto 1fr; }
    &.reversed .entity-visual { order: -1; }

    .label { color: var(--entity); }
    .label::before { background: var(--entity); }

    .entity-points {
        list-style: none;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .entity-points li {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 1rem;
        align-items: start;
    }

    .point-ico {
        width: 44px; height: 44px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        background: color-mix(in srgb, var(--entity) 12%, transparent);
        color: var(--entity);

        svg { width: 1.375rem; height: 1.375rem; }
    }

    .entity-points h3 {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--color-text);
        margin-bottom: 0.25rem;
    }

    .entity-points p {
        font-size: 0.9375rem;
        color: var(--color-text-2);
        line-height: 1.6;
    }

    .entity-visual {
        display: flex;
        justify-content: center;
        position: relative;
        padding: 1.5rem;
        overflow: visible;
    }

    .entity-visual::before {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 320px; height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--entity) 18%, transparent) 0%, transparent 70%);
        z-index: -1;
    }

    @media (max-width: 820px) {
        .entity-grid,
        &.reversed .entity-grid {
            grid-template-columns: 1fr;
            text-align: center;
            /* on mobile every entity reads text-first, then mockup —
               regardless of the desktop left/right arrangement.
               Needs an explicit flow so `order` takes effect on grid items. */
            display: flex;
            flex-direction: column;
        }
        /* Match the specificity of the desktop `.reversed .entity-visual { order: -1 }`
           rule (0,3,0) so the mobile order actually wins for the reversed (Artists) row. */
        .entity-text,
        &.reversed .entity-text   { order: 1; }
        .entity-visual,
        &.reversed .entity-visual { order: 2; }   /* always after the text on mobile */
        .entity-points { text-align: left; }
        .label { justify-content: center; }
        .subtitle { margin-inline: auto; }
    }
}

.entity-places  { --entity: var(--color-places); }
.entity-artists { --entity: #FEBA02; }
.entity-events  { --entity: var(--color-events); }

/* Floating UI detail cards beside phone mockups */
.float-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem 0.625rem 0.875rem;
    border-radius: var(--radius);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    animation: floatCard 5s ease-in-out infinite;
    z-index: 10;
    width: max-content;

    svg {
        width: 1.125rem; height: 1.125rem;
        flex-shrink: 0;
    }

    .float-card-title {
        font-size: 0.8125rem;
        font-weight: 700;
        color: var(--color-text-inv);
        white-space: nowrap;
    }

    .float-card-sub {
        font-size: 0.6875rem;
        color: var(--color-text-inv-2);
        white-space: nowrap;
    }
}

/* Artists section is reversed (phone on left), card goes to the left side */
.entity-artists .float-card {
    right: auto;
    left: -1rem;
}


.float-card-places  { animation-delay: 0s; }
.float-card-artists { animation-delay: 0.8s; }
.float-card-events  { animation-delay: 1.6s; }

@media (max-width: 820px) {
    .float-card { display: none; }
}

/* Dark theme overrides for entity sections */
.entity.section.dark,
.entity.section.darker {
    .entity-points h3 { color: var(--color-text-inv); }
    .entity-points p  { color: var(--color-text-inv-2); }
    .subtitle         { color: var(--color-text-inv-2); }
    .point-ico        { background: color-mix(in srgb, var(--entity) 18%, transparent); }
}


/* ─── Mission (dark editorial) ───────────────────────────────────────────── */
.mission {
    position: relative;
    background: var(--color-navy-2);

&.mission-darker { background: #080f17; }
    color: var(--color-text-inv);
    padding-block: clamp(5rem, 10vw, 8rem);
    overflow: hidden;
    text-align: center;

    .bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
    .orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(90px);
    }
    .orb-1 {
        width: 560px; height: 560px;
        top: -200px; left: 50%; transform: translateX(-70%);
        background: radial-gradient(circle, rgba(17,205,239,0.22) 0%, transparent 70%);
    }
    .orb-2 {
        width: 420px; height: 420px;
        bottom: -180px; right: -80px;
        background: radial-gradient(circle, rgba(17,205,239,0.1) 0%, transparent 70%);
    }

    .mission-inner {
        position: relative;
        z-index: 1;
        max-width: 760px;
    }

    .label { color: var(--color-primary); justify-content: center; }
}

.mission-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 1.75rem;
    text-shadow: 0 0 60px rgba(17, 205, 239, 0.25);
}

.mission-body {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--color-text-inv-2);
    max-width: 640px;
    margin-inline: auto;

    & + .mission-body { margin-top: 1.25rem; }
}

.privacy-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 2.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(17, 205, 239, 0.08);
    border: 1px solid rgba(17, 205, 239, 0.25);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;

    .ico { width: 1.25rem; height: 1.25rem; color: var(--color-primary); flex-shrink: 0; animation: shield-glow 2.5s ease-in-out infinite; }
}

/* ─── Support / crowdfunding section ─────────────────────────────────────── */
.support {
    position: relative;
    overflow: hidden;

    .bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
    .orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(90px);
    }
    .orb-gold-1 {
        width: 520px; height: 520px;
        top: -180px; right: -120px;
        background: radial-gradient(circle, rgba(254, 186, 2, 0.16) 0%, transparent 70%);
    }
    .orb-gold-2 {
        width: 400px; height: 400px;
        bottom: -160px; left: -100px;
        background: radial-gradient(circle, rgba(17, 205, 239, 0.1) 0%, transparent 70%);
    }

    .support-card {
        position: relative;
        z-index: 1;
        max-width: 720px;
        margin-inline: auto;
        padding: clamp(2rem, 5vw, 3.5rem);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(254, 186, 2, 0.18);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .label.gold {
        color: var(--color-gold);
        justify-content: center;

        &::before { background: var(--color-gold); }
    }

    .title { color: #fff; }
    .subtitle { max-width: 520px; }
}

.support-progress {
    margin-top: 2.5rem;
    text-align: left;

    .amounts {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1rem;
        margin-bottom: 0.875rem;
    }

    .amount .num {
        display: block;
        font-family: var(--font-accent);
        font-size: clamp(1.5rem, 3.5vw, 2.125rem);
        line-height: 1;
        color: var(--color-gold);
        margin-bottom: 0.25rem;
    }

    .amount .cap {
        font-size: 0.8125rem;
        color: var(--color-text-inv-2);
    }

    .amount.right { text-align: right; }

    .bar {
        height: 14px;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.06);
        overflow: hidden;
    }

    .bar-fill {
        position: relative;
        height: 100%;
        width: 0;
        border-radius: inherit;
        background: linear-gradient(90deg, #C98E00, var(--color-gold) 55%, #FFD970);
        box-shadow: 0 0 24px var(--color-gold-glow);
        overflow: hidden;
        transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;

        /* shimmer sweep across the filled part */
        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
            transform: translateX(-100%);
            animation: bar-shine 3s ease-in-out 1.8s infinite;
        }
    }
}

/* fill animates from 0 to its real width when the card scrolls into view */
.support .reveal-in .bar-fill { width: var(--pct); }

/* goal reached — bar turns success green */
.support-progress.goal-reached .bar-fill {
    background: linear-gradient(90deg, #1A7A50, var(--color-success) 55%, #4FD9A0);
    box-shadow: 0 0 24px rgba(46, 182, 125, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .support-progress .bar-fill { transition: none; width: var(--pct); }
    .support-progress .bar-fill::after { animation: none; }
}

@keyframes bar-shine {
    to { transform: translateX(100%); }
}

.support-reward {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-top: 2.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(254, 186, 2, 0.06);
    border: 1px solid rgba(254, 186, 2, 0.2);
    border-radius: var(--radius);
    text-align: left;

    .founder-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.5rem 0.875rem;
        border-radius: var(--radius-full);
        background: linear-gradient(135deg, #FFD970, var(--color-gold) 55%, #C98E00);
        color: #3A2A00;
        font-size: 0.8125rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        white-space: nowrap;
        box-shadow: 0 4px 16px var(--color-gold-glow);
        flex-shrink: 0;

        .ico { width: 0.875rem; height: 0.875rem; fill: currentColor; stroke: none; }
    }

    .reward-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 0.25rem;
    }

    .reward-body {
        font-size: 0.875rem;
        line-height: 1.6;
        color: var(--color-text-inv-2);
    }
}

@media (max-width: 540px) {
    .support-reward {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.pix-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.25rem;

    .pix-qr {
        position: relative;
        width: 148px;
        height: 148px;
        flex-shrink: 0;
        border-radius: var(--radius);
        background: #fff;
        padding: 10px;
        box-shadow: 0 0 0 1px rgba(254, 186, 2, 0.25), 0 8px 32px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .qr-fallback {
            position: absolute;
            inset: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-text-2);
            background: var(--color-bg-2);
            border-radius: var(--radius-sm);
            padding: 0.5rem;
        }
    }

    .pix-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;

        .cta-hint {
            font-size: 0.8125rem;
            color: var(--color-text-3);
            max-width: 260px;
        }
    }
}

@media (max-width: 540px) {
    .pix-block {
        flex-direction: column;
        gap: 1.25rem;

        .pix-actions {
            align-items: center;
            text-align: center;
        }
    }
}

.support-form {
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);

    .form-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 0.375rem;
    }

    .form-body {
        font-size: 0.875rem;
        line-height: 1.6;
        color: var(--color-text-inv-2);
        max-width: 440px;
        margin-inline: auto;
        margin-bottom: 1.25rem;
    }

    .form-error {
        font-size: 0.875rem;
        font-weight: 600;
        color: #FF8A8A;
        margin-bottom: 1rem;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
        max-width: 440px;
        margin-inline: auto;

        input[type="email"],
        #supName,
        textarea {
            width: 100%;
            min-height: 44px;
            padding: 0.75rem 1.125rem;
            border-radius: var(--radius);
            border: 1.5px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.06);
            color: #fff;
            font-family: var(--font-sans);
            font-size: 0.9375rem;
            transition: border-color var(--transition-fast), background var(--transition-fast);

            &::placeholder { color: rgba(255, 255, 255, 0.5); }

            &:focus-visible {
                outline: none;
                border-color: var(--color-gold);
                background: rgba(255, 255, 255, 0.1);
            }
        }

        textarea { resize: vertical; }

        .amount-name-row {
            display: flex;
            gap: 0.75rem;

            .amount-field { flex: 0 0 130px; width: 130px; }

            #supName { flex: 1; min-width: 0; }
        }

        .amount-field {
            display: flex;
            align-items: center;
            width: 100%;
            min-height: 44px;
            padding: 0 1.125rem;
            border-radius: var(--radius);
            border: 1.5px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.06);
            transition: border-color var(--transition-fast), background var(--transition-fast);

            &:focus-within {
                border-color: var(--color-gold);
                background: rgba(255, 255, 255, 0.1);
            }

            .amount-currency {
                font-size: 0.9375rem;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.5);
                flex-shrink: 0;
                margin-right: 0.375rem;
                user-select: none;
            }

            input {
                flex: 1;
                min-width: 0;
                border: none !important;
                outline: none !important;
                background: transparent !important;
                box-shadow: none !important;
                color: #fff;
                font-family: var(--font-sans);
                font-size: 0.9375rem;
                padding: 0;
                -webkit-appearance: none;
                appearance: none;

                &::placeholder { color: rgba(255, 255, 255, 0.5); }
            }
        }

.btn { align-self: center; margin-top: 0.375rem; }
    }

    .form-success {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.375rem;
        padding: 1.5rem;

        .form-success-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(254, 186, 2, 0.15);
            color: var(--color-gold);
            margin-bottom: 0.5rem;
            animation: successPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

            svg { width: 22px; height: 22px; }
        }

        .form-success-title {
            font-weight: 700;
            color: #fff;
        }

        .form-success-sub {
            font-size: 0.875rem;
            color: var(--color-text-inv-2);
        }
    }
}

/* ─── DownloadApp section ────────────────────────────────────────────────── */
.section-download {
    color: var(--color-text-inv);

    .title { color: #fff; }
    .subtitle { color: var(--color-text-inv-2); }
    .download-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        max-width: 640px;
        margin-inline: auto;
        margin-top: 2.5rem;
    }

    .download-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 2rem 1.5rem;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: var(--radius-lg);
        text-align: center;
        min-height: 320px;

        .title { font-size: 1rem; font-weight: 600; color: #fff; margin: 0; }
    }

    .download-option .icon {
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .store-logo { width: 48px; height: 48px; }
    .store-logo-inv { width: 40px; height: 40px; filter: invert(1); }

    .qr-wrap {
        width: 120px; height: 120px;
        border-radius: 12px;
        overflow: hidden;
        position: relative;

        .qr-code {
            width: 100%; height: 100%;
            display: block;
            border-radius: 12px;
        }

        .qr-fallback { display: none; }

        &.qr-missing {
            background: rgba(255,255,255,0.06);
            border: 1px dashed rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;

            .qr-fallback {
                font-size: 0.75rem;
                color: var(--color-text-inv-2);
                text-align: center;
                padding: 0.5rem;
            }
        }
    }

    .qr-placeholder {
        width: 120px; height: 120px;
        border-radius: 12px;
        background: rgba(255,255,255,0.06);
        border: 1px dashed rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: var(--color-text-inv-2);
        text-align: center;
        padding: 0.5rem;
    }

    @media (max-width: 540px) {
        .download-options { grid-template-columns: 1fr; max-width: 320px; }
    }
}

/* ─── Why Borali cards ───────────────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;

    @media (max-width: 700px) { grid-template-columns: 1fr; }
}

.why-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
}

.why-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-primary);

    svg { width: 100%; height: 100%; }
}

.why-title {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 400;
    color: #fff;
}

.why-body {
    font-size: 0.9375rem;
    color: var(--color-text-inv-2);
    line-height: 1.65;
}

/* ─── Store badge variants ───────────────────────────────────────────────── */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;

    @media (max-width: 480px) { flex-direction: column; align-items: center; }
}

.store-badge {
    min-width: 200px;
    justify-content: center;

    span {
        display: flex;
        flex-direction: column;
        line-height: 1.2;

        small.badge-subtitle {
            font-size: 0.6875rem;
            font-weight: 400;
            opacity: 0.7;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
    }
}

.store-badge-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-navy);

    &:hover {
        background: color-mix(in srgb, var(--color-primary) 85%, white);
        border-color: transparent;
    }
}

.store-badge-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.store-icon-sm { width: 22px; height: 22px; }
.store-icon-sm-inv { width: 22px; height: 22px; filter: invert(1); }

/* ─── Final CTA + iOS notify ─────────────────────────────────────────────── */
.final-cta {
    position: relative;
    overflow: hidden;
    background: var(--color-navy-2);
    text-align: center;
    padding-block: clamp(4rem, 8vw, 7rem);

    .orb-1, .orb-2 {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
    }
    .orb-1 {
        width: 500px; height: 500px;
        top: -200px; left: -100px;
        background: radial-gradient(circle, rgba(17,205,239,0.22) 0%, transparent 70%);
    }
    .orb-2 {
        width: 400px; height: 400px;
        bottom: -160px; right: -60px;
        background: radial-gradient(circle, rgba(254,186,2,0.15) 0%, transparent 70%);
    }

    .final-inner {
        position: relative;
        z-index: 1;
        max-width: 640px;
    }

    .label { justify-content: center; color: var(--color-primary); }
    .label::before { background: var(--color-primary); }
    .title { color: #fff; }
    .subtitle { color: rgba(255, 255, 255, 0.7); }

    .cta-actions {
        display: flex;
        justify-content: center;
        margin-top: 2.25rem;
    }
}

.ios-notify {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.ios-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.ios-form {
    display: flex;
    gap: 0.625rem;
    max-width: 440px;
    margin-inline: auto;

    input {
        flex: 1;
        min-width: 0;
        min-height: 44px;
        padding: 0.75rem 1.125rem;
        border-radius: var(--radius);
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        font-family: var(--font-sans);
        font-size: 0.9375rem;
        transition: border-color var(--transition-fast), background var(--transition-fast);

        &::placeholder { color: rgba(255, 255, 255, 0.5); }
        &:focus-visible {
            outline: none;
            border-color: var(--color-primary);
            background: rgba(255, 255, 255, 0.1);
        }
    }

    @media (max-width: 460px) {
        flex-direction: column;
        .btn { width: 100%; justify-content: center; }
    }
}

.ios-hint {
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.ios-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-inline: auto;
    max-width: 440px;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: rgba(17, 205, 239, 0.08);
    border: 1px solid rgba(17, 205, 239, 0.3);

    .ios-success-icon {
        width: 48px; height: 48px;
        border-radius: 50%;
        background: rgba(17, 205, 239, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        animation: successPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;

        svg { width: 24px; height: 24px; color: var(--color-primary); }
    }

    .ios-success-title {
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
    }

    .ios-success-sub {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

@keyframes successPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
    gap: 0.625rem;
    margin-inline: auto;
    max-width: 440px;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(17, 205, 239, 0.1);
    border: 1px solid rgba(17, 205, 239, 0.3);
    color: var(--color-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    animation: fadeSlideUp 0.4s ease both;

    svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
}

/* ─── Page Hero (inner pages) ────────────────────────────────────────────── */
.page-hero {
    background: var(--color-navy);
    padding-top: calc(var(--nav-height) + 3.5rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;

    .bg-orb {
        position: absolute;
        width: 400px; height: 400px;
        top: -150px; left: -100px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(17,205,239,0.2) 0%, transparent 70%);
        filter: blur(60px);
        pointer-events: none;
    }

    .inner { position: relative; z-index: 1; }

    .title {
        font-family: var(--font-sans);
        font-size: clamp(2rem, 5vw, 3.25rem);
        font-weight: 800;
        color: #fff;
        letter-spacing: -0.035em;
        line-height: 1.12;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1.125rem;
        color: var(--color-text-inv-2);
        max-width: 520px;
        line-height: 1.7;
    }
}

/* ─── 404 Page ───────────────────────────────────────────────────────────── */
.not-found {
    min-height: calc(100dvh - var(--nav-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 1.25rem;
    background: var(--color-navy);

    .code {
        font-family: var(--font-sans);
        font-weight: 800;
        font-size: clamp(5rem, 20vw, 10rem);
        letter-spacing: -0.04em;
        color: var(--color-primary);
        opacity: 0.4;
        line-height: 1;
        display: block;
    }

    .title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; color: #fff; }
    .body  { font-size: 1rem; color: var(--color-text-inv-2); }
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-in {
    opacity: 1;
    transform: none;
}

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(-50%); }
    50%       { transform: translateY(calc(-50% - 8px)); }
}

@keyframes shield-glow {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(17,205,239,0)); }
    50%       { filter: drop-shadow(0 0 6px rgba(17,205,239,0.8)); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(17,205,239,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(17,205,239,0); }
}

/* Respect reduced-motion: no reveal offset, no looping/decorative motion. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .pin, .reveal-in .pin { animation: none; }
}

/* ─── Language Switcher ──────────────────────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.125rem;

    .option {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius-sm);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--color-text-inv-2);
        transition: color var(--transition-fast), background var(--transition-fast);

        &:hover { color: var(--color-text-inv); background: rgba(255, 255, 255, 0.08); }
        &.active { color: var(--color-primary); }
    }
}

/* ─── Legal Pages ────────────────────────────────────────────────────────── */
.legal-content {
    p { margin-bottom: 0.875rem; color: var(--color-text-2); font-size: 0.9375rem; line-height: 1.7; }
    p:last-child { margin-bottom: 0; }
    ul, ol { padding-left: 1.375rem; margin-bottom: 0.875rem; }
    li { margin-bottom: 0.375rem; color: var(--color-text-2); font-size: 0.9375rem; line-height: 1.65; }
    a { color: var(--color-primary); font-weight: 600; &:hover { text-decoration: underline; } }
    strong { color: var(--color-text); }

    &.centered { text-align: center; }

    .section-heading {
        font-size: clamp(1.125rem, 2.5vw, 1.375rem);
        font-weight: 700;
        color: var(--color-text);
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--color-primary);
    }
}

.section.dark .legal-content {
    p { color: var(--color-text-inv-2); }
    strong { color: #fff; }

    .section-heading {
        color: #fff;
        border-bottom-color: rgba(17, 205, 239, 0.4);
    }
}

.mt-0 { margin-top: 0; }

.legal-callout {
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    background: rgba(17, 205, 239, 0.06);
    border: 1px solid rgba(17, 205, 239, 0.2);
    font-size: 0.9375rem;
    color: var(--color-text-2);
    line-height: 1.65;

    &.warn {
        background: rgba(254, 186, 2, 0.06);
        border-color: rgba(254, 186, 2, 0.25);
    }
}

.legal-table-wrap {
    overflow-x: auto;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-bg-2);
    box-shadow: var(--shadow-sm);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;

    thead tr { background: var(--color-primary); }
    thead th {
        padding: 0.75rem 1rem;
        text-align: left;
        font-weight: 700;
        font-size: 0.75rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--color-navy);
        white-space: nowrap;
    }
    tbody tr:nth-child(even) { background: var(--color-bg-2); }
    tbody tr:nth-child(odd) { background: #fff; }
    tbody td {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--color-bg-2);
        vertical-align: top;
        color: var(--color-text-2);
        line-height: 1.55;
    }
    tbody tr:last-child td { border-bottom: none; }
    a { color: var(--color-primary); font-weight: 600; }
}

.legal-perm-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.legal-perm-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--color-bg-2);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    transition: border-color var(--transition-fast);

    &:hover { border-color: rgba(17, 205, 239, 0.25); }
    & strong { font-size: 0.9375rem; font-weight: 700; color: var(--color-text); }
    & span { font-size: 0.875rem; color: var(--color-text-2); }
}

.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.875rem;
    margin-bottom: 1rem;
}
.legal-right-card {
    background: var(--color-bg-2);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 1.125rem 1.25rem;
    transition: border-color var(--transition-fast);

    &:hover { border-color: rgba(17, 205, 239, 0.3); }
    & strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.25rem; }
    & span { font-size: 0.8125rem; color: var(--color-text-2); line-height: 1.5; }
}

.legal-deadline-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--color-primary);
    color: var(--color-navy);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-top: 1rem;
}

.legal-contact-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;

    &.mt-0 { margin-top: 0; }

    &::before {
        content: '';
        position: absolute;
        width: 300px; height: 300px;
        background: radial-gradient(circle, rgba(17,205,239,0.12) 0%, transparent 70%);
        top: -100px; right: -80px;
        border-radius: 50%;
        pointer-events: none;
    }

    & h3 { position: relative; color: #fff; font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.02em; font-size: 1.5rem; margin-bottom: 0.5rem; }
    & p  { position: relative; color: var(--color-text-inv-2); font-size: 0.9375rem; margin-bottom: 1.5rem; }
}

a.legal-contact-pill {
    position: relative;
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: opacity var(--transition-fast);

    &:hover { opacity: 0.88; }
}
