@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Archivo:wght@400;500;600;700&display=swap');

:root {
    --bg: #FFFFFF;
    --cream: #FFFAED;
    --surface: #F9F9F9;
    --input: #F5F5F5;
    --line: #F0F0F0;
    --line-soft: #EEEEEE;
    --gold: #C5A059;
    --gold-dark: #B8860B;
    --gold-chip: #FEF3C7;
    --gold-soft: #FFF8E1;
    --ink: #2C2C2C;
    --muted: #757575;
    --body-text: #4A4A4A;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Archivo', 'Segoe UI', sans-serif;
}

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

html { background: var(--bg); }

body {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 700px at 80% -14%, rgba(254, 243, 199, 0.85), transparent 62%),
        radial-gradient(900px 650px at -12% 110%, rgba(255, 250, 237, 0.95), transparent 58%),
        linear-gradient(180deg, #FFFFFF 0%, #FFFDF6 100%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        repeating-linear-gradient(63deg, rgba(197, 160, 89, 0.10) 0 1px, transparent 1px 14px),
        repeating-linear-gradient(-63deg, rgba(197, 160, 89, 0.07) 0 1px, transparent 1px 26px);
    mask-image: radial-gradient(120% 100% at 50% 40%, black 30%, transparent 85%);
}

a { color: inherit; }

::selection { background: rgba(197, 160, 89, 0.3); }

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

.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.15s; } .d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; } .d5 { animation-delay: 0.45s; }

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 56px);
    padding-bottom: calc(clamp(24px, 4vw, 56px) + env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100dvh;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(20px, 3.5vh, 44px);
}

.logo-img {
    height: clamp(34px, 4.5vh, 46px);
    width: auto;
}

.brand-tag {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: 16px;
}

h1.title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(30px, 4.6vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    text-wrap: balance;
    color: var(--ink);
}

h1.title em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-dark);
}

.subtitle {
    color: var(--muted);
    font-size: clamp(14px, 1.25vw, 16.5px);
    line-height: 1.65;
    max-width: 54ch;
    margin-bottom: clamp(20px, 3.5vh, 36px);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: clamp(18px, 3vh, 32px);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 11px 14px;
}

.icon-chip {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gold-chip);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit span { min-width: 0; }
.benefit b { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.benefit small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }

.legal-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 12.5px;
    color: var(--muted);
}

.legal-foot a {
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.45);
    transition: color 0.2s;
}

.legal-foot a:hover { color: var(--gold-dark); }

.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--muted);
    border-bottom: 1px solid rgba(197, 160, 89, 0.45);
    transition: color 0.2s;
}

.wa-link:hover { color: var(--gold-dark); }

.download-card {
    position: relative;
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    background: linear-gradient(178deg, var(--gold-soft), #FFFFFF 46%);
    box-shadow: 0 10px 34px -18px rgba(44, 44, 44, 0.18);
    padding: clamp(26px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.download-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 13px;
    pointer-events: none;
}

.app-icon {
    width: clamp(76px, 8vw, 96px);
    height: auto;
    border-radius: 22%;
    box-shadow: 0 10px 26px -10px rgba(44, 44, 44, 0.28);
    margin-bottom: 18px;
}

.app-name {
    font-family: var(--serif);
    font-size: clamp(21px, 2vw, 26px);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ink);
}

.app-sub {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: clamp(18px, 3vh, 26px);
}

.divider-gem {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 72%;
    margin: clamp(14px, 2.5vh, 24px) 0;
    color: var(--gold);
}

.divider-gem::before, .divider-gem::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.45));
}

.divider-gem::after { background: linear-gradient(90deg, rgba(197, 160, 89, 0.45), transparent); }

.badge-link {
    display: inline-block;
    line-height: 0;
}

.badge-link + .badge-link { margin-top: 14px; }

.badge-img {
    display: block;
    height: 48px;
    width: auto;
}

.store-note {
    margin-top: 18px;
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.doc-page {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 40px) 80px;
}

.doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 34px;
}

.doc-header img { height: 32px; width: auto; }

.back-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 7px 16px;
    white-space: nowrap;
    background: var(--surface);
    transition: color 0.2s, border-color 0.2s;
}

.back-link:hover { color: var(--gold-dark); border-color: rgba(197, 160, 89, 0.5); }

.doc-body h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 36px);
    margin-bottom: 6px;
    color: var(--ink);
}

.doc-updated { color: var(--muted); font-size: 12.5px; margin-bottom: 30px; }

.doc-body h2 {
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin: 34px 0 12px;
}

.doc-body p, .doc-body li {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--body-text);
}

.doc-body ul { list-style: none; margin: 10px 0; }
.doc-body li { padding-left: 20px; position: relative; margin-bottom: 8px; }

.doc-body li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 11px;
    width: 7px;
    height: 1px;
    background: var(--gold-dark);
}

.doc-body strong { color: var(--ink); }
.doc-body a { color: var(--gold-dark); }

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 22px 18px calc(28px + env(safe-area-inset-bottom));
        max-width: 520px;
        text-align: center;
    }
    .brand-row { justify-content: center; }
    .subtitle { margin-left: auto; margin-right: auto; }
    .benefit { text-align: left; }
    .legal-foot { justify-content: center; }

    .download-card {
        order: 0;
        padding: 28px 20px;
        border-radius: 16px;
    }
    .divider-gem { width: 56%; margin: 16px auto; }
    .store-note { margin-top: 14px; }
    .badge-img { height: 44px; }
}

@media (max-width: 380px) {
    .benefits { grid-template-columns: 1fr; }
    .title { font-size: 27px; }
    .app-icon { width: 68px; }
}
