﻿/* =============================================================
   welcome.css — WanderingWU welcome page styles
   
   Structure:
     1.  Root containers
     2.  Shared typography & utilities (wp-*)
     3.  Shared icon colour helpers
     4.  CTA buttons (wp-*)
     5.  Notice bars (wp-*)
     6.  Public landing — hero
     7.  Public landing — feature cards
     8.  Public landing — problem section
     9.  Public landing — philosophy section
    10.  Public landing — solution section
    11.  Public landing — roles section
    12.  Public landing — prevention section
    13.  Public landing — roadmap / grow section
    14.  Public landing — final CTA section
    15.  Signed-in state
    16.  Guest / centered states
    17.  Invite modal & toast
    18.  Legacy classes (Invite.cshtml dependency — do not remove)
    19.  Welcome header partial
    20.  Welcome footer
    21.  Responsive overrides
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. Root containers
   ───────────────────────────────────────────────────────────── */

.welcome-page,
.wp {
    min-height: calc(100vh - 42px);
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    box-sizing: border-box;
}


/* ─────────────────────────────────────────────────────────────
   2. Shared typography & utilities
   ───────────────────────────────────────────────────────────── */

.wp-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
    margin: 0 0 0.6rem;
}

.wp-eyebrow--light {
    color: rgba(255, 255, 255, 0.35);
}

.wp-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary, #111827);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.wp-headline--sm {
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary, #111827);
    margin-bottom: 0.25rem;
}

.wp-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    margin: 0 0 2rem;
    max-width: 540px;
    font-family: inherit;
}

.wp-lead--sm {
    font-size: 0.9375rem;
    max-width: 460px;
}

.wp-section-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
    margin: 0 0 0.875rem;
}

.wp-section-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.wp-section-label-lg {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
    margin: 0 0 1rem;
    display: block;
}

.wp-section-headline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.wp-section-subhead {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    margin: 0;
    max-width: 560px;
}

.wp-section-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    margin: 0 0 2rem;
}

.wp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
    margin-bottom: 1.1rem;
}

.wp-hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.wp-role-label {
    font-size: 0.875rem;
    color: var(--text-secondary, #6b7280);
    margin: 0.2rem 0 0;
}

.wp-strip-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
}

.wp-strip-item {
    font-size: 0.8125rem;
    color: var(--text-secondary, #6b7280);
}

.wp-strip-sep {
    font-size: 0.8125rem;
    color: var(--text-tertiary, #d1d5db);
}

.wp-role-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary, #f3f4f6);
    color: var(--text-secondary, #374151);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 0.5px solid var(--border-color, #e5e7eb);
}


/* ─────────────────────────────────────────────────────────────
   3. Icon colour helpers
   ───────────────────────────────────────────────────────────── */

.wp-feat-icon--blue, .wp-link-icon--blue {
    background: #E6F1FB;
}

.wp-feat-icon--teal, .wp-link-icon--teal {
    background: #E1F5EE;
}

.wp-feat-icon--amber, .wp-link-icon--amber {
    background: #FAEEDA;
}

.wp-feat-icon--purple, .wp-link-icon--purple {
    background: #EEEDFE;
}

.wp-feat-icon--coral, .wp-link-icon--coral {
    background: #FAECE7;
}

.wp-feat-icon--green, .wp-link-icon--green {
    background: #EAF3DE;
}

.wp-feat-icon--gray, .wp-link-icon--gray {
    background: #F1EFE8;
}


/* ─────────────────────────────────────────────────────────────
   4. CTA buttons
   ───────────────────────────────────────────────────────────── */

.wp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-primary, #111827);
    color: var(--bg-primary, #ffffff);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
    flex-shrink: 0;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

    .wp-cta-btn:hover {
        opacity: 0.82;
        text-decoration: none;
        color: var(--bg-primary, #ffffff);
    }

.wp-cta-btn--ghost {
    background: transparent;
    color: var(--text-primary, #111827);
    border: 0.5px solid var(--border-color, #e5e7eb);
}

    .wp-cta-btn--ghost:hover {
        background: var(--bg-secondary, #f9fafb);
        opacity: 1;
        color: var(--text-primary, #111827);
    }

.wp-hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}


/* ─────────────────────────────────────────────────────────────
   5. Notice bars
   ───────────────────────────────────────────────────────────── */

.wp-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.wp-notice--info {
    background: var(--color-background-info, #eff6ff);
    color: var(--color-text-info, #1d4ed8);
}

    .wp-notice--info a {
        color: inherit;
        font-weight: 500;
        margin-left: 0.25rem;
    }

.wp-notice--warn {
    background: #fffbeb;
    color: #92400e;
    border: 0.5px solid #fcd34d;
}

.wp-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}


/* ─────────────────────────────────────────────────────────────
   6. Public landing — hero
   ───────────────────────────────────────────────────────────── */

.wp-public {
    display: flex;
    flex-direction: column;
}

.wp-public-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 4rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.wp-brand-mark {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-brand-img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.wp-public-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ─────────────────────────────────────────────────────────────
   7. Public landing — feature cards
   ───────────────────────────────────────────────────────────── */

.wp-public-features {
    background: var(--bg-secondary, #f9fafb);
    border-top: 0.5px solid var(--border-color, #e5e7eb);
    padding: 3rem 4rem 4rem;
}

.wp-feat-group-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
    max-width: 1060px;
    margin: 0 auto 0.875rem;
    display: block;
}

.wp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1060px;
    margin: 0 auto;
}

.wp-features-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.wp-feat-card--configurable {
    border-style: dashed;
}

.wp-feat-config-pill {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    background: #F1EFE8;
    color: #5F5E5A;
    border: 0.5px solid #D3D1C7;
    vertical-align: middle;
    margin-left: 0.35rem;
    position: relative;
    top: -1px;
}

.wp-feat-card {
    background: var(--bg-primary, #ffffff);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: border-color 0.15s;
}

    .wp-feat-card:hover {
        border-color: var(--border-hover, #d1d5db);
    }

.wp-feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-feat-body h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin: 0 0 0.35rem;
}

.wp-feat-body p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   8. Public landing — problem section
   ───────────────────────────────────────────────────────────── */

.wp-problem {
    background: var(--text-primary, #111827);
    color: #fff;
    padding: 5rem 4rem;
    box-sizing: border-box;
}

.wp-problem-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.wp-problem-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 1rem;
    display: block;
}

.wp-problem-headline {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    max-width: 560px;
}

.wp-problem-sub {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 3rem;
    max-width: 520px;
}

.wp-chaos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.wp-chaos-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: background 0.2s;
}

    .wp-chaos-item:hover {
        background: rgba(255, 255, 255, 0.07);
    }

.wp-chaos-item__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.wp-chaos-item__system {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.wp-chaos-item__pain {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.2rem;
}

.wp-chaos-item__examples {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
    margin-top: 0.15rem;
}

.wp-problem-verdict {
    text-align: center;
    padding: 2rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 1.75rem;
}

.wp-problem-verdict__line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wp-problem-verdict__rule {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    max-width: 80px;
}

.wp-problem-verdict__text {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

.wp-problem-verdict__sub {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.35);
    max-width: 460px;
    margin: 0 auto;
}

.wp-problem-cost {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 10px;
    max-width: 600px;
}

.wp-problem-cost__icon {
    color: #f87171;
    flex-shrink: 0;
    margin-top: 1px;
}

.wp-problem-cost__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

    .wp-problem-cost__text strong {
        color: #f87171;
        font-weight: 600;
    }


/* ─────────────────────────────────────────────────────────────
   9. Public landing — philosophy section
   ───────────────────────────────────────────────────────────── */

.wp-philosophy {
    padding: 4.5rem 2rem;
    background: var(--bg-primary, #ffffff);
    border-top: 0.5px solid var(--border-color, #e5e7eb);
}

.wp-philosophy-statement {
    text-align: center;
    margin-bottom: 3.5rem;
}

.wp-philosophy-punch {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.wp-philosophy-support {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
    max-width: 560px;
    margin: 0 auto 1.25rem;
}

.wp-ritual {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.wp-ritual-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.875rem;
    padding: 2rem 1.5rem;
    background: var(--bg-primary, #ffffff);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .wp-ritual-step:hover {
        border-color: var(--border-hover, #d1d5db);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

.wp-ritual-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-ritual-icon--blue {
    background: #E6F1FB;
}

.wp-ritual-icon--teal {
    background: #E1F5EE;
}

.wp-ritual-icon--amber {
    background: #FAEEDA;
}

.wp-ritual-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wp-ritual-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-tertiary, #9ca3af);
}

.wp-ritual-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
    letter-spacing: -0.01em;
}

.wp-ritual-desc {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}

.wp-ritual-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--border-color, #d1d5db);
    flex-shrink: 0;
}

.wp-ritual-line {
    width: 1px;
    height: 20px;
    background: var(--border-color, #e5e7eb);
}

.wp-philosophy-note {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary, #f9fafb);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    max-width: 780px;
    margin: 0 auto;
}

.wp-philosophy-note-icon {
    width: 30px;
    height: 30px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #185FA5;
    flex-shrink: 0;
    margin-top: 1px;
}

.wp-philosophy-note p {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--text-secondary, #374151);
    margin: 0;
}

.wp-philosophy-note strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-primary, #111827);
    margin-bottom: 0.3rem;
}


/* ─────────────────────────────────────────────────────────────
   10. Public landing — solution section
   ───────────────────────────────────────────────────────────── */

.wp-solution {
    background: var(--bg-primary, #ffffff);
    padding: 5rem 4rem;
    box-sizing: border-box;
}

.wp-solution-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.wp-solution-header {
    margin-bottom: 3.5rem;
}

.wp-steps {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    align-items: start;
}

.wp-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wp-step__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--text-primary, #111827);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-step__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    letter-spacing: -0.01em;
    margin: 0;
}

.wp-step__desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}

.wp-step__sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.wp-step__tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--bg-secondary, #f3f4f6);
    color: var(--text-secondary, #374151);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 0.5px solid var(--border-color, #e5e7eb);
}

.wp-step__tag--future {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.wp-step-arrow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.85rem;
    color: var(--text-tertiary, #d1d5db);
}


/* ─────────────────────────────────────────────────────────────
   11. Public landing — roles section
   ───────────────────────────────────────────────────────────── */

.wp-roles {
    background: var(--bg-secondary, #f9fafb);
    border-top: 0.5px solid var(--border-color, #e5e7eb);
    border-bottom: 0.5px solid var(--border-color, #e5e7eb);
    padding: 5rem 4rem;
    box-sizing: border-box;
}

.wp-roles-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.wp-roles-header {
    margin-bottom: 3rem;
}

.wp-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.wp-role-card {
    background: var(--bg-primary, #ffffff);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .wp-role-card:hover {
        border-color: var(--border-hover, #d1d5db);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

.wp-role-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
    margin: 0 auto 1rem;
}

.wp-role-card__badge--exec {
    background: #faf5ff;
    color: #7e22ce;
    border: 0.5px solid #e9d5ff;
}

.wp-role-card__badge--ops {
    background: #eff6ff;
    color: #1d4ed8;
    border: 0.5px solid #bfdbfe;
}

.wp-role-card__badge--corp {
    background: #f0fdf4;
    color: #166534;
    border: 0.5px solid #bbf7d0;
}

.wp-role-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    letter-spacing: -0.01em;
    margin: 0;
}

.wp-role-card__roles {
    font-size: 0.88rem;
    color: var(--text-tertiary, #9ca3af);
    margin: 0.5rem 0 0;
}

.wp-role-card__desc {
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}

.wp-role-card__sees {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 0.5px solid var(--border-color, #e5e7eb);
}

.wp-role-card__sees-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
}

.wp-role-card__see-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary, #374151);
}

.wp-role-card__see-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wp-role-card__see-dot--exec {
    background: #a855f7;
}

.wp-role-card__see-dot--ops {
    background: #3b82f6;
}

.wp-role-card__see-dot--corp {
    background: #22c55e;
}


/* ─────────────────────────────────────────────────────────────
   12. Public landing — prevention section
   ───────────────────────────────────────────────────────────── */

.wp-prevention {
    background: var(--bg-primary, #ffffff);
    padding: 5rem 4rem;
    box-sizing: border-box;
}

.wp-prevention-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.wp-prevention-header {
    margin-bottom: 3rem;
}

.wp-prevention-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wp-prevention-card {
    display: flex;
    gap: 1.1rem;
    padding: 1.5rem;
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    background: var(--bg-primary, #ffffff);
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .wp-prevention-card:hover {
        border-color: var(--border-hover, #d1d5db);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

.wp-prevention-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-prevention-card__icon--red {
    background: #fef2f2;
}

.wp-prevention-card__icon--amber {
    background: #fffbeb;
}

.wp-prevention-card__icon--blue {
    background: #eff6ff;
}

.wp-prevention-card__icon--green {
    background: #f0fdf4;
}

.wp-prevention-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.wp-prevention-card__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
}

.wp-prevention-card__desc {
    font-size: 0.825rem;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}

.wp-prevention-card__stat {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    width: fit-content;
}

.wp-prevention-card__stat--red {
    background: #fef2f2;
    color: #dc2626;
}

.wp-prevention-card__stat--amber {
    background: #fffbeb;
    color: #d97706;
}

.wp-prevention-card__stat--blue {
    background: #eff6ff;
    color: #2563eb;
}

.wp-prevention-card__stat--green {
    background: #f0fdf4;
    color: #16a34a;
}


/* ─────────────────────────────────────────────────────────────
   13. Public landing — roadmap / grow section
   ───────────────────────────────────────────────────────────── */

.wp-grow {
    background: var(--bg-secondary, #f9fafb);
    border-top: 0.5px solid var(--border-color, #e5e7eb);
    padding: 5rem 4rem;
    box-sizing: border-box;
}

.wp-section-header {
    margin-bottom: 3rem;
}

.wp-not-replacement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #eff6ff;
    border: 0.5px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.wp-not-replacement-icon {
    width: 32px;
    height: 32px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.wp-not-replacement strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 0.35rem;
}

.wp-not-replacement p {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #1e40af;
    margin: 0;
}

.wp-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

    .wp-timeline::before {
        content: '';
        position: absolute;
        left: 17px;
        top: 36px;
        bottom: 36px;
        width: 1px;
        background: var(--border-color, #e5e7eb);
    }

.wp-timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 0;
    position: relative;
}

.wp-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
}

.wp-timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-secondary, #f9fafb);
    border: 2px solid var(--border-color, #e5e7eb);
    flex-shrink: 0;
}

.wp-timeline-dot--active {
    background: var(--text-primary, #111827);
    border-color: var(--text-primary, #111827);
}

.wp-timeline-track {
    flex: 1;
    width: 1px;
    background: transparent;
}

.wp-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.4rem;
    flex: 1;
}

.wp-timeline-status {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
}

.wp-timeline-item--active .wp-timeline-status {
    color: var(--text-primary, #111827);
}

.wp-timeline-title {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin: 0;
}

.wp-timeline-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}

.wp-timeline-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary, #f9fafb);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}


/* ─────────────────────────────────────────────────────────────
   14. Public landing — final CTA section
   ───────────────────────────────────────────────────────────── */

.wp-cta-final {
    background: var(--text-primary, #111827);
    padding: 5rem 4rem;
    box-sizing: border-box;
    text-align: center;
}

.wp-cta-final-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.wp-cta-final__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.wp-cta-final__headline {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}

.wp-cta-final__sub {
    font-size: 0.975rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    max-width: 460px;
}

.wp-cta-final__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.wp-cta-final__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s, background 0.15s;
    cursor: pointer;
    border: none;
}

.wp-cta-final__btn--primary {
    background: #fff;
    color: var(--text-primary, #111827);
}

    .wp-cta-final__btn--primary:hover {
        opacity: 0.9;
        text-decoration: none;
        color: var(--text-primary, #111827);
    }

.wp-cta-final__btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .wp-cta-final__btn--ghost:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        text-decoration: none;
    }

.wp-cta-final__note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
}


/* ─────────────────────────────────────────────────────────────
   15. Signed-in state
   ───────────────────────────────────────────────────────────── */

.wp-signed-in {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    gap: 2rem;
}

.wp-greeting {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-bottom: 0.5px solid var(--border-color, #e5e7eb);
    background: var(--bg-primary, #ffffff);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 16px;
}

.wp-greeting-text {
    display: flex;
    flex-direction: column;
}

.wp-quicklinks {
    display: flex;
    flex-direction: column;
}

.wp-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.wp-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.25rem;
    background: var(--bg-primary, #ffffff);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .wp-link-card:hover {
        border-color: var(--border-hover, #d1d5db);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        text-decoration: none;
    }

.wp-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-link-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
    line-height: 1.2;
}

.wp-link-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary, #9ca3af);
    line-height: 1.4;
}

.wp-platform-strip {
    background: var(--bg-secondary, #f9fafb);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}


/* ─────────────────────────────────────────────────────────────
   16. Guest / centered states
   ───────────────────────────────────────────────────────────── */

.wp-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    flex: 1;
}

.wp-guest-icon {
    color: var(--text-tertiary, #9ca3af);
    margin-bottom: 1.25rem;
}

.wp-guest-roles {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 0.5px solid var(--border-color, #e5e7eb);
    width: 100%;
    max-width: 460px;
}

.wp-guest-roles-label {
    font-size: 0.8125rem;
    color: var(--text-secondary, #6b7280);
    margin: 0 0 0.75rem;
}

.wp-guest-role-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}


/* ─────────────────────────────────────────────────────────────
   17. Invite modal & toast
   ───────────────────────────────────────────────────────────── */

.wp-toast {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f0fdf4;
    color: #166534;
    border: 0.5px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.875rem;
    max-width: 1280px;
    margin: 1rem auto 0;
    width: calc(100% - 4rem);
    box-sizing: border-box;
}

.wp-invite-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.wp-invite-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.wp-invite-dialog {
    position: relative;
    z-index: 1;
    background: var(--bg-primary, #ffffff);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wp-invite-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 0.5px solid var(--border-color, #e5e7eb);
    flex-shrink: 0;
}

    .wp-invite-header h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary, #111827);
        margin: 0;
    }

.wp-invite-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-tertiary, #9ca3af);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    line-height: 1;
    transition: background 0.15s;
}

    .wp-invite-close:hover {
        background: var(--bg-secondary, #f3f4f6);
        color: var(--text-primary, #111827);
    }

.wp-invite-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.wp-invite-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

    .wp-invite-field label {
        font-size: 0.8125rem;
        font-weight: 500;
        color: var(--text-secondary, #374151);
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

.wp-invite-optional {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-tertiary, #9ca3af);
}

.wp-invite-input,
.wp-invite-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--bg-primary, #ffffff);
    color: var(--text-primary, #111827);
    box-sizing: border-box;
    transition: border-color 0.15s;
}

    .wp-invite-input:focus,
    .wp-invite-textarea:focus {
        outline: none;
        border-color: var(--text-primary, #111827);
    }

.wp-invite-textarea {
    resize: vertical;
    min-height: 80px;
}

.wp-invite-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem;
    background: var(--bg-secondary, #f9fafb);
    border: 0.5px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
}

.wp-invite-checkbox {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--text-primary, #111827);
    cursor: pointer;
}

.wp-invite-check label {
    font-size: 0.8125rem;
    color: var(--text-secondary, #374151);
    line-height: 1.5;
    cursor: pointer;
}

.wp-invite-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 0.5px solid var(--border-color, #e5e7eb);
    flex-shrink: 0;
}

#inviteSubmitBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ─────────────────────────────────────────────────────────────
   18. Legacy classes — Invite.cshtml dependency (do not remove)
   ───────────────────────────────────────────────────────────── */

.main-image {
    width: 100%;
    margin: 0 auto;
}

.wanderingwu-img {
    height: 400px;
}

.hero {
    padding: 120px var(--space-xl, 2rem) 80px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg, 1.5rem);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 24px;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero .description {
    font-size: 1.4rem;
    font-family: Tahoma;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 30px;
    margin-top: 15px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm, 0.5rem);
    background: var(--accent-primary, #1e40af);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

    .cta-button:hover {
        background: var(--accent-primary-dark, #1e3a8a);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
        color: #fff;
        text-decoration: none;
    }

.cta-button-secondary {
    background: white;
    color: var(--accent-primary, #1e40af);
    border: 2px solid var(--accent-primary, #1e40af);
}

    .cta-button-secondary:hover {
        background: var(--accent-primary, #1e40af);
        color: white;
    }

.features {
    float: none;
    padding: 20px 0;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    display: flex;
    justify-content: center;
}

.features-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin-bottom: 60px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-primary, #1e40af), var(--accent-primary-dark, #1e3a8a));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    transition: all 0.2s ease;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary, #6b7280);
    line-height: 1.6;
    margin: 0;
}

.feature-card.disabled {
    opacity: 0.6;
    position: relative;
    cursor: not-allowed;
}

.feature-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: #f59e0b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.card-nav-btn {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: var(--space-xl, 2rem);
    background-color: transparent;
    transition: all 0.2s ease;
}

.guest-notice {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 1rem;
    animation: wp-pulse 2s ease-in-out infinite;
}

@keyframes wp-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.guest-message {
    max-width: 700px;
    margin: 2rem auto;
}

.guest-message-card {
    background: #fffbeb;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
}

    .guest-message-card h3 {
        color: #b45309;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .guest-message-card p {
        color: #78350f;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

.guest-roles-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #fbbf24;
}

    .guest-roles-info ul {
        list-style: none;
        padding: 0;
        margin-top: 0.75rem;
    }

    .guest-roles-info li {
        padding: 0.5rem 0;
        color: #78350f;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .guest-roles-info li i {
            color: #f59e0b;
            width: 20px;
        }


/* ─────────────────────────────────────────────────────────────
   19. Welcome header partial
   ───────────────────────────────────────────────────────────── */

.welcome-page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
}

.welcome-header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

.welcome-logo a {
    display: none;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #111827;
    transition: opacity 0.2s;
}

    .welcome-logo a:hover {
        opacity: 0.8;
    }

.welcome-logo-img {
    width: 32px;
    height: 32px;
}

.welcome-logo-text {
    font-size: 1.125rem;
    font-weight: 600;
}

.welcome-user-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm, 0.5rem);
    padding: var(--space-xs, 0.25rem) var(--space-md, 1rem);
    cursor: pointer;
    transition: all 0.2s ease;
}

.welcome-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    overflow: hidden;
}

    .welcome-user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .welcome-user-avatar span {
        user-select: none;
    }

.welcome-user-info {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

.welcome-user-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.welcome-user-role {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.2;
}

.welcome-user-btn i {
    color: #9ca3af;
    font-size: 0.75rem;
    transition: transform 0.2s;
    display: none;
}

.welcome-user-btn:hover i {
    transform: rotate(180deg);
}


/* ─────────────────────────────────────────────────────────────
   20. Welcome footer
   ───────────────────────────────────────────────────────────── */

.welcome-footer {
    width: 100%;
    background: var(--card-bg, #f9fafb);
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary, #6b7280);
    border-top: thin solid #eee;
}

.welcome-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.welcome-footer-left {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.welcome-footer-dot {
    opacity: 0.6;
}

.welcome-footer-right {
    font-size: 0.8125rem;
    opacity: 0.85;
}

.welcome-footer-tagline {
    white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────────
   Vendor partnership callout bar
   ───────────────────────────────────────────────────────────── */

.wp-partner-bar {
    background: var(--bg-primary, #ffffff);
    border-top: 0.5px solid var(--border-color, #e5e7eb);
    padding: 1.75rem 4rem;
    box-sizing: border-box;
}

.wp-partner-bar__inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.wp-partner-bar__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.wp-partner-bar__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary, #9ca3af);
}

.wp-partner-bar__desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary, #6b7280);
    margin: 0;
    max-width: 580px;
}

.wp-partner-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary, #111827);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 0.5px solid var(--border-color, #e5e7eb);
    padding-bottom: 1px;
    transition: border-color 0.15s, color 0.15s;
}

    .wp-partner-bar__link:hover {
        color: var(--text-primary, #111827);
        border-color: var(--text-primary, #111827);
        text-decoration: none;
    }

/* ─────────────────────────────────────────────────────────────
   21. Responsive overrides
   ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    /* Hero */
    .wp-public-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .wp-public-copy {
        align-items: center;
    }

    .wp-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .wp-brand-img {
        max-width: 200px;
    }

    /* Feature cards */
    .wp-features-grid,
    .wp-features-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-public-features {
        padding: 2rem;
    }

    /* Problem */
    .wp-chaos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Philosophy */
    .wp-ritual {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .wp-ritual-connector {
        flex-direction: row;
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }

    .wp-ritual-line {
        width: 20px;
        height: 1px;
    }

    .wp-ritual-step {
        padding: 1.5rem;
    }

    /* Solution */
    .wp-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wp-step-arrow {
        display: none;
    }

    /* Roles */
    .wp-roles-grid {
        grid-template-columns: 1fr;
    }

    /* Prevention */
    .wp-prevention-grid {
        grid-template-columns: 1fr;
    }

    /* All padded sections */
    .wp-problem,
    .wp-solution,
    .wp-roles,
    .wp-prevention,
    .wp-grow,
    .wp-cta-final {
        padding: 3.5rem 2rem;
    }
}

@media (max-width: 768px) {
    /* Legacy */
    .features-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px var(--space-lg, 1.5rem) 60px;
    }

        .hero h1 {
            font-size: 36px;
        }
}

@media (max-width: 640px) {
    /* Typography */
    .wp-headline {
        font-size: 2rem;
    }

    .wp-headline--sm {
        font-size: 1.375rem;
    }

    .wp-section-headline,
    .wp-problem-headline,
    .wp-cta-final__headline {
        font-size: 1.5rem;
    }

    /* Feature cards */
    .wp-features-grid,
    .wp-features-grid--4 {
        grid-template-columns: 1fr;
    }

    /* Problem */
    .wp-chaos-grid {
        grid-template-columns: 1fr;
    }

    /* Philosophy */
    .wp-philosophy {
        padding: 3rem 1.25rem;
    }

    .wp-not-replacement,
    .wp-philosophy-note {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Signed-in */
    .wp-greeting {
        flex-direction: column;
        gap: 1rem;
    }

    .wp-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wp-signed-in {
        padding: 1.5rem 1rem;
    }

    /* Partner bar */
    .wp-partner-bar {
        padding: 1.5rem 1.25rem;
    }

    .wp-partner-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Final CTA */
    .wp-cta-final__actions {
        flex-direction: column;
        width: 100%;
    }

    .wp-cta-final__btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .welcome-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .welcome-footer-left,
    .welcome-footer-tagline {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .wp-links-grid {
        grid-template-columns: 1fr;
    }
}
