/* Bible ASMR referral landing — Prayer Lock layout, Selah brand colors */
:root {
    --bg: #ffffff;
    --cream: #f2eae6;
    --text: #2c2421;
    --muted: #7d6e68;
    --accent: #b7929c;
    --accent-strong: #a67f85;
    --banner: #1a1513;
    --banner-muted: rgba(255, 255, 255, 0.72);
    --radius: 18px;
}

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

html,
body {
    min-height: 100%;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(183, 146, 156, 0.12), transparent 55%),
        var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 36, 33, 0.06);
}

.topbar-brand {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--muted);
}

.page {
    max-width: 440px;
    margin: 0 auto;
    padding: 36px 24px 140px;
    text-align: center;
}

.headline {
    font-size: clamp(2.15rem, 9vw, 2.85rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
}

.headline-line {
    display: block;
}

.accent {
    color: var(--accent);
}

.subhead {
    font-size: clamp(1.05rem, 4.2vw, 1.2rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--muted);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.store-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 188px;
    padding: 10px 18px 10px 14px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.store-badge:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.store-badge-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

.store-badge-kicker {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.85;
}

.store-badge-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.demo {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
    box-shadow:
        0 1px 2px rgba(44, 36, 33, 0.04),
        0 18px 40px rgba(44, 36, 33, 0.08);
}

.demo-video {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    background: #1a1513;
}

.connect-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    max-width: 520px;
    margin: 0 auto;
}

.connect-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--banner);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease;
}

.connect-link:hover {
    transform: translateY(-1px);
}

.connect-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent);
    background: var(--cream);
}

.connect-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    min-width: 0;
}

.connect-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.connect-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--banner-muted);
}

@media (min-width: 640px) {
    .page {
        padding-top: 56px;
    }

    .connect-banner {
        left: 50%;
        right: auto;
        width: calc(100% - 48px);
        max-width: 480px;
        transform: translateX(-50%);
    }
}
