/* =========================================
   Little Way Freedom — Novena Opt-in
   Voice: granny + kettle + rosary, kitchen table
   Palette: lavender/purple, adjacent to but distinct from CBD mauve
   ========================================= */

:root {
    --lwf-lavender: #9b69d1;          /* echoes Mailchimp purple */
    --lwf-lavender-deep: #6b4a99;
    --lwf-lavender-soft: #e9def5;
    --lwf-lavender-tint: #f7f1fb;
    --lwf-cream: #fdfaf6;
    --lwf-warm-bg: #faf6f2;
    --lwf-ink: #2e2438;
    --lwf-body: #4a4252;
    --lwf-muted: #7a7185;
    --lwf-rose: #d4a5b8;
    --lwf-gold: #c9a35c;
    --lwf-rule: #e8dff0;
    --lwf-error: #b04848;
    --lwf-success: #4a7d4a;

    --lwf-font-serif: 'Cormorant Garamond', Georgia, serif;
    --lwf-font-sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --lwf-radius: 8px;
    --lwf-shadow-soft: 0 4px 20px rgba(107, 74, 153, 0.08);
}

/* Reset within page scope */
.lwf-page,
.lwf-page * {
    box-sizing: border-box;
}

.lwf-page {
    background: var(--lwf-cream);
    color: var(--lwf-body);
    font-family: var(--lwf-font-sans);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* ----- Header ----- */
.lwf-header {
    background: var(--lwf-cream);
    border-bottom: 1px solid var(--lwf-rule);
    padding: 18px 20px;
}

.lwf-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.lwf-brand {
    font-family: var(--lwf-font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lwf-lavender-deep);
    text-decoration: none;
    letter-spacing: 0.01em;
}

/* ----- Layout ----- */
.lwf-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 22px;
}

.lwf-narrow {
    max-width: 640px;
}

/* ----- Hero ----- */
.lwf-hero {
    background: linear-gradient(180deg, var(--lwf-lavender-tint) 0%, var(--lwf-cream) 100%);
    padding: 70px 0 60px;
    text-align: center;
}

.lwf-eyebrow {
    font-family: var(--lwf-font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--lwf-lavender-deep);
    margin: 0 0 20px;
    font-weight: 600;
}

.lwf-headline {
    font-family: var(--lwf-font-serif);
    font-size: 2.7rem;
    line-height: 1.15;
    color: var(--lwf-ink);
    font-weight: 600;
    margin: 0 0 24px;
    letter-spacing: -0.005em;
}

.lwf-headline-accent {
    color: var(--lwf-lavender-deep);
    font-style: italic;
}

.lwf-subhead {
    font-size: 1.15rem;
    color: var(--lwf-body);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 32px;
}

.lwf-hero-cta {
    margin-top: 8px;
}

/* ----- Intro section ----- */
.lwf-intro {
    padding: 60px 0 40px;
}

.lwf-lead {
    font-family: var(--lwf-font-serif);
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--lwf-ink);
    font-style: italic;
    margin: 0 0 28px;
}

.lwf-intro p {
    margin: 0 0 18px;
}

.lwf-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.lwf-list li {
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 1.05rem;
}

.lwf-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 14px;
    height: 14px;
    background: var(--lwf-rose);
    border-radius: 50%;
    opacity: 0.7;
}

.lwf-emphasis {
    background: var(--lwf-lavender-tint);
    border-left: 3px solid var(--lwf-lavender);
    padding: 18px 22px;
    border-radius: var(--lwf-radius);
    font-family: var(--lwf-font-serif);
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--lwf-ink);
    font-style: italic;
}

/* ----- Form section ----- */
.lwf-form-section {
    background: var(--lwf-warm-bg);
    padding: 60px 0;
    margin: 40px 0 0;
}

.lwf-form-title {
    font-family: var(--lwf-font-serif);
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--lwf-ink);
    text-align: center;
    margin: 0 0 32px;
    font-weight: 600;
}

.lwf-form {
    background: #ffffff;
    border-radius: var(--lwf-radius);
    padding: 36px 32px;
    box-shadow: var(--lwf-shadow-soft);
    border: 1px solid var(--lwf-rule);
}

.lwf-field {
    margin-bottom: 20px;
}

.lwf-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lwf-ink);
    margin-bottom: 8px;
}

.lwf-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--lwf-rule);
    border-radius: var(--lwf-radius);
    font-family: var(--lwf-font-sans);
    font-size: 1rem;
    color: var(--lwf-ink);
    background: #ffffff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lwf-input:focus {
    outline: none;
    border-color: var(--lwf-lavender);
    box-shadow: 0 0 0 3px rgba(155, 105, 209, 0.18);
}

.lwf-input.lwf-input-error {
    border-color: var(--lwf-error);
}

/* Honeypot — visually hidden but not display:none (some bots skip those) */
.lwf-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* ----- Buttons ----- */
.lwf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 999px;
    font-family: var(--lwf-font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    min-height: 52px;
}

.lwf-btn-primary {
    background: var(--lwf-lavender-deep);
    color: #ffffff;
}

.lwf-btn-primary:hover,
.lwf-btn-primary:focus {
    background: #523878;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(107, 74, 153, 0.28);
}

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

.lwf-form-submit {
    width: 100%;
    margin-top: 8px;
    position: relative;
}

.lwf-submit-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: lwf-spin 0.7s linear infinite;
}

.lwf-form-submit.lwf-loading .lwf-submit-spinner {
    display: inline-block;
}

.lwf-form-submit.lwf-loading {
    pointer-events: none;
    opacity: 0.85;
}

@keyframes lwf-spin {
    to { transform: rotate(360deg); }
}

/* ----- Form message ----- */
.lwf-form-message {
    margin-top: 16px;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    min-height: 0;
}

.lwf-form-message.lwf-message-error {
    color: var(--lwf-error);
    padding: 12px 16px;
    background: #fbeeee;
    border-radius: var(--lwf-radius);
    margin-top: 16px;
}

.lwf-form-message.lwf-message-suggestion {
    color: var(--lwf-ink);
    padding: 14px 16px;
    background: var(--lwf-lavender-tint);
    border-radius: var(--lwf-radius);
    margin-top: 16px;
    text-align: left;
}

.lwf-suggestion-button {
    background: none;
    border: none;
    color: var(--lwf-lavender-deep);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0 4px;
}

.lwf-form-note {
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--lwf-muted);
    text-align: center;
}

/* ----- About ----- */
.lwf-about {
    padding: 70px 0 60px;
    text-align: center;
}

.lwf-about-title {
    font-family: var(--lwf-font-serif);
    font-size: 1.8rem;
    color: var(--lwf-ink);
    margin: 0 0 20px;
    font-weight: 600;
}

.lwf-about p {
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.lwf-credentials {
    margin: 24px 0 !important;
}

.lwf-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--lwf-lavender-tint);
    color: var(--lwf-lavender-deep);
    border: 1px solid var(--lwf-lavender-soft);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.lwf-instagram-line {
    color: var(--lwf-muted);
    font-size: 1rem !important;
    margin-top: 24px !important;
}

.lwf-instagram-line a {
    color: var(--lwf-lavender-deep);
    font-weight: 600;
    text-decoration: none;
}

.lwf-instagram-line a:hover {
    text-decoration: underline;
}

/* ----- Footer ----- */
.lwf-footer {
    background: var(--lwf-cream);
    border-top: 1px solid var(--lwf-rule);
    padding: 30px 0;
    text-align: center;
}

.lwf-copyright {
    color: var(--lwf-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .lwf-headline {
        font-size: 2rem;
    }
    .lwf-subhead {
        font-size: 1.05rem;
    }
    .lwf-lead {
        font-size: 1.2rem;
    }
    .lwf-emphasis {
        font-size: 1.08rem;
    }
    .lwf-form-title {
        font-size: 1.35rem;
    }
    .lwf-form {
        padding: 28px 22px;
    }
    .lwf-hero,
    .lwf-form-section,
    .lwf-about {
        padding-left: 0;
        padding-right: 0;
    }
    .lwf-hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
