* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Colour tokens ─────────────────────────────────────────── */

:root {
    /* Brand (same in both modes) */
    --primary: #E8940A;
    --primary-dark: #C47A08;
    --accent: #92400E;

    /* Dark mode defaults */
    --bg: #0F0D0A;
    --bg-card: #1C1812;
    --text-primary: #F5EDD8;
    --text-secondary: #9A8068;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-amber: rgba(232, 148, 10, 0.18);
    --header-bg: rgba(15, 13, 10, 0.95);
    --mobile-nav-bg: rgba(15, 13, 10, 0.98);
    --input-bg: #0F0D0A;
    --hero-glow-1: rgba(146, 64, 14, 0.22);
    --hero-glow-2: rgba(232, 148, 10, 0.14);
}

body.light {
    --bg: #FDFAF4;
    --bg-card: #FFFFFF;
    --text-primary: #1A1208;
    --text-secondary: #6B5540;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-amber: rgba(232, 148, 10, 0.25);
    --header-bg: rgba(253, 250, 244, 0.95);
    --mobile-nav-bg: rgba(253, 250, 244, 0.98);
    --input-bg: #F5EDD8;
    --hero-glow-1: rgba(146, 64, 14, 0.07);
    --hero-glow-2: rgba(232, 148, 10, 0.09);
}

/* ── Base ──────────────────────────────────────────────────── */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #0F0D0A;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 148, 10, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ── Header / Nav ──────────────────────────────────────────── */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.3s;

    nav {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1.1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        height: 38px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        gap: 2rem;
        list-style: none;
        flex: 1;
        justify-content: center;

        a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s;
            position: relative;
            white-space: nowrap;

            &:hover, &.active {
                color: var(--primary);

                &::after {
                    width: 100%;
                }
            }

            &::after {
                content: '';
                position: absolute;
                bottom: -4px;
                left: 0;
                width: 0;
                height: 2px;
                background: var(--primary);
                transition: width 0.3s;
            }
        }
    }

    /* Theme toggle + hamburger sit here on the right */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .theme-toggle {
        background: transparent;
        border: 1px solid var(--border-subtle);
        border-radius: 8px;
        padding: 0.4rem;
        cursor: pointer;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s, border-color 0.3s;
        line-height: 0;

        &:hover {
            color: var(--primary);
            border-color: var(--border-amber);
        }

        .icon-moon {
            display: none;
        }
    }

    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;

        span {
            width: 24px;
            height: 2.5px;
            background: var(--primary);
            border-radius: 2px;
            transition: all 0.3s;
            display: block;
        }

        &.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
        &.active span:nth-child(2) { opacity: 0; }
        &.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }
    }

    /* Tablet: tighten gap */
    @media (max-width: 1050px) {
        .nav-links { gap: 1.4rem; }
    }

    /* Mobile: collapse nav into dropdown */
    @media (max-width: 750px) {
        .mobile-menu-toggle {
            display: flex;
        }

        .nav-links {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            flex-direction: column;
            background: var(--mobile-nav-bg);
            padding: 1.5rem 2rem;
            gap: 1.25rem;
            flex: unset;
            justify-content: flex-start;
            transform: translateY(-110%);
            opacity: 0;
            pointer-events: none;
            transition: transform 0.3s, opacity 0.3s;
            border-bottom: 1px solid var(--border-subtle);
        }

        .nav-links.active {
            transform: translateY(0);
            opacity: 1;
            pointer-events: all;
        }
    }
}

/* Light mode: rich warm amber-brown header so the white logo stays readable */
body.light header {
    --header-bg: rgba(110, 52, 8, 0.94);

    .nav-links a {
        color: rgba(245, 228, 195, 0.6);

        &:hover, &.active {
            color: #F5EDD8;
        }
    }

    .theme-toggle {
        .icon-sun  { display: none; }
        .icon-moon { display: flex; }
        border-color: rgba(255, 255, 255, 0.2);
        color: rgba(245, 228, 195, 0.75);

        &:hover {
            color: #F5EDD8;
            border-color: rgba(255, 255, 255, 0.45);
        }
    }
}

body.light footer {
    background: #EDE3D0;
}

body.light .joint-logo {
    background: linear-gradient(135deg, rgba(15, 13, 10, 0.7), rgba(15, 13, 10, 0.88));
    backdrop-filter: blur(6px);
    border-color: rgba(0, 0, 0, 0.12);
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 15% 55%, var(--hero-glow-1), transparent 50%),
            radial-gradient(circle at 85% 45%, var(--hero-glow-2), transparent 50%);
        z-index: -1;
        transition: opacity 0.3s;
        transform: translateY(var(--parallax, 0px));
        will-change: transform;
    }

    .hero-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 1300px;
        width: 100%;
        align-items: center;
    }

    .hero-text {
        max-width: 540px;
        flex: 1 1 320px;

        h1 {
            font-size: 3.8rem;
            line-height: 1.15;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--text-primary) 40%, var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .highlight {
            display: block;
            -webkit-text-fill-color: var(--primary);
        }

        p {
            font-size: 1.15rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
    }

    .hero-image {
        width: 100%;
        max-width: 620px;
        height: auto;
        flex: 1 1 300px;
    }

    /* Tablet */
    @media (max-width: 1100px) {
        gap: 2.5rem;

        .hero-text h1 { font-size: 3.2rem; }
        .hero-image { max-width: 440px; }
    }

    /* Small tablet */
    @media (max-width: 800px) {
        .hero-text h1 { font-size: 2.8rem; }
        .hero-image { max-width: 380px; }
    }

    /* Phone */
    @media (max-width: 580px) {
        padding: 7rem 1.5rem 4rem;

        .hero-text h1 { font-size: 2.2rem; }
        .hero-text p  { font-size: 1.05rem; }
        .hero-image   { max-width: 300px; }
    }

    /* Small phone */
    @media (max-width: 400px) {
        .hero-text h1           { font-size: 1.85rem; }
        .hero-text .cta-buttons { flex-direction: column; }
        .hero-image             { max-width: 260px; }
    }
}

/* ── Feature cards overview ────────────────────────────────── */

.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;

    .section-header {
        text-align: center;
        margin-bottom: 4rem;

        h2 {
            font-size: 2.4rem;
            margin-bottom: 0.75rem;
        }

        p {
            font-size: 1.15rem;
            color: var(--text-secondary);
        }
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.75rem;

        .feature-card {
            background: var(--bg-card);
            padding: 2.25rem;
            border-radius: 16px;
            border: 1px solid var(--border-subtle);
            transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
            position: relative;
            overflow: hidden;
            text-decoration: none;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 3px;
                background: linear-gradient(90deg, var(--primary), var(--accent));
                transform: scaleX(0);
                transition: transform 0.3s;
            }

            &:hover {
                transform: translateY(-5px);
                border-color: var(--border-amber);

                &::before { transform: scaleX(1); }
            }

            .feature-icon {
                width: 60px;
                height: 60px;
                background: linear-gradient(135deg, var(--primary), var(--accent));
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 1.25rem;
                color: #ffffff;

                svg {
                    width: 28px;
                    height: 28px;
                }
            }

            h3 {
                color: var(--text-primary);
                font-size: 1.3rem;
                margin-bottom: 0.75rem;
            }

            p {
                color: var(--text-secondary);
                line-height: 1.75;
                font-size: 0.95rem;
            }

            .card-arrow {
                font-style: normal;
                color: var(--primary);
                opacity: 0;
                transform: translateX(-4px);
                transition: opacity 0.2s, transform 0.2s;
                display: inline-block;
            }

            &:hover .card-arrow {
                opacity: 1;
                transform: translateX(2px);
            }
        }
    }

    @media (max-width: 768px) {
        padding: 4rem 1.5rem;

        .section-header h2 { font-size: 2rem; }
        .section-header p  { font-size: 1rem; }
    }

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

/* ── Feature detail sections ───────────────────────────────── */

.feature-section {
    padding: 1.5rem 2rem;

    .feature-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 1300px;
        padding: 4rem 3.5rem;
        background: var(--bg-card);
        margin: 0 auto;
        text-align: center;
        border-radius: 16px;
        border: 1px solid var(--border-subtle);
        transition: background-color 0.3s;

        .section-eyebrow {
            display: inline-block;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--primary);
            background: var(--border-amber);
            border: 1px solid rgba(232, 148, 10, 0.25);
            padding: 0.35rem 0.9rem;
            border-radius: 999px;
            margin-bottom: 1rem;
        }

        h2 {
            font-size: 2.4rem;
        }

        > p {
            font-size: 1.15rem;
            color: var(--text-secondary);
            max-width: 900px;
            font-weight: 500;
            margin: 0 auto 3rem;
            line-height: 1.85;
        }

        .feature-detail {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 3rem;
            max-width: 960px;
            margin: 0.5rem auto;

            p {
                color: var(--text-secondary);
                line-height: 1.75;
                font-weight: 400;
                text-align: left;
                font-size: 1rem;
                margin: 0;
            }

            img {
                border-radius: 14px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
                border: 1px solid var(--border-subtle);
                flex-shrink: 0;
            }

            .img-sm {
                width: 100%;
                max-width: 260px;
                height: auto;
            }

            .img-lg {
                width: 100%;
                max-width: 540px;
                height: auto;
            }

            /* Stack on tablet and below */
            @media (max-width: 900px) {
                flex-direction: column;
                gap: 1.75rem;

                &.reverse { flex-direction: column-reverse; }

                p   { text-align: center; }
                img { margin: 0 auto; }

                .img-lg { max-width: min(100%, 480px); }
            }
        }

        /* Tablet */
        @media (max-width: 768px) {
            padding: 3rem 2rem;

            h2  { font-size: 2rem; }
            > p { font-size: 1.05rem; margin-bottom: 2rem; }
        }

        /* Phone */
        @media (max-width: 480px) {
            padding: 2rem 1.25rem;
            border-radius: 12px;

            h2  { font-size: 1.75rem; }
            > p { font-size: 0.975rem; }

            .feature-detail p { font-size: 0.925rem; }
        }
    }

    @media (max-width: 768px) {
        padding: 1rem 1.25rem;
    }
}

/* ── About ─────────────────────────────────────────────────── */

.about {
    padding: 7rem 2rem;

    .about-content {
        max-width: 860px;
        margin: 0 auto;
    }

    .about-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .about-eyebrow {
        display: inline-block;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--primary);
        background: var(--border-amber);
        border: 1px solid rgba(232, 148, 10, 0.25);
        padding: 0.35rem 0.9rem;
        border-radius: 999px;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 2.6rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    .about-header p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        line-height: 1.85;
        max-width: 680px;
        margin: 0 auto;
    }

    .team {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .team-member {
        display: flex;
        align-items: flex-start;
        gap: 1.75rem;
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: 16px;
        padding: 2rem;
        transition: background-color 0.3s;
    }

    .team-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
        flex-shrink: 0;
    }

    .team-info {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .team-info h3 {
        font-size: 1.15rem;
    }

    .team-title {
        font-size: 0.85rem;
        color: var(--primary);
        font-weight: 600;
    }

    .team-bio {
        font-size: 0.95rem;
        color: var(--text-secondary);
        line-height: 1.7;
        margin-top: 0.25rem;
    }

    @media (max-width: 600px) {
        padding: 5rem 1.5rem;
        h2 { font-size: 2rem; }
        .team-member { flex-direction: column; gap: 1.25rem; }
    }
}

/* ── Contact ───────────────────────────────────────────────── */

.contact {
    padding: 6rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.3s;

    .contact-content {
        max-width: 1000px;
        margin: 0 auto;
    }

    .contact-header {
        text-align: center;
        margin-bottom: 3.5rem;

        h2 { font-size: 2.4rem; margin-bottom: 0.75rem; }

        p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .contact-info {
        h3 {
            font-size: 1.15rem;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }
    }

    .demo-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            font-size: 0.98rem;
            color: var(--text-secondary);
            line-height: 1.6;

            svg {
                color: var(--primary);
                flex-shrink: 0;
                margin-top: 2px;
            }
        }
    }

    a { color: var(--primary); text-decoration: none; font-weight: 600; }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;

        label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-top: 0.25rem;
        }

        input, textarea {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            background: var(--input-bg);
            color: var(--text-primary);
            font-size: 1rem;
            font-family: inherit;
            resize: vertical;
            transition: border-color 0.2s, background-color 0.3s;

            &:focus {
                outline: none;
                border-color: var(--primary);
            }

            &::placeholder { color: var(--text-secondary); opacity: 0.7; }
        }

        button { align-self: flex-end; margin-top: 0.5rem; }

        button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

        .form-success {
            color: #10b981;
            font-size: 0.9rem;
            padding: 0.6rem 0;
        }

        .form-error {
            color: #ef4444;
            font-size: 0.9rem;
            padding: 0.6rem 0;
        }
    }

    @media (max-width: 768px) {
        .contact-grid {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }
    }

    @media (max-width: 600px) {
        padding: 4rem 1.5rem;
        .contact-header h2 { font-size: 2rem; }
        .contact-form button { align-self: stretch; }
    }
}

/* ── Partnership ───────────────────────────────────────────── */

.partnership {
    padding: 7rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);

    .partnership-content {
        max-width: 780px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .partnership-eyebrow {
        display: inline-block;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--primary);
        background: var(--border-amber);
        border: 1px solid rgba(232, 148, 10, 0.25);
        padding: 0.35rem 0.9rem;
        border-radius: 999px;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 2.6rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }

    p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        line-height: 1.8;
        margin-bottom: 3rem;
    }

    .logo-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .partner-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        background: var(--bg);
        border: 1px solid var(--border-subtle);
        border-radius: 16px;
        padding: 1.5rem 2rem;
        min-width: 160px;

        span {
            font-size: 0.78rem;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
        }
    }

    .partner-plus {
        font-size: 2rem;
        font-weight: 300;
        color: var(--text-secondary);
        flex-shrink: 0;
    }

    .partner-logo {
        height: 40px;
        background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.5));
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 6px;
        padding: 0.3rem 0.75rem;
    }

    .joint-logo {
        height: 40px;
        padding: 0.3rem 0.75rem;
        border-radius: 6px;
        border: 1px solid transparent;
    }

    .partnership-chips {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
        margin-bottom: 2.5rem;
    }

    .chip {
        font-size: 0.82rem;
        font-weight: 500;
        color: var(--text-secondary);
        background: var(--bg);
        border: 1px solid var(--border-subtle);
        border-radius: 999px;
        padding: 0.35rem 0.9rem;
    }

    @media (max-width: 600px) {
        h2 { font-size: 2rem; }
        p  { font-size: 1rem; }
        .logo-row { flex-direction: column; gap: 0.75rem; }
        .partner-card { min-width: 140px; padding: 1.25rem 1.5rem; }
    }
}

/* ── Footer ────────────────────────────────────────────────── */

footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    transition: background-color 0.3s;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-width: 280px;
}

.footer-logo {
    height: 34px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 3.5rem;
}

.footer-nav-col h4 {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;

    &:hover { color: var(--primary); }
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--border-subtle);

    p { color: var(--text-secondary); font-size: 0.85rem; }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand { max-width: 100%; }

    .footer-nav { gap: 2rem; flex-wrap: wrap; }
}


/* ── Section-specific layouts ──────────────────────────────── */

/* App — split: feature list left / stacked phones right */

.app-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 960px;
    text-align: left;
}

.app-copy > p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;

    li {
        display: flex;
        align-items: flex-start;
        gap: 0.875rem;
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .list-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--primary);
        flex-shrink: 0;
        margin-top: 0.45em;
    }

    strong { color: var(--text-primary); }
}

.app-screens {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: flex-end;

    img {
        width: calc(50% - 0.625rem);
        border-radius: 16px;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
        border: 1px solid var(--border-subtle);
    }

    img:first-child { transform: translateY(18px); }
}

@media (max-width: 820px) {
    .app-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .feature-list li { justify-content: center; text-align: left; }

    .app-screens {
        max-width: 360px;
        margin: 0 auto;
    }

    .app-screens img:first-child { transform: translateY(10px); }
}

@media (max-width: 400px) {
    .app-screens { max-width: 280px; }
}

/* Web — full-bleed screenshot + two-column caption */

.web-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
    align-items: stretch;
}

.web-screenshot {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    display: block;
}

.web-caption {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.web-caption-block {
    strong {
        display: block;
        color: var(--text-primary);
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.75;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .web-caption {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

.web-ai-row {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.web-ai-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;

    strong {
        display: block;
        color: var(--text-primary);
        font-size: 1.3rem;
        line-height: 1.4;
    }

    p {
        color: var(--text-secondary);
        font-size: 0.975rem;
        line-height: 1.8;
        margin: 0;
    }
}

.web-ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    width: fit-content;
}

.web-ai-image {
    width: 100%;
}

.web-ai-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

@media (max-width: 768px) {
    .web-ai-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .web-ai-text { align-items: center; }
    .web-ai-badge { align-self: center; }
}

/* Loyalty — offset image pair left / stacked text blocks right */

.loyalty-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    max-width: 960px;
}

.loyalty-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;

    img {
        width: 100%;
        border-radius: 14px;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
        border: 1px solid var(--border-subtle);
    }

    img:last-child { transform: translateY(24px); }
}

.loyalty-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.loyalty-block {
    padding: 1.5rem 0;

    strong {
        display: block;
        color: var(--text-primary);
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    p {
        color: var(--text-secondary);
        font-size: 0.975rem;
        line-height: 1.75;
        margin: 0;
    }
}

.loyalty-divider {
    height: 1px;
    background: var(--border-subtle);
    width: 100%;
}

@media (max-width: 820px) {
    .loyalty-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .loyalty-images {
        max-width: 380px;
        margin: 0 auto;
    }

    .loyalty-images img:last-child { transform: translateY(14px); }

    .loyalty-text { text-align: center; }
}

@media (max-width: 400px) {
    .loyalty-images { max-width: 280px; }
}

/* Engagement — 2x2 bento grid */


/* ── Entrance & scroll animations ─────────────────────────── */

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {

    /* Hero loads in on page open */
    .hero-text h1            { animation: heroEntrance 1s    cubic-bezier(0.16, 1, 0.3, 1) 0s     both; }
    .hero-text p             { animation: heroEntrance 0.9s  cubic-bezier(0.16, 1, 0.3, 1) 0.18s  both; }
    .hero-text .cta-buttons  { animation: heroEntrance 0.9s  cubic-bezier(0.16, 1, 0.3, 1) 0.34s  both; }
    .hero-image              { animation: heroEntrance 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.1s   both; }

    /* Scroll reveal — base (fade up) */
    [data-reveal] {
        opacity: 0;
        transform: translateY(38px);
        transition:
            opacity  0.72s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Triggered state */
    [data-reveal].visible {
        opacity: 1;
        transform: none;
    }

    /* Stagger delays */
    [data-reveal-delay="1"] { transition-delay: 0.1s; }
    [data-reveal-delay="2"] { transition-delay: 0.2s; }
    [data-reveal-delay="3"] { transition-delay: 0.3s; }
    [data-reveal-delay="4"] { transition-delay: 0.4s; }
}
