:root {
    --ink: #17211d;
    --muted: #65716c;
    --line: #dfe6e2;
    --paper: #ffffff;
    --canvas: #f4f7f5;
    --forest: #123a32;
    --forest-2: #1d5548;
    --forest-deep: #0c2a24;
    --mint: #d9f2e8;
    --mint-soft: #edf7f3;
    --accent: #ef6a4c;
    --danger: #b83f39;
    --shadow: 0 18px 50px rgba(24, 54, 46, .08);
    --shadow-lg: 0 30px 80px rgba(15, 45, 38, .14);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { letter-spacing: -.04em; }

/* ---------- Topbar ---------- */
.topbar {
    min-height: 76px;
    padding: 12px max(28px, calc((100vw - 1240px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    color: #fff; background: var(--forest);
    font-weight: 800; letter-spacing: -.04em;
}
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 15px; letter-spacing: -.015em; }
.brand small { color: var(--muted); font-size: 11px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: 13px; font-weight: 700; transition: color .18s ease; }
.nav a:hover { color: var(--forest); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }

.status-pill, .badge {
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 999px; padding: 8px 12px;
    color: var(--forest); background: var(--mint-soft);
    font-size: 12px; font-weight: 700;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2d9a73; box-shadow: 0 0 0 4px #d7eee5; }
.badge { padding: 5px 9px; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.badge--accent { color: #9a3a22; background: #fdece7; }
.badge--outline { color: var(--muted); background: transparent; border: 1px solid var(--line); }

/* ---------- Blocchi comuni ---------- */
.page-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 86px 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--dark { color: #e6f1ec; background: var(--forest); }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section--dark .eyebrow { color: #f0a68f; }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--flush { max-width: none; margin-bottom: 0; }
.section-head h2 { margin: 8px 0 14px; color: var(--forest); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: #a9c5bc; }

.button {
    min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    cursor: pointer; font-size: 12.5px; font-weight: 800; transition: .18s ease;
}
.button--primary { color: #fff; background: var(--forest); }
.button--primary:hover { background: var(--forest-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(18,58,50,.16); }
.button--secondary { color: var(--forest); border-color: #aec2ba; background: #fff; }
.button--secondary:hover { border-color: var(--forest-2); background: #f1f7f4; transform: translateY(-1px); }
.button--light { color: var(--forest); background: #fff; }
.button--light:hover { background: var(--mint); transform: translateY(-1px); }
.button--outline-light { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.button--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button--lg { min-height: 54px; padding-inline: 26px; font-size: 13px; }
.button i { font-size: 12px; }

.icon-box {
    width: 44px; height: 44px; display: grid; place-items: center;
    color: var(--forest); background: var(--mint); border-radius: 12px;
    font-size: 17px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    gap: 62px; align-items: center;
    padding: 78px 0 92px;
}
.hero::before {
    content: ''; position: absolute; top: -160px; left: 50%; z-index: -1;
    width: min(1700px, 100vw); height: 620px; transform: translateX(-50%);
    background: radial-gradient(60% 60% at 50% 40%, rgba(217,242,232,.85), rgba(244,247,245,0) 70%);
}
.hero h1 {
    margin: 16px 0 20px; max-width: 640px;
    color: var(--forest); font-size: clamp(40px, 4.9vw, 64px); line-height: .99;
    letter-spacing: -.055em;
}
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .2em; background: var(--mint); border-radius: 3px; z-index: -1; }
.hero-copy > p { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 18px 0 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.hero-note i { color: var(--forest-2); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats span { display: grid; gap: 3px; color: var(--muted); font-size: 12px; }
.hero-stats strong { color: var(--forest); font-size: 20px; letter-spacing: -.03em; }

/* Mockup orario */
.hero-visual { position: relative; }
.mock-card {
    padding: 18px; background: var(--paper);
    border: 1px solid rgba(18,58,50,.1); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.mock-head div { display: grid; gap: 3px; }
.mock-head strong { font-size: 13px; }
.mock-head small { color: var(--muted); font-size: 10px; }
.mock-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.mock-tabs span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 9.5px; font-weight: 800; }
.mock-tabs span.is-active { color: #fff; background: var(--forest); border-color: var(--forest); }
.mock-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mock-grid th, .mock-grid td { height: 36px; padding: 2px; border: 1px solid #d7e0dc; text-align: center; vertical-align: middle; overflow: hidden; }
.mock-grid thead th { height: 24px; color: #fff; background: #173e35; font-size: 8.5px; font-weight: 800; border-color: #173e35; }
.mock-grid .axis { width: 16%; color: #26342f; background: #eef2f0; font-size: 8.5px; font-weight: 800; }
.mock-grid td span { display: block; font-size: 9px; font-weight: 750; line-height: 1.15; }
.mock-grid td small { display: block; margin-top: 1px; color: var(--muted); font-size: 7.5px; }
.mock-grid td.is-lesson { background: #f7faf8; }
.mock-grid td.is-mint { background: var(--mint); }
.mock-grid td.is-accent { background: #fdece7; }
.mock-grid td.is-empty { color: #c3ccc8; font-size: 10px; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.mock-foot b { color: var(--forest); }

.float-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 9px;
    padding: 11px 14px; border-radius: 12px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(18,58,50,.14);
    font-size: 11px; font-weight: 800;
}
.float-chip small { display: block; color: var(--muted); font-size: 9px; font-weight: 600; }
.float-chip > i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-size: 11px; }
.float-chip--solver { left: -34px; bottom: 58px; }
.float-chip--solver > i { color: var(--forest); background: var(--mint); }
.float-chip--pdf { right: -22px; top: 48px; }
.float-chip--pdf > i { color: #9a3a22; background: #fdece7; }

/* ---------- Strip valori ---------- */
.value-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 26px 0; border-top: 1px solid var(--line); }
.value-strip > div { padding: 4px 26px; display: flex; align-items: center; gap: 12px; border-left: 1px solid var(--line); }
.value-strip > div:first-child { border-left: 0; padding-left: 0; }
.value-strip i { color: var(--forest-2); font-size: 15px; }
.value-strip strong { display: block; font-size: 12.5px; }
.value-strip small { color: var(--muted); font-size: 11px; }

/* ---------- Funzioni ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.feature-card {
    padding: 26px; background: var(--paper); border: 1px solid var(--line);
    border-radius: 14px; transition: .18s ease;
}
.feature-card:hover { border-color: #bbccc5; box-shadow: 0 14px 40px rgba(21,58,49,.07); transform: translateY(-2px); }
.feature-card h3 { margin: 18px 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.feature-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.feature-card li { padding-left: 20px; position: relative; color: var(--muted); font-size: 12px; }
.feature-card li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 8.5px; color: var(--forest-2); }
.feature-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Flusso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.step {
    position: relative; padding: 24px; background: var(--paper);
    border: 1px solid var(--line); border-radius: 14px;
}
.step > span {
    width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 16px;
    border-radius: 9px; color: var(--forest); background: var(--mint);
    font-size: 12px; font-weight: 900;
}
.step h3 { margin: 0 0 7px; font-size: 15px; }
.step p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.step::after {
    content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: 36px; right: -19px; z-index: 2;
    width: 24px; height: 24px; display: grid; place-items: center;
    border-radius: 50%; background: var(--canvas); color: #9fb3ab; font-size: 9px;
}
.step:last-child::after { display: none; }

/* ---------- Prospetti ---------- */
.views-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 54px; align-items: center; }
.views-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.view-card {
    min-height: 128px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: .18s ease;
}
.view-card:hover { border-color: var(--forest-2); box-shadow: 0 0 0 2px rgba(29,85,72,.08); }
.view-card > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--forest); background: #eef4f1; font-size: 12px; }
.view-card strong { display: block; margin-top: 16px; font-size: 13px; }
.view-card small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.view-card--wide { grid-column: span 3; min-height: 0; flex-direction: row; align-items: center; gap: 14px; }
.view-card--wide strong { margin: 0; }
.view-card--wide div { display: grid; gap: 3px; }

.format-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.format-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 750; }
.format-row b { color: var(--forest); }

/* ---------- Privacy ---------- */
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 54px; align-items: center; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.check-list li { padding-left: 34px; position: relative; font-size: 13.5px; line-height: 1.55; color: #a9c5bc; }
.check-list li strong { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }
.check-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; width: 21px; height: 21px;
    display: grid; place-items: center; border-radius: 7px;
    background: rgba(217,242,232,.16); color: #9ce0c4; font-size: 9px;
}
.privacy-panel { padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.privacy-panel h3 { margin: 0 0 4px; color: #fff; font-size: 15px; }
.privacy-panel > p { margin: 0 0 16px; color: #91aea5; font-size: 11px; }
.privacy-row { padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.privacy-row span { color: #cfe2db; }
.privacy-row b { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(217,242,232,.14); color: #d9f2e8; font-size: 10px; }
.privacy-row b.is-off { background: rgba(239,106,76,.16); color: #f5b39f; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.phase { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.phase__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.phase__num { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.phase__bar { height: 4px; margin-bottom: 18px; border-radius: 999px; background: #e7edea; overflow: hidden; }
.phase__bar i { display: block; height: 100%; background: var(--forest-2); border-radius: 999px; }
.phase h3 { margin: 0 0 10px; font-size: 15px; }
.phase ul { margin: 0; padding: 0 0 0 16px; display: grid; gap: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.phase li::marker { color: #b3c5be; }
.phase--now { border-color: var(--forest-2); box-shadow: 0 0 0 2px rgba(29,85,72,.08); }

/* ---------- CTA ---------- */
.cta { padding: 58px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; border-radius: 24px; background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.cta h2 { margin: 12px 0; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.05; }
.cta p { margin: 0; max-width: 540px; color: #a9c5bc; font-size: 15px; line-height: 1.65; }
.cta-actions { display: grid; gap: 10px; min-width: 250px; }
.cta-actions small { color: #91aea5; font-size: 10.5px; text-align: center; line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { padding: 54px max(28px, calc((100vw - 1240px) / 2)) 34px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0,1fr)); gap: 34px; }
.footer-grid > div > p { margin: 14px 0 0; max-width: 300px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-col h4 { margin: 0 0 14px; color: var(--forest); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12.5px; }
.footer-col a:hover { color: var(--forest); }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-bottom span { color: var(--forest); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hero { grid-template-columns: 1fr; gap: 46px; padding-top: 56px; }
    .hero-visual { max-width: 560px; }
    .float-chip--solver { left: auto; right: 18px; bottom: -18px; }
    .float-chip--pdf { right: -10px; top: -18px; }
    .feature-grid, .steps, .roadmap { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .step::after { display: none; }
    .views-layout, .privacy-layout { grid-template-columns: 1fr; gap: 34px; }
    .value-strip { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 0; }
    .value-strip > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .nav { display: none; }
    .nav.is-open {
        display: grid; gap: 4px; position: absolute; top: 76px; left: 0; right: 0;
        padding: 14px max(20px, calc((100vw - 1240px) / 2)) 18px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .nav.is-open a { padding: 10px 0; font-size: 14px; }
    .nav-toggle { display: grid; place-items: center; }
    .topbar .button--primary { display: none; }
    .section { padding: 62px 0; }
    .cta { padding: 34px; grid-template-columns: 1fr; }
    .cta-actions { min-width: 0; }
}
@media (max-width: 560px) {
    .page-shell { width: calc(100% - 32px); }
    .hero-stats { gap: 18px 26px; }
    .feature-grid, .steps, .roadmap, .views-grid, .footer-grid { grid-template-columns: 1fr; }
    .view-card--wide { grid-column: auto; }
    .value-strip { grid-template-columns: 1fr; }
    .value-strip > div { border-left: 0; padding-left: 0; }
    .hero-actions .button { width: 100%; }
    .float-chip { display: none; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =========================================================================
   Pagine del sito pubblico: funzioni, roadmap, contatti
   ========================================================================= */

.nav a.is-current { color: var(--forest); }
.nav a.is-current::after { content: ''; display: block; height: 2px; margin-top: 5px; border-radius: 2px; background: var(--accent); }

.text-link { color: var(--forest); font-weight: 800; border-bottom: 1px solid rgba(18,58,50,.25); }
.text-link:hover { color: var(--accent); border-color: currentColor; }

.hero-caption { margin: 16px 0 0; max-width: 520px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

/* ---------- Testata delle pagine interne ---------- */
.page-hero { padding: 62px 0 26px; }
.page-hero h1 {
    margin: 14px 0 16px; max-width: 900px;
    color: var(--forest); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.05em;
}
.page-hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.page-hero h1 em::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .2em; background: var(--mint); border-radius: 3px; z-index: -1; }
.page-hero > p { margin: 0; max-width: 720px; color: var(--muted); font-size: 16.5px; line-height: 1.68; }

.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip-nav a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11.5px; font-weight: 750; }
.chip-nav a:hover { color: var(--forest); border-color: var(--forest-2); }

/* ---------- Schermate ---------- */
.shot { margin: 0; border: 1px solid rgba(18,58,50,.12); border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f6f9f7; }
.shot__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d5ded9; }
.shot__bar span:first-child { background: #f0b1a0; }
.shot__bar span:nth-child(2) { background: #f2d49b; }
.shot__bar span:nth-child(3) { background: #a9dcc4; }
.shot__bar em { margin-left: 8px; color: var(--muted); font-style: normal; font-size: 10.5px; font-weight: 750; }
.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.shot figcaption { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.55; }
.shot--hero { box-shadow: var(--shadow-lg); }
.shot--wide { margin-top: 36px; }

.lente { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 4vh 4vw; background: rgba(9,26,22,.88); cursor: zoom-out; }
.lente.is-open { display: grid; }
.lente img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lente__chiudi { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; }
.lente__chiudi:hover { background: rgba(255,255,255,.28); }

/* ---------- Blocco funzione: testo + schermata ---------- */
.feature-block { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 52px; align-items: center; }
.feature-block + .feature-block { margin-top: 76px; }
.feature-block--flip .feature-block__text { order: 2; }
.feature-block__text h2 { margin: 10px 0 14px; color: var(--forest); font-size: clamp(24px, 2.9vw, 34px); line-height: 1.08; }
.feature-block__text > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; }

.tick-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tick-list li { padding-left: 27px; position: relative; font-size: 13.5px; line-height: 1.55; }
.tick-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
    display: grid; place-items: center; border-radius: 6px;
    background: var(--mint); color: var(--forest-2); font-size: 8.5px;
}

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.note-band { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.note-band > div { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.note-band strong { display: flex; align-items: center; gap: 9px; color: var(--forest); font-size: 13.5px; }
.note-band p { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------- Home: destinatari, confronto, stato ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.audience-card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); }
.audience-card h3 { margin: 16px 0 8px; font-size: 16px; }
.audience-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.compare__col { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.compare__col h3 { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.compare__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.compare__col li { padding-left: 24px; position: relative; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.compare__col li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 6px; border-radius: 50%; }
.compare__col--before { background: #fff7f4; border-color: #f2d8ce; }
.compare__col--before h3 { color: #9a3a22; }
.compare__col--before li::before { background: #e79a80; }
.compare__col--after { background: var(--mint-soft); border-color: #c3e3d6; }
.compare__col--after h3 { color: var(--forest); }
.compare__col--after li::before { background: var(--forest-2); }

.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.status-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.status-card ul { margin: 16px 0 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.status-card li::marker { color: #b3c5be; }
.status-card--ok { border-color: var(--forest-2); box-shadow: 0 0 0 2px rgba(29,85,72,.08); }
.section-foot { margin: 28px 0 0; text-align: center; }

/* ---------- Roadmap ---------- */
.status-pill--work i { background: #e08a2e; box-shadow: 0 0 0 4px #fbeacf; }
.status-pill--next i { background: #6f7f79; box-shadow: 0 0 0 4px #e6ebe8; }
.status-pill--off i { background: #bfc9c4; box-shadow: 0 0 0 4px #eef1ef; }
.section-head .status-pill { margin-bottom: 4px; }

.road-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.road-grid--flat { grid-template-columns: repeat(4, minmax(0,1fr)); }
.road-card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); }
.road-card h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; color: var(--forest); font-size: 15px; }
.road-card h3 i { color: var(--forest-2); font-size: 13px; }
.road-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.road-card li { padding-left: 25px; position: relative; color: var(--muted); font-size: 13px; line-height: 1.55; }
.road-card li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; width: 17px; height: 17px;
    display: grid; place-items: center; border-radius: 6px;
    background: var(--mint); color: var(--forest-2); font-size: 8px;
}
.road-card.is-off { background: #fff; }
.road-card.is-off h3 { color: var(--muted); }
.road-card.is-off h3 i { color: #b3c1bb; }
.road-card.is-off p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.timeline { margin: 0; padding: 4px 0 4px 28px; list-style: none; border-left: 2px solid var(--line); display: grid; gap: 28px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -35px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #c2cfc9; }
.timeline__item.is-work::before { background: #fdece7; border-color: var(--accent); }
.timeline__item h3 { margin: 0 0 7px; color: var(--forest); font-size: 16px; }
.timeline__item p { margin: 0; max-width: 780px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- Contatti ---------- */
.contatti-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 30px; align-items: start; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.form-card h2 { margin: 0 0 6px; color: var(--forest); font-size: 22px; }
.form-card__intro { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.campi { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.campo { display: grid; gap: 7px; align-content: start; }
.campo > span { color: var(--forest); font-size: 12px; font-weight: 800; }
.campo input[type="text"], .campo input[type="email"], .campo select, .campo textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #cfdad5; border-radius: 10px;
    background: #fff; color: var(--ink); font-size: 14px; font-family: inherit;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 0; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(29,85,72,.12); }
.campo textarea { resize: vertical; line-height: 1.55; }
.campo--largo { grid-column: 1 / -1; }
.campo__aiuto { color: var(--muted); font-size: 12.5px; font-style: normal; line-height: 1.5; }
.campo__errore { color: var(--danger); font-size: 12px; font-style: normal; font-weight: 700; }
.campo--domanda { padding: 18px; border: 1px dashed #bfd3ca; border-radius: 12px; background: var(--mint-soft); }
.campo--consenso { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.campo--consenso input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--forest); }
.campo--consenso span { color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card__azioni { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-card__azioni small { max-width: 320px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }

.esito { display: flex; gap: 14px; padding: 22px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; }
.esito > i { font-size: 18px; }
.esito--ok { border: 1px solid #c3e3d6; background: var(--mint-soft); color: var(--forest); }
.esito--ok h2 { margin: 0 0 8px; font-size: 20px; }
.esito--ok p { margin: 0 0 12px; color: #3d5d53; }
.esito--ok p:last-child { margin-bottom: 0; }
.esito--ko { margin-bottom: 22px; align-items: center; border: 1px solid #f1cfc4; background: #fff3ef; color: #9a3a22; font-weight: 700; }

.contatti-lato { display: grid; gap: 14px; }
.lato-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lato-card h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 9px; color: var(--forest); font-size: 14px; }
.lato-card p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.lato-card p:last-child { margin-bottom: 0; }
.lato-card--quiet { background: var(--mint-soft); border-color: #cde3d9; }
.lato-nota { font-size: 11.5px; }
.email-js { color: var(--forest); font-size: 14px; font-weight: 800; word-break: break-word; }

.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.faq summary { padding: 16px 20px; display: flex; justify-content: space-between; gap: 14px; cursor: pointer; color: var(--forest); font-size: 14px; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 900; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- Responsive delle nuove pagine ---------- */
@media (max-width: 1080px) {
    .feature-block { grid-template-columns: 1fr; gap: 30px; }
    .feature-block--flip .feature-block__text { order: 0; }
    .feature-block + .feature-block { margin-top: 56px; }
    .audience-grid, .gallery, .note-band, .status-grid, .road-grid--flat { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .contatti-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .compare, .audience-grid, .gallery, .note-band, .status-grid, .road-grid, .road-grid--flat, .campi { grid-template-columns: 1fr; }
    .form-card { padding: 22px; }
    .page-hero { padding-top: 44px; }
}
@media (max-width: 560px) {
    .hero h1, .page-hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
    .hero h1 em, .page-hero h1 em { white-space: normal; }
    .chip-nav a { font-size: 11px; }
}

/* sui telefoni stretti in alto restano Accedi e il menu: la registrazione e' nella pagina */
@media (max-width: 400px) {
    .topbar .button--registrati { display: none; }
}

/* Pagine legali (privacy.html, cookie-policy.html) */
.legal { max-width: 820px; line-height: 1.7; }
.legal h2 { margin: 2.2em 0 .6em; font-size: 1.35rem; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal a { color: var(--forest); text-decoration: underline; }
.legal code { font-size: .92em; background: rgba(18,58,50,.07); padding: 1px 5px; border-radius: 4px; }
.legal-updated { color: #5d6b65; font-size: .92rem; }
.legal-link { all: unset; cursor: pointer; text-decoration: underline; font-weight: 700; }
.legal-link:focus-visible, .legal-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.legal-button { appearance: none; border: 1px solid var(--forest); border-radius: 8px; padding: 9px 16px; background: #fff; color: var(--forest); font: inherit; font-weight: 800; cursor: pointer; }
