@import url('/public/css/xplug-responsive.css');

/* Xplug SystemHero - Global hero component and tokens */

:root {
    /* Hero typography tokens */
    --hero-label-font-size: 0.75rem;        /* 12px */
    --hero-label-letter-spacing: 0.15em;
    --hero-label-opacity: 0.5;

    --hero-title-font-size-min: 2rem;       /* 32px */
    --hero-title-font-size-max: 3rem;       /* 48px */
    --hero-title-line-height: 1.15;
    --hero-title-letter-spacing: -0.05em;

    --hero-supporting-font-size: 1.125rem;  /* 18px */
    --hero-supporting-line-height: 1.65;
    --hero-supporting-opacity: 0.8;

    /* Hero layout tokens */
    --hero-max-width: 960px;
    --hero-horizontal-padding: 1.5rem;
    --hero-gap-label-title: 1rem;           /* 16px */
    --hero-gap-title-supporting: 1.25rem;   /* 20px */
    --hero-margin-bottom: 6rem;             /* 96px */

    /* Hero visual tokens (neutral, infrastructure-grade) */
    --hero-text-primary: rgba(255, 255, 255, 0.98);
    --hero-text-secondary: rgba(255, 255, 255, 0.80);
    --hero-text-muted: rgba(255, 255, 255, 0.50);
    --hero-vertical-rule-color: rgba(255, 255, 255, 0.14);
}

/* Base hero container */
.system-hero {
    max-width: var(--hero-max-width);
    margin: 0 auto var(--hero-margin-bottom);
    padding: 0 var(--hero-horizontal-padding);
}

.system-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 1.75rem;
    align-items: flex-start;
}

/* Optional vertical rule - desktop only */
.system-hero__rule {
    display: none;
}

@media (min-width: 768px) {
    .system-hero__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .system-hero__rule {
        display: block;
        width: 1px;
        height: 100%;
        background: var(--hero-vertical-rule-color);
        opacity: 0.8;
        margin-top: 0.25rem;
    }
}

.system-hero__content {
    text-align: left;
}

.system-hero__label {
    font-size: var(--hero-label-font-size);
    letter-spacing: var(--hero-label-letter-spacing);
    text-transform: uppercase;
    opacity: var(--hero-label-opacity);
    margin-bottom: var(--hero-gap-label-title);
    color: var(--hero-text-muted);
    font-weight: 600;
}

.system-hero__title {
    font-size: clamp(var(--hero-title-font-size-min), 4vw, var(--hero-title-font-size-max));
    line-height: var(--hero-title-line-height);
    margin: 0 0 var(--hero-gap-title-supporting) 0;
    color: var(--hero-text-primary);
    font-weight: 700;
    letter-spacing: var(--hero-title-letter-spacing);
    text-align: left;
}

.system-hero__supporting {
    font-size: var(--hero-supporting-font-size);
    line-height: var(--hero-supporting-line-height);
    margin: 0;
    color: var(--hero-text-secondary);
    font-weight: 400;
    max-width: 720px;
}

@media (max-width: 640px) {
    .system-hero {
        margin-bottom: 4.5rem;
        padding: 0 1.25rem;
    }

    .system-hero__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .system-hero__supporting {
        font-size: 1rem;
    }
}


