﻿:root {
    --green-950: #0c3026;
    --green-900: #123e31;
    --green-800: #1b5542;
    --green-700: #286850;

    --gold: #bd8b31;
    --gold-light: #dbb664;

    --ivory: #f7f5ef;
    --ivory-light: #fbfaf6;

    --white: #ffffff;

    --text: #16251f;
    --soft: #647069;
    --muted: #89928d;

    --line: rgba(18,62,49,.10);
    --line-strong: rgba(18,62,49,.18);

    --radius: 24px;

    --page: 17px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding-bottom: 78px;

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(189,139,49,.075),
            transparent 28%
        ),
        var(--ivory-light);

    line-height: 1.45;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* BACKGROUND BRAND */

.brand-watermark {
    position: fixed;
    z-index: -1;

    width: 360px;
    height: 360px;

    top: 75px;
    right: -150px;

    opacity: .018;

    pointer-events: none;
}

.brand-watermark img {
    width: 100%;
}


/* HEADER */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;

    height: 66px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        env(safe-area-inset-top)
        var(--page)
        0;

    border-bottom: 1px solid rgba(18,62,49,.06);

    background: rgba(251,250,246,.94);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand img {
    height: 29px;
    width: auto;
}

.desktop-nav {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-button,
.menu-button {
    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: var(--green-900);
}

.language-button {
    font-size: 11px;
    font-weight: 800;
}

.menu-button {
    display: grid;
    place-content: center;
    gap: 5px;
}

.menu-button span {
    width: 18px;
    height: 1.5px;

    background: var(--green-900);

    border-radius: 2px;
}


/* COMMON */

.section,
.hero,
.editorial-section,
.site-footer {
    width: 100%;
    max-width: 1480px;

    margin-left: auto;
    margin-right: auto;
}

.section {
    padding:
        34px
        var(--page)
        0;
}

.eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 17px;
}

.section-head h2 {
    margin: 0;

    color: var(--green-950);

    font-size: 25px;
    line-height: 1;

    letter-spacing: -.045em;
}

.section-note {
    display: none;

    margin: 0;

    color: var(--soft);

    font-size: 12px;
}

.text-link {
    flex: 0 0 auto;

    color: var(--green-800);

    font-size: 12px;
    font-weight: 700;
}


/* HERO */

.hero {
    padding:
        40px
        var(--page)
        14px;
}

.hero-copy {
    max-width: 720px;
}

.hero h1 {
    margin-bottom: 13px;

    color: var(--green-950);

    font-size: clamp(36px, 10vw, 68px);
    line-height: .99;

    letter-spacing: -.058em;
}

.hero-description {
    max-width: 560px;

    margin-bottom: 24px;

    color: var(--soft);

    font-size: 14px;
}

.smart-search {
    max-width: 760px;

    min-height: 56px;

    display: grid;
    grid-template-columns: 26px minmax(0,1fr) 42px;
    align-items: center;

    gap: 6px;

    padding:
        5px
        6px
        5px
        17px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    background: rgba(255,255,255,.96);

    box-shadow:
        0 9px 30px rgba(13,45,35,.065);
}

.smart-search:focus-within {
    border-color:
        rgba(189,139,49,.48);

    box-shadow:
        0 0 0 4px rgba(189,139,49,.07),
        0 9px 30px rgba(13,45,35,.065);
}

.search-icon {
    width: 19px;

    fill: none;

    stroke: var(--green-800);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.smart-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 14px;
}

.smart-search input::placeholder {
    color: #909994;
}

.search-submit {
    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--green-900);

    color: white;

    font-size: 19px;
}


/* AREAS */

.areas-section {
    overflow: hidden;
}

.areas-grid {
    display: flex;

    gap: 10px;

    overflow-x: auto;

    margin-right:
        calc(var(--page) * -1);

    padding:
        2px
        var(--page)
        12px
        1px;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
}

.areas-grid::-webkit-scrollbar {
    display: none;
}

.area-card {
    position: relative;

    flex: 0 0 min(79vw, 292px);

    min-height: 315px;

    display: flex;
    flex-direction: column;

    padding: 17px;

    text-align: left;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(247,245,239,.98)
        );

    color: var(--text);

    scroll-snap-align: start;

    overflow: hidden;

    box-shadow:
        0 7px 24px rgba(17,44,35,.055);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.area-card::after {
    content: "";

    position: absolute;

    width: 145px;
    height: 145px;

    right: -75px;
    bottom: -85px;

    border:
        1px solid rgba(189,139,49,.14);

    border-radius: 50%;
}

.area-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 21px;
}

.area-number {
    color: var(--muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .10em;
}

.area-arrow {
    color: var(--green-900);

    font-size: 17px;
}

.area-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 13px;

    background: var(--green-900);

    color: white;
}

.area-icon svg {
    width: 25px;
    height: 25px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.area-icon circle {
    fill: currentColor;
    stroke: none;
}

.area-card h3 {
    margin-bottom: 6px;

    color: var(--green-950);

    font-size: 22px;
    line-height: 1.05;

    letter-spacing: -.04em;
}

.area-card > p {
    margin-bottom: 19px;

    color: var(--soft);

    font-size: 12px;
}

.area-current {
    margin-top: auto;

    padding-top: 15px;

    border-top: 1px solid var(--line);
}

.area-current span {
    display: block;

    margin-bottom: 5px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.area-current strong {
    display: block;

    color: var(--green-900);

    font-size: 14px;
    line-height: 1.25;
}

.area-card:active {
    transform: scale(.985);
}


/* TOOLS */

.tools-section {
    padding-top: 45px;
}

.tools-grid {
    display: grid;
    gap: 12px;
}

.tool-card {
    position: relative;

    overflow: hidden;

    min-height: 230px;

    display: grid;
    grid-template-columns:
        minmax(115px,.8fr)
        minmax(0,1.2fr);

    gap: 17px;

    padding: 15px;

    border:
        1px solid var(--line);

    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 6px 22px rgba(17,44,35,.05);
}

.tool-brand {
    min-height: 100%;

    display: grid;
    place-items: center;

    padding: 14px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f8f5ec,
            #ffffff
        );

    border:
        1px solid rgba(18,62,49,.07);
}

.tool-brand img {
    width: 100%;
    max-width: 170px;
}

.tool-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.tool-type {
    margin-bottom: 4px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.tool-copy h3 {
    margin-bottom: 6px;

    color: var(--green-950);

    font-size: 24px;

    letter-spacing: -.045em;
}

.tool-copy p {
    margin-bottom: 15px;

    color: var(--soft);

    font-size: 12px;
    line-height: 1.4;
}

.tool-link {
    align-self: flex-start;

    min-height: 39px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding:
        0
        14px;

    border-radius: 999px;

    background: var(--green-900);

    color: white;

    font-size: 11px;
    font-weight: 750;
}

.mandria-brand {
    background:
        linear-gradient(
            145deg,
            #123e31,
            #1c5a45
        );
}

.mandria-wordmark {
    color: white;

    font-size: clamp(17px,5vw,27px);
    font-weight: 850;

    letter-spacing: -.05em;
}

.mandria-wordmark span {
    color: var(--gold-light);
}


/* CONTENT */

.selected-section {
    padding-top: 45px;
}

.content-grid {
    display: grid;

    gap: 10px;
}

.content-card {
    padding: 20px;

    border:
        1px solid var(--line);

    border-radius: 20px;

    background: rgba(255,255,255,.82);
}

.content-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 19px;
}

.content-meta span {
    padding:
        5px
        8px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    color: var(--soft);

    font-size: 9px;
    font-weight: 700;
}

.content-card h3 {
    margin-bottom: 9px;

    color: var(--green-950);

    font-size: 19px;
    line-height: 1.12;

    letter-spacing: -.035em;
}

.content-card p {
    margin-bottom: 20px;

    color: var(--soft);

    font-size: 12px;
}

.content-footer {
    display: flex;
    justify-content: space-between;

    color: var(--green-800);

    font-size: 10px;
    font-weight: 750;
}


/* EDITORIAL */

.editorial-section {
    position: relative;

    margin-top: 45px;

    padding:
        35px
        var(--page);

    overflow: hidden;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background:
        rgba(18,62,49,.035);
}

.editorial-copy {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.editorial-copy p {
    margin: 0;

    color: var(--green-950);

    font-size: 20px;
    line-height: 1.25;

    letter-spacing: -.025em;
}

.editorial-mark {
    position: absolute;

    width: 190px;

    right: -45px;
    top: -45px;

    opacity: .035;
}

.editorial-mark img {
    width: 100%;
}


/* DIALOG */

.area-dialog {
    width: calc(100% - 16px);
    max-width: 520px;

    margin: auto auto 8px;

    padding: 11px 20px 22px;

    border: 1px solid var(--line);
    border-radius: 28px;

    background: var(--ivory-light);

    color: var(--text);

    box-shadow:
        0 20px 70px rgba(8,35,27,.20);
}

.area-dialog::backdrop {
    background: rgba(7,29,23,.28);

    backdrop-filter: blur(4px);
}

.dialog-handle {
    width: 38px;
    height: 4px;

    margin:
        0
        auto
        19px;

    border-radius: 10px;

    background: rgba(18,62,49,.18);
}

.dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.dialog-head h2 {
    margin-bottom: 8px;

    color: var(--green-950);

    font-size: 29px;

    letter-spacing: -.05em;
}

.dialog-close {
    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: rgba(18,62,49,.06);

    color: var(--green-900);

    font-size: 25px;
}

.dialog-description {
    margin-bottom: 20px;

    color: var(--soft);

    font-size: 13px;
}

.dialog-topics {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 23px;
}

.dialog-topics span {
    padding:
        7px
        10px;

    border: 1px solid var(--line);

    border-radius: 999px;

    background: white;

    color: var(--green-900);

    font-size: 10px;
    font-weight: 700;
}

.dialog-actions {
    display: grid;

    gap: 8px;
}

.dialog-primary,
.dialog-secondary {
    min-height: 48px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 750;
}

.dialog-primary {
    border: 0;

    background: var(--green-900);

    color: white;
}

.dialog-secondary {
    border: 1px solid var(--line-strong);

    background: transparent;

    color: var(--green-900);
}


/* FOOTER */

.site-footer {
    padding:
        40px
        var(--page)
        105px;
}

.footer-main {
    margin-bottom: 28px;
}

.footer-logo {
    height: 30px;
    width: auto;

    margin-bottom: 10px;
}

.footer-main p {
    max-width: 350px;

    color: var(--soft);

    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 5px;

    margin-bottom: 26px;

    color: var(--green-800);

    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 9px;
}


/* MOBILE NAV */

.mobile-nav {
    position: fixed;

    z-index: 90;

    left: 9px;
    right: 9px;

    bottom:
        max(
            8px,
            env(safe-area-inset-bottom)
        );

    min-height: 61px;

    display: grid;
    grid-template-columns: repeat(4,1fr);

    padding: 6px;

    border:
        1px solid var(--line);

    border-radius: 20px;

    background: rgba(251,250,246,.95);

    box-shadow:
        0 12px 40px rgba(10,39,30,.14);

    backdrop-filter: blur(18px);
}

.mobile-nav a,
.mobile-nav button {
    min-height: 47px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 14px;

    background: transparent;

    color: var(--soft);

    font-size: 9px;
    font-weight: 700;
}

.mobile-nav .active {
    color: var(--green-900);

    background:
        rgba(18,62,49,.055);
}


/* TABLET */

@media (min-width: 720px) {

    :root {
        --page: 30px;
    }

    body {
        padding-bottom: 0;
    }

    .hero {
        padding-top: 62px;
    }

    .areas-grid {
        display: grid;

        grid-template-columns:
            repeat(3,minmax(0,1fr));

        overflow: visible;

        margin-right: 0;

        padding-right: 0;
    }

    .area-card {
        min-width: 0;
    }

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

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

    .mobile-nav {
        display: none;
    }

    .site-footer {
        padding-bottom: 45px;
    }

    .section-note {
        display: block;
    }

}


/* DESKTOP */

@media (min-width: 1100px) {

    :root {
        --page: 45px;
    }

    .site-header {
        max-width: 1480px;

        margin:
            14px
            auto
            0;

        padding-left: 27px;
        padding-right: 17px;

        border:
            1px solid var(--line);

        border-radius: 21px;

        box-shadow:
            0 4px 20px rgba(17,44,35,.04);
    }

    .brand img {
        height: 31px;
    }

    .desktop-nav {
        display: flex;
        align-items: center;

        gap: 28px;

        margin-left: auto;
        margin-right: 25px;

        color: var(--soft);

        font-size: 11px;
        font-weight: 650;
    }

    .desktop-nav a:hover {
        color: var(--green-900);
    }

    .menu-button {
        display: none;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section {
        padding-top: 55px;
    }

    .section-head h2 {
        font-size: 30px;
    }

    .areas-grid {
        grid-template-columns:
            repeat(6,minmax(0,1fr));

        gap: 10px;
    }

    .area-card {
        min-height: 325px;

        padding: 16px 14px;
    }

    .area-card h3 {
        font-size: 18px;
    }

    .area-card > p {
        min-height: 35px;

        font-size: 10px;
    }

    .area-current strong {
        font-size: 12px;
    }

    .area-card:hover {
        transform: translateY(-4px);

        border-color:
            rgba(189,139,49,.27);

        box-shadow:
            0 13px 30px rgba(17,44,35,.075);
    }

    .tool-card {
        min-height: 270px;

        grid-template-columns:
            minmax(170px,.85fr)
            minmax(0,1.15fr);

        padding: 19px;
    }

    .tool-copy h3 {
        font-size: 28px;
    }

    .tool-copy p {
        font-size: 13px;
    }

    .content-card {
        padding: 24px;
    }

    .content-card h3 {
        font-size: 21px;
    }

    .editorial-section {
        margin-top: 65px;

        padding:
            50px
            var(--page);
    }

    .editorial-copy p {
        font-size: 26px;
    }

}


/* ACCESSIBILITY */

:focus-visible {
    outline:
        3px solid rgba(189,139,49,.42);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
*::before,
*::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

}

/* ============================================================
   AREA PAGE
   ============================================================ */

.area-page {
    width: 100%;
}

.breadcrumb {
    width: 100%;
    max-width: 1480px;

    margin:
        0
        auto;

    padding:
        24px
        var(--page)
        0;

    display: flex;
    align-items: center;

    gap: 7px;

    color: var(--muted);

    font-size: 10px;
}

.breadcrumb a {
    color: var(--green-800);
}


/* HERO */

.area-hero {
    position: relative;

    width: 100%;
    max-width: 1480px;

    margin:
        0
        auto;

    padding:
        44px
        var(--page)
        24px;

    overflow: hidden;
}

.area-hero-copy {
    position: relative;
    z-index: 2;

    max-width: 720px;
}

.area-hero h1 {
    margin-bottom: 7px;

    color: var(--green-950);

    font-size: clamp(50px, 13vw, 94px);
    line-height: .92;

    letter-spacing: -.065em;
}

.area-hero-lead {
    margin-bottom: 16px;

    color: var(--green-800);

    font-size: 20px;
    font-weight: 650;

    letter-spacing: -.025em;
}

.area-hero-text {
    max-width: 560px;

    margin: 0;

    color: var(--soft);

    font-size: 14px;
}

.area-hero-mark {
    position: absolute;

    width: 270px;

    top: 25px;
    right: -95px;

    opacity: .025;

    pointer-events: none;
}

.area-hero-mark img {
    width: 100%;
}


/* AREA SEARCH */

.area-search-section {
    width: 100%;
    max-width: 1480px;

    margin:
        0
        auto;

    padding:
        8px
        var(--page)
        4px;
}

.area-search {
    margin: 0;
}


/* TOPICS */

.topic-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 9px;
}

.topic-card {
    min-height: 170px;

    display: flex;
    flex-direction: column;

    padding: 16px;

    border:
        1px solid var(--line);

    border-radius: 19px;

    background:
        rgba(255,255,255,.82);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.topic-number {
    margin-bottom: 23px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .10em;
}

.topic-card h3 {
    margin-bottom: 6px;

    color: var(--green-950);

    font-size: 17px;

    letter-spacing: -.035em;
}

.topic-card p {
    margin-bottom: 16px;

    color: var(--soft);

    font-size: 11px;
}

.topic-arrow {
    margin-top: auto;

    color: var(--green-800);

    font-size: 17px;
}


/* ARTICLES */

.article-list {
    display: grid;

    gap: 10px;
}

.article-preview {
    padding: 19px;

    border:
        1px solid var(--line);

    border-radius: 20px;

    background:
        rgba(255,255,255,.88);
}

.article-preview-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 18px;
}

.article-preview-meta span {
    padding:
        5px
        8px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    color: var(--soft);

    font-size: 9px;
    font-weight: 700;
}

.article-preview-main h3 {
    margin-bottom: 8px;

    color: var(--green-950);

    font-size: 20px;
    line-height: 1.12;

    letter-spacing: -.035em;
}

.article-preview-main p {
    margin-bottom: 22px;

    color: var(--soft);

    font-size: 12px;
    line-height: 1.5;
}

.article-preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 13px;

    border-top:
        1px solid var(--line);

    color: var(--muted);

    font-size: 9px;
}

.article-preview-bottom button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--green-800);

    font-size: 11px;
    font-weight: 750;
}


/* TOOL */

.area-tool-section {
    padding-top: 47px;
}

.area-tool-card {
    display: grid;
    grid-template-columns: 1fr;

    gap: 18px;

    padding: 17px;

    border:
        1px solid var(--line);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(247,245,239,.96)
        );
}

.area-tool-logo {
    min-height: 190px;

    display: grid;
    place-items: center;

    padding: 24px;

    border-radius: 19px;

    background: white;

    border:
        1px solid var(--line);
}

.area-tool-logo img {
    width: 100%;
    max-width: 230px;
}

.area-tool-copy {
    display: flex;
    flex-direction: column;

    justify-content: center;
}

.area-tool-copy h2 {
    margin-bottom: 8px;

    color: var(--green-950);

    font-size: 31px;

    letter-spacing: -.05em;
}

.area-tool-copy p {
    max-width: 520px;

    margin-bottom: 18px;

    color: var(--soft);

    font-size: 13px;
}


/* METHOD */

.area-method {
    width: 100%;
    max-width: 1480px;

    margin:
        50px
        auto
        0;

    padding:
        38px
        var(--page);

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

    background:
        rgba(18,62,49,.035);
}

.area-method h2 {
    margin-bottom: 10px;

    color: var(--green-950);

    font-size: 26px;

    letter-spacing: -.045em;
}

.area-method p {
    max-width: 760px;

    margin: 0;

    color: var(--soft);

    font-size: 13px;
    line-height: 1.55;
}


/* TABLET */

@media (min-width: 720px) {

    .area-hero {
        padding-top: 65px;
    }

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

    .article-list {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .area-tool-card {
        grid-template-columns:
            minmax(250px,.8fr)
            minmax(0,1.2fr);

        min-height: 300px;
    }

}


/* DESKTOP */

@media (min-width: 1100px) {

    .breadcrumb {
        padding-top: 35px;
    }

    .area-hero {
        padding-top: 75px;
    }

    .area-search-section {
        padding-top: 15px;
    }

    .topic-grid {
        grid-template-columns:
            repeat(6,minmax(0,1fr));
    }

    .topic-card {
        min-height: 195px;
    }

    .topic-card:hover {
        transform: translateY(-3px);

        border-color:
            rgba(189,139,49,.26);

        box-shadow:
            0 10px 24px
            rgba(17,44,35,.06);
    }

    .article-preview {
        padding: 24px;
    }

    .article-preview-main h3 {
        font-size: 22px;
    }

    .area-tool-card {
        min-height: 330px;

        padding: 22px;
    }

    .area-tool-copy h2 {
        font-size: 38px;
    }

}


/* ============================================================
   AREA QUICK PANEL V2
   ============================================================ */

.area-dialog {
    width:
        calc(100% - 12px);

    max-width: 560px;
    max-height:
        min(86vh, 760px);

    margin:
        auto
        auto
        6px;

    padding: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(18,62,49,.11);

    border-radius:
        30px
        30px
        24px
        24px;

    background:
        var(--ivory-light);

    color: var(--text);

    box-shadow:
        0 24px 80px
        rgba(7,31,24,.24);
}

.area-dialog::backdrop {
    background:
        rgba(7,29,23,.32);

    backdrop-filter:
        blur(6px);

    -webkit-backdrop-filter:
        blur(6px);
}


.area-sheet {
    max-height:
        min(86vh, 760px);

    overflow-y: auto;

    overscroll-behavior: contain;

    padding:
        10px
        18px
        18px;
}


.dialog-handle {
    width: 38px;
    height: 4px;

    margin:
        0
        auto
        18px;

    border-radius: 999px;

    background:
        rgba(18,62,49,.18);
}


.dialog-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 16px;
}


.dialog-context {
    display: flex;
    align-items: center;

    gap: 9px;
}


.dialog-number {
    display: grid;
    place-items: center;

    min-width: 29px;
    height: 29px;

    padding: 0 7px;

    border-radius: 9px;

    background:
        rgba(18,62,49,.06);

    color:
        var(--green-800);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;
}


.dialog-context
.eyebrow {
    margin: 0;
}


.dialog-close {
    width: 38px;
    height: 38px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(18,62,49,.055);

    color:
        var(--green-900);

    font-size: 24px;
    line-height: 1;
}


.dialog-hero {
    display: grid;

    grid-template-columns:
        54px
        minmax(0,1fr);

    gap: 14px;

    align-items: center;

    margin-bottom: 19px;
}


.dialog-initial {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    background:
        var(--green-900);

    color: white;

    font-size: 21px;
    font-weight: 800;
}


.dialog-hero-copy h2 {
    margin:
        0
        0
        4px;

    color:
        var(--green-950);

    font-size: 28px;
    line-height: 1;

    letter-spacing: -.05em;
}


.dialog-hero-copy p {
    margin: 0;

    color:
        var(--soft);

    font-size: 12px;
    line-height: 1.4;
}


.dialog-feature {
    margin-bottom: 20px;

    padding:
        14px
        15px;

    border:
        1px solid
        rgba(189,139,49,.15);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(189,139,49,.075),
            rgba(255,255,255,.5)
        );
}


.dialog-feature span {
    display: block;

    margin-bottom: 5px;

    color:
        var(--gold);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .13em;
    text-transform: uppercase;
}


.dialog-feature strong {
    display: block;

    color:
        var(--green-950);

    font-size: 14px;
    line-height: 1.3;
}


.dialog-section {
    margin-bottom: 22px;
}


.dialog-section-label {
    display: block;

    margin-bottom: 10px;

    color:
        var(--soft);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .11em;
    text-transform: uppercase;
}


.dialog-topics {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin: 0;
}


.dialog-topic-chip {
    min-height: 34px;

    padding:
        0
        11px;

    border:
        1px solid
        var(--line);

    border-radius: 999px;

    background:
        rgba(255,255,255,.76);

    color:
        var(--green-900);

    font-size: 10px;
    font-weight: 700;
}


.dialog-topic-chip:active {
    background:
        rgba(18,62,49,.06);
}


.dialog-question {
    padding-top: 18px;

    border-top:
        1px solid
        var(--line);
}


.dialog-question-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}


.dialog-question-head strong {
    color:
        var(--green-950);

    font-size: 15px;
}


.dialog-question-head span {
    color:
        var(--muted);

    font-size: 9px;
}


.dialog-search {
    min-height: 50px;

    display: grid;

    grid-template-columns:
        22px
        minmax(0,1fr)
        38px;

    align-items: center;

    gap: 7px;

    padding:
        5px
        6px
        5px
        14px;

    border:
        1px solid
        var(--line);

    border-radius: 999px;

    background: white;

    box-shadow:
        0 6px 20px
        rgba(17,44,35,.055);
}


.dialog-search:focus-within {
    border-color:
        rgba(189,139,49,.4);

    box-shadow:
        0 0 0 4px
        rgba(189,139,49,.065);
}


.dialog-search svg {
    width: 18px;

    fill: none;

    stroke:
        var(--green-800);

    stroke-width: 1.8;

    stroke-linecap: round;
}


.dialog-search input {
    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color:
        var(--text);

    font-size: 12px;
}


.dialog-search input::placeholder {
    color:
        #929b96;
}


.dialog-search button {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background:
        var(--green-900);

    color: white;

    font-size: 17px;
}


.dialog-search-status {
    min-height: 14px;

    margin:
        7px
        4px
        0;

    color:
        var(--muted);

    font-size: 9px;
}


.dialog-footer {
    margin-top: 10px;
}


.dialog-area-link {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding:
        0
        5px;

    color:
        var(--green-800);

    font-size: 11px;
    font-weight: 750;
}


.dialog-area-link.disabled {
    opacity: .35;

    cursor: default;
}


/* TABLET / DESKTOP */

@media (min-width: 720px) {

    .area-dialog {
        width: 520px;

        max-height:
            calc(100vh - 48px);

        margin:
            auto
            24px
            auto
            auto;

        border-radius: 28px;
    }


    .area-sheet {
        max-height:
            calc(100vh - 48px);

        padding:
            18px
            23px
            23px;
    }


    .dialog-handle {
        display: none;
    }


    .dialog-topbar {
        margin-bottom: 24px;
    }


    .dialog-hero-copy h2 {
        font-size: 34px;
    }


    .dialog-feature {
        padding:
            17px
            18px;
    }


    .dialog-feature strong {
        font-size: 16px;
    }


    .dialog-search {
        min-height: 54px;
    }

}


/* ============================================================
   FATTOR-IA ARTICLE
   ============================================================ */

.article-page {
    width: 100%;
}


.article-kicker {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 20px;
}


.article-kicker span {
    padding:
        5px
        9px;

    border:
        1px solid
        var(--line);

    border-radius: 999px;

    color:
        var(--green-800);

    font-size: 9px;
    font-weight: 750;
}


.article-hero h1 {
    max-width: 900px;

    margin-bottom: 17px;

    color:
        var(--green-950);

    font-size:
        clamp(38px, 10vw, 72px);

    line-height: .99;

    letter-spacing: -.055em;
}


.article-lead {
    max-width: 730px;

    margin-bottom: 22px;

    color:
        var(--soft);

    font-size: 16px;
    line-height: 1.5;
}


.article-info {
    display: flex;
    flex-wrap: wrap;

    gap:
        7px
        20px;

    color:
        var(--muted);

    font-size: 10px;
}


.article-summary {
    width:
        calc(100% - (var(--page) * 2));

    max-width: 1000px;

    margin:
        10px
        auto
        42px;

    padding: 22px;

    border:
        1px solid
        rgba(189,139,49,.16);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(189,139,49,.07),
            rgba(255,255,255,.55)
        );
}


.article-summary p {
    max-width: 850px;

    margin: 0;

    color:
        var(--green-950);

    font-size: 17px;
    line-height: 1.45;
}


.article-body section {
    margin-bottom: 44px;
}


.article-body h2 {
    margin-bottom: 12px;

    color:
        var(--green-950);

    font-size: 27px;

    letter-spacing: -.04em;
}


.article-body p,
.article-body li {
    color: #44534c;

    font-size: 15px;
    line-height: 1.7;
}


.article-note {
    margin-top: 22px;

    padding: 18px;

    border-left:
        3px solid
        var(--gold);

    background:
        rgba(189,139,49,.055);
}


.article-note strong {
    display: block;

    margin-bottom: 5px;

    color:
        var(--green-900);

    font-size: 12px;
}


.article-note p {
    margin: 0;

    font-size: 13px;
}


.article-checklist {
    padding-left: 21px;
}


.article-checklist li {
    margin-bottom: 7px;
}


.article-sources {
    padding-top: 28px;

    border-top:
        1px solid
        var(--line);
}


.source-placeholder {
    margin-top: 18px;

    padding: 16px;

    border:
        1px dashed
        var(--line-strong);

    border-radius: 15px;

    color:
        var(--muted);

    font-size: 11px;
}


.article-review {
    width:
        calc(100% - (var(--page) * 2));

    max-width: 1060px;

    margin:
        50px
        auto
        10px;

    display: grid;

    gap: 10px;

    padding: 22px;

    border-top:
        1px solid
        var(--line);

    border-bottom:
        1px solid
        var(--line);
}


.article-review div {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    color:
        var(--muted);

    font-size: 9px;
}


.article-review strong {
    color:
        var(--green-900);

    font-size: 10px;

    text-align: right;
}


.article-open-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color:
        var(--green-800);

    font-size: 11px;
    font-weight: 750;
}


@media (min-width: 900px) {


    .article-review {
        grid-template-columns:
            repeat(3,1fr);

        gap: 30px;
    }


    .article-review div {
        display: block;
    }


    .article-review span,
.article-review strong {
        display: block;

        text-align: left;
    }


    .article-review span {
        margin-bottom: 4px;
    }

}


/* =========================================================
   FATTOR-IA — TRANSIZIONE TRA CONTENUTI
   ========================================================= */

.fattoria-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: grid;
    place-items: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(219,182,100,.18),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-900)
        );

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.fattoria-transition.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fattoria-transition__content {
    width: min(560px, 90vw);

    text-align: center;

    transform: translateY(12px) scale(.985);
    opacity: 0;

    transition:
        transform .38s cubic-bezier(.2,.8,.2,1),
        opacity .3s ease;
}

.fattoria-transition.is-active
.fattoria-transition__content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.fattoria-transition__brand {
    color: white;

    font-size: clamp(42px, 8vw, 78px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.045em;
}

.fattoria-transition__brand::after {
    content: "";

    display: block;

    width: 54px;
    height: 3px;

    margin: 24px auto 18px;

    border-radius: 999px;

    background: var(--gold);
}

.fattoria-transition__label {
    color: rgba(255,255,255,.72);

    font-size: 12px;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}


/* Vitellaia */

.fattoria-transition[data-area="vitellaia"] {
    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(219,182,100,.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0c3026,
            #174b3b
        );
}


/* Mandria */

.fattoria-transition[data-area="mandria"] {
    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(189,139,49,.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #10293f,
            #173f61
        );
}


/* Fattor-IA generale */

.fattoria-transition[data-area="fattoria"] {
    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(219,182,100,.18),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-800)
        );
}


@media (prefers-reduced-motion: reduce) {

    .fattoria-transition,
.fattoria-transition__content {
        transition-duration: .01ms;
    }

}


/* ==================================================
   FATTOR-IA — SCHEDA ARTICOLO V2
   MOBILE FIRST
   ================================================== */

/* ---------- LAYOUT BASE: SMARTPHONE / TABLET ---------- */

.article-layout {
    max-width: 1060px;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* ---------- TESTATA ---------- */

.fact-sheet-head {
    display: grid;
    gap: 3px;

    padding-bottom: 16px;

    border-bottom: 1px solid var(--line);
}

.fact-sheet-head .eyebrow {
    margin: 0 0 4px;
}

.fact-sheet-head > strong {
    color: var(--green-950);

    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.fact-sheet-head > span:last-child {
    width: fit-content;

    margin-top: 4px;
    padding: 4px 8px;

    border-radius: 999px;

    background: rgba(12, 75, 59, .06);

    color: var(--green-800);

    font-size: 11px;
    font-weight: 700;
}

.fact-sheet-section > strong {
    display: block;

    margin-bottom: 7px;

    color: var(--green-800);

    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;

    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ---------- SEZIONI ---------- */

.fact-sheet-section {
    padding: 17px 0;

    border-bottom: 1px solid var(--line);
}

/* ---------- IN PRATICA ---------- */

.fact-sheet-practical ul {
    display: grid;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.fact-sheet-practical li {
    position: relative;

    margin: 0;
    padding-left: 17px;

    color: #44534c;

    font-size: 13.5px;
    line-height: 1.5;
}

.fact-sheet-practical li::before {
    content: "";

    position: absolute;

    left: 0;
    top: .62em;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--gold, #c58b24);
}

/* ---------- NUMERI UTILI ---------- */

.fact-sheet-number-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fact-sheet-number-grid > div {
    min-width: 0;

    padding: 11px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: #fff;
}

.fact-sheet-number-grid b {
    display: block;

    margin-bottom: 2px;

    color: var(--green-950);

    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.fact-sheet-number-grid span {
    display: block;

    color: var(--soft);

    font-size: 10.5px;
    line-height: 1.3;

    overflow-wrap: anywhere;
}

/* ---------- ATTENZIONE ---------- */

.fact-sheet-warning {
    margin-top: 0;
}

.fact-sheet-warning p {
    margin: 0;

    color: #5b5548;

    font-size: 13px;
    line-height: 1.55;
}

/* ---------- EVIDENZA ---------- */

.fact-sheet-evidence {
    display: grid;
    gap: 10px;
}

.fact-sheet-evidence > strong {
    margin-bottom: 0;
}

.evidence-item {
    min-width: 0;

    padding: 11px 12px;

    border-radius: 12px;

    background: #f8faf8;
}

.evidence-item > span {
    display: inline-flex;

    margin-bottom: 5px;
    padding: 3px 7px;

    border-radius: 999px;

    color: var(--green-800);
    background: rgba(12, 75, 59, .07);

    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
}

.evidence-item p {
    margin: 0;

    color: #44534c;

    font-size: 12px;
    line-height: 1.45;
}

.evidence-item:last-child > span {
    color: #7a5a16;
    background: rgba(197, 139, 36, .10);
}

/* ---------- TABLET ---------- */

@media (min-width: 700px) {

    .article-fact-sheet {
        padding: 24px;
    }

    .fact-sheet-number-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .fact-sheet-evidence {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fact-sheet-evidence > strong {
        grid-column: 1 / -1;
    }

}

/* ---------- DESKTOP AMPIO ---------- */

@media (min-width: 1100px) {

    .article-layout {
        max-width: 1180px;

        grid-template-columns:
            minmax(0, 1fr)
            320px;

        gap: 44px;
    }

    .article-body {
        order: 1;
    }

    .article-aside {
        order: 2;

        position: sticky;
        top: 100px;

        align-self: start;
    }

    .article-fact-sheet {
        padding: 20px;
    }

    .fact-sheet-number-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fact-sheet-evidence {
        grid-template-columns: 1fr;
    }

    .fact-sheet-evidence > strong {
        grid-column: auto;
    }

}


/* ==================================================
   FATTOR-IA — FOCUS CONCETTUALE
   ================================================== */

.fact-sheet-concept {
    margin-top: 16px;
    padding: 17px;

    border: 1px solid rgba(197, 139, 36, .25);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(197, 139, 36, .07),
            rgba(255,255,255,1) 55%
        );
}

.fact-sheet-concept-label {
    display: block;

    margin-bottom: 6px;

    color: #8a651c;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.fact-sheet-concept > strong {
    display: block;

    margin-bottom: 7px;

    color: var(--green-950);

    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.fact-sheet-concept-intro {
    margin: 0 0 14px;

    color: #44534c;

    font-size: 13px;
    line-height: 1.5;
}

.fact-sheet-concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.fact-sheet-concept-grid > div {
    padding: 10px 11px;

    border-radius: 11px;

    background: rgba(255,255,255,.72);
}

.fact-sheet-concept-grid b {
    display: block;

    margin-bottom: 2px;

    color: var(--green-800);

    font-size: 12px;
    line-height: 1.3;
}

.fact-sheet-concept-grid span {
    display: block;

    color: var(--soft);

    font-size: 10.5px;
    line-height: 1.35;
}


/* tablet: sfrutta la larghezza disponibile */

@media (min-width: 700px) and (max-width: 1099px) {

    .fact-sheet-concept-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}


/* desktop sidebar: torna compatto */

@media (min-width: 1100px) {

    .fact-sheet-concept {
        padding: 15px;
    }

    .fact-sheet-concept-grid {
        grid-template-columns: 1fr;
    }

}

/* ==================================================
   FATTOR-IA — ARTICOLO INTEGRATO
   MOBILE FIRST
   ================================================== */

.article-layout {
    display: block;
    max-width: 1060px;
}

/* CONCETTO CHIAVE */

.article-concept {
    width: calc(100% - (var(--page) * 2));
    max-width: 1000px;

    margin: 10px auto 42px;
    padding: 20px;

    border: 1px solid rgba(197,139,36,.25);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(197,139,36,.07),
            #fff 60%
        );
}

.article-concept h2 {
    margin: 5px 0 8px;

    color: var(--green-950);

    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.article-concept-lead {
    max-width: 680px;

    margin: 0 0 17px;

    color: #44534c;

    font-size: 14px;
    line-height: 1.55;
}

.article-concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.article-concept-grid > div {
    padding: 12px;

    border: 1px solid rgba(12,75,59,.08);
    border-radius: 13px;

    background: rgba(255,255,255,.75);
}

.article-concept-grid strong,
.article-concept-grid span {
    display: block;
}

.article-concept-grid strong {
    margin-bottom: 3px;

    color: var(--green-800);

    font-size: 13px;
}

.article-concept-grid span {
    color: var(--soft);

    font-size: 11px;
    line-height: 1.35;
}


/* NUMERI NEL CONTESTO */

.article-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;

    margin-top: 18px;
}

.article-metrics > div {
    padding: 13px 14px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: #fafbf9;
}

.article-metrics strong,
.article-metrics span {
    display: block;
}

.article-metrics strong {
    color: var(--green-950);

    font-size: 21px;
    line-height: 1.1;
}

.article-metrics span {
    margin-top: 4px;

    color: var(--soft);

    font-size: 11px;
}


/* PARTE PRATICA ED EVIDENZA */

.article-practical {
    padding: 20px;

    border-radius: 18px;

    background: #f7f9f7;
}

.article-evidence {
    padding-top: 20px;

    border-top: 2px solid rgba(197,139,36,.28);
}


/* TAG */

.article-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    max-width: 820px;

    margin: 0 auto 34px;
}

.article-topic-tags span {
    padding: 5px 9px;

    border: 1px solid var(--line);
    border-radius: 999px;

    color: var(--green-800);
    background: #fff;

    font-size: 10px;
    font-weight: 700;
}


/* TABLET */

@media (min-width: 600px) {

    .article-concept {
        padding: 24px;
    }

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

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

}


/* DESKTOP */

@media (min-width: 900px) {

    .article-concept-grid {
        grid-template-columns:
            repeat(4, minmax(0,1fr));
    }

}



/* FATTOR-IA CONCEPT TICKER */

.article-concept-ticker {
    padding: 18px;
}

.concept-ticker-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.concept-ticker-caption {
    color: var(--soft);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.concept-formula {
    display: grid;
    grid-template-columns: auto auto 1fr auto 1fr;
    gap: 7px;
    align-items: stretch;
    margin-top: 18px;
}

.concept-formula-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.concept-formula-name strong {
    color: var(--green-950);
    font-size: 16px;
}

.concept-formula-name span {
    color: var(--soft);
    font-size: 9px;
}

.concept-formula-equals,
.concept-formula-plus {
    align-self: center;
    color: var(--green-800);
    font-weight: 700;
}

.concept-main-tab,
.concept-fraction-tabs button {
    border: 1px solid rgba(12,75,59,.13);
    background: #fff;
    color: var(--green-950);
    cursor: pointer;
}

.concept-main-tab {
    min-width: 0;
    padding: 10px;
    border-radius: 12px;
}

.concept-main-tab span,
.concept-main-tab strong {
    display: block;
}

.concept-main-tab span {
    font-size: 10px;
}

.concept-main-tab strong {
    margin-top: 2px;
    font-size: 16px;
}

.concept-main-tab.active,
.concept-fraction-tabs button.active {
    border-color: rgba(197,139,36,.65);
    background: var(--green-800);
    color: #fff;
}

.concept-solid-breakdown {
    margin-top: 10px;
}

.concept-breakdown-label {
    display: block;
    margin-bottom: 6px;
    color: var(--soft);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.concept-fraction-tabs {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 6px;
}

.concept-fraction-tabs button {
    padding: 8px 6px;
    border-radius: 10px;
}

.concept-fraction-tabs span,
.concept-fraction-tabs strong {
    display: block;
}

.concept-fraction-tabs span {
    font-size: 9.5px;
}

.concept-fraction-tabs strong {
    margin-top: 2px;
    font-size: 12px;
}

.concept-detail-panel {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(12,75,59,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.68);
}

.concept-detail-label {
    color: #a36f13;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.concept-detail-panel h3 {
    margin: 3px 0 4px;
    color: var(--green-950);
    font-size: 19px;
}

.concept-detail-copy p {
    margin: 0;
    color: #44534c;
    font-size: 11px;
    line-height: 1.45;
}

.concept-term-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.concept-term-pills button {
    padding: 6px 9px;
    border: 1px solid rgba(12,75,59,.15);
    border-radius: 999px;
    background: #fff;
    color: var(--green-800);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.concept-term-pills button.active {
    background: var(--green-800);
    color: #fff;
}

.concept-inline-explanation {
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(12,75,59,.045);
}

.concept-inline-explanation strong {
    color: var(--green-950);
    font-size: 12px;
}

.concept-inline-explanation p {
    margin: 3px 0 0;
    color: #44534c;
    font-size: 10.5px;
    line-height: 1.45;
}

@media (max-width: 599px) {

    .concept-formula {
        grid-template-columns: 1fr auto 1fr;
    }

    .concept-formula-name {
        grid-column: 1 / -1;
        flex-direction: row;
        gap: 6px;
        align-items: baseline;
    }

    .concept-formula-equals {
        display: none;
    }

    .concept-fraction-tabs {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .concept-ticker-caption {
        display: none;
    }

}

/* FATTOR-IA - AFFORDANCE INTERATTIVA TESTATE */

/* Indicazione esplicita */
.concept-ticker-caption {
    display: block;
    color: var(--green-800);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: none;
}

/* Tutti gli elementi interattivi */
[data-concept-section],
[data-concept-term] {
    cursor: pointer;
    touch-action: manipulation;
}

/* Categorie principali */
.concept-main-tab,
.concept-fraction-tabs button {
    position: relative;
    font-weight: 700;
    border-color: rgba(12,75,59,.22);
    box-shadow:
        0 2px 8px rgba(12,75,59,.035);
}

.concept-main-tab:hover,
.concept-main-tab:focus-visible,
.concept-fraction-tabs button:hover,
.concept-fraction-tabs button:focus-visible {
    border-color: rgba(197,139,36,.75);
    background: rgba(197,139,36,.07);
    outline: none;
}

/* Stato attivo ben riconoscibile */
.concept-main-tab.active,
.concept-fraction-tabs button.active {
    border-color: var(--green-800);
    background: var(--green-800);
    color: #fff;
    box-shadow:
        0 5px 14px rgba(12,75,59,.13);
}

/* Termini tecnici approfondibili */
.concept-term-pills button {
    font-weight: 700;

    text-decoration-line: underline;
    text-decoration-color: rgba(197,139,36,.85);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;

    border-color: rgba(12,75,59,.20);
}

/* Termine selezionato: non serve più la sottolineatura */
.concept-term-pills button.active {
    background: var(--green-800);
    color: #fff;
    border-color: var(--green-800);

    text-decoration: none;

    box-shadow:
        0 4px 12px rgba(12,75,59,.12);
}

/* Feedback da tastiera */
.concept-term-pills button:focus-visible {
    outline: 2px solid rgba(197,139,36,.70);
    outline-offset: 2px;
}

/* Su smartphone la guida NON deve sparire */
@media (max-width: 599px) {

    .concept-ticker-heading {
        align-items: flex-start;
    }

    .concept-ticker-caption {
        display: block;
        max-width: 130px;
        font-size: 9px;
        line-height: 1.3;
        text-align: right;
    }

}

/* CLEAN INTERACTIVE PILLS */

.concept-term-pills::before {
    content: "Approfondisci i componenti";
    display: block;
    width: 100%;
    margin-bottom: 6px;
    color: var(--soft);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.concept-term-pills button {
    background: #fcfcfa;
    color: var(--green-800);
    border: 1px solid rgba(12,75,59,.18);
    box-shadow: 0 1px 4px rgba(12,75,59,.04);

    font-weight: 700;

    text-decoration: none !important;
}

.concept-term-pills button:hover,
.concept-term-pills button:focus-visible {
    background: rgba(197,139,36,.06);
    border-color: rgba(197,139,36,.75);
    box-shadow: 0 4px 10px rgba(12,75,59,.08);
    transform: translateY(-1px);
    outline: none;
}

.concept-term-pills button.active {
    background: var(--green-800);
    color: #fff;
    border-color: var(--green-800);
    box-shadow: 0 5px 14px rgba(12,75,59,.14);
}

/* FATTOR-IA ARTICLE SYSTEM V1 */

/* Componenti editoriali riutilizzabili: non specifici del colostro */

.article-body section {
    scroll-margin-top: 90px;
}

.article-body section > p {
    max-width: 800px;
}

.article-tabs {
    margin: 22px 0 10px;
    border-top: 1px solid rgba(12,75,59,.13);
    border-bottom: 1px solid rgba(12,75,59,.13);
}

.article-tab-list {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(12,75,59,.10);
}

.article-tab-list button {
    position: relative;
    flex: 0 0 auto;
    padding: 13px 0 11px;
    border: 0;
    background: transparent;
    color: #52615b;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.article-tab-list button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: transparent;
}

.article-tab-list button.active {
    color: var(--green-950);
}

.article-tab-list button.active::after {
    background: var(--gold, #c58b24);
}

.article-tab-panel {
    padding: 16px 0 18px;
}

.article-tab-panel strong {
    display: block;
    color: var(--green-950);
    font-size: 19px;
}

.article-tab-panel p {
    max-width: 720px;
    margin: 6px 0 0;
    color: #44534c;
    font-size: 13px;
    line-height: 1.6;
}

.article-data-strip {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin: 22px 0 8px;
    padding: 18px 0;
    border-top: 1px solid rgba(12,75,59,.14);
    border-bottom: 1px solid rgba(12,75,59,.14);
}

.article-data-strip > div {
    padding: 0 18px;
    border-right: 1px solid rgba(12,75,59,.10);
}

.article-data-strip > div:first-child {
    padding-left: 0;
}

.article-data-strip > div:last-child {
    border-right: 0;
}

.article-data-strip strong,
.article-data-strip span {
    display: block;
}

.article-data-strip strong {
    color: var(--green-950);
    font-size: clamp(20px,3vw,31px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.article-data-strip span {
    margin-top: 5px;
    color: var(--soft);
    font-size: 11px;
    line-height: 1.35;
}

.article-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    margin: 24px 0 8px;
    padding-top: 20px;
}

.article-timeline::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 12%;
    left: 12%;
    height: 1px;
    background: rgba(12,75,59,.22);
}

.article-timeline-step {
    position: relative;
    padding: 8px 18px 0 0;
}

.article-timeline-dot {
    position: absolute;
    top: -19px;
    left: 0;
    width: 11px;
    height: 11px;
    border: 2px solid var(--green-800);
    border-radius: 50%;
    background: #fff;
}

.article-timeline-step strong {
    color: var(--green-950);
    font-size: 13px;
}

.article-timeline-step p {
    margin: 5px 0 0;
    color: #52615b;
    font-size: 11.5px;
    line-height: 1.55;
}

.article-process-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 9px;
    align-items: center;
    margin: 23px 0;
    padding: 16px;
    border: 1px solid rgba(12,75,59,.12);
    border-radius: 15px;
    background: rgba(12,75,59,.022);
}

.article-process-flow > div strong,
.article-process-flow > div span {
    display: block;
}

.article-process-flow > div strong {
    color: var(--green-950);
    font-size: 12px;
}

.article-process-flow > div span {
    margin-top: 4px;
    color: #52615b;
    font-size: 10.5px;
    line-height: 1.4;
}

.article-process-arrow {
    color: #a36f13;
    font-size: 16px;
}

.article-passive-figure {
    max-width: 780px;
    margin: 23px 0 12px;
    padding: 18px;
    border: 1px solid rgba(12,75,59,.12);
    border-radius: 15px;
    background: #fff;
}

.article-passive-row {
    display: grid;
    grid-template-columns: 150px minmax(0,1fr);
    gap: 18px;
    align-items: center;
    min-height: 48px;
}

.article-passive-row + .article-passive-row {
    border-top: 1px solid rgba(12,75,59,.08);
}

.article-passive-row > div strong,
.article-passive-row > div span {
    display: block;
}

.article-passive-row > div strong {
    color: var(--green-950);
    font-size: 15px;
}

.article-passive-row > div span {
    margin-top: 2px;
    color: #52615b;
    font-size: 10.5px;
}

.article-passive-bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(12,75,59,.18);
}

.article-passive-row.excellent .article-passive-bar { width: 100%; background: rgba(12,75,59,.86); }
.article-passive-row.good .article-passive-bar { width: 76%; background: rgba(12,75,59,.62); }
.article-passive-row.fair .article-passive-bar { width: 52%; background: rgba(12,75,59,.40); }
.article-passive-row.poor .article-passive-bar { width: 28%; background: rgba(12,75,59,.20); }

.article-compare {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
    max-width: 780px;
    margin: 24px 0 12px;
    border-top: 1px solid rgba(12,75,59,.13);
    border-bottom: 1px solid rgba(12,75,59,.13);
}

.article-compare > div {
    padding: 17px 20px 17px 0;
}

.article-compare > div + div {
    padding-left: 20px;
    border-left: 1px solid rgba(12,75,59,.10);
}

.article-compare-label {
    display: block;
    margin-bottom: 5px;
    color: #a36f13;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.article-compare strong {
    color: var(--green-950);
    font-size: 13px;
}

.article-compare p,
.article-note-line {
    color: #52615b;
    font-size: 11.5px;
    line-height: 1.55;
}

.article-compare p {
    margin: 5px 0 0;
}

.article-note-line {
    max-width: 780px;
    margin: 10px 0 0;
}

.article-app-demo {
    max-width: 650px;
    margin: 26px auto 6px;
    overflow: hidden;
    border: 1px solid rgba(12,75,59,.13);
    border-radius: 16px;
    background: #fff;
}

.article-app-demo-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    border-bottom: 1px solid rgba(12,75,59,.09);
    background: rgba(12,75,59,.025);
}

.article-app-demo-head img {
    width: auto;
    max-width: 125px;
    max-height: 34px;
    object-fit: contain;
}

.article-app-demo-head strong,
.article-app-demo-head span {
    display: block;
}

.article-app-demo-head strong {
    color: var(--green-950);
    font-size: 13px;
}

.article-app-demo-head span {
    margin-top: 2px;
    color: var(--soft);
    font-size: 10px;
}

.article-app-demo-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.article-app-demo-grid > div {
    padding: 15px 16px;
    border-right: 1px solid rgba(12,75,59,.08);
    border-bottom: 1px solid rgba(12,75,59,.08);
}

.article-app-demo-grid > div:nth-child(3n) {
    border-right: 0;
}

.article-app-demo-grid span,
.article-app-demo-grid strong {
    display: block;
}

.article-app-demo-grid span {
    color: var(--soft);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.article-app-demo-grid strong {
    margin-top: 4px;
    color: var(--green-950);
    font-size: 15px;
}

.article-app-demo-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
}

.article-app-demo-foot span {
    color: var(--soft);
    font-size: 10px;
}

.article-app-demo-foot strong {
    color: var(--green-800);
    font-size: 10px;
}

/* I termini tecnici restano editoriali: niente pill da dashboard */
.article-concept-ticker .concept-term-pills {
    gap: 5px 16px;
    align-items: baseline;
}

.article-concept-ticker .concept-term-pills::before {
    content: "Approfondisci";
    margin-right: 2px;
}

.article-concept-ticker .concept-term-pills button,
.article-concept-ticker .concept-term-pills button:hover,
.article-concept-ticker .concept-term-pills button:focus-visible,
.article-concept-ticker .concept-term-pills button.active {
    padding: 5px 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    color: var(--green-800);
}

.article-concept-ticker .concept-term-pills button {
    border-bottom: 1px solid rgba(12,75,59,.18);
}

.article-concept-ticker .concept-term-pills button.active {
    border-bottom: 2px solid #c58b24;
    color: var(--green-950);
}

@media (max-width: 699px) {

    .article-data-strip {
        grid-template-columns: 1fr;
        padding: 4px 0;
    }

    .article-data-strip > div,
.article-data-strip > div:first-child {
        padding: 13px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(12,75,59,.08);
    }

    .article-data-strip > div:last-child {
        border-bottom: 0;
    }

    .article-timeline {
        display: block;
        padding: 0 0 0 18px;
    }

    .article-timeline::before {
        top: 6px;
        bottom: 7px;
        left: 4px;
        width: 1px;
        height: auto;
    }

    .article-timeline-step {
        padding: 0 0 22px 16px;
    }

    .article-timeline-dot {
        top: 3px;
        left: -19px;
    }

    .article-process-flow {
        grid-template-columns: 1fr;
    }

    .article-process-arrow {
        transform: rotate(90deg);
        justify-self: start;
    }

    .article-passive-row {
        grid-template-columns: 112px minmax(0,1fr);
        gap: 12px;
    }

    .article-compare {
        grid-template-columns: 1fr;
    }

    .article-compare > div,
.article-compare > div + div {
        padding: 15px 0;
        border-left: 0;
    }

    .article-compare > div + div {
        border-top: 1px solid rgba(12,75,59,.09);
    }

    .article-app-demo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .article-app-demo-grid > div:nth-child(3n) {
        border-right: 1px solid rgba(12,75,59,.08);
    }

    .article-app-demo-grid > div:nth-child(2n) {
        border-right: 0;
    }
}

/* FATTOR-IA EDITORIAL DESIGN SYSTEM V2 */

/*
   Reference visiva:
   - bianco panna / verde chiarissimo
   - verde scuro editoriale
   - oro solo come accento
   - bordi sottili
   - ombre assenti o minime
   - componenti immersi nel flusso del testo
*/

:root {
    --fia-green-950: #103f35;
    --fia-green-800: #1f5b4c;
    --fia-green-500: #6b8f73;
    --fia-green-100: #e9f1ea;
    --fia-gold: #c9a961;
    --fia-cream: #fbfaf6;
    --fia-text-soft: #6b7280;
    --fia-border: rgba(16,63,53,.13);
}

.article-page,
.article-body {
    background: var(--fia-cream);
}

.article-layout {
    display: block;
}

.article-body {
    max-width: 920px;
    margin: 0 auto;
}

.article-body section {
    margin: 0 0 58px;
}

.article-body section > p {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.78;
}

.article-body h2 {
    max-width: 820px;
    color: var(--fia-green-950);
}

.article-hero {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.editorial-card,
.operational-timeline-card,
.transfer-card,
.vitellaia-app-card {
    margin: 26px 0;
    border: 1px solid var(--fia-border);
    border-radius: 16px;
    background: var(--fia-green-100);
    box-shadow: none;
}

.editorial-card {
    padding: 22px;
}

.editorial-card-head,
.transfer-card-head,
.vitellaia-app-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.editorial-card-head {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(16,63,53,.11);
}

.editorial-card-head h3,
.transfer-card-head h3 {
    margin: 4px 0 0;
    color: var(--fia-green-950);
    font-size: 18px;
    line-height: 1.25;
}

.interaction-hint,
.transfer-card-head > span {
    color: var(--fia-text-soft);
    font-size: 10.5px;
    line-height: 1.35;
    text-align: right;
}

.composition-row {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    margin-top: 17px;
}

.composition-item {
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    border-right: 1px solid rgba(16,63,53,.14);
    background: transparent;
    color: var(--fia-green-950);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.composition-item:last-child {
    border-right: 0;
}

.composition-item strong,
.composition-item span {
    display: block;
}

.composition-item strong {
    font-size: clamp(22px,3.1vw,32px);
    line-height: 1;
    letter-spacing: -.035em;
}

.composition-item span {
    margin-top: 7px;
    color: #627067;
    font-size: 12px;
}

.composition-item.active {
    box-shadow: inset 0 -2px 0 var(--fia-gold);
}

.composition-item:hover,
.composition-item:focus-visible {
    background: rgba(255,255,255,.34);
    outline: none;
}

.editorial-detail-output {
    margin-top: 16px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(16,63,53,.10);
}

.editorial-detail-output strong {
    color: var(--fia-green-950);
    font-size: 13px;
}

.editorial-detail-output p {
    max-width: 720px;
    margin: 5px 0 0;
    color: #52615b;
    font-size: 12px;
    line-height: 1.55;
}

.technical-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    margin-top: 9px;
}

.technical-terms span {
    color: var(--fia-green-800);
    font-size: 11px;
    border-bottom: 1px solid rgba(201,169,97,.8);
}

.composition-bioactives {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(16,63,53,.10);
}

.composition-bioactives strong,
.composition-bioactives span,
.composition-bioactives small {
    display: block;
}

.composition-bioactives strong {
    color: var(--fia-green-950);
    font-size: 11px;
}

.composition-bioactives span {
    margin-top: 5px;
    color: var(--fia-green-800);
    font-size: 11px;
    line-height: 1.5;
}

.composition-bioactives small,
.editorial-card-note {
    color: var(--fia-text-soft);
    font-size: 10px;
    line-height: 1.5;
}

.composition-bioactives small {
    margin-top: 6px;
}

.editorial-card-note {
    margin: 13px 0 0;
}

.editorial-tabs {
    margin: 26px 0 18px;
}

.editorial-tab-list {
    display: flex;
    gap: 34px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(16,63,53,.14);
}

.editorial-tab-list button {
    position: relative;
    flex: 0 0 auto;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    color: #61706a;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.editorial-tab-list button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: transparent;
}

.editorial-tab-list button.active {
    color: var(--fia-green-950);
    font-weight: 750;
}

.editorial-tab-list button.active::after {
    background: var(--fia-gold);
}

.editorial-tab-panel {
    display: grid;
    grid-template-columns: minmax(130px,auto) 1fr;
    gap: 22px;
    align-items: center;
    margin-top: 14px;
    padding: 18px;
    border-radius: 14px;
    background: var(--fia-green-100);
}

.editorial-tab-panel[hidden] {
    display: none;
}

.quality-number {
    color: var(--fia-green-950);
    font-size: clamp(26px,4vw,42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.editorial-tab-panel strong {
    color: var(--fia-green-950);
}

.editorial-tab-panel p {
    margin: 5px 0 0;
    color: #52615b;
    font-size: 12px;
    line-height: 1.55;
}

.editorial-callout {
    max-width: 780px;
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 5px solid var(--fia-gold);
    border-radius: 0 12px 12px 0;
    background: rgba(255,255,255,.72);
}

.editorial-callout strong {
    color: var(--fia-green-950);
    font-size: 15px;
}

.editorial-callout p {
    margin: 5px 0 0;
    color: #52615b;
    font-size: 12.5px;
    line-height: 1.55;
}

.operational-timeline-card {
    padding: 18px 20px 21px;
}

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

.operational-metrics > div {
    padding: 0 20px;
    border-right: 1px solid rgba(16,63,53,.13);
}

.operational-metrics > div:first-child {
    padding-left: 0;
}

.operational-metrics > div:last-child {
    border-right: 0;
}

.operational-metrics strong,
.operational-metrics span {
    display: block;
}

.operational-metrics strong {
    color: var(--fia-green-950);
    font-size: clamp(22px,3vw,30px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.operational-metrics span {
    margin-top: 5px;
    color: var(--fia-text-soft);
    font-size: 11px;
}

.timeline-track {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: start;
    margin-top: 24px;
}

.timeline-point {
    position: relative;
    min-width: 86px;
    padding-top: 18px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--fia-green-800);
}

.timeline-line {
    height: 1px;
    margin-top: 5px;
    background: rgba(16,63,53,.40);
}

.timeline-point strong,
.timeline-point small {
    display: block;
}

.timeline-point strong {
    color: var(--fia-green-950);
    font-size: 11px;
}

.timeline-point small {
    margin-top: 3px;
    color: var(--fia-text-soft);
    font-size: 9.5px;
    line-height: 1.3;
}

.process-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin: 24px 0;
    padding: 17px 18px;
    border: 1px solid var(--fia-border);
    border-radius: 15px;
    background: rgba(233,241,234,.58);
}

.process-flow div strong,
.process-flow div span {
    display: block;
}

.process-flow div strong {
    color: var(--fia-green-950);
    font-size: 12px;
}

.process-flow div span {
    margin-top: 4px;
    color: #66736d;
    font-size: 10px;
    line-height: 1.4;
}

.process-flow > span {
    color: var(--fia-gold);
}

.transfer-card {
    padding: 18px 20px;
    background: #fff;
}

.transfer-card-head {
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(16,63,53,.10);
}

.transfer-row {
    display: grid;
    grid-template-columns: 110px 130px minmax(0,1fr);
    gap: 16px;
    align-items: center;
    min-height: 49px;
}

.transfer-row + .transfer-row {
    border-top: 1px solid rgba(16,63,53,.07);
}

.transfer-row strong {
    color: var(--fia-green-950);
    font-size: 12px;
}

.transfer-threshold {
    color: #61706a;
    font-size: 11px;
}

.transfer-bar-track {
    height: 12px;
    overflow: hidden;
    border-radius: 3px;
    background: #edf0ed;
}

.transfer-bar-track span {
    display: block;
    height: 100%;
    background: var(--fia-green-500);
}

.transfer-excellent .transfer-bar-track span { width: 100%; background: var(--fia-green-800); }
.transfer-good .transfer-bar-track span { width: 76%; }
.transfer-fair .transfer-bar-track span { width: 52%; opacity: .78; }
.transfer-poor .transfer-bar-track span { width: 28%; opacity: .52; }

.brix-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin: 26px 0 12px;
    padding: 18px 20px;
    border: 1px solid var(--fia-border);
    border-radius: 15px;
    background: rgba(233,241,234,.48);
}

.brix-comparison > div:not(.brix-not-equal) > span,
.brix-comparison > div:not(.brix-not-equal) > strong {
    display: block;
}

.brix-comparison > div:not(.brix-not-equal) > span {
    color: var(--fia-gold);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.brix-comparison > div:not(.brix-not-equal) > strong {
    margin-top: 4px;
    color: var(--fia-green-950);
    font-size: 14px;
}

.brix-comparison p {
    margin: 5px 0 0;
    color: #61706a;
    font-size: 11px;
    line-height: 1.5;
}

.brix-not-equal {
    color: var(--fia-green-800);
    font-size: 25px;
    font-weight: 700;
}

.article-clarification {
    color: #52615b;
    font-size: 13px !important;
}

.recording-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin: 18px 0 24px;
}

.recording-list span {
    color: #53625b;
    font-size: 11px;
}

.recording-list span::before {
    content: "•";
    margin-right: 7px;
    color: var(--fia-gold);
}

.vitellaia-app-card {
    overflow: hidden;
    background: rgba(233,241,234,.70);
}

.vitellaia-app-head {
    align-items: center;
    padding: 15px 17px;
    border-bottom: 1px solid rgba(16,63,53,.10);
}

.vitellaia-app-head img {
    width: auto;
    max-width: 115px;
    max-height: 38px;
    object-fit: contain;
}

.vitellaia-app-head > div {
    flex: 1;
}

.vitellaia-app-head > div strong,
.vitellaia-app-head > div span {
    display: block;
}

.vitellaia-app-head > div strong {
    color: var(--fia-green-950);
    font-size: 14px;
}

.vitellaia-app-head > div span {
    margin-top: 2px;
    color: var(--fia-text-soft);
    font-size: 10px;
}

.vitellaia-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(16,63,53,.12);
    border-radius: 999px;
    background: #fff;
    color: var(--fia-green-950);
    font-size: 9.5px;
    white-space: nowrap;
}

.vitellaia-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39a74a;
}

.vitellaia-app-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    background: rgba(255,255,255,.68);
}

.vitellaia-app-grid > div {
    padding: 16px 18px;
    border-right: 1px solid rgba(16,63,53,.09);
    border-bottom: 1px solid rgba(16,63,53,.09);
}

.vitellaia-app-grid > div:nth-child(3n) {
    border-right: 0;
}

.vitellaia-app-grid span,
.vitellaia-app-grid strong {
    display: block;
}

.vitellaia-app-grid span {
    color: var(--fia-text-soft);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.vitellaia-app-grid strong {
    margin-top: 5px;
    color: var(--fia-green-950);
    font-size: 17px;
}

@media (max-width: 760px) {

    .article-body section {
        margin-bottom: 44px;
    }

    .editorial-card,
.operational-timeline-card,
.transfer-card {
        border-radius: 14px;
    }

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

    .composition-item {
        border-right: 0;
        border-bottom: 1px solid rgba(16,63,53,.11);
    }

    .composition-item:nth-child(odd) {
        border-right: 1px solid rgba(16,63,53,.11);
    }

    .composition-item:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .editorial-tab-panel {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .operational-metrics {
        grid-template-columns: 1fr;
    }

    .operational-metrics > div,
.operational-metrics > div:first-child {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(16,63,53,.10);
    }

    .operational-metrics > div:last-child {
        border-bottom: 0;
    }

    .timeline-track {
        grid-template-columns: auto;
        gap: 0;
        padding-left: 18px;
    }

    .timeline-point {
        min-width: 0;
        padding: 0 0 22px 18px;
    }

    .timeline-dot {
        top: 2px;
        left: -18px;
    }

    .timeline-line {
        width: 1px;
        height: 24px;
        margin: -20px 0 0 -13px;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-flow > span {
        transform: rotate(90deg);
        justify-self: start;
    }

    .transfer-card-head {
        display: block;
    }

    .transfer-card-head > span {
        display: block;
        margin-top: 6px;
        text-align: left;
    }

    .transfer-row {
        grid-template-columns: 92px 1fr;
        gap: 8px 12px;
        padding: 8px 0;
    }

    .transfer-bar-track {
        grid-column: 1 / -1;
    }

    .brix-comparison {
        grid-template-columns: 1fr;
    }

    .brix-not-equal {
        line-height: 1;
    }

    .vitellaia-app-head {
        flex-wrap: wrap;
    }

    .vitellaia-status {
        margin-left: auto;
    }

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

    .vitellaia-app-grid > div:nth-child(3n) {
        border-right: 1px solid rgba(16,63,53,.09);
    }

    .vitellaia-app-grid > div:nth-child(2n) {
        border-right: 0;
    }
}

/* FATTOR-IA TYPO SCALE TWEAK V3 */

.composition-item strong {
    font-size: clamp(18px, 2.3vw, 27px);
}

.composition-item span {
    margin-top: 9px;
    color: #5d6b65;
    font-size: 14px;
    line-height: 1.35;
}

.quality-number {
    font-size: clamp(24px, 3.1vw, 36px);
}

.editorial-tab-panel strong {
    font-size: 16px;
}

.editorial-tab-panel p {
    font-size: 13px;
    line-height: 1.6;
}

.operational-metrics strong {
    font-size: clamp(20px, 2.5vw, 27px);
}

.operational-metrics span {
    font-size: 13px;
    line-height: 1.35;
}

.timeline-point strong {
    font-size: 12px;
}

.timeline-point small {
    font-size: 11px;
    line-height: 1.35;
}

.transfer-row strong {
    font-size: 13px;
}

.transfer-threshold {
    font-size: 12px;
}

.vitellaia-app-grid span {
    font-size: 10px;
}

.vitellaia-app-grid strong {
    font-size: 15px;
}

@media (max-width: 760px) {
    .composition-item strong {
        font-size: clamp(20px, 7vw, 28px);
    }

    .composition-item span {
        font-size: 14px;
    }

    .quality-number {
        font-size: clamp(24px, 8vw, 34px);
    }

    .operational-metrics strong {
        font-size: clamp(22px, 7vw, 28px);
    }
}

/* FATTOR-IA TEXT BOOST V4 */

.editorial-detail-output strong {
    font-size: 17px;
    line-height: 1.3;
}

.editorial-detail-output p {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.7;
}

.composition-bioactives strong {
    font-size: 17px;
    line-height: 1.3;
}

.composition-bioactives span {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.7;
}

.composition-bioactives small {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.65;
}

.editorial-card-note {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .editorial-detail-output strong,
.composition-bioactives strong {
        font-size: 16px;
    }

    .editorial-detail-output p,
.composition-bioactives span,
.composition-bioactives small,
.editorial-card-note {
        font-size: 15px;
        line-height: 1.65;
    }
}

/* FATTOR-IA QUALITY SCALE V5 */

.quality-number {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1;
    letter-spacing: -.035em;
}

.editorial-tab-panel strong {
    font-size: 18px;
    line-height: 1.3;
}

.editorial-tab-panel p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 760px) {
    .quality-number {
        font-size: clamp(26px, 8vw, 34px);
    }

    .editorial-tab-panel strong {
        font-size: 17px;
    }

    .editorial-tab-panel p {
        font-size: 15px;
    }
}

/* FATTOR-IA QUALITY UNIT V6 */

.quality-unit {
    font-size: .42em;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: baseline;
    margin-left: 3px;
}


/* FATTOR-IA EDITORIAL AXIS V7 */

/* Hero e corpo condividono ESATTAMENTE lo stesso asse */
.article-hero,
.article-layout {
    width: calc(100% - (var(--page) * 2));
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* Il body non deve ricentrarsi una seconda volta */
.article-body {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Manteniamo solo il respiro verticale dell'hero */
.article-hero {
    padding-top: 48px;
    padding-bottom: 28px;
}

/* Titolo e lead partono dalla stessa verticale del testo */
.article-hero h1,
.article-hero .article-lead {
    margin-left: 0;
    margin-right: 0;
}

