:root {
    --bg: #f5efe7;
    --surface: rgba(255, 251, 246, 0.82);
    --text: #201913;
    --muted: #6e6258;
    --line: rgba(75, 58, 44, 0.12);
    --accent: #d97858;
    --accent-strong: #b85a3d;
    --shadow: 0 24px 60px rgba(69, 45, 28, 0.12);
    --radius-lg: 30px;
    --radius-md: 22px;
    --max-width: 760px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(217, 120, 88, 0.16), transparent 32%),
        linear-gradient(180deg, #f8f2ea 0%, #f3ece2 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 56px 0 32px;
}

.hero,
.app-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero {
    padding: 40px 20px 12px;
    text-align: center;
}

.hero-icon-image {
    display: block;
    width: 152px;
    height: 152px;
    margin: 24px auto 0;
    border-radius: 33px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.eyebrow,
.app-label {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

h1 {
    max-width: none;
    font-size: clamp(2.6rem, 8vw, 4rem);
    line-height: 1;
}

h2 {
    font-size: 2rem;
    line-height: 1;
}

.hero-text,
.app-copy,
.site-footer {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.02rem;
}

.app-card {
    margin-top: 8px;
    padding: 0 20px;
    text-align: center;
}

.app-copy {
    max-width: 28ch;
    margin: 18px auto 0;
}

.app-actions {
    margin-top: 22px;
}

.app-store-badge {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.policy-link {
    display: inline-block;
    margin-top: 20px;
    color: #4b4b4b;
    text-decoration: underline;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 88px;
    padding: 0 6px;
    text-align: center;
}

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

.footer-links a,
.legal-back-link {
    text-decoration: underline;
}

.legal-shell {
    max-width: 860px;
}

.legal-card {
    padding: 12px 20px 48px;
}

.legal-footer {
    margin-top: 24px;
    padding-top: 0;
}

.legal-back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: #4b4b4b;
}

.legal-copy {
    max-width: 68ch;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.legal-copy h2 {
    margin-top: 28px;
    font-size: 1.35rem;
    color: var(--text);
}

.legal-copy p {
    margin: 12px 0 0;
}

.legal-contact-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    color: var(--muted);
}

@media (max-width: 640px) {
    .page-shell {
        width: min(calc(100% - 20px), var(--max-width));
        padding-top: 24px;
    }

    .hero,
    .app-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-footer,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        margin-top: 64px;
        align-items: center;
    }

    .hero-icon-image {
        width: 132px;
        height: 132px;
    }

    .legal-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}
