/* ============================================================
   Launchpad Server — Server-specific Styles
   Requires launchpad-shared.css to be loaded first for brand tokens.
   ============================================================ */

/* Page root — apply body font to all Launchpad pages */
.homepage,
.getting-started,
.building-traction,
.securing-funding,
.scaling-growth,
.funding-sources,
.finding-volunteers,
.resource-library,
.launchpad-for-word,
.founders-story,
.contact-page,
.disclaimer-page {
    font-family: var(--font-body);
}

/* Eyebrow label — used on every page hero and section header */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lp-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Page Hero — simple navy rectangle used by content pages
   (Getting Started, Building Traction, etc.) */
.page-hero {
    background: var(--lp-navy);
    color: white;
    padding: 80px 24px;
    text-align: center;
}

    .page-hero h1 {
        font-family: var(--font-display);
        font-size: 2.8rem;
        line-height: 1.2;
        margin: 16px 0;
        font-weight: 700;
        color: white;
    }

    .page-hero p {
        font-size: 1.1rem;
        opacity: 0.85;
        line-height: 1.6;
        max-width: 640px;
        margin: 0 auto;
    }

/* Section — centered content block used on most pages */
.section-centered {
    text-align: center;
    padding: 48px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

    .section-centered h2 {
        font-family: var(--font-display);
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--lp-text-primary);
        margin: 8px 0 20px;
    }

.section-description {
    max-width: 640px;
    margin: 0 auto 32px;
    color: var(--lp-text-muted);
    font-size: 17px;
    line-height: 1.6;
}

/* Section Divider */
.section-centered fluent-divider,
.section-divider {
    max-width: 900px;
    margin: 0 auto;
}

/* Section Cream — full-bleed cream band: override section-centered's
   max-width so the background reaches edge-to-edge, while inner grids
   keep their own max-width + margin:auto to stay centered inside. */
.section-cream {
    background: var(--lp-bg-surface-alt);
    max-width: none;
    padding: 48px 24px;
}

/* CTA Section — shared bottom call-to-action */
.cta-section {
    background: var(--lp-navy);
    color: white;
    padding: 64px 24px;
    text-align: center;
}

    .cta-section h2 {
        font-family: var(--font-display);
        font-size: 2.2rem;
        margin: 0 0 12px;
        color: white;
    }

    .cta-section p {
        font-size: 1.1rem;
        opacity: 0.85;
        margin: 0 0 24px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

/* ============================================================
   Step Cards — used by Getting Started, Building Traction,
   Securing Funding, Scaling & Growth pages
   ============================================================ */

.step-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    overflow: hidden;
    padding: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-family: inherit;
    text-align: left;
}

    .step-header:hover {
        background: var(--lp-bg-hover);
    }

    .step-header:focus-visible {
        outline: 2px solid var(--lp-blue);
        outline-offset: -2px;
    }

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--lp-blue), #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-card .step-title {
    font-family: var(--font-display);
    color: var(--lp-text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.step-toggle {
    font-size: 1.1rem;
    color: var(--lp-text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.step-card.open .step-toggle {
    transform: rotate(180deg);
}

.step-body {
    padding: 0 28px 28px 84px;
}

.step-card p {
    color: var(--lp-text-secondary);
    line-height: 1.6;
    margin: 0 0 12px;
}

.tips-section {
    background: var(--lp-bg-surface-alt);
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.tips-heading {
    font-family: var(--font-display);
    color: var(--lp-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
}

.tips-stack ul {
    margin: 0;
    padding-left: 20px;
}

.tips-stack li {
    color: var(--lp-text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* Content Section — wrapper for step content on content pages */
.content-section {
    padding: 48px 24px;
    max-width: 860px;
    margin: 0 auto;
}

/* Page Blockquote — inspirational quote on content pages */
.page-blockquote {
    margin: 48px 0;
    padding: 24px 32px;
    background: var(--lp-bg-blockquote);
    border-left: 4px solid var(--lp-blue);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--lp-text-secondary);
    line-height: 1.7;
}

/* Page CTA — bottom next-step call-to-action for content pages */
.page-cta {
    text-align: center;
    padding: 64px 0;
    margin-top: 48px;
    border-top: 1px solid var(--lp-border);
}

    .page-cta h3 {
        font-family: var(--font-display);
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 12px;
        color: var(--lp-text-primary);
    }

    .page-cta p {
        color: var(--lp-text-muted);
        font-size: 1.05rem;
        margin-bottom: 28px;
        line-height: 1.6;
    }

/* Hero h1 — prevent FOUC from bootstrap/reboot h1 margins */
.hero-section h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 16px 0;
    font-weight: 700;
    color: white;
}

/* ============================================================
   Responsive — Content Pages
   ============================================================ */

@media (max-width: 768px) {
    .step-body {
        padding: 0 20px 20px 20px;
    }

    .step-header {
        padding: 20px;
    }

    .page-cta h3 {
        font-size: 1.5rem;
    }
}

/* Securing Funding — notice banner inside content section */
.sf-notice {
    margin-bottom: 32px;
}

    .sf-notice fluent-message-bar {
        border-radius: 12px;
        padding-left: 12px;
    }

/* ============================================================
   Funding Sources — card grids, categories, roadmap
   ============================================================ */

/* Disclaimer banner */
.fs-disclaimer {
    margin-bottom: 32px;
}

    .fs-disclaimer fluent-message-bar {
        border-radius: 12px;
        padding-left: 12px;
    }

/* Introduction text */
.intro-text {
    margin-bottom: 48px;
}

    .intro-text p {
        color: var(--lp-text-secondary);
        line-height: 1.7;
        font-size: 1.05rem;
        margin: 0 0 16px;
    }

/* Funding category section */
.funding-category {
    margin-bottom: 48px;
}

    .funding-category h2 {
        font-family: var(--font-display);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--lp-text-primary);
        margin: 0 0 20px;
    }

.category-intro {
    color: var(--lp-text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0 0 20px;
}

/* Card grid — responsive grid for resource cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* Resource card — individual card within a category grid.
   Includes shared hover lift used across pages. */
.resource-card {
    padding: 24px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .resource-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-lg);
    }

    .resource-card h3 {
        font-family: var(--font-display);
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--lp-text-primary);
        margin: 0 0 10px;
        transition: color 0.2s;
    }

    .resource-card:hover h3 {
        color: var(--lp-blue);
    }

    .resource-card p {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.95rem;
        margin: 0;
    }

/* How to Find Them — tips list below a category */
.how-to-find {
    background: var(--lp-bg-surface-alt);
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 4px;
}

    .how-to-find h4 {
        font-family: var(--font-display);
        color: var(--lp-gold);
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        margin: 0 0 12px;
    }

    .how-to-find ul {
        margin: 0;
        padding-left: 20px;
        list-style: disc;
    }

    .how-to-find li {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

/* Pro tip banner */
.pro-tip {
    margin-top: 4px;
}

    .pro-tip fluent-message-bar {
        border-radius: 12px;
        padding-left: 12px;
    }

/* Roadmap to Sustainability */
.roadmap {
    margin: 48px 0;
}

    .roadmap h2 {
        font-family: var(--font-display);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--lp-text-primary);
        margin: 0 0 24px;
        text-align: center;
    }

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Roadmap phase card — includes shared hover lift. */
.roadmap-phase {
    padding: 28px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .roadmap-phase:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-lg);
    }

    .roadmap-phase h3 {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--lp-text-primary);
        margin: 8px 0 16px;
        transition: color 0.2s;
    }

    .roadmap-phase:hover h3 {
        color: var(--lp-blue);
    }

    .roadmap-phase ul {
        margin: 0;
        padding-left: 20px;
        list-style: disc;
    }

    .roadmap-phase li {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

.phase-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--lp-blue), #1d4ed8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
}

/* ============================================================
   Responsive — Funding Sources
   ============================================================ */

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .funding-category h2,
    .roadmap h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   Finding Volunteers — checklist, mistake cards
   ============================================================ */

/* Retention checklist — uses the same dark-aware surface token
   as .tips-section for consistent appearance in both themes. */
.checklist {
    background: var(--lp-bg-surface-alt);
    border-radius: 12px;
    padding: 24px 28px;
}

    .checklist ul {
        margin: 0;
        padding-left: 20px;
        list-style: disc;
    }

    .checklist li {
        color: var(--lp-text-muted);
        line-height: 1.8;
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .checklist li:last-child {
        margin-bottom: 0;
    }

/* Mistakes grid — responsive grid for problem/fix cards */
.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Mistake card — problem/fix pair with hover lift */
.mistake-card {
    padding: 24px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .mistake-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-lg);
    }

.mistake-problem {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text-primary);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lp-border-error);
    transition: color 0.2s;
}

    .mistake-card:hover .mistake-problem {
        color: var(--lp-blue);
    }

.mistake-fix {
    color: var(--lp-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================================
   Responsive — Finding Volunteers
   ============================================================ */

@media (max-width: 768px) {
    .mistakes-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Resource Library — download cards, badges, highlights
   ============================================================ */

/* Resource Library grid — three equal-height columns for download cards */
.rl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

/* Resource Library card — download card with hover lift */
.rl-card {
    padding: 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .rl-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-lg);
    }

    .rl-card h3 {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--lp-text-primary);
        margin: 12px 0 10px;
        transition: color 0.2s;
    }

    .rl-card:hover h3 {
        color: var(--lp-blue);
    }

    .rl-card p {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.95rem;
        margin: 0 0 16px;
    }

/* Resource Library badge — gradient pill label */
.rl-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--lp-blue), #1d4ed8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    align-self: flex-start;
}

/* Resource Library highlights — bullet list of key topics */
.rl-highlights {
    margin: 0 0 20px;
    padding-left: 20px;
    list-style: disc;
    flex: 1;
}

    .rl-highlights li {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

/* Resource Library download button — styled anchor pinned to card bottom */
.rl-download {
    display: inline-block;
    background: var(--lp-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    align-self: flex-start;
    margin-top: auto;
}

    .rl-download:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
        color: #fff;
    }

/* Resource Library downloads — groups multiple download buttons at card bottom */
.rl-downloads {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

    .rl-downloads .rl-download {
        margin-top: 0;
    }

/* ============================================================
   Responsive — Resource Library
   ============================================================ */

@media (max-width: 768px) {
    .rl-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Launchpad for Word — feature cards, pricing, how-it-works
   ============================================================ */

/* Content wrapper — wider than content-section for grid layouts */
.lw-content {
    padding: 48px 24px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Section heading — centered display heading for wide content sections */
.section-heading {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--lp-text-primary);
    margin: 0 0 32px;
    text-align: center;
}

/* App Hero modifier — extra padding for CTA buttons in hero */
.app-hero {
    padding-bottom: 48px;
}

    .app-hero h1 em {
        color: var(--lp-gold);
        font-style: italic;
    }

    /* Space between hero body text and CTA buttons */
    .app-hero .cta-button-pair {
        margin-top: 28px;
    }

/* Feature card — centered card with emoji icon */
.feature-card {
    padding: 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-lg);
    }

    .feature-card h3 {
        font-family: var(--font-display);
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--lp-text-primary);
        margin: 12px 0 10px;
        transition: color 0.2s;
    }

    .feature-card:hover h3 {
        color: var(--lp-blue);
    }

    .feature-card p {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.95rem;
        margin: 0;
    }

/* Feature icon — emoji container (no background circle) */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 26px;
}

/* Pricing grid — four equal-width columns */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 16px;
}

/* Pricing card — individual tier card */
.pricing-card {
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--lp-shadow-lg);
    }

/* Pricing card wrapper — positions badge outside FluentCard's shadow DOM clipping */
.pricing-card-wrapper {
    position: relative;
}

/* Featured pricing card — highlighted border and lift */
.pricing-featured {
    border: 2px solid var(--lp-blue);
    box-shadow: 0 8px 30px rgba(27, 111, 232, 0.12);
}

/* Pricing badge — pill at top of featured card (anchored to wrapper, not card) */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-blue), #1d4ed8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
}

/* Pricing tier name */
.pricing-tier {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--lp-text-primary);
    margin-bottom: 8px;
}

/* Pricing price — large amount with smaller period */
.pricing-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lp-text-primary);
}

    .pricing-price span {
        font-size: 1rem;
        font-weight: 400;
        color: var(--lp-text-muted);
    }

/* Pricing credits */
.pricing-credits {
    font-size: 0.9rem;
    color: var(--lp-blue);
    font-weight: 600;
    margin: 4px 0 16px;
}

/* Pricing feature list */
.pricing-features {
    text-align: left;
    margin-bottom: 20px;
    flex: 1;
}

    .pricing-features li {
        color: var(--lp-text-muted);
        line-height: 1.6;
        font-size: 0.9rem;
        padding: 4px 0 4px 20px;
        position: relative;
    }

    .pricing-features li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--lp-blue);
        font-weight: 700;
        font-size: 0.85rem;
    }

/* How It Works — numbered step circles */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.how-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: var(--lp-bg-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lp-blue);
}

.how-step h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text-primary);
    margin-bottom: 8px;
}

.how-step p {
    color: var(--lp-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================================
   Responsive — Launchpad for Word
   ============================================================ */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ============================================================
   Footer — LaunchpadFooter.razor
   ============================================================ */

.lp-footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

    .footer-links a {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        transition: color 0.2s;
    }

    .footer-links a:hover {
        color: rgba(255, 255, 255, 0.9);
    }

.footer-bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Responsive — Footer
   ============================================================ */

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Tools warning banner */
.fs-tools-warning {
    margin-bottom: 20px;
}

    .fs-tools-warning fluent-message-bar {
        border-radius: 12px;
        padding-left: 12px;
    }

/* Card link — "Learn more →" style for resource cards (mirrors HomePage card-link) */
.resource-card .card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--lp-blue);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.resource-card:hover .card-link {
    opacity: 1;
}

.resource-card .card-link:hover {
    text-decoration: underline;
}
