@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    --doclify-navy: var(--brand-navy);
    --doclify-surface: var(--brand-surface);
    --doclify-surface-strong: #e5f3f2;
    --doclify-border: rgba(8, 19, 39, 0.1);
    --doclify-text: #20384b;
    --doclify-muted: var(--brand-slate);
    --doclify-blue: var(--brand-navy);
    --doclify-cyan: var(--brand-teal);
    --doclify-violet: var(--brand-action);
    --doclify-success: #198754;
    --doclify-gradient: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-action) 48%, var(--brand-navy) 100%);
    --doclify-shadow: 0 30px 60px rgba(17, 32, 58, 0.12);
}

/* Il fondo era la somma di tre gradienti sovrapposti: una colorazione diffusa che data
   la pagina piu' di qualunque altra cosa e sporca il bianco delle schede. Ora e' una
   tinta piatta, e la sfumatura resta solo dietro alla prima schermata. */
.public-shell {
    margin-bottom: 0;
    background: #ffffff !important;
    color: var(--doclify-text);
    font-family: 'Manrope', sans-serif;
    /* Corpo a 18px: e' la misura che usano oggi i siti di prodotto, e su una pagina che
       deve convincere si legge invece di strizzare. */
    font-size: 1.125rem;
    line-height: 1.7;
}

.public-shell h1,
.public-shell h2,
.public-shell h3,
.public-shell h4,
.public-shell .display-4,
.public-shell .display-5,
.public-shell .display-6,
.brand-wordmark {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.03em;
}

.public-shell .navbar {
    backdrop-filter: blur(18px);
    background-color: rgba(255, 255, 255, 0.86) !important;
    border-bottom: 1px solid rgba(17, 32, 58, 0.07) !important;
}

.bilanciare-lockup {
    display: block;
    width: clamp(190px, 18vw, 250px);
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.bilanciare-lockup-footer {
    width: min(100%, 320px);
    height: auto;
    padding: .55rem .7rem;
    border-radius: .8rem;
    background: rgba(255, 255, 255, .97);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .18));
}

.brand-wordmark {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--doclify-navy);
}

.public-shell .nav-link {
    color: var(--doclify-muted);
    font-weight: 700;
    position: relative;
}

.public-shell .nav-link:hover,
.public-shell .nav-link.active {
    color: var(--doclify-navy);
}

.public-shell .nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 3px;
    border-radius: 999px;
    background: var(--doclify-gradient);
}

/* Tinta piena invece della sfumatura, angoli a 12px e piu' respiro dentro: la sfumatura
   sui pulsanti e l'ombra colorata sotto sono due segni che datano una pagina. */
.btn-brand {
    background: var(--brand-action);
    border: 0;
    color: #fff;
    border-radius: 12px;
    padding: .8rem 1.9rem;
    font-weight: 600;
}

/* La barra in alto resta alla misura di prima. Il corpo a 18px vale per il testo che si
   legge, non per la navigazione: portandolo anche li' il menu cresceva fino a non entrare
   piu' in riga, e i due pulsanti finivano a capo sopra le voci. */
.navbar {
    font-size: 1rem;
}

.navbar .btn-brand,
.navbar .btn-outline-brand {
    padding: .5rem 1.1rem;
    font-size: .95rem;
}

.navbar .d-flex.flex-wrap {
    flex-wrap: nowrap !important;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-action-hover);
    color: #fff;
}

.btn-outline-brand {
    border-radius: 12px;
    padding: .8rem 1.9rem;
    font-weight: 600;
}

.btn-brand-soft {
    background: rgba(var(--brand-teal-rgb), 0.12);
    border: 1px solid rgba(var(--brand-teal-rgb), 0.24);
    color: var(--doclify-blue);
}

.btn-brand-soft:hover,
.btn-brand-soft:focus {
    background: rgba(var(--brand-teal-rgb), 0.18);
    color: var(--doclify-navy);
}

.btn-outline-brand {
    border: 1px solid rgba(17, 32, 58, 0.16);
    color: var(--doclify-navy);
    background: rgba(255, 255, 255, 0.82);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: var(--doclify-blue);
    border-color: rgba(var(--brand-action-rgb), 0.28);
    background: #fff;
}

/* Sezioni a fascia intera, con piu' aria fra una e l'altra: e' quello che fa sembrare
   una pagina curata anche prima di leggerla. */
.marketing-section {
    padding: 6.5rem 0;
}

/* Una fascia su due nel colore del marchio molto diluito: separa i blocchi senza righe
   e senza scatole, che e' il modo in cui oggi si scandisce una pagina lunga. */
.marketing-section--tinta {
    background: rgba(var(--brand-teal-rgb), 0.10);
}

@media (max-width: 991.98px) {
    .marketing-section { padding: 4rem 0; }
}

.marketing-hero {
    padding: 5.75rem 0 4.5rem;
    /* L'unico punto dove la sfumatura ha ancora senso: da' profondita' all'apertura senza
       colorare tutta la pagina. Molto piu' tenue di prima. */
    background:
        radial-gradient(ellipse at 15% 0%, rgba(var(--brand-teal-rgb), 0.07), transparent 55%),
        linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
}

.marketing-hero--home {
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(var(--brand-action-rgb), .13), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(var(--brand-teal-rgb), .14), transparent 27%),
        linear-gradient(180deg, #f7fbfb 0%, #fff 82%);
}

.hero-kicker,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--brand-action);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-eyebrow {
    margin-bottom: .85rem;
}

.section-eyebrow--light { color: #bff4ec; }

.hero-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    color: var(--doclify-muted);
    font-size: .88rem;
    font-weight: 700;
}

.hero-assurances i { color: var(--brand-teal); }

.product-stage {
    min-height: 555px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 3.25rem 0 2rem;
}

.product-stage__glow {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    right: 5%;
    top: 8%;
    background: linear-gradient(145deg, rgba(var(--brand-teal-rgb), .3), rgba(var(--brand-action-rgb), .18));
    filter: blur(1px);
}

.product-window {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(14, 42, 58, .1);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 30px 80px rgba(10, 47, 77, .18);
    transform: rotate(1deg);
}

.product-window__bar,
.product-dashboard__heading,
.product-card-title,
.receipt-demo__head,
.receipt-demo__payment,
.receipt-demo__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-window__bar {
    min-height: 64px;
    padding: .8rem 1rem;
    border-bottom: 1px solid #e8eef2;
}

.product-window__brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--doclify-navy);
    font-family: 'Sora', sans-serif;
    font-size: .92rem;
    font-weight: 800;
}

.product-window__brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.product-window__status {
    padding: .38rem .62rem;
    border-radius: 999px;
    color: #16765d;
    background: #e9f8f3;
    font-size: .65rem;
    font-weight: 800;
}

.product-window__body { display: flex; min-height: 405px; }

.product-sidebar {
    width: 54px;
    flex: 0 0 54px;
    display: grid;
    align-content: start;
    gap: .55rem;
    padding: 1rem .6rem;
    background: var(--doclify-navy);
}

.product-sidebar span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    color: rgba(255,255,255,.58);
    font-size: .82rem;
}

.product-sidebar span.active { color: #fff; background: rgba(var(--brand-teal-rgb), .34); }

.product-dashboard {
    min-width: 0;
    flex: 1;
    padding: 1.2rem;
    background: #f7f9fb;
}

.product-dashboard__heading small,
.product-dashboard__heading strong { display: block; }
.product-dashboard__heading small { color: var(--doclify-muted); font-size: .65rem; }
.product-dashboard__heading strong { color: var(--doclify-navy); font-size: .94rem; }

.mini-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-action);
    font-size: .68rem;
    font-weight: 800;
}

.product-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0;
}

.product-kpis > div,
.product-chart-card,
.product-activity-card {
    padding: .8rem;
    border: 1px solid #e8edf0;
    border-radius: .85rem;
    background: #fff;
}

.product-kpis small,
.product-kpis strong,
.product-kpis .trend { display: block; }
.product-kpis small { color: var(--doclify-muted); font-size: .56rem; }
.product-kpis strong { color: var(--doclify-navy); font-size: .92rem; margin: .16rem 0; }
.product-kpis .trend { color: var(--doclify-muted); font-size: .5rem; }
.product-kpis .trend.positive { color: #198754; }
.product-kpis .trend.warning { color: #b66a00; }

.product-content-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: .65rem;
}

.product-card-title { color: var(--doclify-navy); font-size: .64rem; font-weight: 800; }
.product-card-title small { color: var(--doclify-muted); font-size: .48rem; font-weight: 600; }

.fake-chart {
    height: 145px;
    display: flex;
    align-items: end;
    gap: .5rem;
    padding: 1.25rem .35rem 0;
    border-bottom: 1px solid #dfe7eb;
}

.fake-chart span {
    height: var(--h);
    flex: 1;
    border-radius: .35rem .35rem 0 0;
    background: linear-gradient(180deg, var(--brand-teal), var(--brand-action));
    opacity: .78;
}

.product-activity-card ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .7rem; }
.product-activity-card li { display: flex; align-items: center; gap: .55rem; }
.product-activity-card li > i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: .5rem; color: var(--brand-action); background: rgba(var(--brand-action-rgb), .08); font-size: .62rem; }
.product-activity-card li span { min-width: 0; }
.product-activity-card li strong,
.product-activity-card li small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-activity-card li strong { color: var(--doclify-navy); font-size: .57rem; }
.product-activity-card li small { color: var(--doclify-muted); font-size: .49rem; }

.floating-proof {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 190px;
    padding: .85rem 1rem;
    border: 1px solid rgba(14, 42, 58, .08);
    border-radius: 1rem;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 45px rgba(10, 47, 77, .16);
}

.floating-proof > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: .7rem; color: var(--brand-action); background: rgba(var(--brand-teal-rgb), .15); }
.floating-proof strong,
.floating-proof small { display: block; }
.floating-proof strong { color: var(--doclify-navy); font-size: .72rem; }
.floating-proof small { color: var(--doclify-muted); font-size: .62rem; }
.floating-proof--top { top: 0; right: 2%; }
.floating-proof--bottom { left: -3%; bottom: 0; }

.value-ribbon {
    border-top: 1px solid rgba(14,42,58,.06);
    border-bottom: 1px solid rgba(14,42,58,.06);
    background: #fff;
}

.value-ribbon__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-ribbon__grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: 1.2rem .75rem;
    color: var(--doclify-muted);
    font-size: .8rem;
    font-weight: 800;
    text-align: center;
}

.value-ribbon__grid i { color: var(--brand-action); font-size: 1rem; }

.section-heading--center { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading--center p { margin-bottom: 0; }

.benefit-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 1.35rem;
    color: var(--doclify-text);
}

.benefit-card--mint { background: #e7f7f3; }
.benefit-card--sand { background: #fff3df; }
.benefit-card--lilac { background: #eeeaff; }
.benefit-card__number { position: absolute; top: 1rem; right: 1.25rem; color: rgba(10,47,77,.18); font-family: 'Sora', sans-serif; font-size: 2.1rem; font-weight: 800; }
.benefit-card h3 { margin: 1rem 0 .65rem; color: var(--doclify-navy); font-size: 1.45rem; }
.benefit-card p { color: var(--doclify-muted); }
.benefit-card ul { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; font-size: .86rem; font-weight: 700; }
.benefit-card li::before { content: "\f26e"; margin-right: .5rem; color: var(--brand-action); font-family: "bootstrap-icons"; }

.feature-card--lift { transition: transform .2s ease, box-shadow .2s ease; }
.feature-card--lift:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(10,47,77,.09); }
.text-link { color: var(--brand-action); font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--doclify-navy); }

.receipt-story {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 1.75rem;
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(var(--brand-teal-rgb), .36), transparent 32%),
        linear-gradient(135deg, #082d49 0%, #0e3f50 100%);
}

.receipt-story h2,
.receipt-story p { color: inherit; }
.receipt-story .lead { color: rgba(255,255,255,.74); font-size: 1.03rem; }
.receipt-story__checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem 1rem; margin-top: 1.5rem; }
.receipt-story__checks span { display: flex; gap: .55rem; align-items: flex-start; color: rgba(255,255,255,.9); font-size: .84rem; font-weight: 700; }
.receipt-story__checks i { color: #7de0cf; }

.receipt-demo {
    max-width: 430px;
    margin-left: auto;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 1.4rem;
    color: var(--doclify-text);
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,.22);
    transform: rotate(1.2deg);
}

.receipt-demo__head { padding-bottom: 1rem; border-bottom: 1px solid #e8edf0; color: var(--doclify-navy); font-weight: 800; }
.receipt-demo__badge { padding: .3rem .55rem; border-radius: 999px; color: var(--brand-action); background: rgba(var(--brand-teal-rgb), .13); font-size: .66rem; }
.receipt-demo__items { display: grid; gap: .9rem; padding: 1.2rem 0; }
.receipt-demo__items > div { display: flex; justify-content: space-between; gap: 1rem; }
.receipt-demo__items span strong,
.receipt-demo__items span small { display: block; }
.receipt-demo__items strong { color: var(--doclify-navy); font-size: .82rem; }
.receipt-demo__items small { color: var(--doclify-muted); font-size: .7rem; }
.receipt-demo__payment { margin-bottom: .8rem; padding: .75rem; border-radius: .8rem; color: var(--doclify-navy); background: #f5f8fa; font-size: .78rem; }
.receipt-demo__total { padding: 1rem 0; border-top: 1px dashed #ccd7dd; color: var(--doclify-navy); }
.receipt-demo__total strong { font-size: 1.45rem; }

.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.audience-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid var(--doclify-border); border-radius: 1.1rem; background: #fff; }
.audience-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: .9rem; color: var(--brand-action); background: rgba(var(--brand-teal-rgb),.12); }
.audience-card h3 { margin: 0 0 .25rem; color: var(--doclify-navy); font-size: 1rem; }
.audience-card p { margin: 0; color: var(--doclify-muted); font-size: .78rem; line-height: 1.5; }
.audience-card > a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--doclify-navy); background: #f2f5f7; }

.workflow-card--numbered { position: relative; padding-top: 2rem; }
.workflow-number { position: absolute; top: 1.25rem; right: 1.35rem; color: rgba(10,47,77,.13); font-family: 'Sora',sans-serif; font-size: 2rem; font-weight: 800; }

.cta-panel--bright { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(120deg, var(--brand-action), var(--brand-teal)); }
.cta-panel--bright .cta-actions { flex-wrap: nowrap; }

.auth-section {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(var(--brand-teal-rgb), .13), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(var(--brand-action-rgb), .1), transparent 27%),
        #f7fbfb;
}

.auth-section--compact { min-height: 620px; }

.auth-layout {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.auth-layout--wide {
    max-width: 1160px;
    grid-template-columns: minmax(0, .75fr) minmax(560px, 1.25fr);
}

.auth-intro h1 {
    margin: 0 0 1.2rem;
    color: var(--doclify-navy);
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.auth-intro > p { color: var(--doclify-muted); font-size: 1.02rem; }
.auth-intro__points { display: grid; gap: .8rem; margin-top: 1.6rem; }
.auth-intro__points span { display: flex; align-items: flex-start; gap: .65rem; color: var(--doclify-text); font-size: .86rem; font-weight: 700; }
.auth-intro__points i { color: var(--brand-teal); }

.auth-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--doclify-border);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 22px 60px rgba(10,47,77,.11);
}

.auth-card--compact { max-width: 500px; }
.auth-card__heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.auth-card__heading h2 { margin: 0 0 .2rem; color: var(--doclify-navy); font-size: 1.35rem; }
.auth-card__heading p { margin: 0; color: var(--doclify-muted); font-size: .78rem; }
.auth-card__icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: .9rem; color: var(--brand-action); background: rgba(var(--brand-teal-rgb), .14); }
.auth-card .form-label { color: var(--doclify-navy); font-size: .82rem; font-weight: 800; }
.auth-card .form-control,
.auth-card .form-select { min-height: 50px; border-color: #d7e0e5; border-radius: .75rem; font-size: .9rem; }
.auth-card .form-control:focus,
.auth-card .form-select:focus { border-color: var(--brand-teal); box-shadow: 0 0 0 .22rem rgba(var(--brand-teal-rgb), .13); }
.auth-card h5 { color: var(--doclify-navy); font-size: .88rem; }
.auth-inline-link { color: var(--brand-action); font-size: .76rem; font-weight: 700; text-decoration: none; }
.auth-card__footer { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid #e8edf0; color: var(--doclify-muted); text-align: center; font-size: .82rem; }
.auth-card__footer a { color: var(--brand-action); font-weight: 800; text-decoration: none; }
.auth-card__footer small { display: block; margin-top: .6rem; }

.faq-search {
    padding: .75rem;
    border: 1px solid var(--doclify-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 35px rgba(10,47,77,.08);
}

.faq-search .form-control,
.faq-search .form-select { min-height: 48px; border-color: #d7e0e5; border-radius: .7rem; }
.faq-accordion { overflow: hidden; border: 1px solid var(--doclify-border); border-radius: 1rem; }
.faq-accordion .accordion-item { border: 0; border-bottom: 1px solid #e7edf0; }
.faq-accordion .accordion-item:last-child { border-bottom: 0; }
.faq-accordion .accordion-button { padding: 1.2rem 1.25rem; color: var(--doclify-navy); font-weight: 800; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--brand-action); background: rgba(var(--brand-teal-rgb), .08); }

/* Un titolo grande e una riga sola di sottotitolo: la prima schermata deve dire una cosa
   sola, forte. Interlinea stretta perche' a questa dimensione il respiro lo da' la
   dimensione, non lo spazio fra le righe. */
.hero-copy h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--doclify-navy);
}

/* La seconda riga del titolo nel colore del marchio: l'occhio ci si posa e il messaggio
   si divide in due tempi. */
.hero-copy h1 .accento { color: var(--brand-action); }

.public-shell h2 {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-copy .lead {
    color: var(--doclify-muted);
    font-size: 1.14rem;
    line-height: 1.72;
    max-width: 41rem;
}

.hero-actions,
.hero-proof,
.hero-badges,
.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-proof-item,
.proof-card,
.feature-card,
.workflow-card,
.platform-card,
.contact-card,
.faq-card,
.pricing-card,
.mock-shell,
.cta-panel {
    /* Bianco pieno invece che semitrasparente - sopra un fondo colorato veniva grigiastro -
       angoli piu' stretti e ombra appena accennata al posto di quella da 60px, che faceva
       galleggiare ogni scheda come nei siti di cinque anni fa. */
    border: 1px solid var(--doclify-border);
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(17, 32, 58, 0.04);
}

.hero-proof-item {
    padding: 1rem 1.1rem;
    min-width: 10rem;
}

.hero-proof-item strong,
.proof-card .display-6 {
    display: block;
    color: var(--doclify-navy);
    font-weight: 800;
    font-size: 1.35rem;
}

.hero-proof-item span,
.proof-card p {
    color: var(--doclify-muted);
    margin: 0;
}

.mock-shell {
    overflow: hidden;
    position: relative;
}

.mock-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(var(--brand-teal-rgb), 0.18), transparent 32%),
        radial-gradient(circle at 90% 16%, rgba(var(--brand-action-rgb), 0.10), transparent 28%);
    pointer-events: none;
}

.mock-topbar {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(17, 32, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mock-title strong,
.section-heading h2,
.pricing-card h3,
.cta-panel h2 {
    color: var(--doclify-navy);
}

.mock-title span,
.mock-card small,
.workflow-card p,
.platform-card p,
.feature-card p,
.pricing-card p,
.faq-card p,
.contact-card p,
.section-heading p {
    color: var(--doclify-muted);
}

.mock-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 159, 119, 0.12);
    color: var(--doclify-success);
    font-weight: 800;
    font-size: 0.78rem;
}

.mock-grid {
    padding: 1.4rem;
}

.mock-card {
    border: 1px solid rgba(17, 32, 58, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.1rem;
    height: 100%;
}

.metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(47, 102, 255, 0.08);
    color: var(--doclify-blue);
    font-size: 0.8rem;
    font-weight: 800;
}

.metric-pill::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--doclify-gradient);
}

.invoice-lines {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.invoice-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.9rem;
    align-items: center;
}

.invoice-line strong,
.pricing-amount,
.pricing-total {
    color: var(--doclify-navy);
    font-weight: 800;
}

.signal-list {
    display: grid;
    gap: 0.8rem;
}

.signal-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(17, 32, 58, 0.12);
}

.signal-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.section-heading {
    max-width: 43rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.9rem;
}

.proof-card,
.feature-card,
.workflow-card,
.platform-card,
.faq-card,
.contact-card {
    padding: 1.6rem;
    height: 100%;
}

.proof-card {
    text-align: center;
}

.feature-icon,
.workflow-icon,
.platform-icon,
.contact-icon {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.28rem;
    /* Erano quadrati in sfumatura con un'ombra colorata sotto: l'elemento che piu' di
       tutti datava la pagina. Ora una tinta tenue con l'icona nel colore del marchio,
       che si fa notare senza gridare. */
    color: var(--brand-action);
    background: rgba(var(--brand-teal-rgb), 0.12);
}

.feature-card h3,
.workflow-card h3,
.platform-card h3,
.faq-card h3,
.contact-card h3 {
    font-size: 1.18rem;
    margin: 1rem 0 0.6rem;
    color: var(--doclify-navy);
}

.pricing-card {
    padding: 1.7rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.recommended {
    border-color: rgba(47, 102, 255, 0.2);
    background:
        linear-gradient(180deg, rgba(243, 249, 255, 0.94), rgba(255, 255, 255, 0.98)),
        #fff;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(var(--brand-action-rgb), 0.12);
    color: var(--doclify-blue);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-copy {
    min-height: 4rem;
}

.pricing-switch {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(17, 32, 58, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
}

.pricing-switch .form-check-input {
    width: 3rem;
    height: 1.55rem;
    margin-top: 0;
    cursor: pointer;
}

.billing-label {
    font-weight: 800;
    color: var(--doclify-muted);
}

.billing-label.active {
    color: var(--doclify-navy);
}

.pricing-amount {
    font-family: 'Sora', sans-serif;
    font-size: 2.4rem;
    line-height: 1;
}

.pricing-period,
.pricing-note,
.pricing-hint,
.checkout-note {
    color: var(--doclify-muted);
}

.pricing-total {
    font-size: 0.95rem;
}

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
    display: grid;
    gap: 0.85rem;
}

.pricing-feature-list li {
    display: flex;
    gap: 0.75rem;
    color: var(--doclify-text);
}

.pricing-feature-list li::before {
    content: "\f26e";
    font-family: "bootstrap-icons";
    color: var(--doclify-blue);
    font-weight: 700;
}

.pricing-action {
    margin-top: auto;
}

.pricing-action .btn {
    width: 100%;
}

.pricing-panel,
.faq-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-link {
    font-weight: 800;
    color: var(--doclify-blue);
    text-decoration: none;
}

.contact-link:hover {
    color: var(--doclify-navy);
}

.cta-panel {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(var(--brand-teal-rgb), 0.24), transparent 32%),
        linear-gradient(135deg, rgba(8, 19, 39, 0.98), rgba(17, 32, 58, 0.94));
    color: #f5f9ff;
}

.cta-panel h2,
.cta-panel p {
    color: inherit;
}

.cta-bullets {
    display: grid;
    gap: 0.8rem;
}

.cta-bullets span {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.cta-bullets span::before {
    content: "\f26e";
    font-family: "bootstrap-icons";
    color: var(--brand-teal);
}

.public-footer {
    background: var(--brand-navy);
    color: rgba(255, 255, 255, 0.74);
}

.public-footer a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.public-footer a:hover {
    color: var(--brand-teal);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #fff;
}

.footer-brand .brand-wordmark {
    color: #fff;
}

@media (max-width: 991.98px) {
    .marketing-hero {
        padding-top: 4.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.3rem, 9vw, 3.6rem);
    }

    .public-shell .nav-link.active::after {
        left: 0;
        right: auto;
        width: 2.2rem;
        bottom: 0.1rem;
    }

    .marketing-hero--home { min-height: auto; }
    .product-stage { min-height: 505px; max-width: 720px; margin: 0 auto; }
    .value-ribbon__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .value-ribbon__grid span:nth-child(n+4) { border-top: 1px solid rgba(14,42,58,.06); }
    .audience-grid { grid-template-columns: 1fr; }
    .receipt-demo { margin: 0 auto; }
    .cta-panel--bright { align-items: flex-start; flex-direction: column; }
    .auth-section { min-height: auto; padding: 4rem 0; }
    .auth-layout,
    .auth-layout--wide { max-width: 720px; grid-template-columns: 1fr; gap: 2.5rem; }
    .auth-intro { text-align: center; }
    .auth-intro__points { max-width: 500px; margin-right: auto; margin-left: auto; text-align: left; }
}

@media (max-width: 767.98px) {
    .marketing-section {
        padding: 3.75rem 0;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .pricing-switch {
        width: 100%;
        justify-content: center;
    }

    .invoice-line {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-stage { min-height: 430px; padding-top: 2rem; }
    .product-window { border-radius: 1rem; transform: none; }
    .product-window__body { min-height: 330px; }
    .product-dashboard { padding: .8rem; }
    .product-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product-kpis > div:last-child { display: none; }
    .product-content-grid { grid-template-columns: 1fr; }
    .product-activity-card { display: none; }
    .fake-chart { height: 125px; }
    .floating-proof { min-width: 170px; padding: .7rem .8rem; }
    .floating-proof--top { right: .5rem; }
    .floating-proof--bottom { left: .5rem; }
    .value-ribbon__grid { grid-template-columns: 1fr 1fr; }
    .value-ribbon__grid span { justify-content: flex-start; padding: .9rem .4rem; font-size: .7rem; }
    .value-ribbon__grid span:nth-child(n+3) { border-top: 1px solid rgba(14,42,58,.06); }
    .receipt-story__checks { grid-template-columns: 1fr; }
    .cta-panel--bright .cta-actions { width: 100%; flex-direction: column; }
    .auth-section { padding: 3rem 0; }
    .auth-intro h1 { font-size: 2.25rem; }
    .auth-card { padding: 1.25rem; border-radius: 1.1rem; }
}

@media (max-width: 479.98px) {
    .bilanciare-lockup { width: 165px; height: 42px; }
    .marketing-hero--home { padding-top: 3.5rem; }
    .hero-copy h1 { font-size: 2.35rem; }
    .hero-assurances { display: grid; gap: .45rem; }
    .product-stage { min-height: 385px; }
    .product-window__status { display: none; }
    .product-sidebar { width: 44px; flex-basis: 44px; padding-inline: .35rem; }
    .product-sidebar span { width: 34px; }
    .floating-proof--top { display: none; }
    .floating-proof--bottom { bottom: -.25rem; }
    .benefit-card { padding: 1.5rem; }
    .receipt-story { margin-inline: -.25rem; padding: 1.5rem; border-radius: 1.3rem; }
    .audience-card { grid-template-columns: auto 1fr; }
    .audience-card > a { display: none; }
}
