:root {
    --bg: #f5efe2;
    --bg-alt: #eee4cf;
    --ink: #2a1f12;
    --ink-soft: #5a4a35;
    --muted: #8a7a62;
    --gold: #b8860b;
    --gold-dark: #8a6308;
    --burgundy: #6b1e1e;
    --line: rgba(42, 31, 18, 0.12);

    --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius: 14px;
    --max-w: 560px;

    --shadow-sm: 0 1px 2px rgba(42, 31, 18, 0.05), 0 2px 6px rgba(42, 31, 18, 0.04);
    --shadow-md: 0 4px 12px rgba(42, 31, 18, 0.08), 0 10px 30px rgba(42, 31, 18, 0.06);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(1200px 600px at 50% -100px, rgba(184, 134, 11, 0.08), transparent 60%),
        radial-gradient(800px 400px at 100% 120%, rgba(107, 30, 30, 0.06), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

.hero {
    padding: 2.5rem 1.25rem 1rem;
    text-align: center;
    position: relative;
}

.hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold-dark);
    vertical-align: middle;
    margin: 0 0.6rem;
    opacity: 0.6;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.75rem, 11vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    color: var(--ink-soft);
    font-style: italic;
    line-height: 1.35;
    max-width: 32ch;
    margin: 0 auto;
}

.hero__image-wrap {
    margin-top: 1.75rem;
    padding: 0 0.5rem;
}

.hero__image {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 18px rgba(42, 31, 18, 0.12));
}

/* ───────── Sections ───────── */

main {
    padding: 0 1.25rem;
}

section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 2.25rem 0;
    border-top: 1px solid var(--line);
}

section:first-of-type {
    border-top: none;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    color: var(--burgundy);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: var(--gold);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

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

.about p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    margin-bottom: 1rem;
}

.about p:last-child {
    margin-bottom: 0;
}

.about strong {
    color: var(--burgundy);
    font-weight: 600;
}

/* ───────── Features ───────── */

.features__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.feature__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.feature__icon svg {
    width: 22px;
    height: 22px;
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.feature p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ───────── Languages ───────── */

.languages__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.languages__list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
}

.flag {
    font-size: 1.05rem;
    line-height: 1;
}

/* ───────── Download ───────── */

.download {
    text-align: center;
}

.download__lede {
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
    margin-top: 1rem;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.35rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    min-width: 220px;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: var(--shadow-sm);
}

.store-button:hover {
    transform: translateY(-1px);
    background: #000;
}

.store-button__logo {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store-button__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    text-align: left;
}

.store-button__text small {
    font-size: 0.68rem;
    opacity: 0.75;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.store-button__text strong {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

.footer {
    text-align: center;
    padding: 2rem 1.25rem 2.5rem;
    color: var(--muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--line);
    margin-top: 1rem;
}

/* ───────── Reveal animation ───────── */

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

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ───────── Tablet / desktop polish ───────── */

@media (min-width: 720px) {
    .hero {
        padding: 4rem 1.5rem 1.5rem;
    }

    .store-buttons {
        flex-direction: row;
        justify-content: center;
    }

    section {
        padding: 3rem 0;
    }
}
