/* digo email · sito di presentazione. Stesso sistema grafico di digo.sale e digo.studio
   (header a pillola, .pill, .kicker, titoli grandi, vetrina a schede), sfumatura verde-giallo del logo email.
   I pulsanti usano sempre la sfumatura piena con testo blu notte; i testi sfumati nel tema chiaro usano --grad-text, più scura.
   Tema scuro e chiaro con [data-site-theme] impostato prima del paint. Le finte schermate restano chiare. */

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

:root {
    color-scheme: dark;
    --bg: #0d0f1d; --panel: #151829; --line: #272b40; --ink: #f2f3f7; --dim: #aab0c0; --soft: #121526; --surface: #181c2e;
    --accent: #a9e66a; --accent-line: #4f6b22; --accent-ink: #0d0f1d;
    --grad: linear-gradient(120deg, #3deb38 0%, #92b500 39%, #ffe01b 100%);
    --grad-text: var(--grad);
    --gutter: clamp(1rem, 3.8vw, 4rem); --max: 1440px;
    --yes: #49c98a; --no: #ff7b7b;
}
:root[data-site-theme="light"] {
    color-scheme: light;
    --bg: #f8f9f4; --panel: #ffffff; --line: #dfe3d6; --ink: #0d0f1d; --dim: #545a66; --soft: #f0f3e8; --surface: #e9eedf;
    --accent: #2a6f0e; --accent-line: #b7dc8f;
    /* Testi sfumati più scuri: contrasto almeno 4,6:1 sul fondo chiaro */
    --grad-text: linear-gradient(120deg, #177a22 0%, #4f7d00 50%, #6b6800 100%);
    --yes: #13804c; --no: #c22f2f;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
p a, .price-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
section[id] { scroll-margin-top: 100px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; padding: .6rem 1rem; border-radius: 8px; background: var(--panel); }
.skip:focus { left: 8px; }

.hero-title span, .section-label, .grad-text {
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* --- Marchio (logo ufficiale, scritta in currentColor) --- */
.logo { display: inline-flex; color: var(--ink); line-height: 0; }
.logo svg { display: block; width: auto; height: 32px; transition: height .3s; }
.logo-compact { display: none; }

/* --- Pulsanti --- */
.pill {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .75rem 1.15rem;
    border: 0; border-radius: 10px; background: var(--grad); color: var(--accent-ink); font: inherit; font-size: .88rem; font-weight: 700;
    white-space: nowrap; cursor: pointer; transition: transform .2s, filter .2s, border-color .2s, min-height .3s, padding .3s, font-size .3s;
}
.pill:hover { filter: brightness(1.08) saturate(1.05); transform: translateY(-2px); }
.pill.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.pill.ghost:hover { filter: none; border-color: var(--dim); }
.pill.dark { background: #0d0f1d; color: #fff; }
.pill svg { width: 18px; height: 18px; flex: none; }

/* --- Header: pillola fissa che si stringe scorrendo --- */
.site-header {
    position: sticky; top: 12px; z-index: 1000; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
    margin: 12px auto 0; border: 1px solid var(--line); border-radius: 14px;
    background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: max-width .35s ease, top .3s ease, box-shadow .3s, background-color .3s;
}
.nav-inner { position: relative; display: flex; align-items: center; gap: 1rem; padding: .9rem 1.3rem; transition: padding .3s ease; }
.nav-logo { display: flex; flex: none; }
.site-header.scrolled { top: 8px; max-width: min(1180px, calc(100% - 2 * var(--gutter))); background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.site-header.scrolled .nav-inner { padding: .45rem .55rem .45rem 1rem; }
.site-header.scrolled .logo svg { height: 26px; }
.site-header.scrolled .pill { min-height: 38px; padding: .45rem .9rem; font-size: .8rem; }
.site-header.scrolled .site-theme-toggle, .site-header.scrolled .nav-toggle { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.5rem); margin-left: auto; font-size: .86rem; }
.nav-links a { color: var(--dim); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: clamp(.8rem, 1.6vw, 1.5rem); }
.site-theme-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%;
    background: var(--panel); color: var(--ink); cursor: pointer; transition: transform .2s, border-color .2s, width .3s, height .3s;
}
.site-theme-toggle:hover { border-color: var(--accent); transform: rotate(12deg); }
.site-theme-toggle svg { width: 20px; height: 20px; }
.site-theme-toggle .moon { display: none; }
[data-site-theme="light"] .site-theme-toggle .sun { display: none; }
[data-site-theme="light"] .site-theme-toggle .moon { display: block; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }

/* --- Hero --- */
.hero { padding: 2.8rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.hero-copy { padding-top: clamp(1.5rem, 4vw, 4rem); }
.kicker { color: var(--dim); text-transform: uppercase; font-weight: 650; font-size: .69rem; letter-spacing: .12em; }
.hero-title { font-size: clamp(3.4rem, 6.2vw, 6rem); font-weight: 550; letter-spacing: -.05em; line-height: 1.01; margin: 1.4rem 0 1.8rem; }
.hero .sub { color: var(--dim); font-size: 1.07rem; line-height: 1.65; max-width: 29rem; margin-bottom: 1.7rem; }
.hero .sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; }
.hero-secondary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .86rem; }
.hero-secondary:hover { color: var(--accent); }
.hero-note { color: var(--dim); font-size: .76rem; margin-top: .9rem; }
.hero-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 28rem; margin-top: 3rem; padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); font-size: .84rem; }
.hero-shortcut small { display: block; color: var(--dim); font-size: .7rem; margin-bottom: .2rem; }
.hero-shortcut > svg { flex: none; transition: transform .25s; }
.hero-shortcut:hover > svg { transform: translateX(4px); }

/* Vetrina: schede in cima, scene sovrapposte nella stessa cella, didascalia in fondo */
.hero-demo { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; padding: 1.1rem 1rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.demo-tabs button { position: relative; overflow: hidden; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--dim); font: inherit; font-size: .74rem; cursor: pointer; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--accent-line); }
.demo-tabs i { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--grad); }
.demo-tabs [aria-selected="true"] i { animation: tab-progress 5.5s linear forwards; }
.hero-demo[data-paused] .demo-tabs i { animation-play-state: paused; }
@media (hover: hover) { .hero-demo:hover .demo-tabs i { animation-play-state: paused; } }
@keyframes tab-progress { to { width: 100%; } }
.demo-stage { flex: 1; display: grid; place-items: center; }
.scene { grid-area: 1 / 1; width: 100%; display: flex; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transition: opacity .5s, transform .5s, visibility 0s linear .5s; }
.scene.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.demo-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: .4rem; color: var(--dim); font-size: .74rem; }
.demo-caption > span { display: inline-flex; align-items: center; gap: .55rem; }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent); }
.demo-pause { padding: .25rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--dim); font: inherit; font-size: .7rem; cursor: pointer; }
.demo-pause:hover { color: var(--ink); }

/* Finte schermate: sempre chiare */
.mock, .art {
    --m-ink: #221d18; --m-dim: #6b625a; --m-line: #e7e1d9; --m-soft: #f6f2ed;
    width: 100%; max-width: 520px; padding: 1.1rem; border-radius: 12px; background: #fff; color: var(--m-ink);
    box-shadow: 0 24px 60px rgba(30, 15, 5, .18); font-size: .8rem;
}
.mock-editor { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; }
.mock-palette { display: grid; align-content: start; gap: .35rem; }
.mock-palette span { padding: .45rem .5rem; border: 1px solid var(--m-line); border-radius: 7px; background: var(--m-soft); color: var(--m-dim); font-size: .68rem; }
.mock-palette .is-drag { border-color: #6cc644; color: #2a6f0e; background: #f1fbe8; }
.scene.is-active .mock-palette .is-drag { animation: drag 2.4s .4s ease-in-out both; }
@keyframes drag { 0% { transform: none; } 45%, 60% { transform: translate(60px, 40px) rotate(-3deg); box-shadow: 0 10px 20px rgba(0,0,0,.15); } 100% { transform: none; } }
.mock-mail, .ae-phone { display: grid; gap: .55rem; padding: .9rem; border: 1px solid var(--m-line); border-radius: 9px; background: var(--m-soft); }
.mm-logo { width: 70px; height: 12px; border-radius: 4px; background: #e0d8cf; }
.mm-hero { height: 92px; border-radius: 7px; background: linear-gradient(120deg, #c9f5b4, #fff3a6); }
.mm-title { font-weight: 700; font-size: .95rem; }
.mm-text { color: var(--m-dim); font-size: .74rem; line-height: 1.5; }
.mm-text b { color: #2a6f0e; }
.mm-btn { justify-self: start; padding: .4rem .8rem; border-radius: 6px; background: #7fd13b; color: #0d0f1d; font-weight: 700; font-size: .7rem; }
.mm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mm-cols span { height: 38px; border-radius: 6px; background: #ece5dd; }

.mock-flow { display: flex; flex-direction: column; align-items: center; }
.mf-node { padding: .5rem .8rem; border: 1px solid var(--m-line); border-radius: 9px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.05); font-size: .74rem; text-align: center; }
.mf-start { border-color: #b9e59a; background: #f3fbec; }
.mf-start b { display: block; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #2a6f0e; }
.mf-line { display: block; width: 2px; height: 18px; background: var(--m-line); }
.mf-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .5rem; padding-top: .6rem; border-top: 2px solid var(--m-line); }
.mf-branches > div { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.mf-branches em, .af-br em { font-style: normal; font-size: .62rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; }
.yes, .af-br .y { background: #e2f6ec; color: #13804c; }
.no, .af-br .n { background: #fde6e6; color: #b42626; }
.mf-exit { color: var(--m-dim); font-size: .7rem; }
.scene.is-active .mock-flow > *, .scene.is-active .mf-branches > div { animation: row-in .45s both; }
.scene.is-active .mock-flow > :nth-child(3) { animation-delay: .15s; }
.scene.is-active .mock-flow > :nth-child(5) { animation-delay: .3s; }
.scene.is-active .mock-flow > :nth-child(7) { animation-delay: .45s; }
.scene.is-active .mf-branches > div { animation-delay: .65s; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }

.mr-head { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.mr-head span { color: var(--m-dim); font-size: .7rem; }
.mr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mr-stats div { padding: .6rem; border-radius: 8px; background: var(--m-soft); color: var(--m-dim); font-size: .68rem; }
.mr-stats b { display: block; color: var(--m-ink); font-size: 1.2rem; }
.mr-bars { display: flex; align-items: end; gap: 4px; height: 70px; margin: .9rem 0; }
.mr-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #5ed521, #e3d417); }
.scene.is-active .mr-bars span { animation: bar-grow .8s both; }
@keyframes bar-grow { from { height: 0; } }
.mr-ab { display: grid; gap: .35rem; font-size: .7rem; color: var(--m-dim); }
.mr-ab span { display: flex; align-items: center; gap: .4rem; padding: .4rem .55rem; border: 1px solid var(--m-line); border-radius: 7px; }
.mr-ab b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--m-soft); color: var(--m-ink); font-size: .62rem; }
.mr-ab .win { border-color: #9fdcbd; color: var(--m-ink); }
.mr-ab i { margin-left: auto; font-style: normal; font-weight: 700; color: #13804c; }

.mi-file { display: flex; justify-content: space-between; padding: .6rem .75rem; border: 1px dashed #d8cfc5; border-radius: 8px; background: var(--m-soft); }
.mi-file span { color: var(--m-dim); }
.mi-map { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0; }
.mi-map span { padding: .3rem .6rem; border-radius: 999px; background: var(--m-soft); color: var(--m-dim); font-size: .68rem; }
.mi-map .on { background: #edf8e1; color: #2a6f0e; }
.mi-bar { height: 8px; border-radius: 99px; background: var(--m-soft); overflow: hidden; }
.mi-bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #3deb38, #92b500, #ffe01b); }
.scene.is-active .mi-bar i { animation: fill 2.2s .2s ease-out both; }
@keyframes fill { from { width: 0; } }
.mi-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .9rem; color: var(--m-dim); font-size: .68rem; }
.mi-res b { display: block; color: var(--m-ink); font-size: 1.1rem; }

/* --- Sezioni --- */
.section { padding: 6rem 0 1.5rem; }
.section-label { width: fit-content; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 1.2rem; }
.section-sub { color: var(--dim); font-size: 1.05rem; line-height: 1.65; max-width: 40rem; margin-bottom: 2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature, .tile { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .2s; }
.feature:hover, .tile:hover { border-color: var(--accent-line); }
.feature-n { color: var(--dim); font-size: .66rem; font-weight: 700; }
.feature h3, .tile h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.feature p, .tile p { color: var(--dim); font-size: .92rem; line-height: 1.65; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }

.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split-grid > :first-child { order: 2; }
.checks { display: grid; gap: .9rem; list-style: none; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--dim); line-height: 1.6; }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm5.2 8.2-6 6a1 1 0 0 1-1.4 0l-3-3 1.4-1.4 2.3 2.3 5.3-5.3Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm5.2 8.2-6 6a1 1 0 0 1-1.4 0l-3-3 1.4-1.4 2.3 2.3 5.3-5.3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.chips-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-row span { padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--dim); font-size: .84rem; }

.art { justify-self: center; }
.art-editor { position: relative; display: grid; gap: .8rem; max-width: 440px; padding-bottom: 2.4rem; }
.ae-toolbar { display: flex; align-items: center; gap: .35rem; }
.ae-toolbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--m-line); }
.ae-toolbar span { margin-left: auto; padding: .2rem .6rem; border-radius: 6px; color: var(--m-dim); font-size: .68rem; }
.ae-toolbar span + span { margin-left: 0; }
.ae-toolbar .on { background: var(--m-soft); color: var(--m-ink); font-weight: 600; }
.ae-phone { width: 230px; justify-self: center; border-radius: 22px; padding: 1rem .8rem; border: 6px solid #2a2420; background: #fff; }
.ae-check { position: absolute; right: -1.5rem; bottom: -1.2rem; display: grid; gap: .3rem; padding: .8rem .9rem; border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(30, 15, 5, .2); font-size: .7rem; }
.ae-check span { padding-left: 1.1rem; position: relative; color: var(--m-dim); }
.ae-check span::before { content: ""; position: absolute; left: 0; top: .35em; width: 8px; height: 8px; border-radius: 50%; }
.ae-check .ok::before { background: #2fb36f; }
.ae-check .warn::before { background: #f0a020; }

.art-flow { display: flex; flex-direction: column; align-items: center; max-width: 440px; padding: 1.6rem 1.2rem; }
.art-flow > i { display: block; width: 2px; height: 22px; background: var(--m-line); }
.af-n { padding: .65rem 1rem; border: 1px solid var(--m-line); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); text-align: center; font-size: .82rem; }
.af-n.start { border-color: #b9e59a; background: #f3fbec; }
.af-n small { display: block; color: #2a6f0e; font-size: .6rem; font-weight: 700; letter-spacing: .1em; }
.af-n.small { font-size: .74rem; }
.af-br { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; width: 100%; margin-top: .6rem; padding-top: .7rem; border-top: 2px solid var(--m-line); }
.af-br > div { display: flex; flex-direction: column; align-items: center; gap: .45rem; font-size: .74rem; color: var(--m-dim); text-align: center; }

.band { margin-top: 4.5rem; padding-bottom: 5rem; background: var(--soft); border-block: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin-top: 1rem; }
.steps li { display: grid; gap: .5rem; padding: 1.6rem; border-top: 2px solid; border-image: var(--grad) 1; background: var(--panel); }
.steps b { font-size: 1.1rem; font-weight: 600; }
.steps span { color: var(--dim); font-size: .92rem; }

/* --- Prezzi --- */
.pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; margin-top: 1rem; }
.pack-free { background: var(--soft); }
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 2rem; list-style: none; margin-top: 2rem; }
.included li { position: relative; padding-left: 1.5rem; color: var(--dim); }
.included li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .7rem; height: .4rem; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.price-card { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.price-card.is-featured { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; }
.price-flag { position: absolute; top: -.75rem; left: 1.6rem; padding: .2rem .7rem; border-radius: 999px; background: var(--grad); color: var(--accent-ink); font-size: .7rem; font-weight: 700; }
.price-card h3 { font-size: 1.35rem; font-weight: 600; }
.price-desc { color: var(--dim); font-size: .88rem; }
.price-card .pill { margin-top: auto; }
.price { display: grid; gap: .2rem; }
.price b { font-size: 2.3rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.price > span { color: var(--dim); font-size: .82rem; }
.price-note { margin-top: 1.4rem; color: var(--dim); font-size: .88rem; }

/* --- Domande --- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); }
.faq details { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-size: 1.05rem; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.35rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .7rem; color: var(--dim); line-height: 1.7; }

/* --- Invito finale --- */
.cta-panel { display: grid; justify-items: center; gap: 1.2rem; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; border-radius: 20px; background: var(--grad); color: #0d0f1d; text-align: center; }
.cta-panel h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.05; }
.cta-panel p { max-width: 34rem; color: #1f2333; font-size: 1.08rem; }

/* --- Footer --- */
.site-footer { margin-top: 5rem; padding: 3rem 0 2rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid p { margin-top: 1rem; max-width: 22rem; }
.footer-grid nav { display: grid; align-content: start; gap: .55rem; }
.footer-grid nav b { color: var(--ink); font-weight: 600; margin-bottom: .2rem; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .logo svg { height: 30px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; }

/* --- Responsive --- */
@media (max-width: 1240px) {
    .nav-links {
        display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem;
        margin: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); font-size: .95rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .7rem .8rem; border-radius: 8px; }
    .nav-links a:hover { background: var(--soft); }
    .nav-actions { margin-left: auto; }
    .nav-toggle { display: flex; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-copy { padding-top: 1rem; }
    .hero-title { font-size: clamp(3rem, 8vw, 5rem); }
    .hero-shortcut { margin-top: 2rem; }
}
@media (max-width: 900px) {
    .split-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .split.reverse .split-grid > :first-child { order: 0; }
    .feature-grid, .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .included { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ae-check { right: 0; }
}
@media (max-width: 760px) {
    .nav-actions .nav-login { display: none; }
    .nav-links .nav-mobile-only { display: block; }
}
@media (max-width: 600px) {
    .nav-inner { padding: .6rem .6rem .6rem .9rem; gap: .5rem; }
    .logo svg { height: 26px; }
    .nav-actions { gap: .4rem; }
    .nav-actions .pill { min-height: 40px; padding: .5rem .8rem; font-size: .8rem; }
    .site-theme-toggle, .nav-toggle { width: 40px; height: 40px; }
    .hero { padding-top: 1.5rem; }
    .hero-title { font-size: clamp(2.6rem, 12.5vw, 3.4rem); }
    .feature-grid, .pack-grid, .tiles, .checks.two, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .mock-editor { grid-template-columns: minmax(0, 1fr); }
    .mock-palette { grid-auto-flow: column; overflow: hidden; }
    .section { padding-top: 4.5rem; }
    .hero-demo { padding-inline: .7rem; }
}
@media (max-width: 440px) {
    .nav-logo .logo-full { display: none; }
    .nav-logo .logo-compact { display: inline-flex; }
    .nav-logo .logo svg { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
