/* Leave-Behind — Standalone branded one-pager (no shell dependencies) */
/* All colors via tokens.css custom properties — zero hardcoded hex outside @media print */

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

body {
    background: var(--avb-bg-app);
    -webkit-font-smoothing: antialiased;
}

.lb-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 48px 32px;
    font-family: var(--avb-font-body);
    color: var(--avb-text-primary);
    background: var(--avb-surface-white);
    min-height: 100vh;
}

/* ── Header ── */
.lb-header {
    margin-bottom: 28px;
}

.lb-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.lb-logo {
    height: 52px;
    width: auto;
}

.lb-brand-text {
    display: flex;
    flex-direction: column;
}

.lb-brand-name {
    font-family: var(--avb-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--avb-primary);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.lb-tagline {
    font-family: var(--avb-font-display);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--avb-text-muted);
    margin-top: 2px;
}

.lb-header-accent {
    height: 3px;
    background: var(--avb-grad-brand);
    border-radius: var(--avb-radius-pill);
}

/* ── Hero ── */
.lb-hero {
    text-align: center;
    padding: 24px 20px 20px;
    margin-bottom: 24px;
}

.lb-hero-title {
    font-family: var(--avb-font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--avb-primary);
    line-height: 1.3;
    margin-bottom: 6px;
}

.lb-hero-sub {
    font-size: 0.95rem;
    color: var(--avb-text-secondary);
    font-weight: 400;
}

/* ── Sections ── */
.lb-section {
    margin-bottom: 22px;
}

.lb-section-title {
    font-family: var(--avb-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--avb-jade-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lb-section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--avb-jade);
    border-radius: var(--avb-radius-pill);
    flex-shrink: 0;
}

/* ── Problem card ── */
.lb-problem-card {
    background: var(--avb-bg-alt);
    border-left: 4px solid var(--avb-jade);
    border-radius: 0 var(--avb-radius-sm) var(--avb-radius-sm) 0;
    padding: 16px 20px;
}

.lb-problem-card .lb-section-title {
    margin-bottom: 8px;
}

.lb-problem-card p {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--avb-text-primary);
}

/* ── Capabilities grid ── */
.lb-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lb-cap-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--avb-surface-border);
    border-radius: var(--avb-radius-sm);
    transition: border-color 0.2s;
}

.lb-cap-item:hover {
    border-color: var(--avb-jade);
}

.lb-cap-icon {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.lb-cap-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-cap-content strong {
    font-family: var(--avb-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--avb-primary);
}

.lb-cap-content span {
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--avb-text-secondary);
}

/* ── Two-column: Who + Pricing ── */
.lb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.lb-two-col .lb-section {
    margin-bottom: 0;
}

.lb-who p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--avb-text-secondary);
    margin-bottom: 8px;
}

.lb-stage {
    font-size: 0.8rem;
    color: var(--avb-jade-dark);
}

/* ── Pricing cards ── */
.lb-pricing-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lb-price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 8px 12px;
    border-radius: var(--avb-radius-sm);
    background: var(--avb-surface-light);
    gap: 0 8px;
}

.lb-price-row.lb-price-featured {
    background: linear-gradient(135deg, rgba(14, 196, 160, 0.1), rgba(10, 61, 98, 0.06));
    border: 1px solid var(--avb-jade);
}

.lb-price-tier {
    font-family: var(--avb-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--avb-primary);
    grid-column: 1;
    grid-row: 1;
}

.lb-price-amount {
    font-family: var(--avb-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--avb-jade-dark);
    grid-column: 2;
    grid-row: 1;
    text-align: right;
}

.lb-price-desc {
    font-size: 0.7rem;
    color: var(--avb-text-muted);
    grid-column: 1 / -1;
    grid-row: 2;
}

.lb-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    background: var(--avb-jade);
    color: var(--avb-surface-white);
    padding: 1px 6px;
    border-radius: var(--avb-radius-pill);
    vertical-align: middle;
    margin-left: 4px;
    letter-spacing: 0.02em;
}

/* ── Footer ── */
.lb-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid var(--avb-primary);
    font-size: 0.78rem;
    color: var(--avb-text-muted);
}

.lb-footer-left {
    font-size: 0.8rem;
    color: var(--avb-text-secondary);
    max-width: 55%;
}

.lb-footer-right {
    text-align: right;
    line-height: 1.7;
}

.lb-contact-email {
    font-weight: 600;
    color: var(--avb-primary);
}

.lb-contact-url {
    color: var(--avb-jade-dark);
}

/* ── Print ── */
@media print {
    body {
        margin: 0;
        padding: 0;
        background: none;
    }

    .lb-page {
        max-width: 100%;
        padding: 18pt 22pt;
        min-height: auto;
    }

    .lb-header {
        margin-bottom: 16pt;
    }

    .lb-header-accent {
        background: #0A3D62 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .lb-hero {
        padding: 14pt 10pt 12pt;
        margin-bottom: 14pt;
    }

    .lb-section {
        margin-bottom: 12pt;
    }

    .lb-cap-item {
        border-color: #dee2e6;
        break-inside: avoid;
    }

    .lb-cap-item:hover {
        border-color: #dee2e6;
    }

    .lb-price-row.lb-price-featured {
        background: #e6faf6 !important;
        border-color: #0EC4A0;
        print-color-adjust: exact;
    }

    .lb-badge {
        background: #0EC4A0 !important;
        print-color-adjust: exact;
    }

    .lb-footer {
        border-top-color: #0A3D62;
    }

    a {
        text-decoration: none;
        color: inherit;
    }
}
