:root {
    color-scheme: dark;
    --ink: #fff8df;
    --muted: #d9e7c1;
    --leaf: #8bd428;
    --leaf-dark: #0c522d;
    --wood: #7b3f19;
    --gold: #f4bf45;
    --night: #071b14;
    --panel: rgba(11, 45, 30, 0.82);
    --panel-light: rgba(255, 246, 206, 0.9);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--night) url("/assets/images/mm_bg.png") center top / cover fixed;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(180deg, rgba(3, 18, 12, 0.62), rgba(6, 37, 24, 0.44) 42%, rgba(5, 20, 13, 0.9)),
        radial-gradient(circle at 20% 25%, rgba(244, 191, 69, 0.18), transparent 28%);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(5, 25, 17, 0.74);
    border-bottom: 1px solid rgba(255, 248, 223, 0.16);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: clamp(12px, 3vw, 30px);
    justify-content: center;
}

nav a,
footer a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 750;
}

nav a:hover,
footer a:hover {
    color: var(--ink);
}

select {
    max-width: 150px;
    padding: 10px 34px 10px 12px;
    color: #18351c;
    font-weight: 800;
    background: var(--panel-light);
    border: 2px solid rgba(244, 191, 69, 0.8);
    border-radius: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.hero {
    min-height: calc(100vh - 74px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    gap: clamp(28px, 6vw, 86px);
    align-items: center;
    padding: clamp(38px, 7vw, 96px) clamp(20px, 6vw, 90px) 72px;
    background: linear-gradient(90deg, rgba(5, 30, 19, 0.52), rgba(5, 30, 19, 0.08));
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #dfff8a;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    font-size: clamp(3rem, 8vw, 6.8rem);
    text-shadow: 0 8px 0 rgba(40, 17, 8, 0.35), 0 18px 30px rgba(0, 0, 0, 0.4);
}

.hero-copy > p:not(.eyebrow),
.section-copy p,
.privacy-hero p,
.policy p {
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.hero-actions,
.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.primary {
    color: #1c2b0a;
    background: linear-gradient(180deg, #dfff50, #88ce18);
    box-shadow: 0 5px 0 #406b09, 0 14px 28px rgba(0, 0, 0, 0.3);
}

.secondary {
    color: var(--ink);
    background: rgba(255, 248, 223, 0.08);
    border: 1px solid rgba(255, 248, 223, 0.35);
}

.store-row span {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 248, 223, 0.25);
    border-radius: 8px;
    background: rgba(2, 12, 9, 0.62);
    font-weight: 900;
}

.store-row small {
    color: var(--muted);
    font-weight: 800;
}

.hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-art {
    width: min(100%, 540px);
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 32px;
    filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55));
}

.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 72px clamp(20px, 6vw, 90px);
    background: linear-gradient(180deg, rgba(6, 33, 23, 0.9), rgba(8, 54, 34, 0.76));
}

.feature {
    min-height: 360px;
    padding: 16px;
    color: #2c1b0a;
    background: var(--panel-light);
    border: 2px solid rgba(244, 191, 69, 0.68);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.feature img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: 6px;
}

.feature h2 {
    margin-top: 18px;
    font-size: 1.35rem;
}

.feature p {
    color: #59412a;
    line-height: 1.55;
}

.screens {
    padding: 76px clamp(20px, 6vw, 90px) 86px;
    background: rgba(4, 22, 15, 0.72);
}

.section-copy {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-copy h2,
.privacy-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.phone-gallery {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, 0.8fr);
    gap: clamp(14px, 2vw, 24px);
    align-items: end;
}

.phone {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
    object-position: top;
    border: 8px solid #1b130b;
    border-radius: 28px;
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.42);
}

.main-phone {
    max-height: 880px;
}

.privacy-page {
    padding: clamp(30px, 6vw, 76px) clamp(20px, 6vw, 90px) 82px;
}

.privacy-hero {
    max-width: 920px;
    padding: 54px 0 34px;
}

.privacy-hero span {
    display: inline-flex;
    margin-top: 12px;
    color: #24370e;
    background: #dfff8a;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 900;
}

.policy {
    display: grid;
    gap: 18px;
    max-width: 980px;
}

.policy article {
    padding: clamp(22px, 4vw, 34px);
    background: var(--panel);
    border: 1px solid rgba(255, 248, 223, 0.18);
    border-radius: 8px;
}

.policy h2 {
    font-size: 1.55rem;
}

.policy a {
    color: #dfff8a;
    font-weight: 900;
}

footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 24px clamp(20px, 6vw, 90px);
    color: var(--muted);
    background: #071b14;
    border-top: 1px solid rgba(255, 248, 223, 0.14);
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 42px;
    }

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

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

@media (max-width: 620px) {
    .site-header {
        gap: 12px;
        padding: 10px 14px;
    }

    .brand span {
        max-width: 118px;
    }

    select {
        max-width: 126px;
    }

    .hero {
        min-height: auto;
        padding-inline: 16px;
    }

    h1 {
        font-size: clamp(2.45rem, 15vw, 4rem);
    }

    .features,
    .phone-gallery {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: auto;
    }
}
