/* ==========================================================================
   LolaHR.ai — Application Launch Page
   Scoped styles. Matches the brand palette from LOLA_BRAND_STYLE_GUIDE.md.
   ========================================================================== */

:root {
    --launch-primary: #4A7C80;
    --launch-primary-dark: #3A6468;
    --launch-primary-light: #5E9196;
    --launch-primary-soft: #E6EEEF;
    --launch-gold: #D4AF37;
    --launch-text: #1F2937;
    --launch-text-secondary: #6B7280;
    --launch-text-muted: #9CA3AF;
    --launch-bg-white: #FFFFFF;
    --launch-bg-muted: #F9FAFB;
    --launch-bg-tertiary: #F3F4F6;
    --launch-border: #E5E7EB;
    --launch-warning-bg: #FEF3C7;
    --launch-warning-border: #F59E0B;
    --launch-warning-text: #92400E;
    --launch-radius: 8px;
    --launch-radius-lg: 12px;
    --launch-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --launch-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --launch-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --launch-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.launch-page {
    margin: 0;
    padding: 0;
    font-family: var(--launch-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--launch-text);
    background: var(--launch-bg-white);
    -webkit-font-smoothing: antialiased;
}

.launch-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Top Ribbon
   ========================================================================== */

.launch-ribbon {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--launch-bg-white);
    border-bottom: 1px solid var(--launch-border);
    backdrop-filter: saturate(180%) blur(12px);
}

.launch-ribbon-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.launch-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--launch-text);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.launch-logo-accent {
    color: var(--launch-gold);
}

.launch-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.launch-nav a {
    color: var(--launch-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.launch-nav a:hover {
    color: var(--launch-primary);
}

.launch-nav-cta {
    background: var(--launch-primary);
    color: var(--launch-bg-white) !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}

.launch-nav-cta:hover {
    background: var(--launch-primary-dark);
    color: var(--launch-bg-white) !important;
    transform: translateY(-1px);
}

.launch-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.launch-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--launch-text);
    border-radius: 2px;
}

.launch-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: var(--launch-bg-white);
    border-top: 1px solid var(--launch-border);
}

.launch-mobile-menu a {
    padding: 14px 0;
    color: var(--launch-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--launch-border);
}

.launch-mobile-menu a:last-child {
    border-bottom: 0;
}

.launch-mobile-menu.is-open {
    display: flex;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.launch-hero {
    background: linear-gradient(135deg, #4A7C80 0%, #3A6468 100%);
    color: var(--launch-bg-white);
    padding: 96px 0 0;
    position: relative;
    overflow: hidden;
}

.launch-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.08), transparent 60%);
    pointer-events: none;
}

.launch-hero .launch-container {
    position: relative;
    text-align: center;
    padding-bottom: 72px;
}

.launch-hero-pill {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.launch-hero-title {
    font-size: 52px;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 auto 24px;
    max-width: 880px;
    letter-spacing: -1px;
}

.launch-accent {
    color: var(--launch-gold);
}

.launch-hero-source {
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: -8px auto 28px;
    font-weight: 500;
}

.launch-hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.launch-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.launch-btn-primary {
    background: var(--launch-bg-white);
    color: var(--launch-text);
    border-color: var(--launch-bg-white);
}

.launch-btn-primary:hover {
    background: var(--launch-gold);
    border-color: var(--launch-gold);
    color: var(--launch-text);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.launch-btn-ghost {
    background: transparent;
    color: var(--launch-bg-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.launch-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--launch-bg-white);
}

.launch-btn-submit {
    background: var(--launch-primary);
    color: var(--launch-bg-white);
    border-color: var(--launch-primary);
    width: 100%;
    margin-top: 8px;
}

.launch-btn-submit:hover:not(:disabled) {
    background: var(--launch-primary-dark);
    border-color: var(--launch-primary-dark);
    transform: translateY(-1px);
}

.launch-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   Stat Strip
   ========================================================================== */

.launch-stat-strip {
    background: rgba(0, 0, 0, 0.18);
    padding: 32px 0;
    position: relative;
}

.launch-stat-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.launch-stat-value {
    font-size: 34px;
    font-weight: 700;
    color: var(--launch-gold);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.launch-stat-unit {
    font-size: 18px;
    margin-left: 2px;
}

.launch-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.launch-section {
    padding: 88px 0;
}

.launch-section-white { background: var(--launch-bg-white); }
.launch-section-muted { background: var(--launch-bg-muted); }

.launch-section-teal {
    background: linear-gradient(160deg, #4A7C80 0%, #3A6468 100%);
    color: var(--launch-bg-white);
}

.launch-subheading {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 700;
    color: var(--launch-text);
    margin: 40px 0 16px;
    letter-spacing: -0.3px;
}

.launch-subheading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--launch-primary-soft);
    color: var(--launch-primary);
    border-radius: var(--launch-radius);
    font-weight: 700;
    font-size: 18px;
}

.launch-body-copy {
    font-size: 16px;
    line-height: 1.7;
    color: var(--launch-text-secondary);
    max-width: 780px;
    margin: 0 0 32px;
}

/* ==========================================================================
   Banner (Overview header card)
   ========================================================================== */

.launch-banner {
    background: linear-gradient(135deg, #4A7C80 0%, #3A6468 100%);
    color: var(--launch-bg-white);
    padding: 40px 44px;
    border-radius: var(--launch-radius-lg);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
    box-shadow: var(--launch-shadow-md);
}

.launch-banner-main { flex: 1; min-width: 0; }

.launch-banner-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.launch-banner-sub {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0;
}

.launch-banner-chip {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--launch-radius);
    padding: 18px 24px;
    text-align: center;
    min-width: 140px;
}

.launch-banner-chip-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--launch-gold);
    margin-bottom: 4px;
}

.launch-banner-chip-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* ==========================================================================
   Grid cards
   ========================================================================== */

.launch-grid {
    display: grid;
    gap: 20px;
}

.launch-grid-2 { grid-template-columns: repeat(2, 1fr); }

.launch-problem-card {
    background: var(--launch-bg-white);
    border: 1px solid var(--launch-border);
    border-left: 4px solid var(--launch-primary);
    padding: 24px 28px;
    border-radius: var(--launch-radius);
    box-shadow: var(--launch-shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.launch-problem-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--launch-shadow-md);
}

.launch-problem-card h4 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--launch-text);
}

.launch-problem-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--launch-text-secondary);
}

.launch-feature-card {
    background: var(--launch-bg-white);
    border: 1px solid var(--launch-border);
    padding: 28px;
    border-radius: var(--launch-radius);
    box-shadow: var(--launch-shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.launch-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--launch-shadow-md);
    border-color: var(--launch-primary-light);
}

.launch-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--launch-primary-soft);
    color: var(--launch-primary);
    border-radius: var(--launch-radius);
    font-size: 20px;
    margin-bottom: 16px;
}

.launch-feature-card h4 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--launch-text);
}

.launch-feature-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--launch-text-secondary);
}

/* ==========================================================================
   Callout (ERA 2026)
   ========================================================================== */

.launch-callout {
    display: flex;
    gap: 20px;
    background: var(--launch-warning-bg);
    border-left: 4px solid var(--launch-warning-border);
    padding: 24px 28px;
    border-radius: var(--launch-radius);
    margin-bottom: 32px;
}

.launch-callout-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--launch-warning-border);
    color: var(--launch-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.launch-callout-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--launch-warning-text);
}

.launch-callout p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--launch-warning-text);
}

/* ==========================================================================
   Waitlist section
   ========================================================================== */

.launch-waitlist-heading {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.launch-waitlist-sub {
    text-align: center;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.55;
}

.launch-waitlist-card {
    background: var(--launch-bg-white);
    color: var(--launch-text);
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 36px;
    border-radius: var(--launch-radius-lg);
    box-shadow: var(--launch-shadow-lg);
}

.launch-waitlist-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--launch-text);
    letter-spacing: -0.3px;
}

.launch-waitlist-card-date {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--launch-gold);
    margin-bottom: 24px;
}

/* ==========================================================================
   Form
   ========================================================================== */

.launch-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.launch-form[hidden] { display: none; }

.launch-form-group { display: flex; flex-direction: column; }

.launch-form-group label {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.launch-form input,
.launch-form select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--launch-text);
    background: var(--launch-bg-white);
    border: 1.5px solid var(--launch-border);
    border-radius: var(--launch-radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
}

.launch-form select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.launch-form input::placeholder { color: var(--launch-text-muted); }

.launch-form input:focus,
.launch-form select:focus {
    outline: none;
    border-color: var(--launch-primary);
    box-shadow: 0 0 0 3px rgba(74, 124, 128, 0.15);
}

.launch-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.launch-form-error {
    color: #991B1B;
    font-size: 14px;
    min-height: 0;
}

.launch-form-error:not(:empty) {
    padding: 10px 14px;
    background: #FEE2E2;
    border-radius: var(--launch-radius);
    margin-top: 4px;
}

.launch-form-success {
    text-align: center;
    padding: 32px 16px 12px;
}

.launch-form-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--launch-primary);
    margin: 0 0 12px;
}

.launch-form-success p {
    font-size: 15px;
    color: var(--launch-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.launch-footer {
    background: var(--launch-text);
    color: rgba(255, 255, 255, 0.75);
    padding: 24px 0;
    font-size: 13px;
}

.launch-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.launch-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
}

.launch-footer a:hover {
    color: var(--launch-gold);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .launch-nav { display: none; }
    .launch-nav-toggle { display: flex; }

    .launch-hero { padding-top: 64px; }
    .launch-hero-title { font-size: 38px; }
    .launch-hero-sub { font-size: 17px; }
    .launch-hero .launch-container { padding-bottom: 56px; }

    .launch-stat-strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .launch-stat-value { font-size: 28px; }

    .launch-section { padding: 64px 0; }

    .launch-banner {
        flex-direction: column;
        padding: 32px 28px;
    }
    .launch-banner-title { font-size: 26px; }
    .launch-banner-chip { align-self: flex-start; }

    .launch-grid-2 { grid-template-columns: 1fr; }

    .launch-subheading { font-size: 22px; }

    .launch-waitlist-heading { font-size: 34px; }
    .launch-waitlist-card { padding: 32px 24px; }

    .launch-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .launch-container { padding: 0 18px; }
    .launch-hero-title { font-size: 30px; }
    .launch-hero-ctas { flex-direction: column; align-items: stretch; }
    .launch-btn { width: 100%; }
    .launch-stat-strip-inner { grid-template-columns: 1fr 1fr; }
}
