/* =========================================================
   Melitel Apps
   Global styles + Light / Dark theme
   ========================================================= */


/* =========================================================
   Theme variables
   ========================================================= */

:root {
    color-scheme: light;
    --bg: #fbfaf7;
    --paper: #ffffff;
    --section-alt: #ffffff;
    --ink: #26242a;
    --muted: #6e6973;
    --line: rgba(38, 36, 42, 0.12);
    --shadow: 0 24px 70px rgba(32, 27, 35, 0.12);
    --card-shadow: 0 18px 55px rgba(30, 27, 35, 0.08);
    --radius: 28px;
    --container: 1180px;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: Georgia, "Times New Roman", serif;
    /* Header */

    --header-bg: rgba(251, 250, 247, 0.90);
    /* Strong buttons / selected controls */

    --strong-bg: #252329;
    --strong-ink: #ffffff;
    /* Hero glow */

    --hero-glow-core: #ffffff;
    --hero-glow: rgba(220, 205, 255, 0.45);
    /* Artwork */

    --art-frame: rgba(255, 255, 255, 0.90);
    --art-ring: rgba(255, 255, 255, 0.45);
    /* Pills */

    --pill-bg: #f1eef8;
    --pill-ink: #655696;
    --pill-soft-bg: #f6f3ed;
    --pill-soft-ink: #756d62;
    /* Notice */

    --notice-bg: #f3efff;
    --notice-line: #d9cff8;
    --notice-ink: #564b76;
    /* Support card */

    --support-bg: #252329;
    --support-ink: #ffffff;
    --support-muted: rgba(255, 255, 255, 0.72);
    --support-button-bg: #ffffff;
    --support-button-ink: #252329;
}



/* =========================================================
   Dark theme
   ========================================================= */

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #141217;
    --paper: #211e25;
    --section-alt: #19171c;
    --ink: #f5f1f5;
    --muted: #aaa3ad;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --card-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
    /* Header */

    --header-bg: rgba(20, 18, 23, 0.88);
    /* Strong controls */

    --strong-bg: #f1edf3;
    --strong-ink: #1a171d;
    /* Hero glow */

    --hero-glow-core: rgba(151, 127, 205, 0.16);
    --hero-glow: rgba(111, 86, 170, 0.24);
    /* Artwork */

    --art-frame: rgba(255, 255, 255, 0.10);
    --art-ring: rgba(255, 255, 255, 0.20);
    /* Pills */

    --pill-bg: #2b2535;
    --pill-ink: #cdbdf3;
    --pill-soft-bg: #292520;
    --pill-soft-ink: #d4c6b8;
    /* Notice */

    --notice-bg: #272131;
    --notice-line: #4c4167;
    --notice-ink: #dbd0f7;
    /* Support */

    --support-bg: #201d24;
    --support-ink: #f8f4f8;
    --support-muted: rgba(248, 244, 248, 0.70);
    --support-button-bg: #f1edf3;
    --support-button-ink: #1a171d;
}



/* =========================================================
   System dark theme
   Used before JavaScript has applied data-theme
   ========================================================= */

@media (prefers-color-scheme: dark) {

    html:not([data-theme]) {
        color-scheme: dark;
        --bg: #141217;
        --paper: #211e25;
        --section-alt: #19171c;
        --ink: #f5f1f5;
        --muted: #aaa3ad;
        --line: rgba(255, 255, 255, 0.11);
        --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
        --card-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
        --header-bg: rgba(20, 18, 23, 0.88);
        --strong-bg: #f1edf3;
        --strong-ink: #1a171d;
        --hero-glow-core: rgba(151, 127, 205, 0.16);
        --hero-glow: rgba(111, 86, 170, 0.24);
        --art-frame: rgba(255, 255, 255, 0.10);
        --art-ring: rgba(255, 255, 255, 0.20);
        --pill-bg: #2b2535;
        --pill-ink: #cdbdf3;
        --pill-soft-bg: #292520;
        --pill-soft-ink: #d4c6b8;
        --notice-bg: #272131;
        --notice-line: #4c4167;
        --notice-ink: #dbd0f7;
        --support-bg: #201d24;
        --support-ink: #f8f4f8;
        --support-muted: rgba(248, 244, 248, 0.70);
        --support-button-bg: #f1edf3;
        --support-button-ink: #1a171d;
    }
}



/* =========================================================
   Reset / base
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.22s ease, color 0.22s ease;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
}


.container {
    width: min( var(--container), calc(100% - 40px) );
    margin: auto;
}



/* =========================================================
   Accessibility
   ========================================================= */

.skip-link {
    position: fixed;
    top: -100px;
    left: 18px;
    z-index: 999;
    padding: 10px 14px;
    border-radius: 10px;
    background: #1d1c21;
    color: #ffffff;
}


    .skip-link:focus {
        top: 18px;
    }



/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}


    .site-header.is-scrolled {
        background: var(--header-bg);
        border-color: var(--line);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 10px 35px rgba(30, 27, 35, 0.06);
    }


html[data-theme="dark"]
.site-header.is-scrolled {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
}


.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}



/* =========================================================
   Brand
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 1.4rem var(--serif);
    text-decoration: none;
}


.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--strong-bg);
    color: var(--strong-ink);
    transition: background-color 0.22s ease, color 0.22s ease;
}



/* =========================================================
   Navigation
   ========================================================= */

.main-nav {
    display: flex;
    gap: 26px;
    align-items: center;
}


    .main-nav a {
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 700;
        color: var(--muted);
        transition: color 0.18s ease;
    }


        .main-nav a:hover {
            color: var(--ink);
        }



/* =========================================================
   Language + theme switch
   ========================================================= */

.lang-switch {
    display: flex;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    transition: background-color 0.22s ease, border-color 0.22s ease;
}


.lang-button {
    border: 0;
    background: transparent;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.75rem;
    cursor: pointer;
    color: var(--muted);
    transition: background-color 0.18s ease, color 0.18s ease;
}


    .lang-button:hover {
        color: var(--ink);
    }


    .lang-button.is-active {
        background: var(--strong-bg);
        color: var(--strong-ink);
    }


.theme-button {
    min-width: 34px;
    margin-left: 3px;
    padding: 6px 9px;
    box-shadow: inset 1px 0 0 var(--line);
    font-size: 0.95rem;
    line-height: 1;
}


    .theme-button:hover {
        background: rgba(127, 114, 145, 0.10);
    }



/* =========================================================
   Home hero
   ========================================================= */

.hero {
    position: relative;
    padding: 100px 0 84px;
    overflow: hidden;
}


    .hero::before {
        content: "";
        position: absolute;
        inset: -260px auto auto 55%;
        width: 620px;
        height: 620px;
        border-radius: 50%;
        background: radial-gradient( circle, var(--hero-glow-core) 0, var(--hero-glow) 42%, transparent 70% );
    }


.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    transition: background-color 0.22s ease, border-color 0.22s ease;
}


.hero h1 {
    font: 600 clamp(3.4rem, 7vw, 6.6rem) / 0.95 var(--serif);
    letter-spacing: -0.055em;
    margin: 24px 0;
}


.hero-lead {
    font-size: clamp( 1.08rem, 1.8vw, 1.32rem );
    color: var(--muted);
    max-width: 680px;
    margin: 0;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}



/* =========================================================
   Buttons
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 11px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    transition: transform 0.18s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}


    .button.primary {
        background: var(--strong-bg);
        color: var(--strong-ink);
        border-color: var(--strong-bg);
        box-shadow: 0 16px 34px rgba(30, 27, 35, 0.18);
    }


html[data-theme="dark"]
.button.primary {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}


.button:hover {
    transform: translateY(-2px);
}



/* =========================================================
   Home hero artwork
   ========================================================= */

.hero-art {
    position: relative;
    min-height: 510px;
}


.art-stack {
    position: absolute;
    inset: 0;
}


.art-card {
    position: absolute;
    width: 320px;
    border-radius: 36px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 8px solid var(--art-frame);
    background: var(--paper);
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}


    .art-card img {
        width: 100%;
        aspect-ratio: 800 / 520;
        object-fit: cover;
    }


    .art-card.one {
        top: 15px;
        right: 30px;
        transform: rotate(4deg);
    }


    .art-card.two {
        top: 180px;
        left: 0;
        transform: rotate(-8deg);
    }


    .art-card.three {
        bottom: 0;
        right: 110px;
        width: 240px;
        transform: rotate(7deg);
    }



/* =========================================================
   Sections
   ========================================================= */

.section {
    padding: 86px 0;
}


    .section.alt {
        background: var(--section-alt);
        transition: background-color 0.22s ease;
    }


.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}


.kicker {
    display: block;
    margin-bottom: 9px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #7b66ba;
}


html[data-theme="dark"]
.kicker {
    color: #b8a5ef;
}


.section h2 {
    font: 600 clamp(2.4rem, 4vw, 4.4rem) / 1.03 var(--serif);
    letter-spacing: -0.04em;
    margin: 0 0 16px;
}


.section-head p {
    font-size: 1.08rem;
    color: var(--muted);
    margin: 0;
}



/* =========================================================
   Apps list
   ========================================================= */

.apps-list {
    display: grid;
    gap: 28px;
}


.app-banner {
    position: relative;
    min-height: 390px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    border-radius: 34px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--card-shadow);
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}


    .app-banner:nth-child(even) {
        grid-template-columns: 1.1fr 0.9fr;
    }


        .app-banner:nth-child(even)
        .banner-art {
            order: 2;
        }



/* =========================================================
   App banners — artwork
   ========================================================= */

.banner-art {
    position: relative;
    min-height: 390px;
    padding: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
}


    .banner-art::after {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        border: 1px solid var(--art-ring);
    }


    .banner-art img {
        position: relative;
        z-index: 2;
        width: min( 520px, 94% );
        border-radius: 28px;
        box-shadow: 0 20px 55px rgba(30, 27, 35, 0.20);
    }


html[data-theme="dark"]
.banner-art img {
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}



/* =========================================================
   App banners — text
   ========================================================= */

.banner-copy {
    padding: 48px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.app-meta {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 17px;
}


.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--pill-ink);
    font-size: 0.75rem;
    font-weight: 900;
}


    .pill.soft {
        background: var(--pill-soft-bg);
        color: var(--pill-soft-ink);
    }


.banner-copy h3 {
    font: 600 clamp(2.25rem, 4vw, 4rem) / 1.02 var(--serif);
    letter-spacing: -0.04em;
    margin: 0 0 16px;
}


.banner-copy p {
    color: var(--muted);
    font-size: 1.04rem;
    max-width: 620px;
    margin: 0;
}


.banner-links {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 28px;
}



/* =========================================================
   App-specific banner colors
   ========================================================= */

.fortune .banner-art,
.theme-fortune .app-hero-art {
    background: linear-gradient( 135deg, #ffd9d3, #ef9ca5 );
}


.math .banner-art,
.theme-math .app-hero-art {
    background: linear-gradient( 135deg, #ddd0ff, #8f78dd );
}


.count .banner-art,
.theme-count .app-hero-art {
    background: linear-gradient( 135deg, #c8f1e7, #4caeb0 );
}


.river .banner-art,
.theme-river .app-hero-art {
    background: linear-gradient( 135deg, #e2f7ee, #4090a0 );
}



/* =========================================================
   About section
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}


.info-card {
    padding: 34px;
    border-radius: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: background-color 0.22s ease, border-color 0.22s ease;
}


    .info-card h3 {
        font: 600 1.7rem var(--serif);
        margin: 0 0 8px;
    }


    .info-card p {
        color: var(--muted);
        margin: 0;
    }



/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--line);
}


.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.9rem;
}


.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}


    .footer-links a {
        text-decoration: none;
        transition: color 0.18s ease;
    }


        .footer-links a:hover {
            color: var(--ink);
        }



/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}


    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }



/* =========================================================
   App detail pages
   ========================================================= */

.app-hero {
    padding: 72px 0 70px;
}


.app-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}


.back-link {
    display: inline-flex;
    gap: 7px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 28px;
    transition: color 0.18s ease;
}


    .back-link:hover {
        color: var(--ink);
    }


.app-icon-row {
    display: flex;
    align-items: center;
    gap: 15px;
}


.mini-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 14px 30px rgba(30, 27, 35, 0.12);
    background: var(--paper);
}


html[data-theme="dark"]
.mini-icon {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.30);
}


.app-hero h1 {
    font: 600 clamp(3.1rem, 6vw, 6rem) / 0.95 var(--serif);
    letter-spacing: -0.052em;
    margin: 20px 0;
}


.app-hero p {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 650px;
}


.app-hero-art {
    min-height: 480px;
    border-radius: 38px;
    display: grid;
    place-items: center;
    padding: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


    .app-hero-art img {
        width: min( 600px, 100% );
        border-radius: 28px;
        box-shadow: 0 22px 50px rgba(30, 27, 35, 0.24);
    }


html[data-theme="dark"]
.app-hero-art img {
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}



/* =========================================================
   Features
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.feature {
    padding: 28px;
    border-radius: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: background-color 0.22s ease, border-color 0.22s ease;
}


    .feature b {
        display: block;
        font: 600 1.38rem var(--serif);
        margin: 10px 0 8px;
    }


    .feature p {
        margin: 0;
        color: var(--muted);
    }


.feature-symbol {
    font-size: 1.7rem;
}



/* =========================================================
   Screenshot gallery
   ========================================================= */

.screen-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}


    .screen-grid img {
        width: 100%;
        border-radius: 20px;
        border: 6px solid var(--paper);
        box-shadow: 0 14px 36px rgba(30, 27, 35, 0.15);
        transition: border-color 0.22s ease, box-shadow 0.22s ease;
    }


html[data-theme="dark"]
.screen-grid img {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

/* =========================================================
   Mental Math screenshots
   ========================================================= */

.math-screen-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
}

/* =========================================================
   Count Master promo gallery
   ========================================================= */

.count-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}


    .count-promo-grid img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 28px;
        border: 6px solid var(--paper);
        box-shadow: 0 18px 48px rgba(30, 27, 35, 0.16);
        transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }


        .count-promo-grid img:hover {
            transform: translateY(-5px);
        }


html[data-theme="dark"]
.count-promo-grid img {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}


@media (max-width: 920px) {

    .count-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 620px) {

    .count-promo-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


        .count-promo-grid img {
            max-width: 430px;
            margin-left: auto;
            margin-right: auto;
        }
}



/* =========================================================
   Notices
   ========================================================= */

.notice {
    padding: 24px 28px;
    border-radius: 22px;
    background: var(--notice-bg);
    border: 1px solid var(--notice-line);
    color: var(--notice-ink);
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}


    .notice strong {
        display: block;
        margin-bottom: 5px;
    }



/* =========================================================
   Mockup grids
   ========================================================= */

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.mock-panel {
    min-height: 250px;
    border-radius: 25px;
    padding: 28px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 18px 48px rgba(30, 27, 35, 0.14);
}


    .mock-panel h3 {
        font: 600 1.7rem var(--serif);
        margin: 0 0 7px;
    }


    .mock-panel p {
        margin: 0;
        color: rgba( 255, 255, 255, 0.84 );
    }


.theme-math .mock-panel {
    background: linear-gradient( 145deg, #5a429e, #9d82e6 );
}


.theme-count .mock-panel {
    background: linear-gradient( 145deg, #226f78, #55b8ae );
}


.theme-river .mock-panel {
    background: linear-gradient( 145deg, #1d6478, #51a79a );
}



/* =========================================================
   Support card
   ========================================================= */

.support-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    padding: 40px;
    border-radius: 30px;
    background: var(--support-bg);
    color: var(--support-ink);
    transition: background-color 0.22s ease, color 0.22s ease;
}


    .support-card h2 {
        color: var(--support-ink);
    }


    .support-card p {
        color: var(--support-muted);
    }


.support-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}


    .support-actions .button {
        background: var(--support-button-bg);
        color: var(--support-button-ink);
    }


        .support-actions .button.ghost {
            background: transparent;
            color: var(--support-ink);
            border-color: rgba( 255, 255, 255, 0.25 );
        }



/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 920px) {

    .math-screen-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 620px;
    }

    .main-nav {
        display: none;
    }


    .hero-grid,
    .app-hero-grid,
    .about-grid,
    .support-card {
        grid-template-columns: 1fr;
    }


    .hero {
        padding-top: 60px;
    }


    .hero-art {
        min-height: 440px;
    }


    .app-banner,
    .app-banner:nth-child(even) {
        grid-template-columns: 1fr;
    }


        .app-banner:nth-child(even)
        .banner-art {
            order: 0;
        }


    .banner-art {
        min-height: 310px;
    }


    .feature-grid,
    .mockup-grid {
        grid-template-columns: 1fr 1fr;
    }


    .screen-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .support-actions {
        justify-content: flex-start;
    }
}



/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 620px) {

    .math-screen-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .container {
        width: min( calc(100% - 24px), var(--container) );
    }


    .header-inner {
        min-height: 66px;
        gap: 10px;
    }


    .brand {
        font-size: 1.15rem;
    }


    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }


    .lang-switch {
        margin-left: auto;
    }


    .lang-button {
        padding: 6px 8px;
    }


    .theme-button {
        min-width: 31px;
        padding: 6px 7px;
    }


    .hero {
        padding: 55px 0 60px;
    }


        .hero h1 {
            font-size: 3.4rem;
        }


    .hero-art {
        min-height: 330px;
    }


    .art-card {
        width: 220px;
    }


        .art-card.one {
            right: 5px;
        }


        .art-card.two {
            top: 140px;
        }


        .art-card.three {
            width: 170px;
            right: 45px;
        }


    .section {
        padding: 64px 0;
    }


    .banner-copy {
        padding: 32px 25px;
    }


    .banner-art {
        padding: 18px;
        min-height: 245px;
    }


    .feature-grid,
    .mockup-grid {
        grid-template-columns: 1fr;
    }


    .screen-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }


    .app-hero {
        padding-top: 45px;
    }


    .app-hero-art {
        min-height: 300px;
        padding: 18px;
    }


    .support-card {
        padding: 28px;
    }
}



/* =========================================================
   Reduced motion accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }


    .reveal {
        opacity: 1;
        transform: none;
    }
}
