/* ================================================================
   skamp.app — shared styles
   Colors sampled from the Skamp iOS app's light theme.
   Typography: Inter (closest free web font to PP Mori).
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #FBF8F3;
    --text: #111111;
    --muted: #6B6B6B;
    --border: #E4DFD5;
    --radius: 10px;
    --content-width: 640px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    /* Prevent orphan words at the end of paragraphs (Safari 17.5+/Chrome 114+) */
    text-wrap: pretty;
    hyphens: none;
}

/* Balance line lengths on headline-style elements so no line is just "it." */
h1, h2, h3, .tagline, .lead, .kicker, .tier h3, .tier .price, .cta-link {
    text-wrap: balance;
}

main {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- typography ---------------------------------------------------- */

h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 28px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity 0.15s ease;
}

a:hover {
    opacity: 0.65;
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

code {
    font-family: 'SF Mono', ui-monospace, 'Cascadia Code', Menlo, monospace;
    font-size: 0.92em;
    background: var(--border);
    padding: 1px 6px;
    border-radius: 4px;
}

ul, ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

li {
    margin-bottom: 6px;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* --- sections ------------------------------------------------------ */

section {
    padding: 64px 0;
}

.hero {
    padding: 120px 0 48px;
}

.hero .icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 64px;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.tagline {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--muted);
}

/* --- pitch blocks ------------------------------------------------- */

.block {
    padding: 48px 0;
    font-size: 19px;
    line-height: 1.65;
    /* Slightly narrower measure so prose lines feel considered, not
       stretched. Paired with text-wrap: pretty this prevents most
       awkward orphans ("it." / "the." / "a." on their own line). */
    max-width: 600px;
}

.block p {
    margin-bottom: 16px;
}

.block p:last-child {
    margin-bottom: 0;
}

/* The opening sentence of each section — slightly larger, semibold,
   tight line height. Acts as a soft heading without being a screaming H2. */
.lead {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 12px !important;
    color: var(--text);
}

/* The closing punchline of a block (e.g. "Capture it. Give it a nook. Move on.") */
.kicker {
    margin-top: 16px !important;
    font-style: italic;
    color: var(--muted);
}

/* Recognition block — no lead sentence, just flowing body. Slightly
   muted primary text to feel like it's being said in a different,
   more confiding register than the feature beats around it. */
.block-recognition p {
    color: var(--muted);
}

.block-recognition .kicker {
    color: var(--text);
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    margin-top: 24px !important;
}

/* --- pricing ------------------------------------------------------- */

.pricing {
    padding: 48px 0;
}

.tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.tier {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}

.tier-featured {
    border-color: var(--text);
    border-width: 1.5px;
}

.tier h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text);
    letter-spacing: 0;
}

/* "coming soon" status under the tier name — same confiding voice as
   a .kicker, kept small and muted so the price still reads as the hero. */
.tier-status {
    font-size: 13px;
    font-style: italic;
    color: var(--muted);
    margin: 0 0 12px 0;
}

.tier .price {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text);
}

.tier .price .per {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    margin-left: 4px;
    letter-spacing: 0;
}

.tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.tier li {
    padding: 6px 0;
    margin: 0;
    border-bottom: 1px solid var(--border);
}

.tier li:last-child {
    border-bottom: none;
}

/* --- CTA ---------------------------------------------------------- */

.cta {
    padding: 32px 0 64px;
}

.cta-link {
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid var(--text);
    transition: opacity 0.15s ease;
}

.cta-link:hover {
    opacity: 0.65;
}

.cta-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* --- download button ---------------------------------------------- */

.button {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.005em;
}

.button:hover {
    opacity: 0.85;
}

.button-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* --- the four captures --------------------------------------------- */

.captures {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px 24px;
    margin-top: 8px;
}

.captures dt {
    font-weight: 600;
    color: var(--text);
}

.captures dd {
    color: var(--text);
    margin: 0;
}

/* --- footer -------------------------------------------------------- */

footer {
    padding: 48px 0 80px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

footer p {
    margin-bottom: 6px;
}

footer .copyright {
    margin-top: 16px;
}

footer a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* --- privacy page --------------------------------------------------- */

.back-link {
    display: inline-block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 48px;
    text-decoration: none;
}

.back-link:hover {
    opacity: 0.65;
}

.privacy {
    padding: 80px 0 120px;
}

.privacy h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.privacy .effective-date {
    color: var(--muted);
    margin-bottom: 48px;
}

.privacy h2 {
    font-size: 24px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.privacy h3 {
    font-size: 17px;
    margin-top: 28px;
    margin-bottom: 10px;
}

.privacy hr {
    margin: 48px 0;
}

.privacy p,
.privacy li {
    color: var(--text);
}

/* --- responsive ---------------------------------------------------- */

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 24px;
    }

    .hero {
        padding: 80px 0 32px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .tagline {
        font-size: 22px;
    }

    .block {
        padding: 32px 0;
        font-size: 18px;
    }

    .lead {
        font-size: 22px;
    }

    .tiers {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tier {
        padding: 20px;
    }

    .tier .price {
        font-size: 28px;
    }

    .cta {
        padding: 24px 0 48px;
    }

    .cta-link {
        font-size: 20px;
    }

    section {
        padding: 48px 0;
    }

    .captures {
        grid-template-columns: 72px 1fr;
        gap: 12px 20px;
    }

    footer {
        padding: 40px 0 64px;
    }

    .privacy {
        padding: 64px 0 96px;
    }

    .privacy h1 {
        font-size: 32px;
    }
}
