:root {
    --paper: #F5F0E7;
    --paper-two: #EEE7DA;
    --bone: #FAF6ED;
    --ink: #1C1A19;
    --ink-two: #2B2724;
    --ink-soft: #55504B;
    --ink-mute: #726C66;
    --ink-faint: #B8B3AC;
    --coral: #E2725B;
    --coral-soft: #F4C8BB;
    --coral-tint: #FBEAE2;
    --coral-deep: #B9482F;
    --olive: #7A8560;
    --success: #7A8560;
    --danger: #C0392B;
    --line: rgba(28,26,25,0.07);
    --line-strong: rgba(28,26,25,0.13);

    /* Typography */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    /* Warm-toned shadow scale */
    --shadow-sm: 0 1px 1px rgba(60,40,20,0.03), 0 2px 6px rgba(60,40,20,0.05);
    --shadow: 0 1px 1px rgba(60,40,20,0.03), 0 6px 18px rgba(60,40,20,0.08);
    --shadow-md: 0 2px 4px rgba(60,40,20,0.05), 0 16px 36px rgba(60,40,20,0.12);
    --shadow-lg: 0 8px 20px rgba(28,26,25,0.16), 0 30px 60px rgba(28,26,25,0.18);

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 56px;
    --space-10: 72px;

    --radius-card: 14px;
    --radius-btn: 9px;
    --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* <picture> is a transparent wrapper — let the <img> lay out as if direct child */
picture { display: contents; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink-two);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; }

/* Editorial serif for true headlines — warm, optical-size display face */
h1, h2, .feature-text h3 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(27px, 3.4vw, 34px);
    line-height: 1.12;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
}

/* Two classes (0,2,0) so this wins over section rules like `.feature-text p` (0,1,1) */
.eyebrow.eyebrow-coral { color: var(--coral); }

.section-sub {
    color: var(--ink-soft);
    margin-top: 8px;
    font-size: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-coral {
    background: var(--coral);
    color: #fff;
    padding: 10px 20px;
}

.btn-coral:hover { background: var(--coral-deep); }

.btn-dark {
    background: var(--ink);
    color: var(--paper);
    padding: 10px 18px;
}

.btn-dark:hover { background: var(--ink-two); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    padding: 10px 20px;
    border: 1px solid var(--line-strong);
}

.btn-outline:hover { background: var(--bone); }

.email-group {
    display: flex;
    gap: 8px;
    max-width: 420px;
}

.email-group input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-btn);
    background: var(--bone);
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}

.email-group input::placeholder { color: var(--ink-faint); }
.email-group input:focus { border-color: var(--coral); }
.email-group .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Stack the input + button on very narrow phones so neither gets cramped */
@media (max-width: 400px) {
    .email-group { flex-direction: column; align-items: stretch; }
    .email-group .btn { width: 100%; }
}

.divider { border-top: 1px solid var(--line); }

/* Visually hidden but available to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 769px) {
    .wrap { padding: 0 56px; }
}
