/* Wiserlater's marketing pages.
 *
 * Deliberately one stylesheet and no build step: three static pages that exist
 * because the App Store requires a reachable privacy policy and support page,
 * and a toolchain to maintain would be a worse answer than a file you can read
 * top to bottom.
 *
 * The palette is the app's: the aurora wash behind every screen, plum for ink,
 * and the violet end of the confidence ramp for anything interactive. */

:root {
    --ink: #2A2140;
    --ink-soft: #5C5273;
    --ink-faint: #8B829E;
    --violet: #7A5CCE;
    --lilac: #EDE7FB;
    --surface: rgba(255, 255, 255, 0.72);
    --line: rgba(42, 33, 64, 0.1);
    --gutter: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(1100px 700px at 12% -5%, #E8F4EC 0%, transparent 55%),
        radial-gradient(900px 650px at 92% 8%, #FBE9EE 0%, transparent 55%),
        radial-gradient(1000px 800px at 50% 100%, #EFE9FB 0%, transparent 60%),
        #FAF8FC;
    background-attachment: fixed;
    min-height: 100vh;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 680px; }

/* Header */

header { padding: 40px 0 0; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(42, 33, 64, 0.16);
}

.brand span { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }

/* Hero */

.hero { padding: 64px 0 48px; text-align: center; }

.hero img.mark {
    width: 128px;
    height: 128px;
    border-radius: 29px;
    box-shadow: 0 14px 40px rgba(42, 33, 64, 0.22);
    margin-bottom: 28px;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin-bottom: 18px;
}

.lede {
    font-size: clamp(1.05rem, 2.6vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 34ch;
    margin: 0 auto;
}

/* Shots */

.shots {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 0 64px;
}

.shots img {
    width: 232px;
    max-width: 68vw;
    border-radius: 26px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 46px rgba(42, 33, 64, 0.16);
}

/* Points */

.points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    padding-bottom: 56px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 24px;
    backdrop-filter: blur(8px);
}

.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 7px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* Prose pages */

main.prose { padding: 48px 0 24px; }

.prose h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 8px; }

.prose .meta {
    color: var(--ink-faint);
    font-size: 0.9rem;
    margin-bottom: 36px;
}

.prose h2 {
    font-size: 1.22rem;
    font-weight: 700;
    margin: 36px 0 10px;
    letter-spacing: -0.01em;
}

.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 1.15rem; }
.prose strong { color: var(--ink); font-weight: 600; }

a { color: var(--violet); }
a:hover { color: var(--ink); }

.pill {
    display: inline-block;
    background: var(--lilac);
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.97rem;
}

.pill:hover { background: #E1D7F7; color: var(--ink); }

/* Footer */

footer {
    border-top: 1px solid var(--line);
    margin-top: 56px;
    padding: 26px 0 48px;
    color: var(--ink-faint);
    font-size: 0.88rem;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

footer a { color: var(--ink-faint); text-decoration: none; }
footer a:hover { color: var(--violet); }
footer .spacer { flex: 1; }

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #F2EFF8;
        --ink-soft: #BDB4D0;
        --ink-faint: #8C83A3;
        --violet: #BCA6FF;
        --lilac: rgba(188, 166, 255, 0.16);
        --surface: rgba(255, 255, 255, 0.05);
        --line: rgba(255, 255, 255, 0.1);
    }

    body {
        background:
            radial-gradient(1100px 700px at 12% -5%, #1B2A26 0%, transparent 55%),
            radial-gradient(900px 650px at 92% 8%, #2C1D28 0%, transparent 55%),
            radial-gradient(1000px 800px at 50% 100%, #221C3A 0%, transparent 60%),
            #15121E;
    }
}
