/* Fonts served from the site itself: nothing is requested from Google. Variable files, one per script subset. */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(assets/fonts/dm-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url(assets/fonts/newsreader-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}

@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url(assets/fonts/newsreader-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

:root {
    --forest: #1E2A22;
    --deep: #1E2A22;
    --ink: #1E2A22;
    --cream: #FBF8F1;
    --paper: #F6EEDD;
    --honey: #EFA02A;
    --surface: #FBF8F1;
    --surface-soft: #F6EEDD;
    --body: #4E5749;
    --line: #1E2A2233;
    --link: #2F6B4E;
    --selected: #2F6B4E12;
    --on-dark: #FBF8F1;
    --focus: #2F6B4E;
    --serif: 'Newsreader', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif;
    /* Layer scale: sticky header 20, keyboard skip link 30. */
    --layer-header: 20;
    --layer-skip: 30;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    color-scheme: light;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font: 400 1rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased
}

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

a {
    color: inherit
}

button {
    font: inherit
}

button, a, summary {
    touch-action: manipulation
}

button {
    cursor: pointer
}

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

h1, h2, h3, p {
    margin: 0
}

h1, h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.05
}

h2 {
    font-size: clamp(2.5rem, 4.1vw, 4rem)
}

h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 550;
    letter-spacing: -.025em
}

h1 em, h2 em {
    font-weight: 400
}

.showcase h2 {
    line-height: 1.1;
    padding-bottom: 4px
}

p {
    color: var(--body)
}

.eyebrow {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 650;
    color: var(--link);
    margin-bottom: 24px
}

.eyebrow.light {
    color: #FBF8F1e0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--forest);
    color: var(--on-dark);
    padding: 17px 27px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 550;
    line-height: 1.4;
    min-height: 54px;
    transition: background .2s, transform .2s
}

.button span[aria-hidden="true"] {
    display: inline-block;
    transition: transform .25s var(--curva-uscita);
}

.button:hover {
    background: #2F6B4E;
    transform: translateY(-2px)
}

.button:hover span[aria-hidden="true"] {
    transform: translateX(4px);
}

.button-small {
    font-size: .875rem;
    padding: 12px 19px;
    min-height: 46px;
    gap: 18px
}

.button-paper {
    background: var(--on-dark);
    color: var(--deep)
}

.button-paper:hover {
    background: #F2E7CE
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--on-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: .9375rem;
    padding: 12px 0;
    border-bottom: 1px solid #FBF8F159;
    line-height: 1.4
}

.text-link:hover {
    border-color: currentColor
}

.text-link.dark {
    color: var(--link);
    border-color: var(--line)
}

.skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: var(--layer-skip);
    transform: translateY(-150%);
    background: var(--surface);
    padding: 12px 20px
}

.skip:focus {
    transform: none
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    flex-shrink: 0
}

.brand :is(img, .brand-mark) {
    width: 58px;
    height: 58px;
    object-fit: contain
}

.brand > span {
    font: 500 2.5rem/.9 var(--serif);
    letter-spacing: -.04em
}

.brand small {
    display: block;
    font: 400 .7rem/1.2 var(--sans);
    letter-spacing: 0;
    margin-top: 8px;
    color: var(--body)
}

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

nav > a:not(.button) {
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none
}

nav > a:not(.button):hover {
    text-decoration: underline;
    text-underline-offset: 5px
}

.menu-toggle {
    display: none
}

.story {
    display: grid;
    grid-template-columns:1fr 1fr;
    background: var(--surface-soft)
}

.story-image > svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 22px
}

.faq-section {
    display: grid;
    grid-template-columns:1fr 1.1fr;
    gap: 90px
}

.faq-section > div > p:not(.eyebrow) {
    margin-top: 24px;
    max-width: 330px
}

.faq-section h2 {
    font-size: clamp(2.25rem, 3.4vw, 3.3rem)
}

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

details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    padding: 23px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.5
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: transform .3s var(--curva-uscita);
}

details[open] summary span {
    transform: rotate(45deg);
}

details p {
    padding: 0 28px 23px 0;
    font-size: .9375rem;
    line-height: 1.8;
}

details[open] p {
    animation: compari-faq .35s var(--curva-uscita);
}

@keyframes compari-faq {
    from {
        opacity: 0;
        translate: 0 -4px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 40px
}

.footer-top > a:not(.brand) {
    font-size: 1rem;
    text-decoration: none
}

.footer-top > a:not(.brand) span {
    margin-left: 14px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding-block: 22px;
    font-size: .75rem;
    color: var(--body)
}

@media (max-width: 1100px) {

    nav {
        gap: 20px
    }

    .brand > span {
        font-size: 2.2rem
    }

    .brand small {
        font-size: .75rem
    }

    .brand :is(img, .brand-mark) {
        width: 50px;
        height: 50px
    }

    .faq-section {
        gap: 50px
    }
}

@media (max-width: 960px) {
    html {
        scroll-padding-top: 90px
    }

    .brand :is(img, .brand-mark) {
        width: 48px;
        height: 48px
    }

    .brand > span {
        font-size: 2.1rem
    }

    .brand small {
        font-size: .75rem;
        margin-top: 6px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 46px;
        height: 46px;
        border: 1px solid #1E2A2238;
        border-radius: 5px;
        background: none;
        padding: 10px;
        color: var(--ink)
    }

    .menu-toggle span {
        width: 24px;
        height: 1.5px;
        background: currentColor;
        transition: transform .2s
    }

    .menu-toggle[aria-expanded=true] span:first-child {
        transform: translateY(4.25px) rotate(45deg)
    }

    .menu-toggle[aria-expanded=true] span:last-child {
        transform: translateY(-4.25px) rotate(-45deg)
    }

    nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--surface);
        padding: 20px 24px 26px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 20px #1E2A220d;
        align-items: stretch;
        gap: 0
    }

    nav.open {
        display: flex;
        flex-direction: column
    }

    nav > a:not(.button) {
        padding: 13px 0;
        font-size: 1rem
    }

    nav .button {
        margin-top: 14px
    }

    .section-top h2 {
        font-size: 2.5rem
    }

    .eyebrow {
        font-size: .75rem
    }

    .faq-section {
        gap: 36px
    }

    .faq-section h2 {
        font-size: 2.5rem
    }

    .footer-bottom {
        font-size: .75rem
    }
}

@media (max-width: 600px) {

    .hero .eyebrow {
        font-size: .75rem;
        letter-spacing: .14em;
        margin-bottom: 24px
    }

    .section-top h2 {
        font-size: 2.8rem
    }

    .eyebrow {
        font-size: .75rem;
        letter-spacing: .12em;
        margin-bottom: 19px
    }

    .story {
        grid-template-columns:1fr
    }



    .faq-section {
        grid-template-columns:1fr;
        gap: 30px
    }

    .faq-section h2 {
        font-size: 2.7rem
    }

    .faq-section > div > p:not(.eyebrow) {
        max-width: none;
        font-size: .9375rem
    }

    .faqs summary {
        font-size: .9375rem;
        padding-block: 21px
    }

    .footer-top {
        align-items: flex-start;
        gap: 25px;
        flex-direction: column;
        padding-block: 32px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        padding-block: 20px
    }

    .footer-bottom span {
        font-size: .75rem
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *, *:before, *:after {
        transition: none !important
    }
}

@media (max-width: 370px) {

    .header .brand small {
        display: none
    }

    .header .brand :is(img, .brand-mark) {
        width: 42px;
        height: 42px
    }

    .header .brand {
        gap: 9px
    }

    .header .brand > span {
        font-size: 2rem
    }

    .menu-toggle {
        flex-shrink: 0
    }
}

footer {
    background: var(--deep);
    color: var(--on-dark)
}

.header .brand small, footer .brand small, .footer-bottom {
    color: #FBF8F1b8
}

.menu-toggle {
    color: var(--on-dark);
    border-color: #FBF8F159
}

.footer-bottom {
    border-color: #FBF8F124
}

.footer-legal {
    display: flex;
    gap: 20px
}

.footer-legal a {
    color: inherit;
    text-underline-offset: 3px
}

.footer-legal a:hover {
    color: var(--on-dark)
}

@media (max-width: 960px) {
    nav {
        background: var(--deep);
        border-color: #FBF8F124
    }
}

.legal {
    padding-block: 72px 112px
}

.legal-body {
    width: min(760px, calc(100% - 48px));
    margin-inline: auto
}

.legal h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 14px
}

.legal .updated {
    font-size: .875rem;
    margin-bottom: 32px
}

.legal h2 {
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    letter-spacing: -.03em;
    margin: 48px 0 12px
}

.legal h3 {
    margin: 28px 0 4px
}

.legal p, .legal li {
    color: var(--body);
    margin-top: 12px
}

.legal ul {
    margin: 12px 0 0;
    padding-left: 1.25rem
}

.legal strong {
    color: var(--ink);
    font-weight: 600
}

.legal a {
    color: var(--link);
    text-underline-offset: 3px
}

.legal .notice {
    background: var(--surface-soft);
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 20px
}

.legal .notice > :first-child {
    margin-top: 0
}

.legal .toc {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.legal ol {
    margin: 0;
    padding-left: 1.75rem
}

.legal .toc li {
    margin-top: 6px
}

/* Le tabelle delle pagine legali (conservazione, cookie, destinatari). Il contenitore scorre di lato su un telefono
   stretto, così è la tabella a scorrere e non la pagina intera. */
.legal .table-wrap {
    overflow-x: auto;
    margin-top: 16px
}

.legal table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: .9375rem
}

.legal th, .legal td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--body)
}

.legal th {
    color: var(--ink);
    font-weight: 600
}

.legal td p:first-child, .legal td li:first-child {
    margin-top: 0
}

/* Revised showcase components. The legal document styles above stay shared. */
.showcase h1, .showcase h2 {
    letter-spacing: -.035em;
}

.showcase ::selection {
    background: var(--forest);
    color: var(--cream);
}

.showcase .hero ::selection, .showcase .green-band ::selection {
    background: var(--cream);
    color: var(--forest);
}
h1, h2 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.button {
    white-space: nowrap;
}

.button:active {
    transform: translateY(1px) scale(.98);
}

.text-link:active {
    transform: translateY(1px);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 5px;
}

.header :focus-visible, footer :focus-visible, .hero :focus-visible, .green-band :focus-visible {
    outline-color: var(--on-dark);
}

.green-band .app-visual:focus-visible {
    outline-color: var(--on-dark);
}

.green-band .cost-card :focus-visible {
    outline-color: var(--forest);
}

.skip:focus-visible {
    outline-color: var(--focus);
}

.wrap {
    width: min(1240px, calc(100% - 96px));
    margin-inline: auto;
}

.header {
    min-height: 80px;
    padding: 12px max(3%, calc((100% - 1240px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: var(--layer-header);
    background: var(--deep);
    color: var(--on-dark);
    border-bottom: 1px solid #FBF8F124;
}

.header .brand :is(img, .brand-mark) {
    width: 48px;
    height: 48px;
}

.header .brand > span {
    font-size: 2.1rem;
}

.header .brand small {
    font-size: .7rem;
}

.header .button {
    background: var(--on-dark);
    color: var(--deep);
}

.header .button:hover {
    background: #F6EEDD;
}

nav > a {
    white-space: nowrap;
}

.hero {
    background: var(--forest);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}



.hero-inner {
    min-height: 560px;
    display: flex;
    align-items: center;
    padding-block: 64px 72px;
}

.hero-copy {
    width: min(680px, 60%);
}

.hero h1 {
    font-size: clamp(3.25rem, 4.8vw, 4.4rem);
    line-height: 1.1;
    color: var(--on-dark);
}

.hero-intro {
    max-width: 46ch;
    margin-top: 24px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--on-dark);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
}

.hero-actions .text-link {
    font-size: .9375rem;
}

.hero-pilot {
    margin-top: 12px;
    max-width: 44ch;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--on-dark);
}

.icon-definitions {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.promise-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.promises {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 30px;
}

.promises > div {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding-inline: 16px;
    font-size: .9375rem;
    line-height: 1.5;
}

.promises > div + div {
    border-left: 1px solid var(--line);
}

.promises .icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promises strong {
    font-weight: 550;
}

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

.audience-inner {
    padding-block: 26px;
}

.audience p {
    max-width: 85ch;
    font-size: .9375rem;
}

.section {
    padding-block: 80px;
}

.section-top {
    max-width: 720px;
}

.section-top > p:not(.eyebrow) {
    margin-top: 18px;
    max-width: 58ch;
}

.steps {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 40px;
}

.steps li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    align-content: start;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.step-number {
    grid-column: 1;
    grid-row: 1 / 3;
    margin-top: 3px;
    font-size: .8125rem;
    line-height: 1.4;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--body);
}

.steps h3 {
    margin-bottom: 12px;
}

.steps p {
    grid-column: 2;
    max-width: 40ch;
    font-size: .9375rem;
    line-height: 1.65;
}

.steps .step-followup {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: .875rem;
}

.notification-note {
    max-width: 820px;
    margin-top: 36px;
    border-left: 1px solid var(--line);
    padding-left: 24px;
}

.notification-note h3 {
    font-size: 1.125rem;
}

.notification-note p {
    margin-top: 6px;
    font-size: .9375rem;
    line-height: 1.7;
}

.comparison {
    margin-top: 56px;
}

.comparison h2 {
    max-width: 850px;
    font-size: clamp(2.25rem, 3.4vw, 3.3rem);
}

.comparison-rows {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.comparison-row > div {
    padding: 22px 24px;
}

.comparison-row > div:first-child {
    padding-left: 0;
}

.comparison-row > div:last-child {
    background: var(--surface-soft);
    border-left: 3px solid var(--link);
}

.comparison-row h3 {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.comparison-row > div:first-child h3 {
    color: var(--body);
}

.comparison-row > div:last-child h3 {
    color: var(--link);
}

.comparison-row p {
    max-width: 55ch;
    font-size: .9375rem;
    line-height: 1.7;
}

.app-showcase {
    padding-block: 80px;
}

.app-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 28px 72px;
    align-items: start;
}

.app-copy {
    grid-column: 1;
    grid-row: 1;
}

.app-copy h2 {
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
}

.app-copy > p:not(.eyebrow) {
    max-width: 46ch;
    margin-top: 20px;
}

.app-tabs {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
}

.app-tabs button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    padding: 20px;
    background: none;
    border: 0;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    transition: background .2s, border-color .25s var(--curva-uscita);
}

.app-tabs button:hover {
    background: var(--selected);
}

.app-tabs button:active {
    background: var(--surface-soft);
}

.app-tabs button[aria-selected=true] {
    border-left-color: var(--honey);
    background: var(--selected);
    border-radius: 6px;
}

.app-tabs strong {
    font-size: 1.125rem;
    font-weight: 550;
}

.app-tabs small {
    color: var(--body);
    font-size: .9375rem;
    line-height: 1.5;
}

.app-visual {
    grid-column: 2;
    grid-row: 1 / 3;
    background: var(--surface-soft);
    border-radius: 12px;
    padding: 26px 28px;
    text-align: center;
}

.screen-description {
    min-height: 3.3em;
    max-width: 40ch;
    margin: 0 auto 22px;
    font-size: .9375rem;
}

.phone {
    position: relative;
    width: 320px;
    max-width: calc(100% - 16px);
    margin: auto;
    background: var(--deep);
    border: 7px solid var(--deep);
    border-radius: 32px;
    padding: 3px;
    box-shadow: 8px 18px 32px #1E2A222e;
    overflow: hidden;
    transform: rotate(3deg);
}

.phone img {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 780 / 1688;
    object-fit: cover;
}

.phone .screen-outgoing {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    pointer-events: none;
    opacity: 1;
    transition: opacity 180ms var(--ease-out);
}

.phone .screen-faded {
    opacity: 0;
}

.demo-caption {
    margin-top: 20px;
    font-size: .8125rem;
    color: var(--body);
}

.screen-error {
    margin-top: 16px;
    font-size: .9375rem;
    color: var(--ink);
}

.app-followup {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.app-followup > div:only-child {
    grid-column: 1 / -1;
}

.app-followup h3 {
    font: 400 1.65rem/1.3 var(--serif);
    letter-spacing: -.025em;
}

.app-followup p {
    margin-top: 12px;
    max-width: 58ch;
    font-size: .9375rem;
}

.story-image {
    position: relative;
    min-height: 540px;
    overflow: hidden;
}

.story-image::after {
    content: '';
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(transparent, #1E2A22aa);
}

.story-image > span {
    position: absolute;
    bottom: 48px;
    left: 10%;
    right: 7%;
    z-index: 1;
    color: var(--cream);
    font: italic 2.5rem/1.2 var(--serif);
    letter-spacing: -.03em;
}

.story-copy {
    padding: 64px min(6vw, 88px);
}

.story-copy h2 {
    font-size: clamp(2.4rem, 3.6vw, 3.5rem);
}

.story-copy > p:not(.eyebrow) {
    margin-top: 22px;
    max-width: 45ch;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: .9375rem;
    line-height: 1.65;
}

.check-list .icon {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cost-section {
    padding-block: 80px;
}

.cost-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 72px;
    align-items: center;
}

.cost-section h2 {
    font-size: clamp(2.5rem, 3.8vw, 3.6rem);
}

.cost-copy > p:not(.eyebrow) {
    max-width: 55ch;
    margin-top: 22px;
}

.cost-card {
    background: var(--surface-soft);
    color: var(--ink);
    padding: 40px;
    border-radius: 12px;
}

.zero {
    font: 400 clamp(10rem, 20vw, 18rem)/.95 var(--serif);
    letter-spacing: -.065em;
    color: #37634E;
    white-space: nowrap;
}

.zero span {
    font-size: 1em;
}

.cost-card h3 {
    margin-top: 12px;
    font: 400 1.65rem/1.25 var(--serif);
}

.cost-card p {
    margin-top: 20px;
    font-size: .9375rem;
    line-height: 1.7;
}

.cost-card strong {
    color: var(--ink);
    font-weight: 550;
}

.cost-card .price-model {
    margin-top: 24px;
    font-size: 1.375rem;
    line-height: 1.4;
}

.price-model strong, .price-model span {
    display: block;
}

.price-model span {
    margin-top: 6px;
    font-size: .9375rem;
    line-height: 1.5;
}

.trial-model strong {
    font-size: 1.0625rem;
}

.cost-card .cost-small {
    margin-top: 24px;
}

.cost-divider {
    height: 1px;
    background: var(--line);
    margin-block: 25px;
}

.cost-card .text-link {
    margin-top: 12px;
}

.closing {
    background: var(--surface-soft);
    text-align: center;
    padding-block: 64px;
}

.closing-mark {
    display: block;
    width: 112px;
    height: 112px;
    margin: 6px auto 30px;
}

.closing h2 {
    font-size: clamp(2.5rem, 4.1vw, 4rem);
}

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

.closing-inner > p:not(.eyebrow) {
    max-width: 50ch;
    margin: 22px auto 0;
}

.closing .button {
    margin-top: 26px;
}

.closing-inner > .closing-note {
    font-size: .875rem;
    max-width: 54ch;
}

.footer-legal {
    flex-wrap: wrap;
}

.legal .notice {
    background: var(--surface-soft);
}

@media (max-width: 1100px) {
    .hero-copy {
        width: 62%;
    }

    .app-section {
        column-gap: 40px;
    }

    .cost-grid {
        gap: 40px;
    }

    .cost-card {
        padding: 30px 24px;
    }

    .zero {
        font-size: clamp(9rem, 20vw, 14rem);
    }
}

@media (max-width: 960px) {
    html {
        scroll-padding-top: 84px;
    }

    .header {
        min-height: 76px;
        padding: 12px 24px;
    }

    .header .brand :is(img, .brand-mark) {
        width: 46px;
        height: 46px;
    }

    .header .brand small {
        font-size: .6875rem;
    }

    .wrap {
        width: calc(100% - 48px);
    }

    .hero-copy {
        width: min(600px, 75%);
    }

    .hero-inner {
        min-height: 510px;
        padding-block: 48px 64px;
    }


    .hero h1 {
        font-size: clamp(3rem, 6vw, 4rem);
    }

    .section {
        padding-block: 64px;
    }

    .steps {
        gap: 24px;
    }

    .app-section {
        gap: 24px 32px;
    }

    .app-tabs button {
        padding: 16px;
    }

    .phone {
        width: 280px;
    }

    .app-visual {
        padding-inline: 20px;
    }

    .story-copy {
        padding: 48px 32px;
    }

    .story-image {
        min-height: 480px;
    }

    .cost-section, .app-showcase {
        padding-block: 64px;
    }
}

@media (max-width: 767px) {
    .promises {
        width: 100%;
        padding: 24px 12px;
    }

    .promises > div {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        text-align: center;
        font-size: .8125rem;
        line-height: 1.6;
        padding-inline: 8px;
    }

    .promises .icon {
        width: 27px;
        height: 27px;
    }

    .audience-inner {
        padding-block: 22px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 24px;
    }

    .steps li {
        grid-template-columns: 24px minmax(0, 1fr);
        column-gap: 10px;
        padding-top: 14px;
    }

    .steps h3 {
        font-size: 1.1875rem;
        margin-bottom: 8px;
    }

    .steps .step-followup {
        margin-top: 10px;
        padding-top: 10px;
    }

    .notification-note {
        margin-top: 28px;
        padding-left: 16px;
    }

    .steps p {
        max-width: 60ch;
    }

    .comparison {
        margin-top: 40px;
    }

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

    .comparison-rows {
        margin-top: 22px;
        gap: 12px;
    }

    .comparison-row > div {
        padding: 14px 16px;
    }

    .comparison-row > div:first-child {
        padding-left: 16px;
    }

    .comparison-row h3 {
        margin-bottom: 4px;
    }

    .comparison-row p {
        line-height: 1.6;
    }

    .app-section {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 20px;
    }

    .app-copy, .app-tabs, .app-visual, .app-followup {
        grid-column: 1;
        grid-row: auto;
        min-width: 0;
    }

    .app-copy h2 {
        font-size: 2.6rem;
    }

    .app-copy > p:not(.eyebrow) {
        margin-top: 16px;
    }

    .app-tabs {
        flex-direction: row;
        gap: 4px;
    }

    .app-tabs button {
        flex: 1;
        min-width: 0;
        align-items: center;
        justify-content: center;
        padding: 14px 4px;
        border-left: 0;
        border-bottom: 3px solid transparent;
    }

    .app-tabs button[aria-selected=true] {
        border-bottom-color: var(--honey);
    }

    .app-tabs strong {
        font-size: .875rem;
        white-space: nowrap;
    }

    .app-tabs small {
        display: none;
    }

    .app-visual {
        padding: 18px 14px;
    }

    .phone {
        width: 300px;
    }

    .screen-description {
        min-height: 3em;
        line-height: 1.5;
        margin-bottom: 14px;
    }

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

    .story {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 340px;
    }

    .story-image > span {
        bottom: 32px;
        left: 24px;
        font-size: 2.1rem;
    }

    .story-copy {
        padding: 40px 24px;
    }

    .story-copy h2 {
        font-size: 2.6rem;
    }

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

    .cost-section h2 {
        font-size: 2.6rem;
    }

    .cost-card {
        padding: 28px 24px;
    }

    .zero {
        font-size: clamp(10rem, 48vw, 17rem);
    }

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

@media (max-width: 600px) {
    .hero-inner {
        min-height: 0;
        padding-block: 36px 132px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 11.5vw, 3.2rem);
    }

    .hero .eyebrow {
        font-size: .6875rem;
        letter-spacing: .1em;
        margin-bottom: 18px;
    }

    .hero-intro {
        font-size: 1.0625rem;
        margin-top: 20px;
    }

    .hero-actions {
        margin-top: 24px;
        gap: 18px;
    }

    .hero-actions .button {
        padding: 14px 18px;
        gap: 16px;
    }

    .hero-actions .text-link {
        font-size: .875rem;
    }



    .section {
        padding-block: 44px;
    }

    .section-top h2 {
        font-size: clamp(2.125rem, 9.5vw, 2.5rem);
    }

    .section-top > p:not(.eyebrow) {
        font-size: .9375rem;
    }

    .comparison h2 {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .app-copy h2, .story-copy h2, .cost-section h2, .faq-section h2, .closing h2 {
        font-size: clamp(2.125rem, 9.5vw, 2.5rem);
    }

    .cost-section, .app-showcase {
        padding-block: 48px;
    }

    .closing {
        padding-block: 48px;
    }

}

@media (max-width: 370px) {
    .app-tabs strong {
        font-size: .8125rem;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --surface: #18231C;
        --surface-soft: #25342A;
        --ink: #FBF8F1;
        --body: #CBD2C7;
        --line: #FBF8F13d;
        --link: #B1D3B9;
        --selected: #B1D3B914;
        --focus: #B1D3B9;
    }

    .text-link.dark {
        color: var(--link);
    }

    .eyebrow {
        color: var(--link);
    }

    .phone {
        box-shadow: 8px 18px 32px #101A1459;
    }
}

/* The showcase keeps the brand's green/cream alternation in every system theme. */
body.showcase, .showcase .app-visual, .showcase .cost-card {
    color-scheme: light;
    --surface: #FBF8F1;
    --surface-soft: #F6EEDD;
    --ink: #1E2A22;
    --body: #4E5749;
    --line: #1E2A2233;
    --link: #2F6B4E;
    --selected: #2F6B4E12;
    --focus: #2F6B4E;
}

.showcase .green-band {
    --surface: #1E2A22;
    --surface-soft: #334438;
    --ink: #FBF8F1;
    --body: #E1E4D8;
    --line: #FBF8F13d;
    --link: #FBF8F1;
    --selected: #FBF8F11a;
    background: var(--surface);
    color: var(--ink);
}

.showcase .app-visual {
    background: var(--paper);
    color: var(--ink);
}

.showcase .cost-card {
    background: var(--cream);
    color: var(--ink);
}

/* Only the two state changes that benefit from motion. */
@media (max-width: 960px) {
    nav.menu-ready {
        display: flex;
        flex-direction: column;
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        transform: translateY(-8px);
        transform-origin: top right;
        transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s 160ms;
    }

    nav.menu-ready.open {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
        transition-duration: 200ms, 200ms, 0s;
        transition-delay: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phone .screen-outgoing {
        transition: opacity 100ms linear !important;
    }
}

@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
    nav.menu-ready,
    nav.menu-ready.open {
        transform: none;
    }

    nav.menu-ready {
        transition: opacity 100ms linear, visibility 0s 100ms !important;
    }

    nav.menu-ready.open {
        transition-delay: 0s !important;
    }
}

nav.menu-ready.motion-instant,
.menu-toggle.motion-instant span {
    transition: none !important;
}

/* ── Scene vettoriali e movimento ──────────────────────────────────────────────────────────────────────────
   Le scene sono SVG in linea generati da build.py (src/scena); motion.js le muove. Piano e regole in
   design/sitovetrina/piano-scrollytelling.md. Senza la classe .movimento (niente JavaScript, o movimento ridotto)
   ogni scena resta nel suo stato finale. */

:root {
    --bosco-notte: #131C16;
    --campo: #2F6B4E;
    --oliva: #4A6E32;
    --germoglio: #8FA35A;
    --miele-testo: #9A6405;
    --ocra: #D9A862;
    --sole: #C27826;
    --pesca: #F6D49A;
    --radice: #5A3E2B;
    --terra: #7A5A3E;
    --kraft: #E8D9BC;
    --curva-uscita: cubic-bezier(.16, 1, .3, 1);
    --curva-pendolo: cubic-bezier(.34, 1.5, .64, 1);
    --layer-grana: 25;
    /* Tessere di grana: il rumore è già nel canale alfa e già colorato, così lo strato non chiede mix-blend-mode. */
    --grana-scura: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .11 0 0 0 0 .06 3.2 0 0 0 -1.9'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
    --grana-chiara: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 3.2 0 0 0 -1.9'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
}

body.showcase::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: var(--layer-grana);
    pointer-events: none;
    background-image: var(--grana-scura);
    opacity: .06;
}

.brand .brand-mark {
    display: block;
    flex-shrink: 0;
}

/* Apertura: il tondo del marchio spalancato all'alba. */

/* Sul telefono i raggi del sole arrivano fino alle ultime righe del testo: un alone del colore del cielo le stacca. */
@media (max-width: 960px) {
    .hero-copy p {
        text-shadow: 0 0 12px #1E2A22, 0 0 4px #1E2A22;
    }
}

.hero {
    background: var(--bosco-notte);
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: clamp(600px, calc(100svh - 80px), 940px);
    align-items: flex-start;
    padding-block: clamp(56px, 10vh, 112px) clamp(220px, 32vh, 340px);
}

.scena {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.scena-apertura {
    z-index: -1;
}

.scena-davanti {
    z-index: 2;
    pointer-events: none;
}

.piano {
    position: absolute;
    inset: 0;
}

/* La parallasse è un'animazione legata allo scroll della pagina: la muove il compositore insieme allo scorrimento, senza
   passare da JavaScript, che spostava i piani un fotogramma dopo la pagina e li faceva andare a scatti. Ogni piano si
   sposta di un'altezza di finestra, in giù se è più lento del testo e in su se è più veloce, lungo un tratto di
   scorrimento lungo --corsa (scritto dal generatore): più lungo il tratto, più lento il piano. Il mattino entra in
   dissolvenza nella prima metà dello schermo. Dove il browser non conosce le animazioni legate allo scroll l'apertura
   resta ferma. */
@supports (animation-timeline: scroll()) {
    @media (min-width: 961px) {
        .movimento [data-parallasse] {
            will-change: transform;
        }
    }

    .movimento [data-parallasse] {
        animation-name: parallasse-giu;
        animation-timing-function: linear;
        animation-fill-mode: both;
        animation-timeline: scroll(root);
        animation-range: 0 var(--corsa);
    }

    .movimento [data-parallasse="su"] {
        animation-name: parallasse-su;
    }

    .movimento .piano-mattino {
        animation-name: parallasse-giu, alba;
        animation-range: 0 var(--corsa), 0 55vh;
    }
}

@keyframes parallasse-giu {
    to {
        transform: translate3d(0, 100vh, 0);
    }
}

@keyframes parallasse-su {
    to {
        transform: translate3d(0, -100vh, 0);
    }
}

@keyframes alba {
    to {
        opacity: 1;
    }
}

/* Ogni piano ancora il proprio disegno come uno sfondo: --ancora è il punto del disegno che coincide con lo stesso
   punto della finestra. Sul telefono i piani lontani mostrano il sole, il campo mostra il solco di miele. */
.piano > svg,
.sole-sale > svg,
.deriva > svg {
    position: absolute;
    bottom: 0;
    left: var(--ancora, 50%);
    translate: calc(var(--ancora, 50%) * -1) 0;
    height: 100%;
    width: auto;
    min-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: visible;
}

.piano-mattino {
    opacity: 0;
}

.sole-sale,
.deriva {
    position: absolute;
    inset: 0;
}

.sole-sale {
    --sole-da: 5%;
    --sole-su: -7%;
    translate: 0 var(--sole-su);
    animation: sorge 2.8s var(--curva-uscita) .15s both;
}

@keyframes sorge {
    from {
        translate: 0 var(--sole-da);
    }
}

.sole-alone {
    animation: respiro-alone 6.5s ease-in-out infinite alternate;
}

@keyframes respiro-alone {
    0% {
        opacity: .65;
    }
    100% {
        opacity: 1;
    }
}

.sole-raggi-fini {
    animation: ondeggia-raggi 10s ease-in-out infinite alternate;
}

@keyframes ondeggia-raggi {
    0% {
        opacity: .28;
    }
    100% {
        opacity: .52;
    }
}

.sole-raggi-marchio {
    animation: palpito-raggi 5.5s ease-in-out infinite alternate;
}

@keyframes palpito-raggi {
    0% {
        opacity: .75;
    }
    100% {
        opacity: 1;
    }
}

.deriva {
    animation: deriva 80s linear infinite alternate;
}

@keyframes deriva {
    from {
        translate: -2% 0;
    }
    to {
        translate: 2.5% 0;
    }
}

.velo {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(19 28 22 / .74) 0%, rgb(19 28 22 / .52) 30%, rgb(19 28 22 / .12) 52%, rgb(19 28 22 / 0) 64%);
}

.grana {
    position: absolute;
    inset: 0;
    background-image: var(--grana-chiara);
    opacity: .07;
}

.hero h1 em {
    display: inline-block;
    animation: germoglia 1.4s var(--curva-uscita) .35s both;
}

@keyframes germoglia {
    0% {
        translate: 0 .5em;
        clip-path: inset(-10% -6% 100% -6%);
        opacity: 0;
    }
    85% {
        clip-path: inset(-10% -6% -30% -6%);
    }
    100% {
        translate: 0 0;
        clip-path: none;
        opacity: 1;
    }
}

/* Primo piano: spighe a sinistra, un tralcio di vite a destra. Il vento è una rotazione sul contenitore .vento, la
   spinta del cursore una rotazione sullo .stelo: due livelli già dipinti che il compositore gira. */

.piano-spighe {
    inset: auto auto -26% -1.5%;
    width: clamp(220px, 30vw, 470px);
    height: calc(clamp(260px, 50vh, 560px) + 26%);
}

.spighe {
    position: absolute;
    inset: 0;
}

.stelo {
    position: absolute;
    bottom: 0;
    height: 100%;
    transform-origin: 50% 100%;
}

.spighe .stelo {
    left: var(--sinistra);
    width: 24%;
}

.vento {
    height: 100%;
    transform-origin: 50% 100%;
    animation: brezza var(--durata, 6s) ease-in-out var(--ritardo, 0s) infinite;
}

.vento > svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

@keyframes brezza {
    0%, 100% {
        rotate: -.6deg;
    }
    23% {
        rotate: 1.4deg;
    }
    41% {
        rotate: .2deg;
    }
    63% {
        rotate: 1.9deg;
    }
    82% {
        rotate: -.2deg;
    }
}

.piano-vite {
    inset: auto -3.5% -34% auto;
    width: clamp(160px, 19vw, 300px);
    aspect-ratio: 460 / 860;
}

.vite {
    inset: 0;
    width: 100%;
    transform-origin: 100% 100%;
}

@media (max-width: 960px) {
    .hero-inner {
        min-height: 0;
        padding-block: 48px 280px;
    }
}

@media (max-width: 600px) {
    .hero-inner {
        padding-block: 36px 350px;
    }

    .piano-cielo,
    .piano-mattino,
    .piano-nuvole,
    .piano-sole,
    .piano-crinali,
    .piano-colline {
        --ancora: 70%;
    }

    .piano-solchi {
        --ancora: 46%;
    }

    .sole-sale {
        --sole-da: 8%;
        --sole-su: 0%;
    }

    .velo {
        background: linear-gradient(180deg, rgb(19 28 22 / .64) 0%, rgb(19 28 22 / .44) 50%, rgb(19 28 22 / 0) 66%);
    }

    .piano-spighe {
        width: 150px;
        height: calc(210px + 26%);
    }

    .piano-vite {
        width: 130px;
    }
}

/* La terra: il campo tagliato di netto sotto l'apertura, sopra le tre promesse. */

.promise-bar {
    position: relative;
}

.terra {
    height: clamp(64px, 6.5vw, 100px);
    overflow: hidden;
}

.terra svg {
    display: block;
    width: 100%;
    height: 100%;
}

.promises {
    position: relative;
    z-index: 2;
}

.promises .icon {
    color: var(--forest);
}

/* Lo spago da mercato con i cartellini delle famiglie di prodotto. */

.spago {
    position: relative;
    width: min(1240px, calc(100% - 96px));
    height: 124px;
    margin: 18px auto 0;
}

.spago-filo {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 60px;
    overflow: visible;
}

.spago-filo path {
    fill: none;
    stroke: var(--terra);
    stroke-width: 1.3;
}

.cartellini {
    position: absolute;
    inset: 0;
    --larghezza: 52px;
}

.cartellino {
    position: absolute;
    left: calc(var(--t) * 100% - var(--larghezza) / 2);
    width: var(--larghezza);
    translate: 0 calc(var(--cala) - 1px);
}

.dondola {
    transform-origin: 50% 0;
    rotate: var(--inclina);
}

/* Niente filtro e niente dondolio continuo: otto livelli filtrati in movimento, sul telefono, a volte non venivano
   disegnati. L'ombra è nel disegno del cartellino; resta la caduta, una volta, quando la fascia fiorisce. */
.dondola svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.audience-inner {
    padding-block: 6px 26px;
}

@media (max-width: 960px) {
    .spago {
        width: calc(100% - 48px);
    }
}

@media (max-width: 600px) {
    .spago {
        height: 92px;
        margin-top: 12px;
    }

    .cartellini {
        --larghezza: 34px;
    }
}

/* Stati del movimento: valgono solo quando motion.js li ha attivati. */

.movimento .spago-filo path {
    stroke-dasharray: 1 2;
}

/* Le tre icone delle promesse si disegnano una dopo l'altra quando la loro fascia arriva alla linea di lettura. */
.movimento .promises .icon {
    stroke-dasharray: 1 1.02;
    stroke-dashoffset: 1.02;
    transition: stroke-dashoffset 1.3s var(--curva-uscita);
}

.movimento .promises > div:nth-child(2) .icon {
    transition-delay: .25s;
}

.movimento .promises > div:nth-child(3) .icon {
    transition-delay: .5s;
}

.movimento .promise-bar.fiorito .icon {
    stroke-dashoffset: 0;
}

.movimento .spago-filo path {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.1s var(--curva-uscita);
}

.movimento .audience.fiorito .spago-filo path {
    stroke-dashoffset: 0;
}

.movimento .audience:not(.fiorito) .dondola {
    translate: 0 -34px;
    rotate: -16deg;
    opacity: 0;
}

.movimento .dondola {
    transition: translate .9s var(--curva-uscita), rotate 1.5s var(--curva-pendolo), opacity .35s;
    transition-delay: calc(.45s + var(--i) * 90ms);
}

.leggero :is(.vento, .deriva) {
    animation: none;
}

/* Lontano dallo schermo i cicli si fermano, e quando la scena torna vicina riprendono da dove erano rimasti. Senza
   JavaScript nessuna scena diventa attiva, e tutto resta fermo. */
[data-scena]:not(.attiva) :is(.deriva, .vento, .scintilla, .sole-alone, .sole-raggi-fini, .sole-raggi-marchio) {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .sole-sale,
    .sole-alone,
    .sole-raggi-fini,
    .sole-raggi-marchio,
    .deriva,
    .vento,
    .hero h1 em {
        animation: none;
    }
}

/* Come funziona: il teatro del banco accanto ai passi, l'avviso, il quaderno. */

@property --finestra {
    syntax: '<color>';
    inherits: true;
    initial-value: #6B4A33;
}

#come-funziona,
.audience {
    position: relative;
}

/* I passi a sinistra scorrono; il teatro a destra resta fermo e cambia scena col paragrafo che passa a metà schermo.
   Fra un paragrafo e l'altro c'è lo spazio che basta perché ognuno passi la metà dello schermo da solo e la sua scena
   resti un momento: niente di più, e con un tetto in pixel, che su uno schermo alto le altezze in vh diventerebbero vuoti. */

.banco-racconto {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin-top: 12px;
}

.banco-racconto .steps {
    grid-column: 1;
    grid-row: 1;
    display: block;
    margin: 0;
}

/* Ogni passo è un tratto di scorrimento con dentro la sua carta, come le righe «Con Terrevo» del confronto. La carta si
   ferma all'altezza del teatro per tutta la sosta (--sosta), poi scivola via. Fra una carta e la successiva resta sempre
   uno spazio minimo calibrato (--distanza-carte) affinché le carte non si tocchino mai quando si sollevano, mantenendo
   il proprio profilo sagomato. La carta del passo che comanda il teatro (.attuale, la mette motion.js) si accende col
   filo di miele della selezione. Il segno invisibile a metà del passo 2 porta il teatro allo stato 2b. */
.banco-racconto {
    --sosta: min(42vh, 360px);
    --cima-carta: max(96px, calc(50vh - min(45vw, 660px) * .375 + 40px));
    --distanza-carte: clamp(16px, 2.5vw, 24px);
}

.banco-racconto .steps li {
    position: relative;
    display: block;
    border: 0;
    padding: 0;
}

.banco-racconto .steps li + li {
    margin-top: var(--distanza-carte);
}

/* La sosta sta dentro il contenuto del passo, dopo la carta: una carta che si ferma non esce mai dal riquadro del
   contenuto del suo contenitore, e un margine interno non ne farebbe parte. */
.banco-racconto .steps li::after {
    content: '';
    display: block;
    height: var(--sosta);
}

.banco-racconto .steps li:first-child {
    margin-top: min(7vh, 60px);
}

.banco-racconto .steps .carta {
    position: sticky;
    top: var(--cima-carta);
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    align-content: start;
    border-radius: 16px;
    padding: 24px 28px 26px 22px;
    background: var(--surface-soft);
    box-shadow: inset 0 0 0 1px rgb(19 32 26 / .06);
    transition: box-shadow .5s var(--curva-uscita), background-color .5s;
}

.banco-racconto .steps li.attuale .carta {
    background: #FCF6E9;
    box-shadow: inset 4px 0 0 var(--honey), inset 0 0 0 1px rgb(19 32 26 / .08), 0 22px 40px -28px rgb(19 32 26 / .45);
}

.banco-racconto .steps li.attuale .step-number {
    color: var(--forest);
    font-weight: 600;
}

/* Il segno va da metà del passo alla sua fine: alto un pixel, uno scorrimento rapido lo farebbe saltare oltre la fascia
   osservata senza che l'osservatore se ne accorga. */
.segno-passo {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    width: 1px;
}

.teatro {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: max(96px, calc(50vh - min(45vw, 660px) * .375 + 40px));
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 1px 1px rgb(19 32 26 / .16), 0 26px 50px -22px rgb(19 32 26 / .38), inset 0 0 0 1px rgb(19 32 26 / .08);
}

.teatro-scena {
    display: block;
    width: 100%;
    height: 100%;
}

.teatro :is(.merce, .prezzo, .casa, .t-telefono, .fumetto, .biglietto, .t-elenco, .t-cliente, .t-moneta, .onda),
.teatro .t-dove-quando > g {
    transform-box: fill-box;
}

.teatro .t-banco-tutto {
    transform-box: view-box;
    transform-origin: 400px 520px;
    transition: transform 1.1s var(--curva-uscita);
}

.teatro[data-passo^="2"] .t-banco-tutto {
    transform: translate(210px, 60px) scale(.5);
}

.teatro .merce,
.teatro .t-dove-quando > g {
    transition: transform .9s var(--curva-pendolo) calc(var(--i, 0) * 90ms), opacity .35s calc(var(--i, 0) * 90ms);
}

.teatro[data-passo="0"] :is(.merce, .t-dove-quando > g) {
    transform: translateY(-46px);
    opacity: 0;
    transition-delay: 0s;
}

.teatro .t-dove-quando > g:last-child {
    --i: 6;
}

.teatro .prezzo {
    transform-origin: 50% 0;
    transition: transform .6s var(--curva-uscita) calc(.55s + var(--i) * 80ms);
}

.teatro[data-passo="0"] .prezzo {
    transform: scaleX(0);
    transition-delay: 0s;
}

.teatro .casa {
    transform-origin: 50% 100%;
    transition: transform .7s var(--curva-pendolo) calc(.3s + var(--i) * 90ms), opacity .3s calc(.3s + var(--i) * 90ms), --finestra .4s calc(.5s + var(--i) * 160ms);
}

.teatro:not([data-passo^="2"]) .casa {
    transform: scale(0);
    opacity: 0;
    transition-delay: 0s;
}

.teatro[data-passo="2b"] .casa {
    --finestra: #EFA02A;
}

.teatro .strade {
    transition: opacity .6s;
}

.teatro:not([data-passo^="2"]) .strade {
    opacity: 0;
    transition: opacity .35s;
}

.teatro .filo-link {
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset .4s var(--curva-uscita);
}

.teatro[data-passo^="2"] .filo-link {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset .9s var(--curva-uscita) calc(.7s + var(--i) * 110ms);
}

.teatro .t-telefono {
    transform-origin: 50% 100%;
    transition: transform .8s var(--curva-uscita), opacity .4s;
}

.teatro:not([data-passo^="2"]) .t-telefono {
    transform: translate(-30px, 80px) rotate(-8deg);
    opacity: 0;
    transition-delay: 0s;
}

.teatro .fumetto {
    transform-origin: 0 100%;
    transition: transform .55s var(--curva-pendolo) .45s;
}

.teatro:not([data-passo^="2"]) .fumetto {
    transform: scale(0);
    transition-delay: 0s;
}

.teatro .biglietto {
    transition: transform .9s var(--curva-uscita) calc(1.25s + var(--i) * 140ms), opacity .3s calc(1.25s + var(--i) * 140ms);
}

.teatro:is([data-passo="0"], [data-passo="1"]) .biglietto {
    transform: translate(var(--da-x), var(--da-y)) scale(.4);
    opacity: 0;
    transition-delay: 0s;
}

.teatro[data-passo="3"] .biglietto {
    transition-delay: 0s;
}

.teatro .carta-biglietto {
    fill: #FBF3E2;
    stroke: #B59B70;
    stroke-width: .8;
    transition: fill .8s, stroke-opacity .8s;
}

.teatro[data-passo="3"] .carta-biglietto {
    fill: #B59B70;
    stroke-opacity: 0;
}

.teatro .scritta {
    fill: none;
    stroke: #6B4A33;
    stroke-width: 2;
    stroke-linecap: round;
}

.teatro .t-elenco,
.teatro .t-cliente {
    transition: transform 1s var(--curva-uscita), opacity .5s;
}

.teatro .t-cliente {
    transition-delay: .25s;
}

.teatro:not([data-passo="3"]) .t-elenco {
    transform: translateY(-24px);
    opacity: 0;
}

.teatro:not([data-passo="3"]) .t-cliente {
    transform: translateX(150px);
    opacity: 0;
}

.teatro .t-moneta {
    transform-origin: center;
    opacity: 0;
}

.teatro[data-passo="3"] .t-moneta {
    animation: moneta 1.5s var(--curva-uscita) 1.3s both;
}

@keyframes moneta {
    from {
        transform: translate(0, 0);
        opacity: 1;
    }
    55% {
        transform: translate(-52px, -66px);
        opacity: 1;
    }
    85% {
        transform: translate(-84px, -46px) scale(.8);
        opacity: 1;
    }
    to {
        transform: translate(-84px, -36px) scale(.5);
        opacity: 0;
    }
}

.onda {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
}

.teatro[data-passo="2b"] .onda,
.notification-note.fiorito .onda {
    animation: onda 1.9s ease-out calc(var(--i) * .45s) 2;
}

@keyframes onda {
    from {
        transform: scale(.35);
        opacity: .95;
    }
    to {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* L'avviso: la campanella a sinistra del testo, le case che si accendono quando l'onda le raggiunge. */

.notification-note {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 28px;
    align-items: center;
    max-width: 900px;
    border-left: 0;
    padding-left: 0;
}

.notification-note :is(h3, p) {
    grid-column: 2;
}

.avviso-scena {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: auto;
    overflow: visible;
}

.avviso-scena .casa {
    transform-box: fill-box;
    transition: --finestra .5s calc(.9s + var(--i) * .35s);
}

.notification-note.fiorito .avviso-scena .casa,
:root:not(.movimento) .avviso-scena .casa {
    --finestra: #EFA02A;
}

/* Il confronto: il quaderno accanto al titolo, il Filo lungo il confine fra le due colonne. */

.comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    column-gap: 48px;
    align-items: center;
}

.comparison > :is(.eyebrow, h2) {
    grid-column: 1;
}

.comparison > .eyebrow {
    align-self: end;
}

.comparison > h2 {
    align-self: start;
}

.quaderno {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.comparison-rows {
    grid-column: 1 / -1;
}

.quaderno-scena {
    --ordine: 0;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.quaderno .parola {
    stroke: color-mix(in srgb, #5E5A52, #2F6B4E calc(var(--ordine) * 100%));
    stroke-width: calc(1.5px + var(--ordine) * 1.9px);
}

.quaderno .segni {
    opacity: calc(1 - var(--ordine) * 2.4);
}

.quaderno .intestazione {
    opacity: calc(var(--ordine) * 2 - 1);
}

.quaderno .titolo {
    fill: var(--campo);
}

.quaderno .foglietto {
    transform-box: fill-box;
    transform-origin: center;
    opacity: calc(1 - var(--ordine) * 1.5);
}

.quaderno .foglietto.primo {
    transform: translate(calc(var(--ordine) * 34px), calc(var(--ordine) * 230px)) rotate(calc(var(--ordine) * 26deg));
}

.quaderno .foglietto.secondo {
    transform: translate(calc(var(--ordine) * -20px), calc(var(--ordine) * 160px)) rotate(calc(var(--ordine) * -22deg));
}

.movimento .quaderno .parola {
    stroke-dasharray: 1 2;
    transition: stroke-dashoffset .5s var(--curva-uscita) calc(var(--i) * 35ms);
}

.movimento .quaderno:not(.fiorito) .parola {
    stroke-dashoffset: 1;
}

.quaderno .segni {
    transition: clip-path .8s var(--curva-uscita) .35s;
}

.movimento .quaderno:not(.fiorito) .segni {
    clip-path: inset(0 100% 0 0);
}

.comparison-row > div:last-child {
    border-left: 0;
}

.comparison-row > div:last-child h3::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 11px;
    margin-right: 9px;
    vertical-align: -1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 11'%3E%3Cpath d='M1.5 5.5L5.5 9.5L13.5 1.5' fill='none' stroke='%23DE8E1A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    clip-path: inset(0 0 0 0);
    transition: clip-path .7s var(--curva-uscita) .25s;
}

.movimento .comparison-row:not(.fiorito) > div:last-child h3::before {
    clip-path: inset(0 100% 0 0);
}

@media (max-width: 960px) {
    .banco-racconto {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Il teatro sta in alto e i passi gli scorrono sotto: non occupa mai più di metà schermo, o coprirebbe il testo
       proprio quando passa la metà dello schermo e cambia la scena. */
    .teatro {
        grid-column: 1;
        top: 84px;
        z-index: 2;
        width: var(--teatro-largo);
        justify-self: center;
        border-radius: 18px;
        /* Un'ombra corta: i paragrafi che escono di scena passano sotto il teatro, e in un'ombra ampia si leggerebbero sporchi. */
        box-shadow: 0 1px 1px rgb(19 32 26 / .16), 0 12px 18px -14px rgb(19 32 26 / .32), inset 0 0 0 1px rgb(19 32 26 / .08);
    }

    .banco-racconto .steps {
        grid-column: 1;
        grid-row: 2;
    }

    /* Il teatro e la cima delle carte vengono dalla stessa misura, in unità del contenitore: la carta si ferma subito
       sotto il teatro qualunque sia la sua larghezza. */
    .banco-racconto {
        container-type: inline-size;
        --teatro-largo: min(100cqw, calc((50svh - 100px) * 4 / 3));
        --cima-carta: calc(84px + var(--teatro-largo) * .75 + 14px);
        --sosta: min(34svh, 280px);
        --distanza-carte: 16px;
    }

    .banco-racconto .steps .carta {
        grid-template-columns: 24px minmax(0, 1fr);
        column-gap: 10px;
        padding: 18px 20px 20px 16px;
    }

    .comparison {
        display: block;
    }

    .quaderno {
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .notification-note {
        grid-template-columns: minmax(0, 1fr);
    }

    .notification-note :is(h3, p) {
        grid-column: 1;
    }

    .avviso-scena {
        grid-row: auto;
        width: 172px;
        margin-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .onda,
    .teatro .t-moneta {
        animation: none !important;
    }
}

/* La sera prima: la demo dell'app di notte. La sera scende sulla pagina: un velo color carta copre la sezione e
   motion.js lo dissolve mentre la sezione entra. Cambia solo l'opacità di un livello già dipinto: niente ritaglio da
   ricalcolare né testo da ridisegnare a ogni fotogramma, che sul telefono lo faceva sfarfallare. */

.showcase .app-showcase {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0E1611 0%, #131C16 46%, #17231B 100%);
    padding-bottom: calc(80px + clamp(170px, 18vw, 260px));
}

.app-section {
    position: relative;
    z-index: 1;
}

.notte {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.notte-cielo {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 70%;
}

.notte-paesaggio {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: clamp(200px, 22vw, 330px);
}

.scintilla {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF6DD 0, #FFF6DD 18%, rgb(255 246 221 / 0) 70%);
    animation: scintilla var(--durata) ease-in-out var(--ritardo) infinite alternate;
}

@keyframes scintilla {
    from {
        opacity: .15;
    }
    to {
        opacity: .95;
    }
}

.crepuscolo {
    position: absolute;
    inset: 0;
    z-index: 3;
    /* Il colore della carta della pagina: dentro le fasce verdi --surface è il verde scuro. */
    background: #FBF8F1;
    opacity: 0;
    pointer-events: none;
}

.movimento .crepuscolo {
    opacity: 1;
    will-change: opacity;
}

/* Il telefono è la lampada della sera: niente cartoncino attorno, un alone di miele dietro. */

.showcase .app-showcase .app-visual {
    --ink: #FBF8F1;
    --body: #E1E4D8;
    position: relative;
    background: transparent;
    color: var(--ink);
}

.app-showcase .app-visual::before {
    content: '';
    position: absolute;
    inset: 4% -12% 0;
    z-index: -1;
    background: radial-gradient(closest-side, rgb(239 160 42 / .3), rgb(239 160 42 / .1) 55%, rgb(239 160 42 / 0));
    pointer-events: none;
}

.app-showcase .phone {
    box-shadow: 0 0 0 1px rgb(251 248 241 / .1), 0 36px 90px -30px rgb(239 160 42 / .55), 0 20px 40px -20px #050A07;
}

.app-showcase .demo-caption {
    color: #C9CFC2;
}

/* Le schede accendono la scena: le cassette nel fienile, le finestre delle case lontane, il germoglio che cresce. */

.notte-paesaggio .cassa {
    fill: #2A2118;
    stroke: #3A2E22;
    stroke-width: .8;
    transition: fill .5s calc(var(--i) * 90ms);
}

[data-schermata="carico"] .notte-paesaggio .cassa {
    fill: #E3A84A;
}

.casa-lontana {
    --muro: #2B2A24;
    --muro-ombra: #201F1A;
    --tetto: #3A2420;
    --tetto-ombra: #2B1A17;
    --porta: #15110D;
    --finestra: #1C1813;
    transition: --finestra .5s calc(var(--i) * 140ms);
}

.alone-casa {
    fill: url(#luce-finestra);
    opacity: 0;
    transition: opacity .6s calc(var(--i) * 140ms);
}

[data-schermata="prenotazioni"] .casa-lontana {
    --finestra: #EFA02A;
}

[data-schermata="prenotazioni"] .alone-casa {
    opacity: 1;
}

.germoglio-sera {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    transform: scale(.42);
    transition: transform 1.2s var(--curva-pendolo);
}

[data-schermata="andamento"] .germoglio-sera {
    transform: scale(1);
}

/* La ricorrenza: la vendita e la sua bozza tratteggiata, la ruota dei giorni che scatta di una settimana. */

.app-followup {
    align-items: center;
}

.ricorrenza-scena {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    justify-self: center;
    overflow: visible;
}

.ricorrenza-scena .foglio {
    fill: #FBF3E2;
}

.ricorrenza-scena .testa {
    fill: #EFE3C8;
}

.ricorrenza-scena .data {
    fill: #FBF8F1;
    stroke: #C25B3A;
    stroke-width: 1.4;
}

.ricorrenza-scena .data-riga {
    stroke: #C25B3A;
    stroke-width: 3;
}

.ricorrenza-scena .titolo {
    stroke: #1E2A22;
    stroke-width: 3.4;
    stroke-linecap: round;
}

.ricorrenza-scena .righe path {
    stroke: #6B6758;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.ricorrenza-scena .bozza :is(.foglio, .testa) {
    fill: rgb(251 243 226 / .06);
    stroke: var(--honey);
    stroke-width: 1.4;
    stroke-dasharray: 6 5;
}

.ricorrenza-scena .bozza :is(.data, .righe circle) {
    fill: none;
    stroke: rgb(239 160 42 / .7);
    stroke-dasharray: 3 3;
}

.ricorrenza-scena .bozza :is(.titolo, .righe path, .data-riga) {
    stroke: rgb(239 160 42 / .6);
    stroke-dasharray: 5 5;
}

.ricorrenza-scena .bozza {
    transform-box: fill-box;
    transform-origin: 0 0;
    transform: rotate(3deg);
    transition: transform 1.2s var(--curva-uscita) .2s, opacity .5s .2s;
}

.movimento .app-followup:not(.fiorito) .bozza {
    transform: translate(-184px, -14px) rotate(0deg);
    opacity: 0;
}

.ricorrenza-scena .lancetta {
    transition: rotate 2.1s steps(7, end) .3s;
}

.movimento .app-followup:not(.fiorito) .lancetta {
    rotate: -1turn;
}

@media (max-width: 960px) {
    .showcase .app-showcase {
        padding-bottom: calc(64px + 180px);
    }

    .ricorrenza-scena {
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    .showcase .app-showcase {
        padding-bottom: calc(48px + 150px);
    }

    .notte-paesaggio {
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scintilla {
        animation: none;
        opacity: .6;
    }
}

.leggero .scintilla {
    animation: none;
    opacity: .6;
}

/* La bottega: la scatola-teatro di carta e gli emblemi dei tre punti. */

/* Sul telefono la scena è bassa e la frase cade sulle colline chiare: l'ombra parte più in alto e si fa più fitta. */
@media (max-width: 767px) {
    .story-image::after {
        inset: 36% 0 0;
        background: linear-gradient(transparent, #1E2A22d9 72%);
    }
}

.story-image {
    box-shadow: inset 0 0 0 10px #E8D9BC, inset 0 0 40px 10px rgb(19 32 26 / .22);
}

.bottega-scena {
    --sole-y: 70px;
    --luce-cielo: 0;
    z-index: 0;
}

.bottega-scena .b-cielo-luce {
    opacity: var(--luce-cielo, 0);
    will-change: opacity;
}

:root:not(.movimento) .bottega-scena .b-cielo-luce {
    opacity: 1;
}

.story-image > span {
    z-index: 2;
}

.bottega-scena .b-sole {
    transform: translateY(var(--sole-y, 70px));
    will-change: transform;
}

:root:not(.movimento) .bottega-scena .b-sole {
    transform: translateY(-50px);
}

.movimento .bottega-scena .b-sole-alone {
    transform-box: view-box;
    transform-origin: 540px 300px;
    animation: respiro-sole-bottega 6.5s ease-in-out infinite alternate;
}

.movimento .bottega-scena .b-sole-disco {
    transform-box: view-box;
    transform-origin: 540px 300px;
    animation: palpito-sole-bottega 5s ease-in-out infinite alternate;
}

.movimento [data-scena="bottega"]:not(.attiva) .b-sole-alone,
.movimento [data-scena="bottega"]:not(.attiva) .b-sole-disco {
    animation-play-state: paused;
}

@keyframes respiro-sole-bottega {
    0% {
        transform: scale(.88);
        opacity: .62;
    }
    100% {
        transform: scale(1.16);
        opacity: .95;
    }
}

@keyframes palpito-sole-bottega {
    0% {
        transform: scale(.965);
    }
    100% {
        transform: scale(1.025);
    }
}

.bottega-scena .b-foglia {
    transform: rotate(calc(var(--r) - 10deg));
    transition: transform 1.3s var(--curva-pendolo);
}

.story-image.fiorito .b-foglia,
:root:not(.movimento) .bottega-scena .b-foglia {
    transform: rotate(var(--r));
}

@media (hover: hover) and (pointer: fine) {
    .story-image:hover .b-sole {
        transform: translateY(calc(var(--sole-y, -50px) - 10px));
        transition: transform .35s var(--curva-uscita);
    }

    .story-image:hover .b-foglia {
        transform: rotate(calc(var(--r) + 12deg));
    }
}

.check-list li {
    position: relative;
}

.emblema-elenco {
    position: absolute;
    left: -54px;
    top: -2px;
    width: 30px;
    height: 30px;
    transition: transform .8s var(--curva-pendolo), opacity .3s;
}

.movimento .check-list li:not(.fiorito) .emblema-elenco {
    transform: scale(0) rotate(-30deg);
    opacity: 0;
}

.check-list .icon {
    stroke-dasharray: 1 1.02;
    transition: stroke-dashoffset .7s var(--curva-uscita) .35s;
}

.movimento .check-list li:not(.fiorito) .icon {
    stroke-dashoffset: 1.02;
}

/* I costi: la carta che si contorna al passaggio. */

.cost-card {
    position: relative;
    transition: transform .3s var(--curva-uscita), box-shadow .3s var(--curva-uscita);
}

.cost-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -16px rgb(19 32 26 / .18);
}

.bordo-carta {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.bordo-carta rect {
    fill: none;
    stroke: var(--honey);
    stroke-width: 2;
    stroke-dasharray: 1 1.02;
    stroke-dashoffset: 1.02;
    transition: stroke-dashoffset .9s var(--curva-uscita);
}

.cost-card:is(:hover, :focus-within) .bordo-carta rect {
    stroke-dashoffset: 0;
}

/* Le domande: la terra con gli stivali, la linea del terreno che si stende, un germoglio per ogni risposta aperta. */

.piedi-per-terra {
    margin-top: 34px;
    max-width: 400px;
}

.terra-scena {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.linea-terreno {
    fill: none;
    stroke: var(--campo);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 1 1.02;
    transition: stroke-dashoffset 1.6s var(--curva-uscita) .2s;
}

.movimento .piedi-per-terra:not(.fiorito) .linea-terreno {
    stroke-dashoffset: 1.02;
}

.germoglio-faq {
    transform-box: view-box;
    transform: scale(.3);
    transition: transform .9s var(--curva-pendolo);
}

.germoglio-faq.su {
    transform: scale(1);
}

.stivali {
    transition: transform .9s var(--curva-uscita) .3s, opacity .4s .3s;
}

.movimento .piedi-per-terra:not(.fiorito) .stivali {
    transform: translateY(-24px);
    opacity: 0;
}

/* La chiusura: il marchio sorge dal basso dentro il suo tondo. */

.closing-mark {
    clip-path: inset(0 round 50%);
    transition: clip-path 1.6s var(--curva-uscita) .3s;
}

.movimento .closing-mark:not(.fiorito) {
    clip-path: inset(100% 0 0 round 50%);
}

/* Il piede: un filetto di erba sopra il verde scuro. */

footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    inset: -11px 0 auto;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 12C6 11 8 4 9 1C10 5 12 10 16 12C20 9 22 5 24 3C25 7 27 10 30 12C35 10 38 6 41 2C42 6 44 10 48 12C52 11 55 6 57 4C58 8 61 11 64 12C69 10 71 5 74 1C75 6 78 10 82 12C86 10 88 7 90 4C92 8 94 11 98 12C102 10 105 6 107 2C108 6 111 10 115 12C117 11 119 9 120 8V12Z' fill='%231E2A22'/%3E%3C/svg%3E") repeat-x bottom / 120px 12px;
    pointer-events: none;
}

@media (max-width: 960px) {
    .emblema-elenco {
        display: none;
    }

    .piedi-per-terra {
        max-width: 360px;
    }
}

