h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

:root {
    color-scheme: light;
    --font-sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Manrope', 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --surface-page: #fffdf7;
    --surface-soft: #f7f5ec;
    --surface-glass: rgba(255, 255, 255, 0.78);
    --ink: #111812;
    --ink-2: #14392a;
    --text-strong: #111812;
    --text-muted: #6a7167;
    --line-soft: rgba(17, 24, 18, 0.1);
    --accent-green: #188a5c;
    --accent-green-soft: #ecf8ef;
    --accent-orange: #ffb84d;
    --accent-coral: #e56b44;
    --premium-shadow: 0 24px 70px rgba(17, 24, 18, 0.12);
    --bs-body-font-family: var(--font-sans);
    --bs-body-color: var(--text-strong);
    --bs-primary: #188a5c;
    --bs-link-color: #188a5c;
    --bs-link-hover-color: #126a47;
    --bs-border-radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--surface-page);
}

/* AuditStock legal notices */
.legal-page {
    --legal-ink: #0b2531;
    --legal-ink-soft: #4b5d64;
    --legal-green: #087747;
    --legal-green-soft: #eaf4ed;
    --legal-paper: #fffdf9;
    --legal-line: rgba(11, 37, 49, 0.13);
    min-height: 100vh;
    padding-top: 4.15rem;
    background: var(--legal-paper);
    color: var(--legal-ink);
}

.legal-shell {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.legal-hero {
    border-bottom: 1px solid var(--legal-line);
    background:
        radial-gradient(circle at 87% 20%, rgba(8, 119, 71, 0.14), transparent 25rem),
        linear-gradient(180deg, #fffdf9 0%, #f5f3eb 100%);
}

.legal-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.52fr);
    gap: clamp(2rem, 8vw, 7rem);
    align-items: end;
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.legal-eyebrow,
.legal-section-number {
    margin: 0 0 0.9rem;
    color: var(--legal-green);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 8vw, 6.7rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.legal-hero__lead {
    max-width: 62ch;
    margin: 1.5rem 0 0;
    color: var(--legal-ink-soft);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.legal-hero__identity {
    padding: 1.5rem;
    border: 1px solid var(--legal-line);
    border-top: 4px solid var(--legal-green);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 60px rgba(11, 37, 49, 0.09);
}

.legal-hero__identity span,
.legal-contact-card span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--legal-ink-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-hero__identity strong {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
}

.legal-hero__identity p {
    margin: 0.3rem 0 0;
    color: var(--legal-ink-soft);
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal-summary {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 0.25rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--legal-line);
}

.legal-summary p {
    margin: 0 0 0.8rem;
    color: var(--legal-ink);
    font-weight: 800;
}

.legal-summary a {
    padding: 0.45rem 0;
    color: var(--legal-ink-soft);
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
}

.legal-summary a:hover,
.legal-summary a:focus-visible {
    color: var(--legal-green);
}

.legal-content {
    max-width: 790px;
}

.legal-updated {
    margin: 0 0 3.5rem;
    color: var(--legal-ink-soft);
    font-size: 0.9rem;
}

.legal-content section {
    scroll-margin-top: 6.5rem;
    padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}

.legal-content section + section {
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    border-top: 1px solid var(--legal-line);
}

.legal-content h2 {
    max-width: 18ch;
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-wrap: balance;
}

.legal-content h3 {
    margin: 2rem 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.legal-content p,
.legal-content address {
    color: var(--legal-ink-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.legal-content strong {
    color: var(--legal-ink);
}

.legal-content a {
    color: var(--legal-green);
    font-weight: 700;
    text-underline-offset: 0.2em;
}

.legal-identity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 2rem 0;
    border-top: 1px solid var(--legal-line);
    border-left: 1px solid var(--legal-line);
}

.legal-identity-list div {
    min-width: 0;
    padding: 1rem 1.15rem;
    border-right: 1px solid var(--legal-line);
    border-bottom: 1px solid var(--legal-line);
}

.legal-identity-list dt {
    margin-bottom: 0.35rem;
    color: var(--legal-ink-soft);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-identity-list dd {
    margin: 0;
    color: var(--legal-ink);
    font-weight: 700;
    line-height: 1.5;
}

.legal-contact-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.35rem;
    border-radius: 10px;
    background: var(--legal-green-soft);
}

.legal-contact-card a {
    font-size: 1.05rem;
}

.legal-host {
    margin: 1.75rem 0 0;
    padding: 1.5rem;
    border-left: 4px solid var(--legal-green);
    background: #f6f7f2;
    font-style: normal;
}

.legal-dpo {
    margin: 2rem 0;
    padding: clamp(1.5rem, 4vw, 2.2rem);
    border: 1px solid var(--legal-line);
    border-radius: 10px;
    background: var(--legal-green-soft);
}

.legal-dpo h3 {
    margin: 0;
    font-size: 1.65rem;
}

.legal-dpo p:last-child {
    margin-bottom: 0;
}

.legal-hero__identity a {
    color: var(--legal-green);
    font-weight: 700;
}

.privacy-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    border: 1px solid var(--legal-line);
    border-radius: 10px;
    background: var(--legal-line);
}

.privacy-principles div {
    padding: 1.2rem;
    background: #fff;
}

.privacy-principles strong,
.privacy-principles span {
    display: block;
}

.privacy-principles strong {
    margin-bottom: 0.35rem;
    color: var(--legal-ink);
    font-size: 0.9rem;
}

.privacy-principles span {
    color: var(--legal-ink-soft);
    font-size: 0.82rem;
    line-height: 1.5;
}

.privacy-table-wrap {
    margin: 2rem 0;
    overflow-x: auto;
    border: 1px solid var(--legal-line);
    border-radius: 10px;
}

.privacy-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #fff;
    color: var(--legal-ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.privacy-table th,
.privacy-table td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--legal-line);
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    background: var(--legal-green-soft);
    color: var(--legal-ink);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.privacy-table th:first-child,
.privacy-table td:first-child {
    width: 40%;
}

.privacy-table tbody tr:last-child td {
    border-bottom: 0;
}

.privacy-matomo {
    margin: 2rem 0;
    padding: clamp(1.5rem, 4vw, 2.2rem);
    border-left: 4px solid var(--legal-green);
    background: var(--legal-green-soft);
}

.privacy-matomo h3 {
    margin-top: 0;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.privacy-matomo p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .legal-hero__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .legal-hero__identity {
        width: min(100%, 420px);
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-summary {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-summary p {
        grid-column: 1 / -1;
    }

    .privacy-principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .legal-hero h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .legal-summary,
    .legal-identity-list,
    .legal-contact-card {
        grid-template-columns: 1fr;
    }
}

/* AuditStock methodology page */
.method-page {
    --method-ink: #0b2531;
    --method-ink-soft: #485d66;
    --method-green: #087747;
    --method-green-soft: #eaf4ed;
    --method-orange: #ee9418;
    --method-red: #e74724;
    --method-blue: #2f6fe4;
    --method-violet: #7356b8;
    --method-paper: #fffdf9;
    --method-line: rgba(11, 37, 49, 0.13);
    overflow: hidden;
    padding-top: 4.15rem;
    background: var(--method-paper);
    color: var(--method-ink);
}

.method-shell {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.method-eyebrow {
    margin: 0 0 0.9rem;
    color: var(--method-green);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.method-hero {
    position: relative;
    border-bottom: 1px solid var(--method-line);
    background:
        radial-gradient(circle at 86% 8%, rgba(238, 148, 24, 0.18), transparent 24rem),
        radial-gradient(circle at 76% 82%, rgba(8, 119, 71, 0.12), transparent 28rem),
        linear-gradient(180deg, #fffdf9 0%, #f7f5ed 100%);
}

.method-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
    gap: clamp(2rem, 7vw, 6.5rem);
    align-items: center;
    min-height: 650px;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.method-hero__content {
    max-width: 730px;
}

.method-hero h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: clamp(3.15rem, 6.2vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.97;
    text-wrap: balance;
}

.method-hero__lead {
    max-width: 58ch;
    margin: 1.5rem 0 0;
    color: var(--method-ink-soft);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.method-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
    margin-top: 2rem;
}

.method-text-link {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    color: var(--method-green);
    font-weight: 800;
    text-decoration: none;
}

.method-text-link:hover,
.method-text-link:focus-visible {
    color: var(--method-ink);
}

.method-snapshot {
    overflow: hidden;
    border: 1px solid var(--method-line);
    border-top: 4px solid var(--method-green);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(11, 37, 49, 0.13);
}

.method-snapshot__head {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--method-line);
    background: #f8faf8;
}

.method-snapshot__head div {
    min-width: 0;
}

.method-snapshot__head span,
.method-snapshot__metrics span,
.method-snapshot__status,
.method-product span,
.method-product small,
.method-conclusion__decision span,
.method-conclusion__decision small {
    color: var(--method-ink-soft);
    font-size: 0.8rem;
}

.method-snapshot__head strong,
.method-product strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: 1.08rem;
}

.method-snapshot__head > i {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--method-green-soft);
    color: var(--method-green);
    font-size: 1.25rem;
}

.method-snapshot__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-snapshot__metrics > div {
    min-width: 0;
    padding: 1.3rem 0.8rem;
    border-left: 1px solid var(--method-line);
    text-align: center;
}

.method-snapshot__metrics > div:first-child {
    border-left: 0;
}

.method-snapshot__metrics span {
    display: block;
    min-height: 2.4rem;
    line-height: 1.35;
}

.method-snapshot__metrics strong {
    display: block;
    margin-top: 0.5rem;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: 2.15rem;
    line-height: 1;
}

.method-snapshot__status {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(238, 148, 24, 0.22);
    background: #fff5e7;
    color: #9d5b00;
    font-weight: 800;
}

.method-process,
.method-thresholds,
.method-timeline-section,
.method-cta {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.method-section-heading,
.method-thresholds__intro {
    max-width: 780px;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.method-section-heading h2,
.method-thresholds__intro h2,
.method-timeline-heading h2,
.method-conclusion h2,
.method-cta h2 {
    margin: 0;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.method-section-heading > p:last-child,
.method-thresholds__intro > p:last-child,
.method-conclusion > div:first-child > p:last-child,
.method-cta__panel > div > p:last-child {
    margin: 1.15rem 0 0;
    color: var(--method-ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.method-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--method-line);
    list-style: none;
}

.method-process__grid li {
    min-width: 0;
    padding: 2rem 1.4rem 0;
    border-left: 1px solid var(--method-line);
}

.method-process__grid li:first-child {
    border-left: 0;
}

.method-process__grid span {
    display: block;
    color: var(--method-green);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.method-process__grid i {
    margin: 1.65rem 0 1.1rem;
    color: var(--method-ink);
    font-size: 1.55rem;
}

.method-process__grid h3 {
    margin: 0;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: 1.23rem;
    font-weight: 800;
    line-height: 1.25;
}

.method-process__grid p {
    margin: 0.7rem 0 0;
    color: var(--method-ink-soft);
    font-size: 0.91rem;
    line-height: 1.65;
}

.method-thresholds {
    background: #f0f3ef;
}

.method-thresholds__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.method-threshold {
    position: relative;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 2.7rem);
    border: 1px solid var(--method-line);
    border-radius: 12px;
    background: #fff;
}

.method-threshold--minimum {
    border-top: 4px solid var(--method-green);
}

.method-threshold--reorder {
    border-top: 4px solid var(--method-orange);
}

.method-threshold__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.35rem;
    place-items: center;
    border-radius: 50%;
    background: var(--method-green-soft);
    color: var(--method-green);
    font-size: 1.45rem;
}

.method-threshold--reorder .method-threshold__icon {
    background: #fff5e7;
    color: #ad6500;
}

.method-threshold__label {
    margin: 0 0 0.55rem;
    color: var(--method-green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.method-threshold--reorder .method-threshold__label {
    color: #ad6500;
}

.method-threshold h3 {
    max-width: 23ch;
    margin: 0;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    line-height: 1.12;
}

.method-threshold > p:not(.method-threshold__label) {
    max-width: 56ch;
    margin: 1rem 0 0;
    color: var(--method-ink-soft);
    line-height: 1.7;
}

.method-threshold__signal {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--method-line);
}

.method-threshold__signal span {
    color: var(--method-ink-soft);
    font-size: 0.78rem;
}

.method-threshold__signal strong {
    color: var(--method-ink);
    font-size: 0.88rem;
    text-align: right;
}

.method-thresholds__note {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(8, 119, 71, 0.17);
    border-radius: 10px;
    background: var(--method-green-soft);
}

.method-thresholds__note > i {
    color: var(--method-green);
    font-size: 1.35rem;
}

.method-thresholds__note p {
    margin: 0;
    color: var(--method-ink-soft);
    line-height: 1.6;
}

.method-thresholds__note strong {
    color: var(--method-ink);
}

#seuils,
#timeline {
    scroll-margin-top: 5.25rem;
}

.method-timeline-section {
    background: var(--method-paper);
}

.method-timeline-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.43fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.4rem;
}

.method-timeline-heading h2 {
    max-width: 780px;
}

.method-product {
    padding: 1.2rem;
    border: 1px solid var(--method-line);
    border-radius: 10px;
    background: #fff;
}

.method-product small {
    display: block;
    margin-top: 0.35rem;
}

.method-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.2rem;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--method-line);
}

.method-legend span {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--method-ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.method-legend__dot {
    font-size: 0.58rem;
}

.method-legend__dot--demand {
    color: var(--method-blue);
}

.method-legend__dot--flow {
    color: var(--method-green);
}

.method-legend__dot--supply {
    color: var(--method-orange);
}

.method-legend__dot--risk {
    color: var(--method-red);
}

.method-legend__dot--adjustment {
    color: var(--method-violet);
}

.method-timeline {
    position: relative;
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.method-timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #dbe2df;
    content: "";
    transform: translateX(-50%);
}

.method-event {
    --event-color: var(--method-green);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 5.5rem 1fr;
    align-items: start;
    min-height: 9rem;
}

.method-event--demand {
    --event-color: var(--method-blue);
}

.method-event--flow {
    --event-color: var(--method-green);
}

.method-event--supply {
    --event-color: var(--method-orange);
}

.method-event--risk {
    --event-color: var(--method-red);
}

.method-event--adjustment {
    --event-color: var(--method-violet);
}

.method-event__marker {
    z-index: 2;
    display: grid;
    grid-column: 2;
    grid-row: 1;
    width: 3.6rem;
    height: 3.6rem;
    margin: 0 auto;
    place-items: center;
    border: 5px solid var(--method-paper);
    border-radius: 50%;
    background: var(--event-color);
    color: #fff;
    box-shadow: 0 5px 16px rgba(11, 37, 49, 0.18);
}

.method-event article {
    grid-column: 3;
    min-width: 0;
    padding: 1.35rem;
    border: 1px solid var(--method-line);
    border-top: 3px solid var(--event-color);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(11, 37, 49, 0.08);
}

.method-event:nth-child(even) article {
    grid-column: 1;
    grid-row: 1;
}

.method-event time {
    color: var(--method-ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.method-event__type {
    margin: 0.65rem 0 0.3rem;
    color: var(--event-color);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.method-event h3 {
    margin: 0;
    color: var(--method-ink);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.method-event article > p:not(.method-event__type) {
    margin: 0.7rem 0 0;
    color: var(--method-ink-soft);
    font-size: 0.89rem;
    line-height: 1.6;
}

.method-event__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.3rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--method-line);
}

.method-event__metrics span {
    color: var(--method-ink-soft);
    font-size: 0.78rem;
}

.method-event__metrics strong {
    color: var(--method-ink);
}

.method-conclusion {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    margin-top: clamp(3.5rem, 8vw, 6.5rem);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 12px;
    background: var(--method-ink);
}

.method-conclusion .method-eyebrow {
    color: #63d39b;
}

.method-conclusion h2 {
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.35rem);
}

.method-conclusion > div:first-child > p:last-child {
    color: #c8d3d7;
}

.method-conclusion__decision {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.method-conclusion__decision span,
.method-conclusion__decision small {
    color: #c8d3d7;
}

.method-conclusion__decision strong {
    display: block;
    margin: 0.5rem 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.2;
}

.method-cta {
    padding-top: 0;
}

.method-cta__panel {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(2.2rem, 5vw, 4.25rem);
    border-radius: 12px;
    background: var(--method-green-soft);
}

.method-cta h2 {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.method-cta__panel > div {
    max-width: 760px;
}

.method-cta__panel > .stock-button {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .method-hero__grid,
    .method-timeline-heading,
    .method-conclusion {
        grid-template-columns: 1fr;
    }

    .method-hero__grid {
        min-height: auto;
    }

    .method-snapshot {
        max-width: 620px;
    }

    .method-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 0;
    }

    .method-process__grid li:nth-child(odd) {
        border-left: 0;
    }

    .method-conclusion__decision {
        max-width: 520px;
    }
}

@media (max-width: 767.98px) {
    .method-page {
        padding-top: 4rem;
    }

    .method-shell {
        width: min(100%, calc(100% - 1.5rem));
    }

    .method-hero__grid {
        gap: 2.5rem;
        padding: 4rem 0;
    }

    .method-hero h1 {
        max-width: 11ch;
        font-size: clamp(2.9rem, 14vw, 4.25rem);
    }

    .method-actions,
    .method-actions .stock-button {
        width: 100%;
    }

    .method-text-link {
        justify-content: center;
    }

    .method-snapshot__head {
        padding: 1.2rem;
    }

    .method-snapshot__metrics {
        grid-template-columns: 1fr;
    }

    .method-snapshot__metrics > div,
    .method-snapshot__metrics > div:first-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.9rem 1.2rem;
        border-top: 1px solid var(--method-line);
        border-left: 0;
        text-align: left;
    }

    .method-snapshot__metrics span {
        min-height: 0;
    }

    .method-snapshot__metrics strong {
        margin-top: 0;
        font-size: 1.7rem;
    }

    .method-process,
    .method-thresholds,
    .method-timeline-section,
    .method-cta {
        padding-block: 4rem;
    }

    .method-process__grid,
    .method-thresholds__grid {
        grid-template-columns: 1fr;
    }

    .method-process__grid {
        gap: 0;
    }

    .method-process__grid li,
    .method-process__grid li:nth-child(odd) {
        display: grid;
        grid-template-columns: 2.75rem minmax(0, 1fr);
        column-gap: 0.9rem;
        align-items: center;
        padding: 1.7rem 0;
        border-top: 1px solid var(--method-line);
        border-left: 0;
    }

    .method-process__grid li:first-child {
        border-top: 0;
    }

    .method-process__grid span {
        grid-column: 1 / -1;
    }

    .method-process__grid i {
        grid-column: 1;
        margin: 1rem 0 0;
    }

    .method-process__grid h3 {
        grid-column: 2;
        margin-top: 1rem;
    }

    .method-process__grid p {
        grid-column: 1 / -1;
    }

    .method-threshold__signal,
    .method-thresholds__note {
        align-items: flex-start;
    }

    .method-threshold__signal {
        flex-direction: column;
        gap: 0.35rem;
    }

    .method-threshold__signal strong {
        text-align: left;
    }

    .method-timeline-heading {
        gap: 1.5rem;
    }

    .method-timeline::before {
        left: 1.7rem;
    }

    .method-timeline {
        gap: 1.25rem;
    }

    .method-event {
        display: grid;
        grid-template-columns: 3.45rem minmax(0, 1fr);
        min-height: 0;
    }

    .method-event__marker {
        grid-column: 1;
        width: 3.05rem;
        height: 3.05rem;
        margin: 0;
        border-width: 4px;
        font-size: 0.88rem;
    }

    .method-event article,
    .method-event:nth-child(even) article {
        grid-column: 2;
        grid-row: 1;
        padding: 1.05rem;
    }

    .method-event h3 {
        font-size: 1.08rem;
    }

    .method-event__metrics {
        gap: 0.45rem 1rem;
    }

    .method-conclusion {
        padding: 1.5rem;
    }

    .method-cta {
        padding-top: 0;
    }

    .method-cta__panel {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
    }

    .method-cta__panel > .stock-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .method-page * {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text-strong);
    line-height: 1.6;
    background: var(--surface-page);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

a,
button,
.btn,
.nav-link,
.page-link {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus {
    outline: 2px solid rgba(53, 214, 201, 0.7);
    outline-offset: 3px;
    box-shadow: none;
}

.navbar-custom {
    padding: 0.4rem 0;
    background: rgba(255, 253, 247, 0.86);
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1030;
}

.navbar-custom--scrolled,
.navbar-custom.scrolled {
    background: rgba(255, 253, 247, 0.96);
    box-shadow: 0 12px 40px rgba(17, 24, 18, 0.08);
}

.navbar-custom__shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    margin: 0;
    color: var(--text-strong) !important;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: 0;
}

.navbar-brand__word {
    display: inline-block;
    color: #062f42;
    font-size: 1.34rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: none;
}

.navbar-brand__mark {
    width: 3.25rem;
    height: 2.65rem;
    object-fit: contain;
    filter: none;
}

.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    border-radius: 8px;
    color: rgba(17, 24, 18, 0.7) !important;
    font-weight: 700;
    padding: 0.55rem 0.8rem !important;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text-strong) !important;
    background: rgba(24, 138, 92, 0.1);
}

.navbar-custom__demo {
    margin-left: 0.25rem;
    border: 1px solid #111812;
    background: #111812;
    color: #ffffff !important;
}

.navbar-custom__demo:hover,
.navbar-custom__demo:focus-visible {
    border-color: #188a5c;
    background: #188a5c;
    color: #ffffff !important;
}

.navbar-toggler {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
}

.btn-primary,
.btn-primary-custom,
.page-item.active .page-link {
    border-color: #188a5c;
    background: #188a5c;
    color: #fff;
}

.btn-primary:hover,
.btn-primary-custom:hover {
    border-color: #126a47;
    background: #126a47;
    transform: translateY(-2px);
}

.btn-outline-secondary,
.page-link {
    border-color: rgba(8, 19, 30, 0.12);
    color: var(--text-strong);
}

.page-link {
    border-radius: 8px;
    margin: 0 0.18rem;
}

.page-link:hover {
    background: rgba(24, 138, 92, 0.1);
    color: var(--text-strong);
}

[data-reveal] {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-reveal].reveal-pending {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.footer {
    background: #111812;
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0 2rem;
}

.footer-bottom {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
}

.blog-layout {
    min-height: calc(100vh - 120px);
    padding: 7.25rem 0 4rem;
    background:
        radial-gradient(circle at 86% 6%, rgba(255, 184, 77, 0.18), transparent 26rem),
        linear-gradient(180deg, #fffdf7 0%, #f7f5ec 36%, #ffffff 100%),
        var(--surface-page);
}

.blog-layout__grid {
    width: min(1600px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 1.5rem;
    align-items: start;
}

.blog-layout__main {
    min-width: 0;
}

.blog-layout__grid:has(.blog-layout__aside .sidebar:empty) {
    width: min(1180px, calc(100% - 2rem));
    grid-template-columns: minmax(0, 1fr);
}

.blog-layout__aside:has(.sidebar:empty) {
    display: none;
}

.blog-layout__aside .sidebar,
aside .sidebar {
    position: sticky;
    top: 6.5rem;
    align-self: flex-start;
}

.documentation {
    min-height: calc(100vh - 140px);
}

.documentation__container {
    width: min(1420px, calc(100% - 2rem));
    margin: 0 auto;
}

.documentation__header {
    position: relative;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(8, 19, 30, 0.1);
    border-radius: 8px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 184, 77, 0.2), transparent 24rem),
        #fffdf7;
    color: var(--text-strong);
    overflow: hidden;
}

.documentation__header::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), var(--accent-green), transparent);
}

.documentation__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(24, 138, 92, 0.18);
    border-radius: 999px;
    background: rgba(24, 138, 92, 0.08);
    color: #15724d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.documentation__title {
    max-width: 820px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.55rem, 4.8vw, 4.85rem);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: 0;
    text-wrap: balance;
}

.documentation__subtitle {
    max-width: 760px;
    margin: 1.15rem 0 0;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.documentation__search {
    max-width: 720px;
    margin-top: 1.5rem;
}

.documentation__search .form-control,
.form-control {
    border: 1px solid rgba(8, 19, 30, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text-strong);
}

.documentation__search .form-control {
    min-height: 3.35rem;
    border-color: rgba(17, 24, 18, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.documentation__search .form-control::placeholder {
    color: rgba(106, 113, 103, 0.72);
}

.alert,
.card,
.sidebar-section,
.post-sidebar-related,
.share-menu {
    border-radius: 8px;
}

.card,
.sidebar-section,
.post-sidebar-related,
.glass-sticky-panel {
    border: 1px solid rgba(8, 19, 30, 0.1);
    background: rgba(255, 255, 255, var(--sticky-alpha, 0.82));
    box-shadow: 0 18px 48px rgba(7, 19, 29, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.post-sidebar-related {
    padding: 1rem;
}

.sidebar-title,
.toc-title,
.card-title {
    font-family: var(--font-display);
    color: var(--text-strong);
    letter-spacing: 0;
}

.related-posts-list {
    display: grid;
    gap: 0.6rem;
    margin: 0;
}

.related-post-item a {
    display: block;
    padding: 0.7rem;
    border-radius: 8px;
    color: var(--text-strong);
}

.related-post-item a:hover {
    background: rgba(24, 138, 92, 0.08);
}

.toc-nav .nav {
    gap: 0.125rem !important;
    row-gap: 0.125rem !important;
}

.toc-nav .nav-link {
    margin-bottom: 0 !important;
    padding: 0.25rem 0.45rem !important;
    line-height: 1.25 !important;
}

.toc-nav .nav-link.active {
    background: rgba(24, 138, 92, 0.1);
    color: var(--text-strong) !important;
}

.breadcrumb {
    --bs-breadcrumb-divider-color: rgba(7, 19, 29, 0.42);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #188a5c;
    text-decoration: none;
}

.badge {
    border-radius: 999px;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    [data-reveal].reveal-pending {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border: 1px solid rgba(8, 19, 30, 0.1);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.94);
    }

    .blog-layout__grid {
        grid-template-columns: 1fr;
    }

    .blog-layout__aside .sidebar,
    aside .sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 575.98px) {

    .navbar-custom__shell,
    .blog-layout__grid,
    .documentation__container {
        width: min(100%, calc(100% - 1rem));
    }
}

/* Consolidated component styles */

/* src\AuditStock.PresentationWebApp\Pages\Home.razor.css */
.home-page {
    overflow: hidden;
    background: var(--surface-page);
    color: var(--text-strong);
}

.home-hero {
    position: relative;
    padding: clamp(6.25rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 5rem);
    background:
        radial-gradient(circle at 84% 20%, rgba(255, 184, 77, 0.22), transparent 28rem),
        linear-gradient(180deg, #f7f5ec 0%, #fffdf7 72%, #ffffff 100%);
}

.home-hero__shell,
.home-section__shell,
.home-trust__shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.home-hero__shell {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
    gap: clamp(1.8rem, 5vw, 4rem);
    align-items: center;
}

.home-hero__content {
    max-width: 680px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin: 0;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(24, 138, 92, 0.18);
    border-radius: 999px;
    background: rgba(24, 138, 92, 0.08);
    color: #15724d;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-hero__title,
.home-section__title {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-hero__title {
    max-width: 12.8ch;
    margin-top: 1.1rem;
    font-size: clamp(2.9rem, 5.4vw, 4.8rem);
    line-height: 1;
}

.home-hero__description,
.home-section__text,
.home-proof__quote p {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.home-hero__description {
    max-width: 58ch;
    margin: 1rem 0 0;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.35rem;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.82rem 1.25rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.home-button--primary {
    border: 1px solid #111812;
    background: #111812;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(17, 24, 18, 0.16);
}

.home-button--primary:hover,
.home-button--primary:focus-visible {
    background: #188a5c;
    border-color: #188a5c;
    color: #ffffff;
    transform: translateY(-2px);
}

.home-button--secondary {
    border: 1px solid rgba(17, 24, 18, 0.12);
    background: #ffffff;
    color: #111812;
}

.home-button--secondary:hover,
.home-button--secondary:focus-visible {
    border-color: rgba(24, 138, 92, 0.34);
    color: #15724d;
    transform: translateY(-2px);
}

.home-hero__note {
    margin: 1rem 0 0;
    color: #6a7167;
    font-size: 0.92rem;
    font-weight: 700;
}

.home-product {
    border: 1px solid rgba(17, 24, 18, 0.1);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(17, 24, 18, 0.14);
    overflow: hidden;
}

.home-product__toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    background: #f7f5ec;
}

.home-product__toolbar span,
.home-product__metric span {
    color: #6a7167;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-product__toolbar strong {
    color: #188a5c;
}

.home-product__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.home-product__metric,
.home-product__queue article {
    padding: 1rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #fffdf7;
}

.home-product__metric strong {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
}

.home-product__metric small,
.home-product__queue small {
    display: block;
    margin-top: 0.45rem;
    color: #6a7167;
}

.home-product__chart {
    display: flex;
    align-items: end;
    gap: 0.6rem;
    min-height: 150px;
    padding: 1rem;
    border-radius: 8px;
    background: #14392a;
}

.home-product__chart span {
    flex: 1;
    min-width: 1.8rem;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #ffb84d, #5bd39a);
}

.home-product__queue {
    display: grid;
    gap: 0.75rem;
}

.home-product__queue strong {
    display: block;
    margin-top: 0.4rem;
}

.home-status {
    display: inline-flex;
    width: fit-content;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: rgba(24, 138, 92, 0.12);
    color: #15724d;
    font-size: 0.72rem;
    font-weight: 900;
}

.home-status--urgent {
    background: rgba(229, 107, 68, 0.14);
    color: #a83e23;
}

.home-trust {
    padding: 1.2rem 0;
    background: #ffffff;
}

.home-trust__shell {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.home-trust__shell span {
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 999px;
    background: #fffdf7;
    color: #6a7167;
    font-weight: 800;
}

.home-section--intelligence {
    position: relative;
    background:
        radial-gradient(circle at 85% 18%, rgba(255, 184, 77, 0.22), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #f7f5ec 100%);
}

.home-intelligence {
    display: grid;
    grid-template-columns: minmax(270px, 0.52fr) minmax(620px, 1.48fr);
    gap: clamp(4rem, 8vw, 8rem);
    align-items: center;
}

.home-intelligence__copy {
    position: sticky;
    top: 7rem;
    max-width: 390px;
}

.home-intelligence__copy .home-section__title {
    max-width: 10.5ch;
    font-size: clamp(1.95rem, 2.75vw, 3.05rem);
    line-height: 1.12;
}

.home-intelligence__copy .home-section__text {
    max-width: 37ch;
    margin-top: 1.45rem;
    line-height: 1.85;
}

.home-flow {
    position: relative;
    display: grid;
    gap: 1rem;
    min-height: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    overflow: hidden;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(17, 24, 18, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(17, 24, 18, 0.04) 1px, transparent 1px),
        #fffdf7;
    background-size: 42px 42px;
    box-shadow: 0 28px 80px rgba(17, 24, 18, 0.1);
}

.home-flow::before {
    content: '';
    position: absolute;
    inset: 8%;
    border: 1px dashed rgba(24, 138, 92, 0.18);
    border-radius: 8px;
    transform: translateY(var(--flow-parallax, 0));
    pointer-events: none;
}

.home-flow__layer {
    position: relative;
    left: auto;
    right: auto;
}

.home-flow__layer--erp {
    top: auto;
}

.home-flow__layer--auditstock {
    top: auto;
}

.home-flow__node {
    width: min(100%, 360px);
    padding: 1rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(17, 24, 18, 0.08);
}

.home-flow__node--erp {
    animation: flow-float 7s ease-in-out infinite;
}

.home-flow__node--analysis {
    margin-left: auto;
    background: #ecf8ef;
    animation: flow-float 8s ease-in-out 0.8s infinite;
}

.home-flow__node span,
.home-flow__kpis span,
.home-flow__agent span {
    display: block;
    color: #6a7167;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-flow__node strong,
.home-flow__agent strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.12;
}

.home-flow__node small {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-muted);
}

.home-flow__stream {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: 76px;
    margin: 0.1rem 1rem;
    border-top: 2px solid rgba(24, 138, 92, 0.2);
    border-bottom: 2px solid rgba(255, 184, 77, 0.24);
}

.home-flow__stream::after {
    content: '';
    position: absolute;
    right: 0;
    top: -7px;
    width: 14px;
    height: 14px;
    border-top: 2px solid #188a5c;
    border-right: 2px solid #188a5c;
    transform: rotate(45deg);
}

.home-flow__packet {
    position: absolute;
    top: 22px;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: #111812;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(17, 24, 18, 0.08);
    animation: flow-packet 9s linear infinite;
}

.home-flow__packet--one {
    animation-delay: 0s;
}

.home-flow__packet--two {
    animation-delay: 1.15s;
}

.home-flow__packet--three {
    animation-delay: 2.3s;
}

.home-flow__packet--four {
    animation-delay: 3.45s;
}

.home-flow__packet--five {
    animation-delay: 4.6s;
}

.home-flow__packet--six {
    animation-delay: 5.75s;
}

.home-flow__kpis {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-flow__kpis article {
    min-height: 132px;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 18, 0.08);
    animation: flow-kpi 7s ease-in-out infinite;
}

.home-flow__kpis article:nth-child(2) {
    animation-delay: 0.7s;
}

.home-flow__kpis article:nth-child(3) {
    animation-delay: 1.4s;
}

.home-flow__kpis strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.home-flow__kpis small {
    display: block;
    margin-top: 0.45rem;
    color: var(--text-muted);
}

.home-flow__agent {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #111812;
    color: #ffffff;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.2);
}

.home-flow__agent span,
.home-flow__agent strong {
    color: #ffffff;
}

.home-flow__agent-avatar {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #ffb84d;
    color: #111812;
    flex: 0 0 auto;
}

.home-flow__alerts {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.1rem;
}

.home-flow__alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.85rem;
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    color: #111812;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(17, 24, 18, 0.08);
    animation: flow-alert 6s ease-in-out infinite;
}

.home-flow__alert--warning {
    animation-delay: 0.8s;
}

.home-flow__alert--info {
    animation-delay: 1.6s;
}

.home-flow__alert--danger i {
    color: #e56b44;
}

.home-flow__alert--warning i {
    color: #ff9f1a;
}

.home-flow__alert--info i {
    color: #188a5c;
}

@keyframes flow-packet {
    0% {
        left: 0;
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

    12%,
    76% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 5.8rem);
        opacity: 0;
        transform: translateY(-6px) scale(1);
    }
}

@keyframes flow-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes flow-kpi {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes flow-alert {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }
}

.home-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background: #ffffff;
}

.home-section__intro {
    max-width: 780px;
    margin-bottom: 2rem;
}

.home-section__title {
    margin-top: 1rem;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 1;
}

.home-section__text {
    max-width: 62ch;
    margin: 1rem 0 0;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-feature {
    min-height: 280px;
    padding: 1.35rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #fffdf7;
}

.home-feature--large {
    grid-column: span 2;
    background: #ecf8ef;
}

.home-feature--accent {
    background: #fff4df;
}

.home-feature i {
    display: inline-grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 1.15rem;
    border-radius: 8px;
    background: #111812;
    color: #ffb84d;
}

.home-feature h3,
.home-step h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.15;
}

.home-feature p,
.home-step p {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    line-height: 1.72;
}

.home-section--workflow {
    background: #f7f5ec;
}

.home-workflow {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.home-workflow .home-section__intro {
    position: sticky;
    top: 7rem;
    margin-bottom: 0;
}

.home-steps {
    display: grid;
    gap: 1rem;
}

.home-step {
    padding: 1.4rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
}

.home-step span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #188a5c;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
}

.home-section--proof {
    background: #14392a;
    color: #ffffff;
}

.home-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.home-section--proof .home-eyebrow {
    border-color: rgba(255, 184, 77, 0.28);
    background: rgba(255, 184, 77, 0.12);
    color: #ffc76e;
}

.home-section--proof .home-section__title,
.home-section--proof strong {
    color: #ffffff;
}

.home-section--proof p,
.home-section--proof span {
    color: rgba(255, 255, 255, 0.72);
}

.home-proof__stats {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.home-proof__stats div {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
}

.home-proof__stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
}

.home-proof__stats span {
    display: block;
    margin-top: 0.45rem;
}

.home-section--integration {
    background: #ffffff;
}

.home-integration {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.7fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: center;
}

.home-code-window {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 18, 0.1);
    border-radius: 8px;
    background: #111812;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.16);
}

.home-code-window__bar {
    display: flex;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-code-window__bar span {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 999px;
    background: #ffb84d;
}

.home-code-window pre {
    margin: 0;
    padding: 1.25rem;
    color: #c8f0d7;
    font-size: 0.98rem;
    line-height: 1.9;
    white-space: pre-wrap;
}

.home-section--cta {
    padding-top: 0;
    background: #ffffff;
}

.home-cta {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 8px;
    background: #f7f5ec;
}

.home-cta .home-section__title {
    max-width: 860px;
}

@media (max-width: 1199.98px) {
    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .home-hero__shell,
    .home-intelligence,
    .home-workflow,
    .home-proof,
    .home-integration {
        grid-template-columns: 1fr;
    }

    .home-intelligence__copy {
        position: relative;
        top: auto;
    }

    .home-workflow .home-section__intro {
        position: relative;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .home-hero__shell,
    .home-section__shell,
    .home-trust__shell,
    .home-cta {
        width: min(100%, calc(100% - 1rem));
    }

    .home-hero {
        padding-top: 6.5rem;
    }

    .home-hero__title {
        max-width: none;
        font-size: clamp(2.75rem, 13vw, 4rem);
    }

    .home-product__grid,
    .home-flow__kpis,
    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature--large {
        grid-column: auto;
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .home-button {
        width: 100%;
    }
}

/* AuditStock landing page — selected light industrial direction */
.stock-page {
    --stock-ink: #0b2531;
    --stock-ink-soft: #44555d;
    --stock-green: #087747;
    --stock-green-soft: #eaf4ed;
    --stock-orange: #ee9418;
    --stock-orange-soft: #fff5e7;
    --stock-red: #e74724;
    --stock-red-soft: #fff1ed;
    --stock-line: rgba(11, 37, 49, 0.12);
    --stock-paper: #fffdf9;
    overflow: hidden;
    background: var(--stock-paper);
    color: var(--stock-ink);
}

.stock-shell {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.stock-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

#enjeux,
#methode {
    scroll-margin-top: 5rem;
}

.stock-eyebrow {
    margin: 0 0 1rem;
    color: var(--stock-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stock-heading {
    max-width: 760px;
    margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
}

.stock-heading h2,
.stock-method__intro h2,
.stock-final h2 {
    margin: 0;
    color: var(--stock-ink);
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4.6vw, 4.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.stock-heading > p:last-child,
.stock-method__intro > p:last-child,
.stock-final p {
    color: var(--stock-ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.stock-hero {
    position: relative;
    display: grid;
    min-height: clamp(680px, 86vh, 850px);
    padding-top: 4.35rem;
    isolation: isolate;
}

.stock-hero__image,
.stock-hero__veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.stock-hero__image {
    z-index: -3;
    object-fit: cover;
    object-position: center center;
}

.stock-hero__veil {
    z-index: -2;
    background: linear-gradient(90deg, rgba(11, 37, 49, 0.08), rgba(11, 37, 49, 0.02) 50%, rgba(11, 37, 49, 0.11));
}

.stock-hero__shell {
    display: flex;
    align-items: center;
    width: min(1440px, calc(100% - 3rem));
    padding-block: clamp(4rem, 9vw, 7.5rem);
}

.stock-hero__content {
    width: min(930px, 68%);
    max-width: none;
    padding: clamp(1.75rem, 3vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 12px;
    background: rgba(255, 253, 249, 0.8);
    box-shadow: 0 28px 80px rgba(11, 37, 49, 0.17);
    backdrop-filter: blur(12px);
}

.stock-hero h1 {
    max-width: none;
    margin: 0;
    color: var(--stock-ink);
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 4.3vw, 5.15rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}

.stock-hero__lead {
    max-width: 55ch;
    margin: 1.75rem 0 0;
    color: #273c44;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.stock-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.stock-button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.stock-button:hover {
    transform: translateY(-2px);
}

.stock-button--primary {
    border-color: var(--stock-ink, #0b2531);
    background: var(--stock-ink, #0b2531);
    color: #fff;
    box-shadow: 0 14px 34px rgba(11, 37, 49, 0.16);
}

.stock-button--primary:hover,
.stock-button--primary:focus-visible {
    border-color: var(--stock-green, #087747);
    background: var(--stock-green, #087747);
    color: #fff;
}

.stock-button--secondary {
    border-color: rgba(11, 37, 49, 0.55);
    background: rgba(255, 253, 249, 0.78);
    color: var(--stock-ink);
    backdrop-filter: blur(10px);
}

.stock-button--secondary:hover,
.stock-button--secondary:focus-visible {
    border-color: var(--stock-ink);
    background: #fff;
    color: var(--stock-ink);
}

.navbar-custom__cta {
    margin-left: 0.55rem;
}

.navbar-custom__cta .stock-button {
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
}

.stock-balance {
    background: var(--stock-paper);
}

.stock-balance__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr) minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: stretch;
}

.stock-risk,
.stock-engine {
    position: relative;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--stock-line);
    border-radius: 12px;
}

.stock-risk {
    background: #fff;
}

.stock-risk--over {
    border-top: 4px solid var(--stock-orange);
    background: var(--stock-orange-soft);
}

.stock-risk--under {
    border-top: 4px solid var(--stock-red);
    background: var(--stock-red-soft);
}

.stock-engine {
    border-top: 4px solid var(--stock-green);
    background: #fff;
    box-shadow: 0 24px 70px rgba(11, 37, 49, 0.1);
}

.stock-risk__icon,
.stock-engine__mark {
    display: grid;
    width: 4.2rem;
    height: 4.2rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 50%;
    font-size: 1.65rem;
}

.stock-risk--over .stock-risk__icon {
    background: rgba(238, 148, 24, 0.16);
    color: #b56800;
}

.stock-risk--under .stock-risk__icon {
    background: rgba(231, 71, 36, 0.13);
    color: var(--stock-red);
}

.stock-engine__mark {
    border: 2px solid var(--stock-green);
    background: var(--stock-green-soft);
    color: var(--stock-ink);
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
}

.stock-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stock-risk--over .stock-kicker {
    color: #b56800;
}

.stock-risk--under .stock-kicker {
    color: var(--stock-red);
}

.stock-engine .stock-kicker {
    color: var(--stock-green);
}

.stock-risk h3,
.stock-engine h3 {
    min-height: 3.5rem;
    margin: 0;
    color: var(--stock-ink);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.stock-risk ul,
.stock-engine ul {
    display: grid;
    gap: 1rem;
    margin: 1.7rem 0 0;
    padding: 0;
    list-style: none;
}

.stock-risk li,
.stock-engine li {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: 0.75rem;
    align-items: start;
    color: var(--stock-ink-soft);
    font-size: 0.93rem;
    line-height: 1.5;
}

.stock-risk--over li i {
    color: var(--stock-orange);
}

.stock-risk--under li i {
    color: var(--stock-red);
}

.stock-engine li i {
    color: var(--stock-green);
}

.stock-engine > a {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 1.65rem;
    color: var(--stock-green);
    font-weight: 800;
    text-decoration: none;
}

.stock-engine > a:hover {
    color: var(--stock-ink);
}

.stock-method {
    background: #f0f3ef;
}

.stock-method__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.stock-method__intro .stock-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -1rem;
}

.stock-method__intro h2 {
    font-size: clamp(2.35rem, 4vw, 3.8rem);
}

.stock-method__intro > p:last-child {
    margin: 0;
}

.stock-method__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--stock-line);
    list-style: none;
}

.stock-method__steps li {
    position: relative;
    padding: 2rem 1.5rem 0;
    border-left: 1px solid var(--stock-line);
}

.stock-method__steps li:first-child {
    border-left: 0;
}

.stock-method__steps li > span {
    color: var(--stock-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.stock-method__steps li > i {
    display: block;
    margin: 2rem 0 1.3rem;
    color: var(--stock-ink);
    font-size: 1.6rem;
}

.stock-method__steps h3 {
    margin: 0;
    color: var(--stock-ink);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
}

.stock-method__steps p {
    margin: 0.7rem 0 0;
    color: var(--stock-ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.stock-outcomes {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: var(--stock-paper);
}

.stock-heading--compact {
    max-width: 900px;
}

.stock-heading--compact h2 {
    font-size: clamp(2.2rem, 4vw, 3.65rem);
}

.stock-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--stock-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(11, 37, 49, 0.06);
}

.stock-outcomes__grid article {
    min-width: 0;
    padding: 2rem 1.2rem;
    border-left: 1px solid var(--stock-line);
    text-align: center;
}

.stock-outcomes__grid article:first-child {
    border-left: 0;
}

.stock-outcomes__grid i {
    display: grid;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: #f0f4f2;
    color: var(--stock-green);
    font-size: 1.55rem;
}

.stock-outcomes__grid article:nth-child(1) i {
    background: var(--stock-orange-soft);
    color: #b56800;
}

.stock-outcomes__grid h3 {
    margin: 0;
    color: var(--stock-ink);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
}

.stock-outcomes__grid p {
    margin: 0.75rem 0 0;
    color: var(--stock-ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
}

.stock-final {
    padding-top: 0;
    background: var(--stock-paper);
}

.stock-final__panel {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(2.25rem, 5vw, 4.5rem);
    border-radius: 12px;
    background: var(--stock-green-soft);
}

.stock-final h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.stock-final p {
    margin: 0.8rem 0 0;
}

@media (max-width: 991.98px) {
    .navbar-custom__cta {
        width: 100%;
        margin: 0.75rem 0 0;
    }

    .navbar-custom__cta .stock-button {
        width: 100%;
    }

    .stock-hero {
        min-height: 760px;
    }

    .stock-hero__image {
        object-position: center center;
    }

    .stock-hero__veil {
        background: rgba(11, 37, 49, 0.08);
    }

    .stock-hero__content {
        width: min(860px, 84%);
    }

    .stock-balance__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stock-engine {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .stock-method__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2.25rem;
    }

    .stock-outcomes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stock-outcomes__grid article:nth-child(odd) {
        border-left: 0;
    }

    .stock-outcomes__grid article {
        border-bottom: 1px solid var(--stock-line);
    }

    .stock-outcomes__grid article:last-child {
        grid-column: 1 / -1;
        border-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .stock-shell,
    .stock-hero__shell {
        width: min(100%, calc(100% - 1.5rem));
    }

    .stock-section {
        padding-block: 4rem;
    }

    .stock-hero {
        min-height: 700px;
        padding-top: 4rem;
    }

    .stock-hero__image {
        object-position: 58% center;
    }

    .stock-hero__veil {
        background: rgba(11, 37, 49, 0.1);
    }

    .stock-hero__shell {
        align-items: center;
        padding-block: 3rem;
    }

    .stock-hero__content {
        width: 100%;
        padding: 1.35rem;
        background: rgba(255, 253, 249, 0.86);
        backdrop-filter: blur(9px);
    }

    .stock-hero h1 {
        max-width: none;
        font-size: clamp(2.65rem, 11.5vw, 3.65rem);
    }

    .stock-hero__lead {
        max-width: 36ch;
        font-size: 1rem;
    }

    .stock-actions,
    .stock-actions .stock-button {
        width: 100%;
    }

    .stock-balance__grid,
    .stock-method__intro,
    .stock-method__steps,
    .stock-outcomes__grid {
        grid-template-columns: 1fr;
    }

    .stock-engine {
        grid-column: auto;
        grid-row: auto;
    }

    .stock-risk h3,
    .stock-engine h3 {
        min-height: 0;
    }

    .stock-method__intro .stock-eyebrow {
        grid-column: auto;
        margin-bottom: -0.75rem;
    }

    .stock-method__steps li,
    .stock-method__steps li:first-child {
        display: grid;
        grid-template-columns: 2.75rem minmax(0, 1fr);
        column-gap: 0.9rem;
        align-items: center;
        padding: 1.75rem 0 0;
        border-top: 1px solid var(--stock-line);
        border-left: 0;
    }

    .stock-method__steps li:first-child {
        border-top: 0;
    }

    .stock-method__steps li > span {
        grid-column: 1 / -1;
    }

    .stock-method__steps li > i {
        grid-column: 1;
        margin: 1.2rem 0 0;
    }

    .stock-method__steps h3 {
        grid-column: 2;
        margin-top: 1.2rem;
    }

    .stock-method__steps p {
        grid-column: 1 / -1;
    }

    .stock-outcomes__grid article,
    .stock-outcomes__grid article:nth-child(odd) {
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid var(--stock-line);
        border-left: 0;
    }

    .stock-outcomes__grid article:last-child {
        border-bottom: 0;
    }

    .stock-final__panel {
        flex-direction: column;
        align-items: stretch;
    }

    .stock-final__panel .stock-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stock-button {
        transition: none;
    }
}


/* src\AuditStock.PresentationWebApp\Pages\DocumentationApi.razor.css */
.documentation-page {
    min-height: 100vh;
    padding-top: 4.75rem;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 184, 77, 0.2), transparent 28rem),
        linear-gradient(180deg, #fffdf7 0%, #f7f5ec 34%, #ffffff 100%);
    color: var(--text-strong);
}

.documentation-page__hero {
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
}

.documentation-page__body {
    padding: 1.5rem 0 3.5rem;
}

.documentation-page__shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.documentation-page__shell--hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.25rem, 5vw, 4.5rem) 0;
}

.documentation-page__hero-content {
    max-width: 760px;
}

.documentation-page__eyebrow,
.documentation-page__article-eyebrow,
.documentation-page__sidebar-eyebrow {
    font-weight: 800;
}

.documentation-page__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(24, 138, 92, 0.18);
    border-radius: 999px;
    background: rgba(24, 138, 92, 0.08);
    color: #15724d;
    font-size: 0.8rem;
}

.documentation-page__title {
    max-width: 12ch;
    margin: 1rem 0 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.documentation-page__subtitle {
    max-width: 62ch;
    margin: 1.15rem 0 0;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.documentation-page__hero-card {
    padding: 1.25rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.12);
}

.documentation-page__hero-card-title {
    margin: 0;
    color: #188a5c;
    font-size: 0.9rem;
    font-weight: 800;
}

.documentation-page__hero-list {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.documentation-page__last-update {
    margin: 1.2rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 18, 0.08);
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.documentation-page__shell--content {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.documentation-page__sidebar {
    position: sticky;
    top: 5.75rem;
}

.documentation-page__sidebar-panel {
    max-height: calc(100vh - 7rem);
    overflow: auto;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #fffdf7;
    box-shadow: 0 18px 48px rgba(17, 24, 18, 0.08);
}

.documentation-page__sidebar-eyebrow {
    margin: 0 0 0.85rem;
    color: #6a7167;
    font-size: 0.78rem;
}

.documentation-page__nav {
    display: grid;
    gap: 0.35rem;
}

.documentation-page__nav-link {
    display: block;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.45;
}

.documentation-page__nav-link:hover {
    color: #111812;
    background: rgba(24, 138, 92, 0.08);
}

.documentation-page__nav-link--primary {
    padding: 0.75rem 0.85rem;
    color: #111812;
    font-weight: 800;
}

.documentation-page__nav-link--secondary {
    padding: 0.62rem 0.85rem 0.62rem 1.25rem;
    color: #6a7167;
    font-size: 0.96rem;
}

.documentation-page__nav-link--active.documentation-page__nav-link--primary,
.documentation-page__nav-link--active.documentation-page__nav-link--secondary {
    border-color: rgba(24, 138, 92, 0.18);
    background: #ecf8ef;
    color: #15724d;
}

.documentation-page__article,
.documentation-page__error {
    min-width: 0;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.1);
}

.documentation-page__article-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    background: #fffdf7;
}

.documentation-page__article-eyebrow {
    margin: 0;
    color: #188a5c;
    font-size: 0.78rem;
}

.documentation-page__article-title {
    margin: 0.35rem 0 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.documentation-page__article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.documentation-page__meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(24, 138, 92, 0.14);
    border-radius: 999px;
    background: #ecf8ef;
    color: #15724d;
    font-size: 0.92rem;
    font-weight: 800;
}

.documentation-page__markdown,
.documentation-page__error {
    padding: 1.5rem;
}

.documentation-page__error h2 {
    margin: 0 0 0.75rem;
    color: var(--text-strong);
}

.documentation-page__error p {
    margin: 0;
    color: var(--text-muted);
}

.documentation-page__markdown > :first-child {
    margin-top: 0;
}

.documentation-page__markdown h1,
.documentation-page__markdown h2,
.documentation-page__markdown h3,
.documentation-page__markdown h4 {
    scroll-margin-top: 6.5rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    letter-spacing: 0;
}

.documentation-page__markdown h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.documentation-page__markdown h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 18, 0.08);
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.documentation-page__markdown h3 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: #15724d;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
}

.documentation-page__markdown p,
.documentation-page__markdown li,
.documentation-page__markdown blockquote {
    color: var(--text-muted);
    line-height: 1.8;
}

.documentation-page__markdown a {
    color: #188a5c;
    font-weight: 700;
}

.documentation-page__markdown strong {
    color: var(--text-strong);
}

.documentation-page__markdown hr {
    border-color: rgba(17, 24, 18, 0.08);
    opacity: 1;
}

.documentation-page__markdown code {
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(24, 138, 92, 0.12);
    border-radius: 6px;
    background: #ecf8ef;
    color: #15724d;
}

.documentation-page__markdown pre {
    margin: 1.2rem 0;
    padding: 1rem 1.1rem;
    overflow: auto;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #111812;
}

.documentation-page__markdown pre code {
    padding: 0;
    border: 0;
    background: transparent;
    color: #c8f0d7;
}

.documentation-page__markdown table {
    width: 100%;
    margin: 1.2rem 0;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    border-collapse: collapse;
}

.documentation-page__markdown thead {
    background: #f7f5ec;
}

.documentation-page__markdown th,
.documentation-page__markdown td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    text-align: left;
    vertical-align: top;
}

.documentation-page__markdown tbody tr:last-child td {
    border-bottom: 0;
}

.documentation-page__markdown ul,
.documentation-page__markdown ol {
    padding-left: 1.35rem;
}

@media (max-width: 1100px) {
    .documentation-page__shell--hero,
    .documentation-page__shell--content {
        grid-template-columns: 1fr;
    }

    .documentation-page__sidebar {
        position: static;
    }

    .documentation-page__sidebar-panel {
        max-height: none;
    }

    .documentation-page__nav {
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 1fr);
        overflow: auto;
        padding-bottom: 0.35rem;
    }

    .documentation-page__nav-link--secondary {
        padding-left: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .documentation-page {
        padding-top: 4.25rem;
    }

    .documentation-page__shell {
        width: min(100%, calc(100% - 1rem));
    }

    .documentation-page__shell--hero {
        padding: 2rem 0;
    }

    .documentation-page__title {
        max-width: none;
        font-size: clamp(2.5rem, 12vw, 3.6rem);
    }

    .documentation-page__body {
        padding-bottom: 2rem;
    }

    .documentation-page__hero-card,
    .documentation-page__article-header,
    .documentation-page__markdown,
    .documentation-page__sidebar-panel,
    .documentation-page__error {
        padding: 1rem;
    }

    .documentation-page__markdown table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* src\AuditStock.PresentationWebApp\Pages\Blog\Index.razor.css */
.blog-index {
    min-height: calc(100vh - 140px);
}

.blog-index__container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.blog-index__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 184, 77, 0.24), transparent 22rem),
        #fffdf7;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.08);
}

.blog-index__header-content {
    max-width: 760px;
}

.blog-index__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(24, 138, 92, 0.18);
    border-radius: 999px;
    background: rgba(24, 138, 92, 0.08);
    color: #15724d;
    font-size: 0.8rem;
    font-weight: 800;
}

.blog-index__title {
    max-width: 14ch;
    margin: 1rem 0 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-wrap: balance;
}

.blog-index__subtitle {
    max-width: 62ch;
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.blog-index__search {
    max-width: 620px;
    margin-top: 1.1rem;
}

.blog-index__search .form-control {
    min-height: 3.25rem;
    border-color: rgba(17, 24, 18, 0.12);
    background: #ffffff;
}

.blog-index__summary {
    padding: 1.25rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
}

.blog-index__summary span {
    color: #6a7167;
    font-weight: 800;
}

.blog-index__summary strong {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.blog-index__summary p {
    margin: 0.8rem 0 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.blog-index__empty {
    border-color: rgba(24, 138, 92, 0.14);
    background: #ecf8ef;
    color: #15724d;
}

@media (max-width: 991.98px) {
    .blog-index__header {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 767.98px) {
    .blog-index__container {
        width: min(100%, calc(100% - 1rem));
    }

    .blog-index__header {
        padding: 1.4rem;
    }

    .blog-index__title {
        max-width: none;
        font-size: clamp(2.45rem, 11vw, 3.5rem);
    }
}


/* src\AuditStock.PresentationWebApp\Pages\Components\PostCard.razor.css */
.post-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(17, 24, 18, 0.08);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 138, 92, 0.24);
    box-shadow: 0 24px 60px rgba(17, 24, 18, 0.12);
}

.post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111812;
}

.post-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-placeholder {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: 100%;
    background: #111812;
}

.placeholder-svg-small {
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

.post-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.25rem;
    background: #fffdf7;
}

.post-card-date {
    margin-bottom: 0.55rem;
    color: #188a5c;
    font-size: 0.78rem;
    font-weight: 800;
}

.post-card-title {
    margin-bottom: 0.75rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
}

.post-card-subtitle {
    flex-grow: 1;
    margin-bottom: 0.9rem;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.post-card-author {
    margin-top: auto;
    color: #6a7167;
    font-size: 0.875rem;
    font-weight: 800;
}

.post-card-author i {
    margin-right: 0.25rem;
    color: #ff9f1a;
}


/* src\AuditStock.PresentationWebApp\Pages\Blog\PostDetail.razor.css */
.post-detail {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.1);
}

.post-header {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 800;
}

.post-meta i {
    margin-right: 0.25rem;
    color: #ff9f1a;
}

.post-date,
.post-updated,
.post-reactions-count {
    display: inline-flex;
    align-items: center;
}

.post-updated {
    color: #ff9f1a;
    font-style: italic;
}

.post-title {
    max-width: 920px;
    margin: 0 0 0.9rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4.25rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0;
}

.post-subtitle {
    max-width: 840px;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    line-height: 1.6;
}

.post-author-info {
    padding: 0.5rem 0;
}

.post-podcast-player {
    padding: 1rem;
    border: 1px solid rgba(8, 19, 30, 0.1);
    border-radius: 8px;
    background: #ecf8ef;
    box-shadow: 0 16px 42px rgba(17, 24, 18, 0.08);
}

.podcast-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #188a5c;
    font-weight: 700;
}

.podcast-header i {
    font-size: 1.25rem;
}

.podcast-title {
    font-size: 1rem;
}

.podcast-audio {
    height: 45px;
    border-radius: 8px;
}

.podcast-audio::-webkit-media-controls-panel {
    background: rgba(255, 255, 255, 0.92);
}

.author-avatar {
    color: #188a5c;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
}

.author-title {
    font-size: 0.875rem;
}

.post-content-wrapper {
    margin-top: 1.35rem;
    overflow: hidden;
}

.post-content {
    max-width: 980px;
    color: var(--text-strong);
    font-size: 1.075rem;
    line-height: 1.86;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
}

.post-content h2 {
    margin-top: 1.75rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 0.85rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 0.85rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.3rem;
}

.post-content code:not(.code-block-wrapper code) {
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    background: rgba(24, 138, 92, 0.1);
    font-size: 0.9em;
}

.post-content .code-block-wrapper pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 0;
    background: transparent;
}

.post-content .code-block-wrapper pre code {
    display: block;
    padding: 0;
    background: none;
    white-space: pre;
}

.post-content blockquote {
    margin-left: 0;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid #188a5c;
    border-radius: 0 8px 8px 0;
    background: rgba(24, 138, 92, 0.08);
    color: var(--text-muted);
    font-style: italic;
}

.post-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
    object-fit: contain;
}

.post-content p img {
    margin: 1rem auto;
}

.post-content picture,
.post-content figure {
    max-width: 100%;
    overflow: hidden;
}

.post-content figure img {
    margin: 0;
}

.post-content a {
    color: #188a5c;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.post-content th,
.post-content td {
    padding: 0.5rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
}

.post-content th {
    background: rgba(24, 138, 92, 0.08);
    font-weight: 700;
}

.post-footer {
    background: transparent;
}

#navbar-toc .nav-link {
    position: relative;
}

.toc-anchor {
    scroll-margin-top: 100px;
}

.post-sidebar-tags {
    position: relative;
    z-index: 10;
    scroll-margin-top: 100px;
}

@media (min-width: 992px) {
    .blog-layout__aside:has(.toc-sticky) {
        align-self: stretch;
    }

    .blog-layout__aside:has(.toc-sticky) .sidebar {
        position: relative;
        top: auto;
        min-height: 100%;
    }
}

.sidebar-section.toc-sticky {
    position: sticky;
    top: 4.75rem;
    align-self: start;
    z-index: 10;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem;
    border: 1px solid rgba(8, 19, 30, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, var(--sticky-alpha, 0.82));
    scroll-margin-top: 100px;
}

.toc-title {
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.toc-nav .nav {
    gap: 0.125rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.toc-nav .nav-link,
.toc-nav .nav.nav-pills .nav-link {
    margin: 0 !important;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    line-height: 1.2;
}

.post-banner-image {
    padding: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 18, 0.12);
    border-radius: 8px;
    background: transparent;
}

.post-banner-image img {
    border-radius: 4px;
}

.btn-share-post {
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-share-post i {
    margin-right: 0.25rem;
    transition: transform 0.25s ease;
}

.btn-share-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(17, 24, 18, 0.12);
}

.btn-share-post:hover i {
    transform: scale(1.1) rotate(15deg);
}

.btn-share-post.active {
    background-color: #188a5c;
    border-color: #188a5c;
    color: white;
    box-shadow: 0 8px 18px rgba(17, 24, 18, 0.12);
}

.post-reactions-section {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    z-index: 1050;
    display: none;
    min-width: 280px;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(17, 24, 18, 0.14);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-menu.show {
    display: block;
}

.share-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
}

.share-menu-header h6 {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-close-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.btn-close-share:hover {
    background-color: rgba(24, 138, 92, 0.08);
    color: var(--text-strong);
}

.share-menu-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-strong);
    cursor: pointer;
    font-size: 0.9375rem;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.share-option:hover {
    background-color: rgba(24, 138, 92, 0.08);
    color: #188a5c;
    transform: translateX(5px);
}

.share-option.success {
    background-color: rgba(158, 242, 109, 0.16);
    color: #237133;
}

.share-option i {
    width: 20px;
    font-size: 1.25rem;
    text-align: center;
}

.share-option span {
    flex: 1;
}

.share-option .fa-twitter {
    color: #1da1f2;
}

.share-option .fa-facebook {
    color: #1877f2;
}

.share-option .fa-linkedin {
    color: #0a66c2;
}

.share-option .fa-whatsapp {
    color: #25d366;
}

.share-option .fa-envelope {
    color: var(--text-muted);
}

.share-option .fa-link {
    color: #188a5c;
}

@media (max-width: 991.98px) {
    .post-title {
        font-size: 2.5rem;
    }

    .post-subtitle {
        font-size: 1.125rem;
    }

    .sidebar-section.toc-sticky {
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }

    .toc-nav {
        max-height: none;
        margin-top: 0;
    }

    .post-content {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .post-detail {
        padding: 1rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-date,
    .post-updated,
    .post-reactions-count {
        margin-left: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .share-menu {
        right: -10px;
        left: -10px;
        width: auto;
        min-width: auto;
    }
}


/* src\AuditStock.PresentationWebApp\Pages\Components\Footer.razor.css */
.footer__shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.footer__brand-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.footer__brand img {
    width: 3.4rem;
    height: 2.8rem;
    padding: 0.18rem 0.28rem;
    background: #fffdf7;
    border-radius: 0.6rem;
    object-fit: contain;
    filter: none;
}

.footer__tagline {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.7;
}

.footer__links {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    align-items: center;
    justify-content: flex-end;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .footer__links {
        justify-content: flex-start;
    }
}

.footer__legal {
    margin: 0;
}

.footer-appliman-link {
    color: inherit;
    opacity: 0.9;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 0.2em;
}

.footer-appliman-link:hover,
.footer-appliman-link:focus-visible {
    opacity: 1;
    text-decoration: underline;
}


/* src\AuditStock.PresentationWebApp\Pages\Versions.razor.css */
.versions-page {
    min-height: 100vh;
    padding-top: 4.75rem;
    background:
        radial-gradient(1200px circle at top right, rgba(18, 158, 88, 0.15), transparent 30%),
        linear-gradient(180deg, #020704 0%, #040b07 28%, #08130d 100%);
    color: #ecfdf3;
}

.versions-page__hero {
    border-bottom: 1px solid rgba(120, 255, 181, 0.12);
    background: linear-gradient(180deg, rgba(3, 67, 26, 0.92) 0%, rgba(5, 18, 10, 0.92) 100%);
}

.versions-page__body {
    padding: 1.5rem 0 3rem;
}

.versions-page__shell {
    width: min(1600px, calc(100% - 2rem));
    margin: 0 auto;
}

.versions-page__shell--hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0 2rem;
}

.versions-page__hero-content {
    max-width: 760px;
}

.versions-page__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(120, 255, 181, 0.12);
    border: 1px solid rgba(120, 255, 181, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8df7bc;
}

.versions-page__title {
    margin: 1rem 0 0;
    font-size: clamp(2.5rem, 4vw, 4.25rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.versions-page__subtitle {
    margin: 1.2rem 0 0;
    max-width: 60ch;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(236, 253, 243, 0.78);
}

.versions-page__hero-card {
    padding: 1.4rem;
    border-radius: 1.5rem;
    background: rgba(9, 26, 16, 0.8);
    border: 1px solid rgba(120, 255, 181, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.versions-page__hero-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8df7bc;
}

.versions-page__hero-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.6rem;
    color: rgba(236, 253, 243, 0.78);
}

.versions-page__last-update {
    margin: 1.2rem 0 0;
    color: rgba(236, 253, 243, 0.64);
    font-size: 0.95rem;
}

.versions-page__shell--content {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.versions-page__sidebar {
    position: sticky;
    top: 5.75rem;
}

.versions-page__sidebar-panel {
    max-height: calc(100vh - 7rem);
    overflow: auto;
    padding: 1.2rem;
    border-radius: 1.4rem;
    background: rgba(8, 18, 13, 0.88);
    border: 1px solid rgba(120, 255, 181, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.versions-page__sidebar-eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(236, 253, 243, 0.56);
}

.versions-page__nav {
    display: grid;
    gap: 0.35rem;
}

.versions-page__nav-link {
    display: block;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.45;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    padding: 0.8rem 0.9rem;
    background: rgba(120, 255, 181, 0.05);
    color: #f8fff9;
    font-weight: 700;
}

.versions-page__nav-link:hover {
    transform: translateX(2px);
    color: #ecfdf3;
    background: rgba(120, 255, 181, 0.12);
}

.versions-page__nav-link--active {
    background: linear-gradient(135deg, rgba(38, 177, 101, 0.3) 0%, rgba(120, 255, 181, 0.16) 100%);
    border: 1px solid rgba(120, 255, 181, 0.22);
    color: #f8fff9;
    box-shadow: inset 0 0 0 1px rgba(120, 255, 181, 0.08);
}

.versions-page__article,
.versions-page__error {
    min-width: 0;
    border-radius: 1.5rem;
    background: rgba(6, 15, 11, 0.92);
    border: 1px solid rgba(120, 255, 181, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.versions-page__article-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1.2rem;
    border-bottom: 1px solid rgba(120, 255, 181, 0.08);
}

.versions-page__article-eyebrow {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8df7bc;
}

.versions-page__article-title {
    margin: 0.35rem 0 0;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    color: #f8fff9;
}

.versions-page__article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.versions-page__meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(120, 255, 181, 0.08);
    border: 1px solid rgba(120, 255, 181, 0.1);
    color: rgba(236, 253, 243, 0.82);
    font-size: 0.92rem;
}

.versions-page__markdown {
    padding: 1.5rem;
}

.versions-page__error {
    padding: 1.5rem;
}

.versions-page__markdown > :first-child {
    margin-top: 0;
}

.versions-page__markdown h1,
.versions-page__markdown h2,
.versions-page__markdown h3,
.versions-page__markdown h4 {
    scroll-margin-top: 6.5rem;
    color: #f8fff9;
    letter-spacing: -0.03em;
}

.versions-page__markdown p,
.versions-page__markdown li,
.versions-page__markdown blockquote {
    color: rgba(236, 253, 243, 0.78);
    line-height: 1.8;
}

.versions-page__markdown a {
    color: #8df7bc;
}

@media (max-width: 1100px) {
    .versions-page__shell--hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .versions-page__shell--content {
        grid-template-columns: minmax(0, 1fr);
    }

    .versions-page__sidebar {
        position: static;
    }
}


/* src\AuditStock.PresentationWebApp\Pages\Layout\MainLayout.razor.css */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* src\AuditStock.PresentationWebApp\Pages\Layout\ReconnectModal.razor.css */
.components-reconnect-first-attempt-visible,
.components-reconnect-repeated-attempt-visible,
.components-reconnect-failed-visible,
.components-pause-visible,
.components-resume-failed-visible,
.components-rejoining-animation {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible,
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-paused .components-pause-visible,
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible,
#components-reconnect-modal.components-reconnect-retrying,
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible,
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible {
    display: block;
}


#components-reconnect-modal {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity 0.5s both;
}

#components-reconnect-modal[open] {
    animation: components-reconnect-modal-slideUp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active {
        background-color: #6b9ed2;
    }

.components-rejoining-animation {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}


/* src\AuditStock.PresentationWebApp\Pages\Blog\Components\Author.razor.css */
.author-component {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar-image {
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    font-size: 5rem;
    color: var(--bs-secondary);
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--bs-body-color);
}

.author-name-link {
    text-decoration: none;
    transition: color 0.2s;
}

.author-name-link:hover {
    color: var(--bs-primary);
}

.author-job-title {
    font-size: 0.875rem;
    color: var(--bs-secondary);
}

.author-bio {
    font-size: 0.875rem;
    color: var(--bs-body-color);
    margin-top: 0.5rem;
    line-height: 1.5;
}


/* src\AuditStock.PresentationWebApp\Pages\Blog\Components\PostLike.razor.css */
/* Bouton de réaction Like */
.like-button {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.like-button i {
    margin-right: 0.25rem;
    transition: transform 0.3s ease;
}

.like-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.like-button:not(:disabled):hover i {
    transform: scale(1.2);
}

/* État liked */
.like-button.liked {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.like-button.liked:disabled {
    opacity: 0.9;
    cursor: not-allowed;
}

.like-button.liked i {
    color: white;
    animation: heartbeat 0.6s ease-in-out;
}

/* Animation heartbeat pour le like */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}

/* Versions page - global design alignment */
.versions-page {
    min-height: 100vh;
    padding-top: 4.75rem;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 184, 77, 0.2), transparent 28rem),
        linear-gradient(180deg, #fffdf7 0%, #f7f5ec 34%, #ffffff 100%);
    color: var(--text-strong);
}

.versions-page__hero {
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    background: transparent;
}

.versions-page__body {
    padding: 1.5rem 0 3.5rem;
}

.versions-page__shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.versions-page__shell--hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.25rem, 5vw, 4.5rem) 0;
}

.versions-page__hero-content {
    max-width: 760px;
}

.versions-page__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(24, 138, 92, 0.18);
    border-radius: 999px;
    background: rgba(24, 138, 92, 0.08);
    color: #15724d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.versions-page__title {
    max-width: 12ch;
    margin: 1rem 0 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-wrap: balance;
}

.versions-page__subtitle {
    max-width: 62ch;
    margin: 1.15rem 0 0;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.versions-page__hero-card {
    padding: 1.25rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.12);
}

.versions-page__hero-card-title {
    margin: 0;
    color: #188a5c;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.versions-page__hero-list {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.versions-page__last-update {
    margin: 1.2rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 18, 0.08);
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.versions-page__shell--content {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.versions-page__sidebar {
    position: sticky;
    top: 5.75rem;
}

.versions-page__sidebar-panel {
    max-height: calc(100vh - 7rem);
    overflow: auto;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #fffdf7;
    box-shadow: 0 18px 48px rgba(17, 24, 18, 0.08);
}

.versions-page__sidebar-eyebrow {
    margin: 0 0 0.85rem;
    color: #6a7167;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.versions-page__nav {
    display: grid;
    gap: 0.35rem;
}

.versions-page__nav-link {
    display: block;
    padding: 0.75rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #111812;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
}

.versions-page__nav-link:hover {
    transform: translateX(2px);
    color: #111812;
    background: rgba(24, 138, 92, 0.08);
}

.versions-page__nav-link--active {
    border-color: rgba(24, 138, 92, 0.18);
    background: #ecf8ef;
    color: #15724d;
    box-shadow: none;
}

.versions-page__article,
.versions-page__error {
    min-width: 0;
    border: 1px solid rgba(17, 24, 18, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(17, 24, 18, 0.1);
}

.versions-page__article-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(17, 24, 18, 0.08);
    background: #fffdf7;
}

.versions-page__article-eyebrow {
    margin: 0;
    color: #188a5c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.versions-page__article-title {
    margin: 0.35rem 0 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.versions-page__meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(24, 138, 92, 0.14);
    border-radius: 999px;
    background: #ecf8ef;
    color: #15724d;
    font-size: 0.92rem;
    font-weight: 800;
}

.versions-page__markdown,
.versions-page__error {
    padding: 1.5rem;
}

.versions-page__markdown h1,
.versions-page__markdown h2,
.versions-page__markdown h3,
.versions-page__markdown h4 {
    scroll-margin-top: 6.5rem;
    color: var(--text-strong);
    font-family: var(--font-display);
    letter-spacing: 0;
}

.versions-page__markdown h2 {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 18, 0.08);
}

.versions-page__markdown h3 {
    color: #15724d;
}

.versions-page__markdown p,
.versions-page__markdown li,
.versions-page__markdown blockquote {
    color: var(--text-muted);
    line-height: 1.8;
}

.versions-page__markdown a {
    color: #188a5c;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .versions-page__shell--hero,
    .versions-page__shell--content {
        grid-template-columns: 1fr;
    }

    .versions-page__sidebar {
        position: static;
    }

    .versions-page__sidebar-panel {
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .versions-page {
        padding-top: 4.25rem;
    }

    .versions-page__shell {
        width: min(100%, calc(100% - 1rem));
    }

    .versions-page__title {
        max-width: none;
        font-size: clamp(2.5rem, 12vw, 3.6rem);
    }

    .versions-page__hero-card,
    .versions-page__article-header,
    .versions-page__markdown,
    .versions-page__sidebar-panel,
    .versions-page__error {
        padding: 1rem;
    }
}

