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

:root {
    --cream: #FAF7F2;
    --warm-white: #FFFCF7;
    --sand: #E8DFD0;
    --taupe: #B8A895;
    --slate: #5A5348;
    --ink: #2D2821;
    --accent: #8B7355;
    --glow: rgba(139, 115, 85, 0.08);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* Header */
header {
    margin-bottom: 4rem;
    text-align: center;
}

.kicker {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: system-ui, -apple-system, sans-serif;
}

h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--slate);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Pills */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.pill {
    background: var(--warm-white);
    border: 1px solid var(--sand);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--slate);
    font-family: system-ui, -apple-system, sans-serif;
}

/* Sections */
section {
    margin-bottom: 3.5rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.section-meta {
    font-size: 0.75rem;
    color: var(--taupe);
    margin-bottom: 1.5rem;
    font-style: italic;
}

p {
    margin-bottom: 1.25rem;
    color: var(--slate);
}

strong {
    color: var(--ink);
    font-weight: 600;
}

/* Lists */
ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--slate);
}

ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--taupe);
}

/* Boxes */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.box {
    background: var(--warm-white);
    border: 1px solid var(--sand);
    padding: 1.5rem;
    border-radius: 3px;
}

.box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ink);
}

.box ul {
    margin-bottom: 0;
}

.box ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Callouts */
.callout {
    background: linear-gradient(135deg, var(--glow), transparent);
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.callout-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: system-ui, -apple-system, sans-serif;
}

.callout p {
    margin: 0;
    font-size: 0.95rem;
}

code {
    background: var(--sand);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
    font-family: 'Courier New', monospace;
    color: var(--ink);
}

/* Sidebar elements */
.sidebar {
    background: var(--warm-white);
    border: 1px solid var(--sand);
    padding: 2rem;
    border-radius: 3px;
    margin-bottom: 3rem;
}

.sidebar .callout {
    background: var(--cream);
    border-left: 2px solid var(--taupe);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.sidebar .callout:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sand);
    text-align: center;
    font-size: 0.85rem;
    color: var(--taupe);
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom-color: var(--accent);
}

/* Mobile */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 2rem 1rem 3rem;
    }
    /* =========================
       DuVa — Primary CTA
       ========================= */

    .cta{
        margin-top: 22px;
    }

    .btn-primary{
        display: inline-block;
        padding: 12px 18px;
        border-radius: 999px;
        background: var(--accent);
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid color-mix(in srgb, var(--accent) 85%, #000);
        transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    }

    .btn-primary:hover{
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
        opacity: 0.95;
    }

    .btn-primary:active{
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    }

}
/* CTA wrapper */
.cta{
    margin-top: 14px;
    text-align: center;
}

/* Make the link look + behave like a button */
.btn-primary{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;
    border-radius: 999px;

    background: var(--accent);
    color: #fff;

    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    border: 1px solid color-mix(in srgb, var(--accent) 80%, #000);

    /* CLICK FIX: ensure it's on top */
    position: relative;
    z-index: 50;
    pointer-events: auto;
}

.btn-primary:hover{
    opacity: 0.95;
    transform: translateY(-1px);
}

.btn-primary:active{
    transform: translateY(0);
}

/* CLICK FIX: if header has any overlay or pseudo-element, keep it behind */
header{
    position: relative;
    z-index: 1;
}
header::before,
header::after{
    pointer-events: none;
}
