/* ============================================================
   HELD OUT LOUD — Shared Design System
   Colors: Burnt Orange + Deep Teal + Warm White
   Fonts: Syne (headings) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
    --orange: #C4611A;
    --orange-hover: #A84E12;
    --orange-light: #E8935A;
    --orange-soft: #F5DCC8;
    --orange-glow: rgba(196, 97, 26, 0.12);

    --teal: #1C5E5E;
    --teal-light: #2A7575;
    --teal-dark: #0E3C3C;
    --teal-mid: #2E6E6E;
    --teal-glow: rgba(28, 94, 94, 0.1);

    --warm-white: #FFFAF5;
    --cream: #FFF3E8;
    --sand: #F5E8D8;

    --charcoal: #231A14;
    --text: #3D2D24;
    --text-light: #7A6054;
    --text-faded: rgba(61, 45, 36, 0.5);

    --border: rgba(28, 94, 94, 0.1);
    --border-warm: rgba(196, 97, 26, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--teal);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--teal);
    background: var(--teal-glow);
}

.nav-links a.active {
    color: var(--teal);
    font-weight: 600;
}

.nav-cta {
    background: var(--orange) !important;
    color: white !important;
    padding: 9px 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--orange-hover) !important;
    color: white !important;
}

/* Mobile nav toggle */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: all 0.25s;
}

.nav-mobile-links {
    display: none;
    flex-direction: column;
    padding: 16px 0 20px;
    gap: 4px;
    border-top: 1px solid var(--border);
}

.nav-mobile-links.open {
    display: flex;
}

.nav-mobile-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.nav-mobile-links a:last-child {
    border-bottom: none;
}

.nav-mobile-links a:hover,
.nav-mobile-links a.active {
    color: var(--teal);
}

.nav-mobile-links .nav-cta {
    background: var(--orange) !important;
    color: white !important;
    padding: 12px 4px !important;
    border-radius: 10px !important;
    text-align: center;
    margin-top: 4px;
    border: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--charcoal);
    padding: 56px 40px 40px;
    color: rgba(255, 250, 245, 0.55);
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 250, 245, 0.08);
    margin-bottom: 32px;
}

.footer-brand .logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255, 250, 245, 0.9);
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer-brand .logo span {
    color: var(--orange-light);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 250, 245, 0.4);
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 250, 245, 0.5);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 250, 245, 0.45);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--orange-light);
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 250, 245, 0.4);
    margin-bottom: 6px;
}

.footer-bottom {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 250, 245, 0.25);
}

.footer-crisis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange-light);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(232, 147, 90, 0.25);
    border-radius: 100px;
    transition: all 0.2s;
}

.footer-crisis:hover {
    background: rgba(232, 147, 90, 0.08);
    color: var(--orange-light);
}

.footer-disclaimer {
    max-width: 1140px;
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 250, 245, 0.06);
}

.footer-disclaimer p {
    font-size: 0.72rem;
    line-height: 1.65;
    color: rgba(255, 250, 245, 0.28);
    text-align: center;
}

/* ============================================================
   UTILITIES & SHARED SECTION STYLES
   ============================================================ */

.page-wrap {
    padding-top: 68px; /* nav height */
}

.section-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-eyebrow.light {
    color: var(--orange-light);
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.5px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title.light {
    color: rgba(255, 250, 245, 0.95);
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 16px;
}

.section-lead.light {
    color: rgba(255, 250, 245, 0.65);
}

.inner {
    max-width: 1140px;
    margin: 0 auto;
}

.inner-narrow {
    max-width: 780px;
    margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: white;
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 97, 26, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
}

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

.btn-outline-light {
    background: transparent;
    color: rgba(255, 250, 245, 0.9);
    border: 1.5px solid rgba(255, 250, 245, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 250, 245, 0.08);
    border-color: rgba(255, 250, 245, 0.5);
}

.btn-lg {
    font-size: 1.05rem;
    padding: 16px 36px;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
    transition: all 0.25s;
}

.card:hover {
    border-color: var(--border-warm);
    box-shadow: 0 8px 36px rgba(28, 94, 94, 0.07);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.card-num {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 12px;
    line-height: 1.35;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(28, 94, 94, 0.08);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A6054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-hint {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 6px;
}

/* ============================================================
   HERO VARIANT — Teal Dark
   ============================================================ */

.hero-teal {
    background: linear-gradient(160deg, var(--teal-dark) 0%, #1A5252 50%, #0F3E3E 100%);
    padding: 100px 40px 90px;
    position: relative;
    overflow: hidden;
}

.hero-teal::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 97, 26, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-teal::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(196, 97, 26, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-teal .inner {
    position: relative;
    z-index: 2;
}

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */

.page-header {
    background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-light) 100%);
    padding: 80px 40px 72px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 97, 26, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header .section-eyebrow {
    color: var(--orange-light);
}

.page-header .section-title {
    color: rgba(255, 250, 245, 0.96);
    font-size: clamp(2rem, 5vw, 3.2rem);
    max-width: 720px;
    margin-bottom: 16px;
}

.page-header .section-lead {
    color: rgba(255, 250, 245, 0.62);
    max-width: 580px;
}

/* ============================================================
   DIVIDERS
   ============================================================ */

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 40px;
}

/* ============================================================
   CREDENTIAL TAGS
   ============================================================ */

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tag {
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 0.84rem;
    font-weight: 500;
}

.tag-teal {
    background: rgba(28, 94, 94, 0.08);
    color: var(--teal);
    border: 1px solid rgba(28, 94, 94, 0.15);
}

.tag-orange {
    background: var(--orange-soft);
    color: var(--orange-hover);
    border: 1px solid rgba(196, 97, 26, 0.15);
}

.tag-light {
    background: rgba(255, 250, 245, 0.08);
    color: rgba(255, 250, 245, 0.6);
    border: 1px solid rgba(255, 250, 245, 0.12);
}

/* ============================================================
   QUOTE / TESTIMONIAL
   ============================================================ */

.quote-block {
    border-left: 3px solid var(--orange);
    padding: 24px 32px;
    background: var(--orange-soft);
    border-radius: 0 12px 12px 0;
    margin: 40px 0;
}

.quote-block p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    font-weight: 400;
}

.quote-block cite {
    display: block;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 12px;
}

/* ============================================================
   STAT ROWS
   ============================================================ */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 48px 0;
}

.stat-item {
    background: var(--warm-white);
    padding: 36px 32px;
    text-align: center;
}

.stat-item .num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .num span {
    color: var(--orange);
}

.stat-item .label {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================================
   ALERT / CALLOUT
   ============================================================ */

.alert-box {
    padding: 24px 28px;
    border-radius: 14px;
    margin-bottom: 28px;
}

.alert-crisis {
    background: linear-gradient(135deg, #1A1010 0%, #3D1A1A 100%);
    border: 1px solid rgba(220, 80, 80, 0.2);
}

.alert-crisis .crisis-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #F87171;
    margin-bottom: 4px;
}

.alert-crisis h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 250, 245, 0.9);
    margin-bottom: 6px;
}

.alert-crisis p {
    font-size: 0.9rem;
    color: rgba(255, 250, 245, 0.55);
    line-height: 1.6;
}

/* ============================================================
   RESOURCE CARDS (Crisis page)
   ============================================================ */

.resource-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: border-color 0.2s;
    margin-bottom: 16px;
}

.resource-card:hover {
    border-color: var(--border-warm);
}

.resource-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.resource-icon.red { background: #FEE2E2; }
.resource-icon.teal { background: rgba(28, 94, 94, 0.1); }
.resource-icon.orange { background: var(--orange-soft); }

.resource-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.resource-card .resource-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 6px;
}

.resource-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

.resource-card a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-nav {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-teal,
    .page-header {
        padding: 72px 24px 60px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-footer {
        padding: 48px 24px 32px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .resource-card {
        flex-direction: column;
        gap: 12px;
    }

    .btn-lg {
        font-size: 0.95rem;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .site-nav {
        padding: 0 20px;
    }

    .card {
        padding: 28px 24px;
    }
}

/* ============================================================
   PROMO POPUP
   ============================================================ */

.promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(35, 26, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlay-in 0.25s ease;
}

.promo-overlay.promo-hiding {
    animation: overlay-out 0.2s ease forwards;
}

@keyframes overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes overlay-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.promo-popup {
    background: var(--warm-white);
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    padding: 48px 44px 44px;
    position: relative;
    box-shadow:
        0 8px 32px rgba(35, 26, 20, 0.18),
        0 32px 80px rgba(35, 26, 20, 0.12),
        0 0 0 1px rgba(196, 97, 26, 0.18);
    animation: popup-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popup-in {
    from { opacity: 0; transform: scale(0.88) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.promo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.promo-close:hover {
    background: var(--sand);
    color: var(--text);
}

.promo-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.promo-headline {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.promo-headline span {
    color: var(--orange);
}

.promo-body {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.promo-detail {
    font-size: 0.875rem;
    color: var(--text-faded);
    line-height: 1.6;
    margin-bottom: 32px;
    padding: 14px 16px;
    background: var(--cream);
    border-radius: 10px;
    border-left: 3px solid var(--orange-light);
}

.promo-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 16px 28px;
    background: var(--orange);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(196, 97, 26, 0.3);
}

.promo-cta:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(196, 97, 26, 0.38);
}

.promo-dismiss-text {
    text-align: center;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-faded);
}

.promo-dismiss-text button {
    background: none;
    border: none;
    color: var(--text-faded);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.promo-dismiss-text button:hover {
    color: var(--text-light);
}

@media (max-width: 520px) {
    .promo-popup {
        padding: 40px 28px 36px;
        border-radius: 16px;
    }

    .promo-headline {
        font-size: 1.7rem;
    }
}

@media (max-width: 380px) {
    .promo-popup {
        padding: 36px 20px 30px;
    }

    .promo-headline {
        font-size: 1.5rem;
    }
}
