/* ── AEI Landing Page — AI & the Workforce ─────────────── */

/* --abl-blog-accent is defined once in abl-common-ui-themes.css and
   inherited here via the cascade. */

/* Brown paper background — same recipe as abl-blog-index.css.
   Applied to body so the paper palette covers the full viewport
   (not just the content container), and so fixed/sticky elements
   like the navbar sit on paper rather than the default dark theme
   bleed-through. The local palette remap (--abl-text, --abl-heading,
   --abl-card, etc.) propagates to all descendants via CSS variable
   inheritance. */
body {
    margin: 0;

    /* ── Local palette override (paper edition) ── */
    --abl-bg:           var(--abl-blog-paper);
    --abl-surface:      color-mix(in srgb, var(--abl-blog-paper) 92%, var(--abl-blog-paper-edge));
    --abl-card:         color-mix(in srgb, var(--abl-blog-paper) 88%, var(--abl-blog-paper-edge));
    --abl-border:       color-mix(in srgb, var(--abl-blog-paper-edge) 70%, transparent);
    --abl-border-light: color-mix(in srgb, var(--abl-blog-paper-edge) 40%, transparent);
    --abl-text:         var(--abl-blog-paper-text);
    --abl-heading:      var(--abl-blog-paper-heading);
    --abl-muted:        var(--abl-blog-paper-muted);

    background-color: var(--abl-blog-paper);
    background-image:
        var(--abl-blog-paper-noise),
        radial-gradient(ellipse 100% 80% at 50% 50%,
            transparent 40%,
            color-mix(in srgb, var(--abl-blog-paper-edge) 60%, transparent) 100%);
    background-attachment: fixed;
    background-size: 200px 200px, cover;
    background-repeat: repeat, no-repeat;
    color: var(--abl-blog-paper-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.abl-blog-aei-landing {
    padding-top: 64px; /* space for fixed global navbar */
}

/* ── Header ─────────────────────────────────────────────── */

.abl-blog-aei-landing-header {
    background: color-mix(in srgb, var(--abl-surface) 70%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid color-mix(in srgb, var(--abl-border) 60%, transparent);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.abl-blog-aei-landing-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.abl-blog-aei-landing-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--abl-muted);
    text-decoration: none;
    transition: all 150ms ease;
    flex-shrink: 0;
}
/* Header rules deliberately do NOT use the blog accent — the header
   stays visually neutral regardless of the admin's blog colour. */
.abl-blog-aei-landing-back:hover {
    color: var(--abl-heading);
    background: color-mix(in srgb, var(--abl-heading) 8%, transparent);
}

.abl-blog-aei-landing-logo {
    font-size: 16px;
    font-weight: 700;
    color: var(--abl-heading);
    letter-spacing: -0.03em;
}
.abl-blog-aei-landing-logo span {
    color: var(--abl-heading);
}

/* ── Breadcrumb ────────────────────────────────────────── */

.abl-blog-aei-landing-breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 24px 0;
}

.abl-blog-aei-landing-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--abl-muted);
    background: transparent;
    text-decoration: none;
    transition: color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.abl-blog-aei-landing-breadcrumb-link:hover {
    color: var(--abl-heading);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* ── Author Note ────────────────────────────────────────── */

.abl-blog-aei-landing-note {
    max-width: 660px;
    margin: 0 auto 24px;
    padding: 0 24px;
}

.abl-blog-aei-landing-note-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--abl-muted);
    font-weight: 500;
}

.abl-blog-aei-landing-note-content {
    border-left: 2px solid var(--abl-border);
    padding-left: 16px;
}

.abl-blog-aei-landing-note-meta span + span::before {
    content: "\00b7";
    margin-right: 12px;
}

.abl-blog-aei-landing-note-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--abl-text);
    margin: 0;
}

.abl-blog-aei-landing-note-body + .abl-blog-aei-landing-note-body {
    margin-top: 16px;
}

.abl-blog-aei-landing-note-body strong {
    color: var(--abl-heading);
    font-weight: 600;
}

.abl-blog-aei-landing-note-body a {
    color: var(--abl-blog-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.abl-blog-aei-landing-note-body a:hover {
    opacity: 0.8;
}

.abl-blog-aei-landing-note-toggle {
    background: none;
    border: none;
    color: var(--abl-blog-accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 8px;
    font-family: inherit;
}
.abl-blog-aei-landing-note-toggle:hover {
    opacity: 0.8;
}

/* ── Hero Section ───────────────────────────────────────── */

.abl-blog-aei-landing-hero {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 24px;
    text-align: center;
}

.abl-blog-aei-landing-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--abl-heading);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 10px;
}

/* "AI" emphasis — aurora gradient clipped to the letters. Cyan →
   violet → magenta on the warm sandpaper background. No box, no
   pill, just the letters themselves carrying the gradient. */
.abl-blog-aei-landing-hero-title span {
    background: linear-gradient(135deg, #0ea5e9 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.abl-blog-aei-landing-hero-subtitle {
    font-size: 15px;
    color: var(--abl-muted);
    max-width: 540px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.abl-blog-aei-landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    /* Cream/paper text on the terracotta gradient — contrasts with
       the warm accent background instead of blending into it. The
       explicit color on :hover is required because abl-site-base.css
       sets `a:hover { color: var(--abl-accent) }` globally, which
       would otherwise flip the text to platform green on hover. */
    color: var(--abl-blog-paper);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--abl-blog-accent) 85%, #fff),
        color-mix(in srgb, var(--abl-blog-accent) 55%, #000));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 200ms ease;
    box-shadow: 0 2px 12px color-mix(in srgb, var(--abl-blog-accent) 30%, transparent);
}
.abl-blog-aei-landing-cta:hover {
    color: var(--abl-blog-paper);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--abl-blog-accent) 40%, transparent);
}
.abl-blog-aei-landing-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 150ms ease;
}
.abl-blog-aei-landing-cta:hover svg {
    transform: translateX(3px);
}

/* ── Key Stats Row ──────────────────────────────────────── */

.abl-blog-aei-landing-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto 28px;
    padding: 16px 0;
    border-top: 1px solid color-mix(in srgb, var(--abl-border) 40%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--abl-border) 40%, transparent);
}

.abl-blog-aei-landing-stat {
    text-align: center;
}

.abl-blog-aei-landing-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--abl-blog-accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.abl-blog-aei-landing-stat-label {
    font-size: 11px;
    color: var(--abl-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ── Section Cards Grid ─────────────────────────────────── */

.abl-blog-aei-landing-sections {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

.abl-blog-aei-landing-sections-title {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--abl-muted);
    margin-bottom: 20px;
}

.abl-blog-aei-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.abl-blog-aei-landing-card {
    background: var(--abl-card);
    border: 1px solid var(--abl-border);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 200ms ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.abl-blog-aei-landing-card:hover {
    border-color: color-mix(in srgb, var(--abl-blog-accent) 40%, var(--abl-border));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px color-mix(in srgb, var(--abl-blog-accent) 10%, transparent);
    transform: translateY(-2px);
}

.abl-blog-aei-landing-card-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--abl-blog-accent) 10%, transparent);
    border-radius: 8px;
    color: var(--abl-blog-accent);
    flex-shrink: 0;
}
.abl-blog-aei-landing-card-icon svg {
    width: 14px;
    height: 14px;
}

.abl-blog-aei-landing-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--abl-heading);
    letter-spacing: -0.01em;
}

.abl-blog-aei-landing-card-desc {
    font-size: 12px;
    color: var(--abl-muted);
    line-height: 1.5;
}

.abl-blog-aei-landing-card-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--abl-blog-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.abl-blog-aei-landing-card-link svg {
    width: 12px;
    height: 12px;
    transition: transform 150ms ease;
}
.abl-blog-aei-landing-card:hover .abl-blog-aei-landing-card-link svg {
    transform: translateX(3px);
}

/* ── Footer ─────────────────────────────────────────────── */

.abl-blog-aei-landing-footer {
    background: var(--abl-surface);
    border-top: 1px solid var(--abl-border);
    padding: 16px 24px;
    text-align: center;
    font-size: 11px;
    color: var(--abl-muted);
}

.abl-blog-aei-landing-footer-disclaimer {
    margin-top: 6px;
    font-style: italic;
    font-size: 10px;
    opacity: 0.7;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
    .abl-blog-aei-landing-note {
        padding: 0 20px;
    }
    .abl-blog-aei-landing-note-body {
        font-size: 14px;
    }
    .abl-blog-aei-landing-hero {
        padding: 24px 20px 20px;
    }
    .abl-blog-aei-landing-hero-title {
        font-size: 26px;
    }
    .abl-blog-aei-landing-hero-subtitle {
        font-size: 14px;
    }
    .abl-blog-aei-landing-stats {
        gap: 24px;
    }
    .abl-blog-aei-landing-stat-value {
        font-size: 20px;
    }
    .abl-blog-aei-landing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .abl-blog-aei-landing-header {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .abl-blog-aei-landing-hero-title {
        font-size: 24px;
    }
    .abl-blog-aei-landing-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .abl-blog-aei-landing-grid {
        grid-template-columns: 1fr;
    }
    .abl-blog-aei-landing-cta {
        width: 100%;
        justify-content: center;
    }
}
