/* git-hygiene datasheet hero — NEWELL brand system (tokens from tokens.json)
   Scoped under .gh-hero* to avoid clashing with the page's inline styles.
   The page already defines global --bg / --green / --accent / --text / --muted / --rule
   via :root in its inline <style> block; we re-declare here with our own names so the
   hero is self-contained regardless of where it's dropped. */

.gh-hero {
    --gh-bg: #0A0A0A;
    --gh-surface: #0F0F0F;
    --gh-border: #1F1F1F;
    --gh-text: #FFFFFF;
    --gh-muted: #A0A0A0;
    --gh-primary: #00FF41;
    --gh-accent: #1AFF72;
    --gh-radius-sm: 4px;
    --gh-radius-md: 8px;

    display: block;
    padding: 64px;
    border: 1px solid var(--gh-border);
    margin: 16px 0;
    position: relative;
    overflow: hidden;
}

.gh-hero__scanlines {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent 0 7px, rgba(255,255,255,0.015) 7px 8px
    );
    pointer-events: none;
}

.gh-hero__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gh-receipt {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius-sm);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 12px;
    color: var(--gh-muted);
    letter-spacing: 0.04em;
}

.gh-hero__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    margin-top: 32px;
}

.gh-wordmark {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(44px, 8vw, 88px);
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin: 0 0 16px;
    color: var(--gh-text);
}

.gh-tagline {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gh-muted);
    max-width: 520px;
}
.gh-tagline strong { color: var(--gh-text); font-weight: 500; }
.gh-tagline code {
    font-family: inherit;
    color: var(--gh-text);
    background: var(--gh-surface);
    padding: 1px 5px;
    border-radius: var(--gh-radius-sm);
}

.gh-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.gh-cta__primary, .gh-cta__secondary {
    display: inline-block;
    padding: 10px 16px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius-sm);
    transition: border-color 120ms ease;
}
.gh-cta__primary {
    background: var(--gh-primary);
    color: var(--gh-bg);
    border-color: var(--gh-primary);
}
.gh-cta__primary:hover  { border-color: var(--gh-accent); }
.gh-cta__primary:focus-visible  { outline: 2px solid var(--gh-accent); outline-offset: 2px; }
.gh-cta__secondary { background: var(--gh-surface); color: var(--gh-text); }
.gh-cta__secondary:hover { border-color: var(--gh-muted); }
.gh-cta__secondary:focus-visible { outline: 2px solid var(--gh-accent); outline-offset: 2px; }

.gh-spec {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius-sm);
    padding: 20px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11px;
    align-self: start;
}
.gh-spec__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gh-border);
}
.gh-spec__row:last-child { border-bottom: none; }
.gh-spec__key { color: var(--gh-muted); letter-spacing: 0.04em; }
.gh-spec__val { color: var(--gh-text); text-align: right; }
.gh-spec__val.ok { color: var(--gh-primary); }

.gh-hero__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gh-border);
    padding-top: 16px;
    margin-top: 48px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
}
.gh-brand { color: var(--gh-primary); }
.gh-meta  { color: var(--gh-muted); }

@media (max-width: 720px) {
    .gh-hero { padding: 32px; margin: 0; border: none; }
    .gh-hero__grid { grid-template-columns: 1fr; }
}
