/* =============================================================================
 * LernHive Public Website – Stylesheet
 *
 * Tokens gespiegelt aus public/theme/lernhive/scss/lernhive/_variables.scss
 * (eLeDia CI-Palette, April 2026). Halte die Werte synchron, wenn das Theme
 * sich ändert.
 * =========================================================================== */

/* --- Self-hosted Open Sans (DSGVO-konform, schnellerer LCP) -------------
 * Dateien aus @fontsource/open-sans (OFL-1.1). Aktualisierung via
 * `npm i @fontsource/open-sans` und die woff2s nach assets/fonts/
 * kopieren (siehe README). */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Open Sans Regular'),
         url('fonts/open-sans-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Open Sans Regular'),
         url('fonts/open-sans-400-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Open Sans Medium'),
         url('fonts/open-sans-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Open Sans Medium'),
         url('fonts/open-sans-500-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Open Sans SemiBold'),
         url('fonts/open-sans-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Open Sans SemiBold'),
         url('fonts/open-sans-600-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Open Sans Bold'),
         url('fonts/open-sans-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Open Sans Bold'),
         url('fonts/open-sans-700-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
    /* Brand */
    --lh-primary:         #194866;
    --lh-primary-dark:    #0f2b3d;
    --lh-primary-light:   #f3f5f8;
    --lh-accent:          #f98012;
    --lh-accent-dark:     #c25b00;
    --lh-accent-light:    #ffecdb;
    --lh-secondary:       #65a1b3;
    --lh-secondary-light: #a9cbd5;
    --lh-aqua:            #3aadaa;
    --lh-aqua-light:      #d1eceb;
    --lh-green:           #669933;
    --lh-lila:            #ab1d79;

    /* Surface & Text */
    --lh-bg:              #f3f5f8;
    --lh-bg-white:        #ffffff;
    --lh-bg-dark:         #194866;
    --lh-text:            #353535;
    --lh-text-secondary:  #5f6368;
    --lh-text-light:      #80868b;
    --lh-border:          #e9e9e9;
    --lh-border-light:    #f0f0f0;

    /* Radius */
    --lh-radius:      12px;
    --lh-radius-sm:   8px;
    --lh-radius-lg:   16px;
    --lh-radius-pill: 9999px;

    /* Shadow */
    --lh-shadow:       0 1px 3px rgba(60, 64, 67, 0.12);
    --lh-shadow-md:    0 2px 8px rgba(60, 64, 67, 0.15);
    --lh-shadow-hover: 0 4px 16px rgba(60, 64, 67, 0.18);

    /* Typography */
    --lh-font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --lh-spacing-xs: 4px;
    --lh-spacing-sm: 8px;
    --lh-spacing-md: 16px;
    --lh-spacing-lg: 24px;
    --lh-spacing-xl: 32px;
    --lh-spacing-2xl: 48px;

    /* Transition */
    --lh-transition: all 0.2s ease;
}

/* --- Reset & Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--lh-font-family);
    color: var(--lh-text);
    background: var(--lh-bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--lh-primary);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 var(--lh-spacing-md) 0;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); margin-top: var(--lh-spacing-2xl); }
h3 { font-size: 1.25rem; margin-top: var(--lh-spacing-xl); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lh-text-secondary); }

p { margin: 0 0 var(--lh-spacing-md) 0; }

a {
    color: var(--lh-primary);
    text-decoration: none;
    transition: var(--lh-transition);
}
a:hover { color: var(--lh-accent-dark); }

hr {
    border: 0;
    border-top: 1px solid var(--lh-border-light);
    margin: var(--lh-spacing-2xl) 0;
}

code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.875em;
    background: var(--lh-primary-light);
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- Layout -------------------------------------------------------------- */
.lh-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--lh-spacing-lg);
}

.lh-section {
    padding: var(--lh-spacing-2xl) 0;
}

.lh-section--tight  { padding: var(--lh-spacing-xl) 0; }
.lh-section--muted  { background: var(--lh-primary-light); }
.lh-section--dark   { background: var(--lh-primary-dark); color: var(--lh-bg-white); }
.lh-section--dark h2, .lh-section--dark h3, .lh-section--dark h4 { color: var(--lh-bg-white); }
.lh-section--dark a { color: var(--lh-accent-light); }

/* --- Header -------------------------------------------------------------- */
.lh-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--lh-bg-white);
    border-bottom: 1px solid var(--lh-border-light);
    backdrop-filter: saturate(180%) blur(8px);
}

.lh-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lh-spacing-lg);
    height: 64px;
}

.lh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--lh-primary);
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.lh-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: var(--lh-radius-sm);
    background: var(--lh-primary);
    color: var(--lh-bg-white);
    font-weight: 700;
    font-size: 0.9rem;
}

.lh-brand__accent { color: var(--lh-accent); }

.lh-nav {
    display: flex;
    align-items: center;
    gap: var(--lh-spacing-md);
}

.lh-nav a {
    color: var(--lh-text-secondary);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--lh-radius-sm);
}

.lh-nav a:hover,
.lh-nav a.is-active {
    color: var(--lh-primary);
    background: var(--lh-primary-light);
}

.lh-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-pill);
    padding: 2px;
    background: var(--lh-bg-white);
}

.lh-lang button {
    all: unset;
    padding: 4px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lh-text-secondary);
    border-radius: var(--lh-radius-pill);
    cursor: pointer;
    transition: var(--lh-transition);
}

.lh-lang button[aria-pressed="true"] {
    background: var(--lh-primary);
    color: var(--lh-bg-white);
}

/* Mobile nav */
.lh-nav-toggle {
    display: none;
    all: unset;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--lh-radius-sm);
    color: var(--lh-primary);
}

@media (max-width: 820px) {
    .lh-nav-toggle { display: inline-flex; }
    .lh-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--lh-bg-white);
        border-bottom: 1px solid var(--lh-border-light);
        padding: var(--lh-spacing-md);
        gap: var(--lh-spacing-xs);
        display: none;
    }
    .lh-nav.is-open { display: flex; }
    .lh-nav a { width: 100%; padding: 12px; }
    .lh-header__right { gap: var(--lh-spacing-sm); }
}

.lh-header__right {
    display: inline-flex;
    align-items: center;
    gap: var(--lh-spacing-md);
}

/* --- Buttons ------------------------------------------------------------- */
.lh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--lh-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--lh-transition);
    text-decoration: none;
    line-height: 1;
}

.lh-btn--primary {
    background: var(--lh-accent);
    color: var(--lh-bg-white);
}
.lh-btn--primary:hover {
    background: var(--lh-accent-dark);
    color: var(--lh-bg-white);
    box-shadow: var(--lh-shadow-hover);
    transform: translateY(-1px);
}

.lh-btn--ghost {
    background: transparent;
    color: var(--lh-primary);
    border-color: var(--lh-border);
}
.lh-btn--ghost:hover {
    border-color: var(--lh-primary);
    color: var(--lh-primary);
    background: var(--lh-primary-light);
}

.lh-btn--on-dark {
    background: var(--lh-bg-white);
    color: var(--lh-primary);
}
.lh-btn--on-dark:hover {
    background: var(--lh-accent-light);
    color: var(--lh-primary-dark);
}

/* --- Hero ---------------------------------------------------------------- */
.lh-hero {
    padding: 96px 0 72px;
    background:
        radial-gradient(circle at 85% 10%, rgba(249, 128, 18, 0.12), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(101, 161, 179, 0.18), transparent 50%),
        linear-gradient(180deg, var(--lh-bg-white) 0%, var(--lh-primary-light) 100%);
    border-bottom: 1px solid var(--lh-border-light);
}

.lh-hero__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lh-accent-dark);
    background: var(--lh-accent-light);
    padding: 6px 14px;
    border-radius: var(--lh-radius-pill);
    margin-bottom: var(--lh-spacing-md);
}

.lh-hero h1 { margin-bottom: var(--lh-spacing-lg); max-width: 22ch; }

.lh-hero__lede {
    font-size: 1.25rem;
    color: var(--lh-text-secondary);
    max-width: 58ch;
    margin-bottom: var(--lh-spacing-xl);
}

.lh-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lh-spacing-md);
}

/* --- Cards --------------------------------------------------------------- */
.lh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--lh-spacing-lg);
}

.lh-card {
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border-light);
    border-radius: var(--lh-radius);
    padding: var(--lh-spacing-lg);
    box-shadow: var(--lh-shadow);
    transition: var(--lh-transition);
    display: flex;
    flex-direction: column;
    gap: var(--lh-spacing-sm);
}

.lh-card:hover {
    border-color: var(--lh-secondary-light);
    box-shadow: var(--lh-shadow-hover);
    transform: translateY(-2px);
}

.lh-card h3 {
    margin: 0 0 var(--lh-spacing-xs) 0;
    font-size: 1.125rem;
    color: var(--lh-primary);
}

.lh-card__meta {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lh-text-light);
}

.lh-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--lh-radius-sm);
    background: var(--lh-primary-light);
    color: var(--lh-primary);
    display: inline-grid;
    place-items: center;
    font-size: 1.125rem;
    margin-bottom: var(--lh-spacing-xs);
}

.lh-card--accent .lh-card__icon { background: var(--lh-accent-light); color: var(--lh-accent-dark); }
.lh-card--aqua   .lh-card__icon { background: var(--lh-aqua-light);   color: var(--lh-aqua); }

/* --- Badges & Tags ------------------------------------------------------- */
.lh-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--lh-radius-pill);
    background: var(--lh-primary-light);
    color: var(--lh-primary);
    margin-right: 4px;
}
.lh-tag--r1   { background: var(--lh-aqua-light);   color: var(--lh-aqua); }
.lh-tag--r2   { background: var(--lh-accent-light); color: var(--lh-accent-dark); }
.lh-tag--lxp  { background: #f5e4ef;                color: var(--lh-lila); }
.lh-tag--live { background: #e4f3dd;                color: var(--lh-green); }

/* --- Tables (features page) --------------------------------------------- */
.lh-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border-light);
    border-radius: var(--lh-radius);
    overflow: hidden;
}

.lh-table th, .lh-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--lh-border-light);
    vertical-align: top;
    font-size: 0.9375rem;
}

.lh-table th {
    background: var(--lh-primary-light);
    color: var(--lh-primary);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lh-table tr:last-child td { border-bottom: 0; }
.lh-table tr:hover td { background: var(--lh-primary-light); }
.lh-table code { white-space: nowrap; }

/* --- Callouts ------------------------------------------------------------ */
.lh-callout {
    border-left: 3px solid var(--lh-accent);
    background: var(--lh-accent-light);
    padding: var(--lh-spacing-md) var(--lh-spacing-lg);
    border-radius: 0 var(--lh-radius) var(--lh-radius) 0;
    margin: var(--lh-spacing-lg) 0;
    color: var(--lh-primary-dark);
}

.lh-callout--info {
    border-left-color: var(--lh-secondary);
    background: #e3eef3;
}

/* --- Principles grid ----------------------------------------------------- */
.lh-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--lh-spacing-md);
}

.lh-principle {
    padding: var(--lh-spacing-md);
    border-left: 3px solid var(--lh-accent);
    background: var(--lh-bg-white);
    border-radius: 0 var(--lh-radius-sm) var(--lh-radius-sm) 0;
}

.lh-principle strong {
    display: block;
    color: var(--lh-primary);
    margin-bottom: 4px;
}

/* --- Timeline / Roadmap ------------------------------------------------- */
.lh-roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--lh-spacing-lg);
}

.lh-roadmap__col {
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border-light);
    border-top: 4px solid var(--lh-primary);
    border-radius: var(--lh-radius);
    padding: var(--lh-spacing-lg);
}

.lh-roadmap__col--r2 { border-top-color: var(--lh-accent); }
.lh-roadmap__col--later { border-top-color: var(--lh-secondary); }

.lh-roadmap ul { padding-left: var(--lh-spacing-lg); margin: 0; }
.lh-roadmap li { margin-bottom: var(--lh-spacing-xs); }

/* --- Pricing tiers ------------------------------------------------------ */
.lh-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--lh-spacing-lg);
}

.lh-tier {
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border-light);
    border-radius: var(--lh-radius);
    padding: var(--lh-spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--lh-spacing-sm);
}

.lh-tier__name {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lh-accent-dark);
}

.lh-tier__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lh-primary);
}

.lh-tier ul { padding-left: var(--lh-spacing-lg); margin: 0; }
.lh-tier li { font-size: 0.9375rem; margin-bottom: 4px; }

/* --- Footer -------------------------------------------------------------- */
.lh-footer {
    background: var(--lh-primary-dark);
    color: var(--lh-secondary-light);
    padding: var(--lh-spacing-2xl) 0 var(--lh-spacing-md);
    margin-top: var(--lh-spacing-2xl);
}

.lh-footer a { color: var(--lh-bg-white); }
.lh-footer a:hover { color: var(--lh-accent-light); }

.lh-footer__inner {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--lh-spacing-xl);
}

@media (max-width: 680px) {
    .lh-footer__inner { grid-template-columns: 1fr 1fr; }
}

.lh-footer h4 { color: var(--lh-bg-white); font-size: 0.8125rem; }

.lh-footer__legal {
    margin-top: var(--lh-spacing-xl);
    padding-top: var(--lh-spacing-md);
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8125rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--lh-spacing-md);
}

/* --- Utilities ----------------------------------------------------------- */
.lh-center { text-align: center; }
.lh-muted  { color: var(--lh-text-secondary); }
.lh-lede   { font-size: 1.125rem; color: var(--lh-text-secondary); max-width: 64ch; }

.lh-cta-strip {
    background: linear-gradient(135deg, var(--lh-primary) 0%, var(--lh-primary-dark) 100%);
    color: var(--lh-bg-white);
    border-radius: var(--lh-radius-lg);
    padding: var(--lh-spacing-2xl);
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: var(--lh-spacing-xl);
}

@media (max-width: 760px) { .lh-cta-strip { grid-template-columns: 1fr; } }

.lh-cta-strip h2 { color: var(--lh-bg-white); margin-top: 0; }
.lh-cta-strip p  { color: var(--lh-secondary-light); margin-bottom: 0; }
.lh-cta-strip__actions { display: flex; gap: var(--lh-spacing-md); flex-wrap: wrap; justify-content: flex-end; }

/* --- Page intro / sub-hero on inner pages -------------------------------- */
.lh-subhero {
    background: var(--lh-primary-light);
    padding: var(--lh-spacing-2xl) 0;
    border-bottom: 1px solid var(--lh-border-light);
}

.lh-subhero h1 { margin-bottom: var(--lh-spacing-md); }
.lh-subhero__lede { max-width: 70ch; }

/* --- Skip link (a11y) --------------------------------------------------- */
.lh-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--lh-primary);
    color: var(--lh-bg-white);
    padding: 8px 16px;
    z-index: 100;
}
.lh-skip:focus { left: 8px; top: 8px; }

/* =============================================================================
 * Plugin detail pages — shared components
 * =========================================================================== */

/* Breadcrumb on inner pages */
.lh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lh-spacing-xs);
    font-size: 0.875rem;
    color: var(--lh-text-secondary);
    margin-bottom: var(--lh-spacing-md);
}
.lh-breadcrumb a {
    color: var(--lh-text-secondary);
    text-decoration: none;
}
.lh-breadcrumb a:hover { color: var(--lh-primary); }
.lh-breadcrumb__sep { color: var(--lh-text-light); }
.lh-breadcrumb__current { color: var(--lh-primary); font-weight: 600; }

/* Chip — inline pill for dependencies, facts, component names */
.lh-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--lh-radius-pill);
    background: var(--lh-primary-light);
    color: var(--lh-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--lh-border-light);
}
.lh-chip--code {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.8125rem;
}
.lh-chip--accent { background: var(--lh-accent-light); color: var(--lh-accent-dark); border-color: transparent; }
.lh-chip--aqua   { background: var(--lh-aqua-light);   color: var(--lh-aqua); border-color: transparent; }

.lh-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lh-spacing-sm);
    margin-top: var(--lh-spacing-md);
}

/* Screenshot placeholder — used everywhere on plugin detail pages */
.lh-screenshot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--lh-spacing-sm);
    min-height: 260px;
    padding: var(--lh-spacing-xl);
    border-radius: var(--lh-radius-lg);
    background:
        repeating-linear-gradient(45deg,
            transparent 0, transparent 14px,
            rgba(25, 72, 102, 0.04) 14px, rgba(25, 72, 102, 0.04) 28px),
        var(--lh-primary-light);
    border: 1.5px dashed var(--lh-secondary-light);
    color: var(--lh-primary);
    text-align: center;
    transition: var(--lh-transition);
}
.lh-screenshot:hover { border-color: var(--lh-primary); }

.lh-screenshot__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lh-bg-white);
    color: var(--lh-accent);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--lh-shadow);
}

.lh-screenshot__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lh-accent-dark);
}

.lh-screenshot__caption {
    font-weight: 600;
    color: var(--lh-primary);
    max-width: 44ch;
    line-height: 1.4;
}

.lh-screenshot__note {
    font-size: 0.8125rem;
    color: var(--lh-text-secondary);
    margin-top: var(--lh-spacing-xs);
}

.lh-screenshot--wide { grid-column: 1 / -1; min-height: 320px; }

.lh-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--lh-spacing-lg);
    margin-top: var(--lh-spacing-lg);
}

/* Real screenshot — build.py swaps a .lh-screenshot placeholder for this
   figure as soon as a matching file exists in assets/screenshots/. Sizing
   mirrors the placeholder so filled and empty slots align in a grid. */
.lh-figure {
    margin: 0;
    border-radius: var(--lh-radius-lg);
    overflow: hidden;
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border-light);
    box-shadow: var(--lh-shadow);
    transition: var(--lh-transition);
}
.lh-figure:hover { border-color: var(--lh-secondary-light); }

.lh-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.lh-figure figcaption {
    padding: var(--lh-spacing-md) var(--lh-spacing-lg);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lh-text-secondary);
    border-top: 1px solid var(--lh-border-light);
    background: var(--lh-primary-light);
}

.lh-figure--wide { grid-column: 1 / -1; }

/* Feature list with subtle dots */
.lh-feature-list {
    list-style: none;
    padding: 0;
    margin: var(--lh-spacing-md) 0;
    display: grid;
    gap: var(--lh-spacing-md);
}
.lh-feature-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: var(--lh-spacing-sm);
    align-items: start;
    color: var(--lh-text);
    line-height: 1.55;
}
.lh-feature-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--lh-accent);
    box-shadow: 0 0 0 4px var(--lh-accent-light);
    display: block;
}

/* Plugin meta — two-column metadata facts */
.lh-plugin-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--lh-border-light);
    border-radius: var(--lh-radius);
    overflow: hidden;
    border: 1px solid var(--lh-border-light);
    margin-top: var(--lh-spacing-lg);
}
.lh-plugin-meta__cell {
    background: var(--lh-bg-white);
    padding: var(--lh-spacing-lg);
}
.lh-plugin-meta__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lh-text-secondary);
    margin-bottom: 6px;
}
.lh-plugin-meta__value {
    font-weight: 600;
    color: var(--lh-primary);
    font-size: 1rem;
    word-break: break-word;
}
.lh-plugin-meta__value code {
    font-size: 0.9em;
    background: var(--lh-primary-light);
    padding: 2px 6px;
    border-radius: 4px;
}

/* FAQ list — details/summary styled */
.lh-faq {
    display: grid;
    gap: var(--lh-spacing-md);
    margin-top: var(--lh-spacing-lg);
}
.lh-faq details {
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    padding: var(--lh-spacing-md) var(--lh-spacing-lg);
    transition: var(--lh-transition);
}
.lh-faq details[open] {
    border-color: var(--lh-primary);
    box-shadow: var(--lh-shadow);
}
.lh-faq summary {
    font-weight: 600;
    color: var(--lh-primary);
    cursor: pointer;
    list-style: none;
    padding-right: 24px;
    position: relative;
}
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--lh-accent);
    transition: var(--lh-transition);
}
.lh-faq details[open] summary::after { content: "−"; }
.lh-faq details > p {
    margin-top: var(--lh-spacing-md);
    margin-bottom: 0;
    color: var(--lh-text);
    line-height: 1.6;
}

/* Two-column layout for "How it works" sections (text + screenshot) */
.lh-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lh-spacing-xl);
    align-items: center;
    margin-top: var(--lh-spacing-xl);
}
.lh-split--flip > :first-child { order: 2; }
@media (max-width: 820px) {
    .lh-split { grid-template-columns: 1fr; }
    .lh-split--flip > :first-child { order: 0; }
}

/* Numbered step list */
.lh-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: var(--lh-spacing-lg) 0;
    display: grid;
    gap: var(--lh-spacing-md);
}
.lh-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--lh-spacing-md);
    align-items: start;
    padding: var(--lh-spacing-md) var(--lh-spacing-lg);
    background: var(--lh-bg-white);
    border: 1px solid var(--lh-border-light);
    border-radius: var(--lh-radius);
}
.lh-steps li::before {
    content: counter(step);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lh-primary);
    color: var(--lh-bg-white);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.lh-steps h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--lh-primary);
}
.lh-steps p { margin: 0; color: var(--lh-text-secondary); line-height: 1.55; }

/* Plugin sub-hero variation with larger bottom spacing for chip row */
.lh-subhero--plugin { padding-bottom: var(--lh-spacing-2xl); }
.lh-subhero--plugin h4 { margin-bottom: var(--lh-spacing-sm); }
.lh-subhero__tagline {
    font-size: 1.125rem;
    color: var(--lh-text-secondary);
    max-width: 64ch;
    margin-bottom: var(--lh-spacing-md);
}
