/* Root landing — Cursor-inspired (white canvas, no gray panel) */
.bdl-home-landing-root {
    width: 100%;
    background: transparent;
}

.bdl-home-landing {
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - var(--fixed-module-header-height, 72px));
    padding: clamp(48px, 8vh, 120px) 0 80px;
    background: transparent;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #171717;
}

.bdl-home-landing__inner {
    max-width: 52rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 clamp(24px, 5vw, 64px);
}

/* Demo block padding lives in bdl-ace-product-demo.css */

#home-landing-view {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

#bdl-ace-demo,
#bdl-lifecycle-demo {
    scroll-margin-top: calc(var(--fixed-module-header-height, 72px) + 16px);
}

/* Crawler-friendly sitelinks list (homepage SEO); hidden from visual layout */
.bdl-seo-sitelinks {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.main-content.home-landing-active),
    .main-content.home-landing-active {
        scroll-behavior: smooth;
    }
}

.bdl-home-landing__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #737373;
}

.bdl-home-landing__eyebrow-brand {
    color: #525252;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.bdl-home-landing__eyebrow-dot {
    color: #d4d4d4;
    user-select: none;
}

.bdl-home-landing__eyebrow-tagline {
    color: #737373;
    font-weight: 500;
}

.bdl-home-landing__headline,
#bdl-home-hero-title {
    margin: 0 0 28px;
    font-size: clamp(1.625rem, 2.8vw, 2.25rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #171717;
}

.bdl-home-landing__lede {
    margin: 0 0 36px;
    max-width: 42rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    color: #525252;
}

.bdl-home-landing__lede strong {
    font-weight: 600;
    color: #171717;
}

/* Sky-blue accent for product terms and deep-tech keywords (home + hubs) */
.bdl-accent-hl {
    color: #0369a1;
    font-weight: 600;
}

.bdl-accent-hl--brand {
    color: #0284c7;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bdl-accent-hl--tech {
    color: #0c8bd6;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.bdl-home-landing__headline .bdl-accent-hl {
    font-weight: 500;
}

.bdl-home-landing__headline .bdl-accent-hl--brand {
    font-weight: 600;
}

.bdl-home-landing__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 28px;
}

.bdl-home-landing__btn {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.bdl-home-landing__btn--primary,
.bdl-home-landing__btn--primary:link,
.bdl-home-landing__btn--primary:visited {
    background: #171717;
    color: #fafafa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.bdl-home-landing__btn:hover,
.bdl-home-landing__btn:focus,
.bdl-home-landing__btn:focus-visible,
.bdl-home-landing__btn:active,
.bdl-home-landing__btn:visited {
    text-decoration: none;
}

.bdl-home-landing__btn--primary:hover,
.bdl-home-landing__btn--primary:focus,
.bdl-home-landing__btn--primary:focus-visible {
    background: #262626;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.bdl-home-landing__btn--primary:active {
    background: #0a0a0a;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.bdl-home-landing__btn--primary:visited {
    color: #ffffff;
}

.bdl-home-landing__btn--secondary,
.bdl-home-landing__btn--secondary:link,
.bdl-home-landing__btn--secondary:visited {
    background: #f5f5f5;
    color: #171717;
    border: 1px solid #e5e5e5;
}

.bdl-home-landing__btn--secondary:hover,
.bdl-home-landing__btn--secondary:focus,
.bdl-home-landing__btn--secondary:focus-visible,
.bdl-home-landing__btn--secondary:active {
    background: #ebebeb;
    color: #171717;
    border-color: #d4d4d4;
    text-decoration: none;
}

.bdl-home-landing__btn:active {
    transform: scale(0.98);
}

.bdl-home-landing__btn svg {
    flex-shrink: 0;
    opacity: 0.95;
    color: inherit;
}

.bdl-home-landing__btn--primary svg,
.bdl-home-landing__btn--primary:active svg,
.bdl-home-landing__btn--primary:visited svg {
    color: #ffffff;
    stroke: #ffffff;
}

/* Anchor download btn: beat global link :visited / :active colors from site stylesheets */
#home-landing-view a.bdl-home-landing__btn--primary,
#home-landing-view a.bdl-home-landing__btn--primary:link,
#home-landing-view a.bdl-home-landing__btn--primary:visited,
#home-landing-view a.bdl-home-landing__btn--primary:hover,
#home-landing-view a.bdl-home-landing__btn--primary:focus,
#home-landing-view a.bdl-home-landing__btn--primary:active {
    color: #ffffff;
}

#home-landing-view a.bdl-home-landing__btn--primary span {
    color: inherit;
}

.bdl-home-landing__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 4px;
    font-size: 14px;
}

.bdl-home-landing__link {
    color: #525252;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.bdl-home-landing__link:hover {
    color: #171717;
}

.bdl-home-landing__link--btn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
}

.bdl-home-landing__link-sep {
    color: #d4d4d4;
    user-select: none;
}

/* Hub screens (AI Utilities / Core Modules) — keep light panels */
.bdl-hub-screen {
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - 120px);
    padding: 32px clamp(20px, 4vw, 48px) 64px;
    background: #fff;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.bdl-hub-screen__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.bdl-hub-screen__intro {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #171717;
}

.bdl-hub-screen__desc {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
    color: #525252;
    max-width: 640px;
}

.bdl-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.bdl-hub-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bdl-hub-card:hover {
    border-color: #d4d4d4;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.bdl-hub-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f5f5f5;
    color: #404040;
    font-size: 18px;
}

.bdl-hub-card--featured .bdl-hub-card__icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.bdl-hub-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #171717;
}

.bdl-hub-card__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #525252;
}

.bdl-hub-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: #737373;
    cursor: pointer;
}

.bdl-hub-back:hover {
    color: #171717;
}

@media (max-width: 640px) {
    .bdl-home-landing {
        padding: 40px 20px 56px;
    }

    .bdl-hub-screen {
        padding: 24px 16px 48px;
    }
}
