/*
 * B9 Website Core
 *
 * Public Features component styles.
 *
 * Source contract:
 * - .b9-features
 * - .b9-features__content
 * - .b9-features__eyebrow
 * - .b9-features__title
 * - .b9-features__text
 * - .b9-features__grid
 * - .b9-feature
 * - .b9-feature__content
 * - .b9-feature__title
 * - .b9-feature__text
 *
 * Layout primitives used by the view:
 * - .b9-section
 * - .b9-container
 * - .b9-stack
 * - .b9-grid
 *
 * Responsibilities:
 * - register Features component presentation hooks;
 * - map supported presentation properties to Public Theme tokens;
 * - remain compatible with Theme Runtime overrides.
 *
 * Does NOT:
 * - duplicate Public layout primitive behavior;
 * - define hardcoded dimensions;
 * - define hardcoded typography sizes;
 * - define hardcoded breakpoints;
 * - resolve Data Sources;
 * - decide page composition;
 * - implement Theme Editor variants.
 */

.b9-features {
    background: var(--b9-color-background);
    color: var(--b9-color-on-background);
}

.b9-features__content {
    max-width: var(--b9-content-width);
}

.b9-features__eyebrow {
    color: var(--b9-color-primary);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-sm);
    line-height: var(--b9-line-height-normal);
    font-weight: var(--b9-font-weight-semibold);
}

.b9-features__title {
    color: var(--b9-color-on-background);
    font-family: var(--b9-font-heading);
    font-size: var(--b9-font-size-2xl);
    line-height: var(--b9-line-height-tight);
    font-weight: var(--b9-font-weight-bold);
}

.b9-features__text {
    max-width: var(--b9-content-width-narrow);
    color: var(--b9-color-text-muted);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-md);
    line-height: var(--b9-line-height-relaxed);
    font-weight: var(--b9-font-weight-normal);
}

.b9-feature {
    background: var(--b9-color-surface);
    color: var(--b9-color-on-surface);
    border: var(--b9-border-width) solid var(--b9-color-border);
    border-radius: var(--b9-radius-lg);
    box-shadow: var(--b9-shadow-sm);
}

.b9-feature__content {
    padding: var(--b9-space-lg);
}

.b9-feature__title {
    color: var(--b9-color-on-surface);
    font-family: var(--b9-font-heading);
    font-size: var(--b9-font-size-xl);
    line-height: var(--b9-line-height-tight);
    font-weight: var(--b9-font-weight-semibold);
}

.b9-feature__text {
    color: var(--b9-color-text-muted);
    font-family: var(--b9-font-body);
    font-size: var(--b9-font-size-md);
    line-height: var(--b9-line-height-relaxed);
    font-weight: var(--b9-font-weight-normal);
}
