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

:root {
    --bg-0: #0f1216;
    --bg-1: #161a20;
    --stone: #c9a86b;
    --stone-bright: #e6c98d;
    --ink: #f3eee3;
    --ink-muted: rgba(243, 238, 227, 0.72);
    --ink-faint: rgba(243, 238, 227, 0.5);
    --line: rgba(255, 255, 255, 0.09);
    --card-bg: rgba(255, 255, 255, 0.035);
}

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

html {
    overflow-x: hidden;
}

body {
    background: var(--bg-0);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

h1, h2, h3, .wordmark {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

/* ── Background ─────────────────────────────────────────────────── */

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 78% 15%, #1c2129 0%, #10131720 55%, #0b0d10 100%);
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.35) 100%);
}

/* ── Layout ─────────────────────────────────────────────────────── */

main, section, footer {
    position: relative;
    z-index: 10;
}

/* ── Nav ────────────────────────────────────────────────────────── */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(20px, 5vw, 64px);
    background: rgba(15, 18, 22, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
}

.wordmark {
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink);
}
.wordmark span {
    color: var(--stone-bright);
    font-style: normal;
}

#buy_now_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid var(--stone);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--stone-bright);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
#buy_now_link:hover,
#buy_now_link:focus-visible {
    background: var(--stone);
    color: #14171c;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(201, 168, 107, 0.6);
}
#buy_now_link:focus-visible {
    outline: 2px solid var(--stone-bright);
    outline-offset: 3px;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 13vh 24px 8vh;
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.08;
    max-width: 16ch;
}
.hero h1 .line-2 {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--stone-bright);
}

.hero p {
    margin-top: 28px;
    max-width: 680px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-muted);
}

.hero-scroll-cue {
    margin-top: 56px;
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, var(--stone) 0%, transparent 100%);
    opacity: 0.6;
}

/* ── Cards Section ──────────────────────────────────────────────── */

.cards-section {
    padding: 4vh 24px 10vh;
    max-width: 1180px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 38px 35px;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 107, 0.45);
    background: rgba(255, 255, 255, 0.055);
}

.card .mark {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--stone);
    margin-bottom: 22px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--ink);
}

.card p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* ── CTA ────────────────────────────────────────────────────────── */

.cta {
    text-align: center;
    padding: 8vh 24px 16vh;
    max-width: 620px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 500;
    margin-bottom: 18px;
}

.cta .lede {
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 34px;
}

.cta p:first-of-type {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone-bright);
    border: 1px solid rgba(201, 168, 107, 0.4);
    border-radius: 999px;
    padding: 8px 18px;
    margin: 0 auto 28px;
    width: fit-content;
}

#buy_now_bottom {
    display: block;
    padding: 18px 44px;
    background: var(--stone);
    color: #14171c;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 10px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 14px 34px -14px rgba(201, 168, 107, 0.55);
    margin: 0 auto 18px;
    width: fit-content;
}
#buy_now_bottom:hover,
#buy_now_bottom:focus-visible {
    background: var(--stone-bright);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -14px rgba(230, 201, 141, 0.7);
}
#buy_now_bottom:focus-visible {
    outline: 2px solid var(--stone-bright);
    outline-offset: 4px;
}

.cta > p:last-child {
    margin-top: 0;
    font-size: 0.82rem;
    color: var(--ink-faint);
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px;
    font-size: 0.78rem;
    color: var(--ink-faint);
    border-top: 1px solid var(--line);
}

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

@media (max-width: 480px) {
    header {
        padding: 16px 18px;
    }

    .wordmark {
        font-size: 1.1rem;
    }

    #buy_now_link {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .hero {
        padding: 15vh 18px 6vh;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cards-section {
        padding: 2vh 18px 8vh;
    }

    .card {
        padding: 30px 26px;
    }

    #buy_now_bottom {
        padding: 16px 32px;
        width: 100%;
    }

    .cta {
        padding: 6vh 18px 12vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
