@font-face {
    font-family: 'Galldis';
    src: url('../fonts/Galldis/Galldis.woff2') format('woff2'),
         url('../fonts/Galldis/Galldis.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('../fonts/Libre_Franklin/LibreFranklin-VariableFont_wght.woff2') format('woff2'),
         url('../fonts/Libre_Franklin/LibreFranklin-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Franklin';
    src: url('../fonts/Libre_Franklin/LibreFranklin-Italic-VariableFont_wght.woff2') format('woff2'),
         url('../fonts/Libre_Franklin/LibreFranklin-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


:root {
    --teal: #1ABFA0;
    --teal-2: #14A88C;
    --teal-soft: #DDF2EB;
    --teal-tint: #EEF8F4;
    --teal-ink: #0E7A66;
    --teal-ink-2: #075949;

    --navy: #0E1130;
    --navy-2: #1A1F4A;

    --ink: #1A1D24;
    --ink-2: #393E4A;
    --ink-3: #6B7080;
    --ink-4: #9CA0AE;
    --ink-5: #C2C4CE;

    --bg: #F8F4EC;
    --bg-2: #F1ECDF;
    --bg-3: #EEE7D5;
    --surface: #FFFFFF;
    --surface-alt: #FCFAF4;
    --hairline: #E8E1CE;
    --hairline-2: #D6CCB1;

    --business-radial-1-light: rgba(0, 255, 208, 0.052);
    --business-radial-2-light: rgba(0, 21, 255, 0.016);

    --video-navy: #0E1130;
    --right-stat-panel: rgba(255, 255, 255, 0.05);
    --fatture: #1A1D24;
}

/* ───────── Theme: Dark ───────── */
[data-theme="dark"] {
    --ink: #F1F4F9;
    --ink-2: #CFD5E0;
    --ink-3: #8C95A6;
    --ink-4: #5F6776;
    --ink-5: #3A4150;

    --navy: #0E1130;
    --navy-2: #1A1F4A;

    --bg: #0A0D14;
    --bg-2: #0F1320;
    --bg-3: #141828;
    --surface: #14182A;
    --surface-alt: #181D33;
    --hairline: #232943;
    --hairline-2: #2D3454;

    --teal-soft: rgba(26, 191, 160, 0.18);
    --teal-tint: rgba(26, 191, 160, 0.10);
    --teal-ink: #5BDEC2;

    --business-radial-1-light: rgba(26, 191, 160, 0.10);
    --business-radial-2-light: rgba(14, 17, 48, 0.04);

    --video-navy: #7aa8ff;
    --right-stat-panel: rgba(255, 255, 255, 0.05);
    --fatture: #7aa8ff;
}

/* Element-specific dark overrides for hardcoded values */
[data-theme="dark"] .hdr {
    background: rgba(10, 13, 20, 0.72) !important;
    border-bottom: 1px solid rgba(35, 41, 67, 0.6);
}

[data-theme="dark"] .ftr {
    background: #06080F;
}

[data-theme="dark"] .phone {
    background: #2A3047;
    border-color: #14182A;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 50px 100px -20px rgba(0, 0, 0, 0.50),
        0 30px 60px -30px rgba(0, 0, 0, 0.40);
}

[data-theme="dark"] .logo-wordmark,
[data-theme="dark"] .logo-mark {
    background-color: #F1F4F9;
}

[data-theme="dark"] .hero-input {
    background: var(--surface);
    color: var(--ink);
}

[data-theme="dark"] .hero-input::placeholder {
    color: var(--ink-3);
}

[data-theme="dark"] .float-card,
[data-theme="dark"] .feat-card,
[data-theme="dark"] .review,
[data-theme="dark"] .review-count,
[data-theme="dark"] .faq-item {
    box-shadow: none;
}

[data-theme="dark"] .compare-row--bad .compare-row-icon {
    background: rgba(201, 72, 62, 0.20);
    color: #FF8A7E;
}

[data-theme="dark"] .feat-card:hover {
    border-color: var(--teal);
}

[data-theme="dark"] .hero-btn.ghost {
    border-color: var(--hairline-2);
}

[data-theme="dark"] .hero-btn.ghost:hover {
    background: var(--surface);
}

[data-theme="dark"] .hero-bg {
    background:
        radial-gradient(circle at 12% 18%, rgba(26, 191, 160, 0.10) 0%, transparent 38%),
        radial-gradient(circle at 88% 65%, rgba(122, 168, 255, 0.05) 0%, transparent 42%);
}

/* Smooth theme transition */
body,
.hdr,
.ftr,
.phone,
.surface,
.feat-card,
.review,
.faq-item,
.compare-row-text,
.float-card,
.review-count,
.hero-input {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Selection */
::selection {
    background: var(--teal-soft);
    color: var(--teal-ink);
}

/* Utility */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

.p-4 {
    padding: 4px;
}

/* ───────── Generic layout utility ───────── */
.flex-1 {
    flex: 1;
}

/* ───────── Header ───────── */
.hdr-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hdr-brand a {
    text-decoration: none;
}

.hdr-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.hdr {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 244, 236, 0.78);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(232, 225, 206, 0.6);
}

.hdr-row .right-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hdr-row {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hdr-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hdr-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: -0.1px;
    transition: color .15s;
}

.hdr-nav a:hover {
    color: var(--ink);
}

.hdr-cta {
    height: 44px;
    padding: 0 18px;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.1px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 -1px 0 rgba(0, 0, 0, 0.10) inset,
        0 4px 12px -2px rgba(14, 122, 102, 0.35);
    transition: filter .15s, transform .15s;
}

.hdr-cta:hover {
    filter: brightness(1.05);
}

.hdr-cta:active {
    transform: translateY(1px);
}

/* ───────── Logo ───────── */
.logo-mark {
    display: inline-block;
    background-color: var(--navy);
    -webkit-mask: url('../img/logos/logo-nero.png') center/contain no-repeat;
    mask: url('../img/logos/logo-nero.png') center/contain no-repeat;
    height: 32px;
    aspect-ratio: 50/50;
}

.logo-wordmark {
    display: inline-block;
    background-color: var(--ink);
    -webkit-mask: url('../img/logos/logo-nero-full.png') left center/contain no-repeat;
    mask: url('../img/logos/logo-nero-full.png') left center/contain no-repeat;
    height: 32px;
    aspect-ratio: 345/99;
}

.logo-wordmark.light {
    background-color: #fff;
    -webkit-mask-image: url('../img/logos/logo-bianco-full.png');
    mask-image: url('../img/logos/logo-bianco-full.png');
    height: 30px;
}

/* ───────── Icon (mask-based) ───────── */
.ic {
    display: inline-block;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: var(--src) center/contain no-repeat;
    mask: var(--src) center/contain no-repeat;
}

/* ───────── Hero ───────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 100px;
}

.hero--business {
    padding: 80px 0 92px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(26, 191, 160, 0.10) 0%, transparent 38%),
        radial-gradient(circle at 88% 65%, rgba(14, 17, 48, 0.04) 0%, transparent 42%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    margin-bottom: 32px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-2);
    letter-spacing: -0.1px;
}

.hero-eyebrow .dot {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1.hero-h1 {
    margin: 0;
    font-size: 64px;
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -2.6px;
    color: var(--ink);
    text-wrap: balance;
    font-family: 'Libre Franklin', sans-serif;
}

h1.hero-h1 em {
    font-family: 'Galldis', serif;
    font-style: normal;
    font-weight: 400;
    color: var(--teal-ink);
    letter-spacing: -1.5px;
}

.hero-sub {
    margin: 28px 0 48px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 540px;
    font-weight: 400;
    text-wrap: pretty;
}

/* Hero heading: page-specific overrides on the shared .hero-h1 */
.hero-text--narrow {
    max-width: 600px;
}

.hero-h1.hero-h1--light {
    font-weight: 300;
}

.hero-h1--narrow {
    max-width: 582px;
    padding: 1px;
}

.hero-h1-fatture {
    color: var(--fatture);
}

.hero-h1-accent {
    font-family: 'Galldis', serif;
    color: var(--teal-ink);
    font-weight: 300;
    font-size: 56px;
}

h1.hero-h1 b {
    font-weight: 700;
    font-size: 64px;
}

.hero-h1-highlight {
    font-family: 'Galldis', serif;
    color: var(--teal-ink);
    font-weight: 400;
}

.hero-form {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin-bottom: 16px;
}

.hero-input {
    flex: 1;
    height: 56px;
    padding: 0 20px;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    background: var(--surface);
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    outline: none;
    letter-spacing: -0.2px;
    transition: border-color .15s, background .15s;
}

.hero-input:focus {
    border-color: var(--teal);
    background: #fff;
}

.hero-input::placeholder {
    color: var(--ink-3);
    font-weight: 400;
}

.hero-btn {
    height: 56px;
    padding: 0 24px;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -1px 0 rgba(0, 0, 0, 0.10) inset,
        0 6px 18px -3px rgba(14, 122, 102, 0.40);
    transition: filter .15s, transform .15s;
}

.hero-btn:hover {
    filter: brightness(1.05);
}

.hero-btn:active {
    transform: translateY(1px);
}

.hero-sub--lg {
    font-size: 19px;
}

.hero-fine {
    font-size: 12.5px;
    color: var(--ink-3);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-fine .ic {
    color: var(--teal);
}

/* ───────── Phone (used multiple places) ───────── */
.phone {
    width: 320px;
    aspect-ratio: 320/640;
    background: #fff;
    border-radius: 42px;
    position: relative;
    overflow: hidden;
    border: 8px solid #1A1D24;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 50px 100px -20px rgba(14, 17, 48, 0.30),
        0 30px 60px -30px rgba(14, 17, 48, 0.20);
}

.phone.lg {
    width: 360px;
}

.phone-content {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

.phone-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 102px;
    height: 28px;
    background: #1A1D24;
    border-radius: 100px;
    z-index: 5;
}

.phone-statusbar {
    height: 52px;
    padding: 18px 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    font-family: -apple-system, system-ui;
}

.phone-statusbar .right {
    display: flex;
    gap: 5px;
    align-items: center;
    color: var(--ink);
}

/* Hero phone wrapper — floating with slight tilt */
.hero-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 640px;
}

.hero-phone {
    transform: rotate(2deg);
}

.float-card {
    position: absolute;
    z-index: 2;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 20px 50px -20px rgba(14, 17, 48, 0.20);
    display: flex;
    align-items: center;
    gap: 12px;
}

.float-card .ic {
    color: var(--teal);
}

.float-card .ic-bg {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Orange badge variant, used for feat-card / float-card icon backgrounds */
.ic-bg--orange {
    background-color: rgb(248, 245, 238) !important;
    color: rgb(232, 141, 21);
}

.float-card .label {
    font-size: 12px;
    color: var(--ink-2);
    font-weight: 500;
}

.float-card .value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.float-1 {
    top: 96px;
    left: -40px;
}

.float-2 {
    bottom: 64px;
    right: -52px;
}

.float-3 {
    top: 280px;
    right: -16px;
}

/* ───────── Phone Screen — Chat ───────── */
.ps-chat {
    padding: 0 0 0;
}

.ps-chat-hdr {
    padding: 8px 16px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--hairline);
}

.ps-chat-hdr .av {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    position: relative;
}

.ps-chat-hdr .nm {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.ps-chat-hdr .st {
    font-size: 11px;
    color: var(--ink-2);
}

.ps-chat-body {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 80px;
    scrollbar-width: none;
}

.ps-chat-body::-webkit-scrollbar {
    display: none;
}

.bub {
    font-size: 12px;
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: -0.1px;
}

.bub.ai {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: 18px 18px 18px 4px;
    align-self: flex-start;
}

.bub.me {
    background: var(--teal);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    align-self: flex-end;
}

.bub.ai-card {
    background: var(--teal-tint);
    border: 1px solid var(--teal-soft);
    color: var(--ink);
    border-radius: 16px;
    align-self: flex-start;
    padding: 12px 14px;
    max-width: 86%;
}

.bub.ai-card.accent-a {
    border-color: rgb(94, 238, 191);
}

.bub.ai-card.accent-b {
    border-color: rgb(158, 232, 207);
}

/* Invoice preview action button inside the hero chat card */
.ai-card-send-btn {
    margin-top: 10px;
    width: 100%;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
}

/* Hero chat composer with a visible outline (vs the default filled one) */
.ps-chat-comp--outline {
    border-width: 2px;
    border-color: rgb(25, 187, 157);
    border-radius: 14px;
}

.send-btn--outline {
    color: rgb(26, 188, 157);
    background-color: transparent;
}

.bub.ai-card .h {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal-ink);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Libre Franklin', sans-serif;
}

.bub.ai-card .h .ic {
    width: 11px;
    height: 11px
    ;
    color: var(--teal-ink);
}

.bub.ai-card .msg {
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--ink);
    margin: 0;
}

.bub.ai-card .row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
}

.bub.ai-card .row+.row {
    border-top: 1px dashed rgba(14, 17, 48, 0.08);
}

.bub.ai-card .row .k {
    color: var(--ink-2);
    font-weight: 500;
    flex-shrink: 0;
}

.bub.ai-card .row .v {
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    margin-left: 1rem;
}

/* Nota di sistema nella chat demo: testo centrato fuori dalle bolle */
.chat-sys-note {
    align-self: center;
    max-width: 90%;
    margin-top: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--ink-3);
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.ps-chat-comp {
    position: absolute;
    bottom: 18px;
    left: 14px;
    right: 14px;
    background: var(--bg);
    border-radius: 22px;
    padding: 6px 6px 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--hairline);
}

.ps-chat-comp .ph {
    flex: 1;
    color: var(--ink-2);
    font-size: 12px;
}

.ps-chat-comp .ph.filled {
    color: var(--ink);
}

.ps-chat-comp .ph.typing::after {
    content: '|';
    margin-left: 1px;
    animation: caret-blink .8s steps(2) infinite;
}

@keyframes caret-blink {
    50% {
        opacity: 0;
    }
}

.ps-chat-comp .send-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .15s;
}

.ps-chat-comp .send-btn.pulse {
    animation: send-glow 1.4s ease-in-out infinite;
}

@keyframes send-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(25, 187, 157, 0.55);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(25, 187, 157, 0);
    }
}

.ps-chat-comp .send-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    animation: none;
}

.ps-chat-comp .send-btn .ic {
    width: 16px;
    height: 16px;
    color: #fff;
}

/* ───────── Phone Screen — Fatture ───────── */
.ps-list-hdr {
    padding: 14px 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ps-list-hdr h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.7px;
    font-family: 'Libre Franklin', sans-serif;
}

.ps-list-hdr .badge {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.ps-tabs {
    padding: 0 18px 12px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--hairline);
}

.ps-tabs .t {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-2);
}

.ps-tabs .t.on {
    background: var(--ink);
    color: #fff;
}

.ps-row {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--hairline);
}

.ps-row .ic-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ps-row .nm {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.ps-row .sm {
    font-size: 11px;
    color: var(--ink-2);
    margin-top: 1px;
}

.ps-row .amt {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.pill {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 600;
    font-family: 'Libre Franklin', sans-serif;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pill.ok {
    background: var(--teal-soft);
    color: var(--teal-ink);
}

.pill.wait {
    background: #FCEFD2;
    color: #876110;
}

.pill.late {
    background: #FBDBD9;
    color: #8A2A22;
}

/* ───────── Phone Screen — Hub (Dashboard) ───────── */
.ps-hub-hdr {
    padding: 14px 18px 6px;
}

.ps-hub-hdr .small {
    font-size: 11px;
    color: var(--ink-2);
    font-family: 'Libre Franklin', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ps-hub-hdr h3 {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.8px;
    font-family: 'Libre Franklin', sans-serif;
}

.ps-bigcard {
    margin: 10px 16px;
    padding: 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ps-bigcard .lbl {
    font-size: 10.5px;
    opacity: 0.6;
    font-family: 'Libre Franklin', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ps-bigcard .nm {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}

.ps-bigcard .nm .small {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 500;
}

.ps-bigcard .row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    opacity: 0.8;
}

.ps-bigcard .delta {
    background: var(--teal);
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 10.5px;
    opacity: 1;
}

.ps-quick {
    margin: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ps-quick .q {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 12px;
}

.ps-quick .q .ic-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--teal);
}

.ps-quick .q .nm {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.ps-quick .q .sm {
    font-size: 10.5px;
    color: var(--ink-2);
    margin-top: 2px;
}

/* ───────── Proof strip ───────── */
.proof {
    padding: 64px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.proof-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.proof-card .ic-bg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-tint);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.proof-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.proof-card p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--ink-2);
    line-height: 1.45;
}

/* ───────── Feature section ───────── */
.feat {
    padding: 120px 0;
    position: relative;
}

.feat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 96px;
    align-items: center;
}

.feat-grid.reverse>.feat-text {
    order: 2;
}

.feat-eyebrow {
    display: inline-block;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--teal-ink);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--teal-soft);
    border-radius: 6px;
    margin-bottom: 24px;
}

.feat h2 {
    margin: 0;
    font-size: 64px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1.5px;
    color: var(--ink);
    text-wrap: balance;
    font-family: 'Libre Franklin', sans-serif;
}

.feat h2.feat-h2--light {
    font-weight: 300;
}

.feat h2 strong {
    font-weight: 700;
}

.feat h2 em {
    font-family: 'Galldis', serif;
    font-style: normal;
    font-weight: 400;
    color: var(--teal-ink);
    letter-spacing: -0.8px;
    font-size: 0.875em;
}

.feat p {
    margin: 24px 0 48px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 460px;
    text-wrap: pretty;
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feat-li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
    font-weight: 500;
    letter-spacing: -0.1px;
}

.feat-li .ic {
    color: var(--teal);
    width: 22px;
    height: 22px;
    background: var(--teal-soft);
    border-radius: 6px;
    padding: 5px;
    flex-shrink: 0;
    margin-top: 1px;
}

.feat-phone-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

/* ───────── Manifesto strip ───────── */
.manifesto {
    padding: 140px 0;
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(26, 191, 160, 0.15) 0%, transparent 38%),
        radial-gradient(circle at 82% 78%, rgba(26, 191, 160, 0.08) 0%, transparent 42%);
    pointer-events: none;
}

.manifesto-inner {
    position: relative;
    text-align: center;
}

.manifesto blockquote {
    margin: 0 auto;
    max-width: 920px;
    font-size: 48px;
    line-height: 1.18;
    font-weight: 500;
    letter-spacing: -1.3px;
    text-wrap: balance;
    font-family: 'Libre Franklin', sans-serif;
}

.manifesto blockquote em {
    font-family: 'Galldis', serif;
    font-style: normal;
    font-weight: 400;
    color: var(--teal);
    letter-spacing: -0.8px;
}

.manifesto .sig {
    margin-top: 40px;
    font-size: 12px;
    opacity: 0.6;
    font-family: 'Libre Franklin', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ───────── Pricing / CTA ───────── */
.cta {
    padding: 140px 0 120px;
    text-align: center;
}

.cta h2 {
    margin: 0 auto;
    max-width: 480px;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -1.6px;
    color: var(--ink);
    text-wrap: balance;
    font-family: 'Libre Franklin', sans-serif;
}

.cta h2 em {
    font-family: 'Galldis', serif;
    font-style: normal;
    font-weight: 400;
    color: var(--teal-ink);
    letter-spacing: -1.2px;
}

.cta p {
    margin: 28px auto 48px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 600px;
    text-wrap: pretty;
}

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 20px;
}

.cta-perks {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-2);
    font-weight: 500;
}

.cta-perk .ic {
    color: var(--teal);
}

/* Dark CTA band ("Riprendi il controllo" / "Fai crescere il tuo studio") */
.cta--dark {
    background: linear-gradient(to bottom, #073D33 0%, #0C6957 100%);
    color: #fff;
    padding: 100px 0;
}

.cta--dark .container-narrow {
    position: relative;
}

.cta--dark h2 {
    color: #fff;
}

.cta--dark .cta-actions {
    margin-top: 36px;
}

.cta--dark .cta-perks {
    margin-top: 20px;
}

.cta--dark .cta-perk {
    color: rgba(255, 255, 255, 0.85);
}

.cta-btn-white--accent {
    color: var(--teal-ink);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 8px 22px -6px rgba(0, 0, 0, 0.35);
}

.cta-btn-white--lg {
    padding: 0 30px;
    font-size: 15.5px;
}

.cta-title--lg {
    font-weight: 600;
    letter-spacing: -2px;
    max-width: 600px;
}

.cta-final-desc {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    margin: 24px auto 32px !important;
    max-width: 560px;
}

.cta-final-perks {
    margin-top: 28px;
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.cta-final-perk {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-footnote {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-footnote a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ───────── Footer ───────── */
.ftr {
    background: var(--ink);
    color: #fff;
    padding: 80px 0 40px;
}

.ftr-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.ftr-top h3 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Libre Franklin', sans-serif;
    color: #ffffffb9;
}

.ftr-top a {
    display: block;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    transition: opacity .15s;
}

.ftr-top a:hover {
    opacity: 1;
}

.ftr-tagline {
    font-size: 15.5px;
    color: #ffffffb9;
    line-height: 1.5;
    max-width: 320px;
    margin-top: 16px;
}

.ftr-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.ftr-legal {
    font-size: 12px;
    color: #ffffffb9;
    line-height: 1.6;
}

.ftr-social {
    display: flex;
    gap: 12px;
}

.ftr-social a {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.7;
}

.ftr-social a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.10);
}

/* ─────────────── COMPARE ─────────────── */
.compare {
    padding: 96px 0;
    background: var(--surface-alt);
}

.compare-head {
    text-align: center;
    margin-bottom: 56px;
}

.compare-head h2 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1.3px;
    color: var(--ink);
    font-family: 'Libre Franklin', sans-serif;
}

.compare-head p {
    margin: 20px auto 0;
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.5;
    max-width: 580px;
    text-wrap: pretty;
}

.compare-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.compare-row {
    display: flex;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.compare-row-text {
    flex: 1.2;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
}


.compare-row-text h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Libre Franklin', sans-serif;
}

.compare-row-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.compare-row--bad .compare-row-icon {
    background: rgba(201, 72, 62, 0.12);
    color: #C9483E;
}

.compare-row--good .compare-row-icon {
    background: var(--teal-tint);
    color: var(--teal-ink);
}

.compare-row-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
}

.compare-row--bad .compare-row-visual {
    background: linear-gradient(135deg, #E2857B 0%, #C9483E 100%);
}

.compare-row--good .compare-row-visual {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
}

/* Fuori dal flusso: l'immagine riempie la colonna senza spingerne l'altezza,
   che resta quella del testo nella colonna accanto. */
.compare-row-visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
    font-weight: 400;
    letter-spacing: -0.1px;
}

.compare-row--good .compare-li {
    font-weight: 500;
    color: var(--ink);
}

.compare-li .mark {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 11px;
    color: #fff;
}

.compare-row--bad .mark {
    background: rgba(201, 72, 62, 0.12);
    color: #C9483E;
}

.compare-row--good .mark {
    background: var(--teal-tint);
    color: var(--teal-ink)
}

/* ─────────────── VIDEO ─────────────── */
.video-sec {
    padding: 96px 0;
}

.video-head {
    text-align: center;
    margin-bottom: 48px;
}

.video-head h2 {
    margin: 0;
    font-size: 43px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1.3px;
    color: var(--ink);
    font-family: 'Libre Franklin', sans-serif;
}

.video-head p {
    margin: 16px auto 0;
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.5;
    max-width: 540px;
}

.video-frame {
    max-width: 920px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--video-navy) 0%, var(--ink) 100%);
    box-shadow: 0 30px 80px -20px rgba(14, 17, 48, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 14px, transparent 14px 28px);
}

.video-play {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: #fff;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
    transition: transform .2s;
    cursor: pointer;
    border: 0;
}

.video-play:hover {
    transform: scale(1.06);
}

/* ─────────────── REVIEWS ─────────────── */
.reviews {
    padding: 96px 0;
    background: var(--surface-alt);
}

.reviews-head {
    text-align: center;
    margin-bottom: 56px;
}

.reviews-head h2 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1.4px;
    color: var(--ink);
    font-family: 'Libre Franklin', sans-serif;
}

.reviews-head p {
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    margin: 0 auto 48px;
    max-width: 760px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.6px;
    color: var(--ink);
    line-height: 1;
}

.stat-value .unit {
    font-size: 22px;
    color: var(--ink-2);
}

.stat-label {
    font-size: 12px;
    color: var(--ink-2);
    margin-top: 6px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dash-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.review {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow: 0 4px 24px -8px rgba(14, 17, 48, 0.06);
    display: flex;
    flex-direction: column;
}

.review .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: #d66b13;
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
    margin: 0 0 24px;
    font-weight: 400;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
}

.review-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    letter-spacing: -0.3px;
}

.review-author .avatar.c1 {
    background: #E8DCC4;
    color: #503a1a;
}

.review-author .avatar.c2 {
    background: #D5E8DC;
    color: #0c4440;
}

.review-author .avatar.c3 {
    background: #F3D8C4;
    color: #502915;
}

.review-author .name-block {
    flex: 1;
    min-width: 0;
}

.review-author .nm {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

.review-author .role {
    font-size: 12px;
    color: var(--ink-2);
    margin-top: 1px;
}

.review-count {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 48px auto 0;
    padding: 10px 22px 10px 14px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    width: fit-content;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 4px 16px -4px rgba(14, 17, 48, 0.08);
}

.review-count .avatars {
    display: flex;
}

.review-count .avatars>div {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid var(--surface);
    margin-left: -10px;
}

.review-count .avatars>div:first-child {
    margin-left: 0;
}

/* ─────────────── FEATS 6-card ─────────────── */
.feats {
    padding: 96px 0;
}

.feats-head {
    text-align: center;
    margin-bottom: 56px;
}

.feats-head h2 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1.4px;
    color: var(--ink);
    font-family: 'Libre Franklin', sans-serif;
}

.feats-head p {
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.feats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    transition: border-color .15s, transform .15s;
}

.feat-card:hover {
    border-color: var(--teal-soft);
    transform: translateY(-2px);
}

.feat-card .ic-bg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--teal-tint);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feat-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--ink);
    font-family: 'Libre Franklin', sans-serif;
}

.feat-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

/* ─────────────── FAQ ─────────────── */
.faq {
    padding: 96px 0;
    background: var(--surface-alt);
}

.faq-head {
    text-align: center;
    margin-bottom: 56px;
}

.faq-head h2 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1.4px;
    color: var(--ink);
    font-family: 'Libre Franklin', sans-serif;
}

.faq-head p {
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    padding: 22px 24px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.faq-q .chev {
    width: 22px;
    height: 22px;
    color: var(--ink-2);
    transition: transform .2s;
    flex-shrink: 0;
}

.faq-item.open .faq-q .chev {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s ease;
    padding: 0 24px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 24px 22px;
}

.faq-foot {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--ink-2);
}

/* ─────────────── Section CTA (shared) ─────────────── */
.section-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.section-cta .btn {
    height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -1px 0 rgba(0, 0, 0, 0.10) inset,
        0 6px 18px -3px rgba(14, 122, 102, 0.40);
    transition: filter .15s, transform .15s;
}

.section-cta .btn:hover {
    filter: brightness(1.05);
}

.section-cta .btn:active {
    transform: translateY(1px);
}

.section-cta .btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--hairline-2);
    box-shadow: none;
}

.section-cta .btn.ghost:hover {
    background: var(--surface);
    filter: none;
}

.section-cta .note {
    font-size: 12px;
    color: var(--ink-3);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-cta .note .ic {
    color: var(--teal);
}

/* CTA inside a feature column (left-aligned) */
.feat-cta {
    margin-top: 28px;
}

.feat-cta .btn {
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -1px 0 rgba(0, 0, 0, 0.10) inset,
        0 6px 18px -3px rgba(14, 122, 102, 0.40);
    transition: filter .15s, transform .15s;
}

.feat-cta .btn:hover {
    filter: brightness(1.05);
}

.feat-cta .btn:active {
    transform: translateY(1px);
}

/* ─────────────── Hero secondary button ─────────────── */
.hero-btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--hairline-2);
    box-shadow: none;
}

.hero-btn.ghost:hover {
    background: var(--surface);
    filter: none;
}

.hero-btn.ghost .ic-play {
    color: var(--teal);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Hero waitlist form */
.hero-waitlist {
    margin-bottom: 20px;
    max-width: 540px;
}

.hero-waitlist-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.hero-waitlist-row .hero-input {
    flex: 1;
}

.hero-waitlist-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.5;
    font-weight: 400;
}

.hero-waitlist-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hero-waitlist-check .box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--hairline-2);
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    margin-top: 1px;
    transition: background .15s, border-color .15s, color .15s;
}

.hero-waitlist-check .box svg {
    width: 12px;
    height: 12px;
}

.hero-waitlist-check input:checked+.box {
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    border-color: var(--teal-ink);
    color: #fff;
}

.hero-waitlist-check input:focus-visible+.box {
    box-shadow: 0 0 0 3px var(--teal-soft);
}

.hero-waitlist-check .txt a {
    color: var(--ink-2);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.hero-waitlist-check .txt a:hover {
    color: var(--teal-ink);
}

.hero-waitlist-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hero-waitlist-error {
    margin-top: 10px;
    font-size: 12px;
    color: #C23B3B;
}

.hero-input.wl-highlight {
    animation: wl-pulse 1.1s ease;
}

@keyframes wl-pulse {

    0%,
    100% {
        box-shadow: none;
    }

    30% {
        box-shadow: 0 0 0 4px var(--teal-soft);
    }
}

/* Waitlist confirmation modal */
.wl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 17, 48, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.wl-modal-overlay[hidden] {
    display: none;
}

.wl-modal {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
}

.wl-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--ink-3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.wl-modal-close:hover {
    background: var(--hairline);
    color: var(--ink);
}

.wl-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: var(--teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-modal h3 {
    margin: 0 0 10px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--ink);
}

.wl-modal p {
    margin: 0 0 24px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-2);
}

.wl-modal-ok {
    width: 100%;
    justify-content: center;
}

.hero-perks {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-perks .perk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-2);
    font-weight: 500;
}

.hero-perks .perk .ic {
    color: var(--teal);
}

/* CTA buttons row */
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.cta-btn-white {
    height: 56px;
    padding: 0 26px;
    background: #fff;
    color: var(--ink);
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.2px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.25);
    transition: filter .15s, transform .15s;
}

.cta-btn-white:hover {
    filter: brightness(1.04);
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 26px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.2px;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .15s, background .15s;
}

.cta-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

/* Theme toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--hairline-2);
    color: var(--ink-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--hairline-2);
}

.theme-toggle:active {
    transform: scale(0.94);
}

.theme-toggle .ic-sun {
    display: none;
}

.theme-toggle .ic-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .ic-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .ic-moon {
    display: none;
}

/* Coming soon flag in header */
.cs-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-ink);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.cs-flag .dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 999px;
    animation: pulse 2s ease-in-out infinite;
}

/* CTA iniziale della demo (overlay sopra .phone) */
.demo-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-bottom: 18px;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(5px);
    transition: opacity .35s ease, visibility 0s linear 0s;
}

.demo-cta-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility 0s linear .35s;
}

.demo-cta-btn {
    position: relative;
    padding: 12px 26px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 18px -4px rgba(14, 122, 102, 0.5);
}

.cta-icon {
    font-size: 11px;
}

.cta-ring {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid var(--teal);
    opacity: .6;
    animation: cta-ring-pulse 1.8s ease-out infinite;
}

@keyframes cta-ring-pulse {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.demo-cta-overlay .demo-cta-btn {
    margin-bottom: 45px;
}

/* Stage: contiene le tre viste del telefono (chat normale, welcome demo,
   chat demo) sovrapposte, per permettere il crossfade tra stati */
.phone-stage {
    position: relative;
    flex: 1;
    min-height: 0;
}

.phone-stage::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    pointer-events: none;
}

.phone-stage>.ps-chat-body,
.phone-stage>.demo-welcome,
.phone-stage>.demo-chat {
    position: absolute;
    inset: 0;
}

/* Demo welcome screen (dentro .phone-stage) */
.demo-welcome {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 26px;
    gap: 20px;
}

.dw-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.dw-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dw-title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-top: -4rem;
}

.dw-brand {
    font-family: 'Galldis', serif;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -0.8px;
    color: var(--ink);
}

.dw-sub {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 10px;
    line-height: 1.55;
    color: var(--ink-4);
    max-width: 230px;
    margin-top: 8px;
}

.dw-sub b {
    font-family: 'Libre Franklin', sans-serif;
    color: var(--ink-4);
    font-weight: 700;
}

/* Stato demo: alterna solo il contenuto del phone, il testo a sinistra resta fisso */
.hero[data-mode="demo"] .ps-chat-body-normal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero[data-mode="demo"] .demo-welcome {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero[data-mode="demo"] .demo-welcome.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Demo chat — messaggi generati dalla domanda scelta nel menu categorie */
.demo-chat {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 80px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-anchor: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.demo-chat::-webkit-scrollbar {
    display: none;
}

.hero[data-mode="demo"] .demo-chat.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Indicatore di digitazione: riusa .typing-bub già definito in animations.css
   (stessa struttura generata da makeTyping() per la chat statica) */

/* Mini bar chart (usato nella risposta "grafico incassi") */
.mini-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding-top: 8px;
}

.mc-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mc-v {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.mc-fill {
    width: 34px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(to top, var(--teal-ink), var(--teal));
}

.mc-x {
    font-size: 10px;
    color: var(--ink-2);
    font-weight: 600;
}

.demo-invia {
    margin-top: 10px;
    width: 100%;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(to bottom, var(--teal-ink) 0%, var(--teal) 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity .15s;
}

.demo-invia:disabled {
    opacity: .35;
    cursor: not-allowed;
}



/* ───────── Tinted icon images (shared across pages) ───────── */
.icon-img {
    display: inline-block;
    flex-shrink: 0;
}

.icon-11 {
    width: 11px;
    height: 11px;
}

.icon-13 {
    width: 12px;
    height: 12px;
}

.icon-14 {
    width: 14px;
    height: 14px;
}

.icon-16 {
    width: 16px;
    height: 16px;
}

.icon-20 {
    width: 20px;
    height: 20px;
}

.icon-22 {
    width: 22px;
    height: 22px;
}

.icon-24 {
    width: 24px;
    height: 24px;
}

.icon-26 {
    width: 26px;
    height: 26px;
}

/* Tints (named after their brand/role, not their raw filter values) */
.icon-teal-ink {
    filter: brightness(0) saturate(100%) invert(40%) sepia(30%) saturate(1000%) hue-rotate(120deg) brightness(90%);
}

.icon-teal {
    filter: brightness(0) saturate(100%) invert(50%) sepia(20%) saturate(1400%) hue-rotate(120deg) brightness(115%);
}

.icon-teal-muted {
    filter: brightness(0) saturate(100%) invert(65%) sepia(20%) saturate(1400%) hue-rotate(120deg) brightness(85%);
}

.icon-orange {
    filter: brightness(0) saturate(100%) invert(50%) sepia(20%) saturate(1700%) hue-rotate(355deg) brightness(115%);
}

.icon-mint {
    filter: brightness(0) saturate(100%) invert(70%) sepia(70%) saturate(200%) hue-rotate(115deg) brightness(100%);
}

.icon-mint-bright {
    filter: brightness(0) saturate(100%) invert(65%) sepia(40%) saturate(200%) hue-rotate(115deg) brightness(120%);
}

.icon-white {
    filter: brightness(0) invert(1);
}

/* FAQ chevron icon (tint lives here instead of inline on every <img>) */
.faq-q .chev {
    display: inline-block;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(70%) sepia(20%) saturate(250%) hue-rotate(190deg) brightness(60%);
}

/* Checkmark icons inside a feature bullet list sit 1px lower to align with text */
.feat-li .icon-img {
    margin-top: 1px;
}

/* ─────────────── Business hero: mock dashboard preview ─────────────── */
.mock-dashboard {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 30px 70px -30px rgba(14, 17, 48, 0.28);
}

.mock-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mock-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-dashboard-brand .logo-mark {
    height: 26px;
}

.mock-dashboard-brand-name {
    font-family: 'Libre Franklin';
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
}

.mock-dashboard-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal-ink);
    background: var(--teal-soft);
    padding: 4px 10px;
    border-radius: 999px;
}

.mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.mock-stat-card {
    background: var(--surface-alt);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 14px;
}

.mock-stat-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.mock-stat-value {
    font-family: 'Libre Franklin';
    font-weight: 700;
    font-size: 24px;
    color: var(--ink);
    letter-spacing: -1px;
}

.mock-stat-label {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
}

.mock-client-list {
    border: 1px solid var(--hairline);
    border-radius: 14px;
    overflow: hidden;
}

.mock-client-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--hairline);
}

.mock-client-row:last-child {
    border-bottom: 0;
}

.mock-client-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.mock-client-info {
    flex: 1;
    min-width: 0;
}

.mock-client-name {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink);
}

.mock-client-detail {
    font-size: 11.5px;
    color: var(--ink-3);
}

.mock-client-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: #8e3f09;
}

.mock-client-tag--ok {
    background: var(--teal-soft);
    color: var(--teal-ink);
}

/* ─────────────── "Come funziona" / steps ─────────────── */
.how {
    padding: 100px 0;
    background: var(--surface-alt);
}

.steps-3,
.steps-4 {
    display: grid;
    gap: 20px;
}

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

.steps-4 {
    grid-template-columns: repeat(4, 1fr);
}

.steps-3--centered {
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 32px 24px;
}

.step-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 17px;
}

.step-number--accent {
    background: var(--teal);
    color: #fff;
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--teal-soft);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin: 0 0 8px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 24px; 
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--ink);
}

.step-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-2);
}

.step-card--compact {
    padding: 26px;
}

.step-icon--md {
    width: 44px;
    height: 44px;
}

.step-icon--lg {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

.step-badge {
    position: absolute;
    top: 26px;
    right: 26px;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    color: var(--bg);
    background: var(--ink);
    padding: 4px 10px;
    border-radius: 999px;
}

.step-card-title {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--ink);
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 18px;
}

.step-card-title--sm {
    font-size: 17.5px;
    letter-spacing: -0.3px;
}

.step-card-text {
    font-size: 14.5px;
    color: var(--ink-3);
    line-height: 1.55;
}

/* ─────────────── Shared centered section head (Business page) ─────────────── */
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-head h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1.6px;
    color: var(--ink);
    margin: 14px 0 0;
}

.section-head h2 span {
    font-family: 'Galldis', serif;
    font-weight: 400;
    color: var(--teal-ink);
}

.section-head p {
    font-size: 17px;
    color: var(--ink-3);
    line-height: 1.55;
    margin: 16px 0 0;
}

.section-head--wide {
    max-width: none;
    margin: 0 0 48px;
}

.section-faq {
    padding: 100px 0;
}

.container--820 {
    max-width: 820px;
}

.container--760-centered {
    text-align: center;
    max-width: 760px;
}

.reveal-wrap {
    position: relative;
}

/* Two-column feature copy (dashboard / chat privata / pacchetto sections) */
.feature-copy h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1.8px;
    color: var(--ink);
    margin: 14px 0 0;
}

.feature-copy h2 span {
    font-family: 'Galldis', serif;
    font-weight: 400;
    color: var(--teal-ink);
}

.feature-copy p {
    font-size: 17.5px;
    color: var(--ink-3);
    line-height: 1.6;
    margin: 22px 0 30px;
    max-width: 480px;
}

.feature-copy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-copy-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-copy-item-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.feature-copy-item-desc {
    font-size: 14.5px;
    color: var(--ink-3);
    line-height: 1.5;
    margin-top: 3px;
}

.feature-copy--dark h2 {
    color: #fff;
}

.feature-copy--dark h2 span {
    color: #7FE6CE;
}

.feature-copy--dark p {
    color: rgba(255, 255, 255, 0.72);
    margin: 22px 0 0;
    max-width: 460px;
}

.dash-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.dash-2col--reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.dash-2col--tight {
    gap: 72px;
}

.phone-center {
    display: flex;
    justify-content: center;
}

/* Mini calendar preview card (Business dashboard section) */
.calendar-card {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--hairline);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.calendar-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 80% 10%, #fff 0%, transparent 45%);
}

.calendar-card-inner {
    position: relative;
}

.calendar-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-card-head-title {
    color: var(--ink);
    font-family: 'Libre Franklin';
    letter-spacing: 0.25px;
    font-weight: 700;
    font-size: 15px;
}

.calendar-card-head-badge {
    font-size: 11px;
    color: var(--teal-ink);
    background: var(--teal-soft);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.calendar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
}

.calendar-row--last {
    border-bottom: 0;
}

.calendar-row-date {
    width: 54px;
    flex-shrink: 0;
    color: var(--teal-ink);
    font-family: 'Libre Franklin';
    letter-spacing: 0.25px;
    font-weight: 700;
    font-size: 14px;
}

.calendar-row-date--urgent {
    color: #8e3f09;
}

.calendar-row-date--muted {
    color: var(--ink-2);
}

.calendar-row-label {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.25px;
    font-size: 14px;
}

.calendar-row-count {
    color: var(--ink-3);
    font-size: 12px;
}

.calendar-reminder {
    margin-top: 18px;
    background: var(--surface-alt);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-reminder span {
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.45;
}

/* Section band with a subtle tint + top/bottom hairline (Business page) */
.section-tinted-bordered {
    padding: 100px 0;
    background: var(--surface-alt);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

/* Plain, untinted section with fixed vertical padding (Business page) */
.section-plain {
    padding: 110px 0;
}

/* ─────────────── Purpose statement ─────────────── */
.purpose {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--teal-soft) 0%, var(--teal-tint) 55%, var(--surface-alt) 100%);
    border-top: 1px solid var(--teal-soft);
    border-bottom: 1px solid var(--teal-soft);
    position: relative;
    overflow: hidden;
}

.purpose-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(26, 191, 160, 0.10) 0%, transparent 42%),
        radial-gradient(circle at 84% 80%, rgba(14, 17, 48, 0.04) 0%, transparent 44%);
}

.purpose .container-narrow {
    position: relative;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.purpose h2 {
    margin: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 48px;
    line-height: 1.18;
    font-weight: 500;
    letter-spacing: -1.4px;
    color: var(--ink);
    text-wrap: balance;
}

.purpose h2 span {
    font-family: 'Galldis', serif;
    font-weight: 400;
    color: var(--teal-ink);
    letter-spacing: -0.8px;
    font-size: 48px;
}

.purpose h2 strong {
    font-weight: 700;
}

.purpose p {
    margin: 32px auto 0;
    max-width: 620px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--ink-2);
    text-align: center;
    text-wrap: balance;
}

/* ─────────────── Business showcase (dark panel) ─────────────── */
/* Shared dark, radial-glow section background (business showcase / pacchetto) */
.dark-glow-section {
    background: var(--navy, #0E1130);
    color: #fff;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.dark-glow-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 22%, rgba(26, 191, 160, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 86% 84%, rgba(26, 191, 160, 0.08) 0%, transparent 46%);
}

.dark-glow-section .container {
    position: relative;
}

.business-top {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: center;
}

.business-eyebrow {
    background: rgba(26, 191, 160, 0.16);
    color: #7FE6CE;
}

.business-title {
    color: #fff;
    margin-top: 4px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 56px;
    line-height: 1.0;
    font-weight: 600;
    letter-spacing: -2px;
}

.business-title em {
    color: #7FE6CE;
}

.business-desc {
    color: rgba(255, 255, 255, 0.72);
    max-width: 480px;
    font-size: 16px;
    line-height: 1.5;
}

.business-numbered-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 32px 0 36px;
}

.business-numbered-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.business-numbered-badge {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(26, 191, 160, 0.16);
    color: #7FE6CE;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.business-numbered-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.2px;
}

.business-numbered-desc {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14.5px;
    line-height: 1.5;
    margin-top: 3px;
}

.business-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.business-actions--spaced {
    margin-top: 34px;
}

.business-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 48px;
    height: 54px;
    padding: 0 26px;
    background: var(--teal);
    color: #06231D;
    border: 0;
    border-radius: 14px;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
    cursor: pointer;
}

.business-cta-btn a {
    text-decoration: none;
    color: inherit;
}

.business-note {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* Stat panel (right column of the business pitch) */
.stat-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 36px;
}

.stat-panel-label {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #7FE6CE;
    margin-bottom: 24px;
}

.stat-panel-figure {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.stat-panel-number {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2.5px;
    line-height: 1;
}

.stat-panel-unit {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.stat-panel-caption {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.stat-panel-list {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-panel-item span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
}

/* Dashboard sub-section inside the business showcase */
.business-dashboard {
    position: relative;
    margin-top: 64px;
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.business-dashboard-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.business-dashboard-head h3 {
    color: #fff;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    margin: 14px 0 0;
}

.business-dashboard-head p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 16px;
    line-height: 1.5;
    margin: 16px 0 0;
}

.dash-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 24px;
}

.dash-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(26, 191, 160, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.dash-card-title {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.dash-card-text {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14.5px;
    line-height: 1.55;
}

/* Reassurance callout ("non sostituisce il gestionale") */
.reassurance-box {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--teal-tint);
    border: 1px solid var(--teal-soft);
    border-radius: 16px;
    padding: 22px 26px;
}

.reassurance-box .icon-img {
    margin-top: 2px;
}

.reassurance-box-text {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-2);
}

.reassurance-box-text strong {
    color: var(--ink);
    font-weight: 700;
}

/* Dark variant, used on the navy business-showcase panel */
.reassurance-box--dark {
    background: rgba(127, 230, 206, 0.08);
    border-color: rgba(127, 230, 206, 0.22);
    padding: 20px 24px;
}

.reassurance-box--dark .reassurance-box-text {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.82);
}

.reassurance-box--dark .reassurance-box-text strong {
    color: #fff;
}

.privacy-hero {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--border, var(--hairline));
}

.privacy-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.privacy-hero .subtitle {
    font-size: 15px;
    opacity: 0.55;
    margin: 0;
}

.privacy-body {
    padding: 56px 0 96px;
}

.privacy-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 48px 0 12px;
    padding-top: 8px;
    border-top: 1px solid var(--border, var(--hairline));
    color: var(--teal-ink);
}

.privacy-body a {
    color: var(--teal-ink);
}

.privacy-body h2:first-child {
    margin-top: 0;
    border-top: none;
}

.privacy-body p {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 14px;
    opacity: 0.85;
    color: var(--ink);
}

.privacy-body ul {
    padding-left: 22px;
    margin: 0 0 14px;
}

.privacy-body ul li {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 6px;
    opacity: 0.85;
}

.privacy-table-wrap {
    overflow-x: auto;
    margin: 16px 0 28px;
    border-radius: 10px;
    border: 1px solid var(--border, var(--bg));
}

.privacy-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
}

.privacy-table th {
    background: var(--surface, --bg-3);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, var(--bg));
}

.privacy-table td {
    padding: 12px 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--border, var(--bg));
    opacity: 0.85;
}

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

.privacy-table tr:nth-child(even) td {
    background: var(--surface, --bg-3);
}

.privacy-last-updated {
    font-size: 12px;
    margin-top: 48px;
    padding-top: 24px;
    color: var(--ink-2);
}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* ─────────────── Responsive ─────────────── */

/* Evita overflow orizzontale su qualsiasi schermo */
html,
body {
    overflow-x: clip;
}

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

/* ── Piccolo desktop / laptop stretto (gap tra layout 2 colonne pieno e stack tablet) ──
   Il titolo "Comunica meglio..." vive in un grid a 2 colonne affiancato al telefono: a questa
   larghezza il valore desktop (64px, vedi sotto) non ci starebbe. Il titolo hero viene ridotto
   di pari passo così i due titoli restano sempre della stessa dimensione. */
@media (max-width: 1200px) and (min-width: 921px) {

    h1.hero-h1 {
        font-size: clamp(44px, 7.17vw - 22px, 64px) !important;
        letter-spacing: -1.4px;
    }

    h1.hero-h1 span {
        font-size: clamp(39px, 6.35vw - 19.5px, 56px) !important;
    }

    h1.hero-h1 b {
        font-size: clamp(44px, 7.17vw - 22px, 64px) !important;
    }

    .feat h2 {
        font-size: clamp(44px, 7.17vw - 22px, 64px) !important;
        letter-spacing: -1.4px;
    }

    .section-head h2,
    .feature-copy h2 {
        font-size: clamp(38px, 3.58vw + 5px, 48px) !important;
    }

    .cta h2 {
        font-size: clamp(40px, 5.74vw - 12.8px, 56px) !important;
    }

    .hero-phone-wrap .phone.lg {
        width: clamp(280px, 28.7vw + 16px, 360px);
    }

    .feat-phone-wrap .phone {
        width: clamp(260px, 21.5vw + 62px, 320px);
    }
}

/* ── Desktop pieno: margine di sicurezza per il titolo di #funzionalita ──
   A larghezza intera (container al max-width di 1240px) il valore 70px del titolo hero
   farebbe toccare "commercialista" al telefono nel grid a 2 colonne di #funzionalita.
   64px lascia un margine reale (~80px) mantenendo i due titoli della stessa dimensione. */
@media (min-width: 1201px) {

    h1.hero-h1 {
        font-size: 64px !important;
        letter-spacing: -2.2px;
    }

    h1.hero-h1 span {
        font-size: 56px !important;
    }

    h1.hero-h1 b {
        font-size: 64px !important;
    }

    .feat h2 {
        font-size: 64px !important;
        letter-spacing: -1.5px;
    }
}

/* ── Tablet / piccoli laptop ── */
@media (max-width: 920px) {

    .container,
    .container-narrow {
        padding: 0 24px;
    }

    .hero {
        padding: 56px 0 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text {
        max-width: 100% !important;
        width: 100% !important;
    }

    h1.hero-h1 {
        font-size: 52px !important;
        letter-spacing: -2px;
        max-width: 100% !important;
    }

    h1.hero-h1 span {
        font-size: 46px !important;
    }

    h1.hero-h1 b {
        font-size: 52px !important;
    }

    .hero-sub {
        font-size: 17px !important;
        max-width: 100% !important;
    }

    .hero-phone-wrap {
        min-height: auto;
    }

    .proof-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .feat {
        padding: 80px 0;
    }

    .feat-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .feat-grid.reverse>.feat-text {
        order: 0;
    }

    .feat h2 {
        font-size: 40px !important;
        letter-spacing: -1.2px;
    }

    .section-head h2,
    .feature-copy h2 {
        font-size: 40px !important;
    }

    .manifesto blockquote {
        font-size: 36px;
        letter-spacing: -1.2px;
    }

    .cta h2 {
        font-size: 48px;
        letter-spacing: -1.6px;
    }

    .ftr-top {
        grid-template-columns: 1fr 1fr;
    }

    .hdr-nav {
        display: none;
    }

    .float-card {
        display: none;
    }

    .steps-3,
    .steps-4 {
        grid-template-columns: 1fr 1fr !important;
    }

    .dash-2col {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }

    .purpose h2 {
        font-size: 32px !important;
        letter-spacing: -1px !important;
    }

    .purpose h2 span {
        font-size: 32px !important;
    }

    /* new sections */
    .compare-head h2,
    .video-head h2,
    .reviews-head h2,
    .feats-head h2,
    .faq-head h2 {
        font-size: 34px !important;
        letter-spacing: -1px !important;
    }

    .compare-stack {
        gap: 16px !important;
    }

    .reviews-grid {
        grid-template-columns: 1fr !important;
    }

    .feats-grid {
        grid-template-columns: 1fr !important;
    }

    .compare {
        padding: 64px 0 !important;
    }

    .video-sec,
    .reviews,
    .feats,
    .faq {
        padding: 64px 0 !important;
    }

    .cta {
        padding: 64px 0 !important;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions button {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions button {
        width: 100%;
    }

    .hero-waitlist-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-waitlist-row .hero-input {
        width: 100%;
        max-width: 340px;
        padding: 10px 20px;
    }

    .hero-waitlist-row .hero-btn {
        width: auto;
        padding: 0 30px;
    }

    #business .container>div:first-child {
        grid-template-columns: 1fr !important;
    }
}

/* Hero: viewport bassi a larghezza desktop (es. MacBook, finestre non massimizzate) */
@media (max-height: 860px) and (min-width: 921px) {

    .hero {
        padding: 56px 0 64px !important;
    }

    .hero-eyebrow {
        margin-bottom: 20px;
    }

    h1.hero-h1 {
        font-size: 58px !important;
        letter-spacing: -2px;
    }

    h1.hero-h1 span {
        font-size: 51px !important;
    }

    h1.hero-h1 b {
        font-size: 58px !important;
    }

    .feat h2 {
        font-size: 58px !important;
        letter-spacing: -1.4px;
    }

    .hero-sub {
        margin: 16px 0 24px !important;
    }

    .hero-phone-wrap {
        min-height: 460px;
    }

    .hero-phone-wrap .phone.lg {
        width: 280px;
    }

    .hero-phone-wrap .float-1 {
        top: 74px !important;
        left: -31px !important;
    }

    .hero-phone-wrap .float-2 {
        bottom: 50px !important;
        right: -40px !important;
    }
}

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

    .hero {
        padding: 32px 0 40px !important;
    }

    .hero-eyebrow {
        margin-bottom: 14px;
    }

    h1.hero-h1 {
        font-size: 46px !important;
        letter-spacing: -1.6px;
    }

    h1.hero-h1 span {
        font-size: 40px !important;
    }

    h1.hero-h1 b {
        font-size: 46px !important;
    }

    .feat h2 {
        font-size: 46px !important;
        letter-spacing: -1.3px;
    }

    .hero-sub {
        margin: 12px 0 18px !important;
        font-size: 16px !important;
    }

    .hero-phone-wrap {
        min-height: 340px;
    }

    .hero-phone-wrap .phone.lg {
        width: 230px;
    }

    .hero-phone-wrap .float-1 {
        top: 61px !important;
        left: -26px !important;
    }

    .hero-phone-wrap .float-2 {
        bottom: 41px !important;
        right: -33px !important;
    }
}

/* ── Telefono ── */
@media (max-width: 600px) {

    .container,
    .container-narrow {
        padding: 0 20px;
    }

    .hdr-row {
        height: 64px;
        gap: 12px;
    }

    .hdr-cta {
        height: 40px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    .logo-wordmark {
        height: 26px;
    }

    .hero {
        padding: 40px 0 56px;
    }

    .hero-eyebrow {
        margin-bottom: 24px;
    }

    h1.hero-h1 {
        font-size: 40px !important;
        letter-spacing: -1.4px;
    }

    h1.hero-h1 span {
        font-size: 36px !important;
    }

    h1.hero-h1 b {
        font-size: 40px !important;
    }

    .hero-sub {
        font-size: 16px !important;
        margin: 20px 0 28px !important;
    }

    .phone,
    .phone.lg {
        width: 300px;
    }

    .proof {
        padding: 48px 0;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feat {
        padding: 56px 0;
    }

    .feat-grid {
        gap: 40px;
    }

    .feat-phone-wrap {
        flex-direction: column;
        align-items: center;
    }

    .feat h2 {
        font-size: 32px !important;
        letter-spacing: -1px;
    }

    .section-head h2,
    .feature-copy h2 {
        font-size: 32px !important;
    }

    .feat p {
        font-size: 16px;
    }

    .steps-3,
    .steps-4 {
        grid-template-columns: 1fr !important;
    }

    .compare-row {
        flex-direction: column;
    }

    .compare-row-text {
        padding: 28px 22px;
    }

    .compare-row-visual {
        min-height: 180px;
    }

    .compare-row-visual-icon {
        font-size: 48px;
    }

    .compare-head h2,
    .video-head h2,
    .reviews-head h2,
    .feats-head h2,
    .faq-head h2 {
        font-size: 28px !important;
    }

    .reviews-head p,
    .feats-head p,
    .faq-head p,
    .compare-head p,
    .video-head p {
        font-size: 15px;
    }

    .video-play {
        width: 68px;
        height: 68px;
    }

    .cta h2 {
        font-size: 36px !important;
        letter-spacing: -1.2px;
    }

    .purpose {
        padding: 72px 0 !important;
    }

    .purpose h2 {
        font-size: 32px !important;
    }

    .purpose h2 span {
        font-size: 32px !important;
    }

    .ftr {
        padding: 56px 0 32px;
    }

    .ftr-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-cards {
        grid-template-columns: 1fr;
    }
}

/* ── Telefono piccolo ── */
@media (max-width: 380px) {

    .container,
    .container-narrow {
        padding: 0 16px;
    }

    h1.hero-h1 {
        font-size: 34px !important;
    }

    h1.hero-h1 span {
        font-size: 31px !important;
    }

    h1.hero-h1 b {
        font-size: 34px !important;
    }

    .section-head h2,
    .feature-copy h2 {
        font-size: 28px !important;
    }

    .cta h2 {
        font-size: 30px !important;
    }

    .hero-sub {
        font-size: 15px !important;
    }

    .phone,
    .phone.lg {
        width: 270px;
    }

    .hdr-cta {
        padding: 0 11px;
        font-size: 12px;
    }

    .ftr-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}