:root {
    --paper:       #F5EDDF;
    --paper-deep:  #E8D9C4;
    --ink:         #2A1F18;
    --ink-soft:    #6B5443;
    --ink-faint:   #B9A48E;
    --accent:      #C25A3D;
    --accent-dark: #A3472E;
    --card:        #FFFFFF;
    --store-bg:    #1C1C1E;
    --success-bg:  #F0EBE3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background:
        radial-gradient(ellipse 110% 55% at 50% 0%, rgba(210, 148, 108, 0.30) 0%, transparent 65%),
        #F5EDDF;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 56px 24px 56px;
}

/* ── Container ───────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Logo row ────────────────────────────────────────── */

.logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 44px;
}

.app-icon {
    filter: drop-shadow(0 3px 8px rgba(194, 90, 61, 0.28));
}

.app-icon img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
}

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

.hero {
    width: 100%;
    text-align: center;
    margin-bottom: 36px;
}

.hero-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.hero-heading {
    font-size: 2.65rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.hero-heading em {
    font-style: italic;
    color: var(--accent);
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 380px;
    margin: 0 auto 24px;
}

.free-highlight {
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
}

/* ── Topic pills ─────────────────────────────────────── */

.topic-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pill {
    padding: 5px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--paper-deep);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: transparent;
    line-height: 1.6;
}

.pill--more {
    border-style: dashed;
    color: var(--ink-faint);
    font-style: italic;
}

/* ── Card ────────────────────────────────────────────── */

.card {
    width: 100%;
    background: var(--card);
    padding: 6px 6px 20px;
    border-radius: 20px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 32px 56px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ── Tabs ────────────────────────────────────────────── */

.tabs {
    display: flex;
    margin-bottom: 20px;
    background: #F0E6D6;
    border-radius: 14px;
    padding: 5px;
    gap: 4px;
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab-button.active {
    background: var(--store-bg);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.tab-button:not(.active):hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
}

/* ── Tab content ─────────────────────────────────────── */

.tab-content {
    display: none;
    padding: 0 14px;
}

.tab-content.active {
    display: block;
}

.tab-content > p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 16px;
}

.tab-content > p strong {
    color: var(--ink);
    font-weight: 600;
}

/* ── Form ────────────────────────────────────────────── */

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="email"] {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--paper-deep);
    background: var(--paper);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]::placeholder {
    color: var(--ink-faint);
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 90, 61, 0.12);
}

/* ── Notify Me button ────────────────────────────────── */

.primary-btn {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(194, 90, 61, 0.28);
}

.primary-btn:hover {
    background: var(--accent-dark);
    box-shadow: 0 4px 14px rgba(194, 90, 61, 0.36);
}

.primary-btn:active {
    transform: scale(0.98);
}

/* ── Google Play store button ────────────────────────── */

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--store-bg);
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.store-btn:hover {
    opacity: 0.85;
}

.store-btn:active {
    transform: scale(0.98);
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.store-btn-label {
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    opacity: 0.75;
    line-height: 1;
}

.store-btn-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.store-note {
    margin-top: 12px;
    text-align: center;
    font-size: 0.7rem;
    color: var(--ink-faint);
    opacity: 0.75;
    line-height: 1.5;
}

/* ── Success message ─────────────────────────────────── */

.success-message {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--success-bg);
    color: var(--ink-soft);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid var(--paper-deep);
}

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

footer {
    margin-top: 32px;
    text-align: center;
}

footer p {
    font-size: 0.78rem;
    color: var(--ink-faint);
    letter-spacing: 0.01em;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 480px) {
    body {
        padding: 40px 16px 48px;
    }

    .hero-heading {
        font-size: 2.1rem;
        letter-spacing: -1px;
    }
}
