html {
    scroll-behavior: smooth;
}

.landing {
    margin: 0;
    background: #f5f1f8;
    color: #2a1840;
    font-family: 'Nunito Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.landing a {
    color: #2a1840;
    text-decoration: none;
}

.landing a:hover {
    color: #6b2bd6;
}

.landing * {
    box-sizing: border-box;
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ece6f1;
}

.landing-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.landing-logo {
    display: flex;
    align-items: center;
}

.landing-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.landing-nav {
    display: flex;
    gap: 20px 28px;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    font-weight: 600;
    font-size: 15px;
}

.landing-header__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    transition: border-color 0.25s, transform 0.25s, background 0.25s, color 0.25s;
}

.landing-btn--ghost {
    padding: 10px 16px;
    border: 1px solid #ece6f1;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    background: #fff;
}

.landing-btn--ghost:hover {
    color: #2a1840;
    border-color: #c9b8e0;
}

.landing-btn--outline {
    padding: 16px 24px;
    background: #fff;
    border: 1px solid #ece6f1;
    font-size: 16px;
    cursor: pointer;
    color: #2a1840;
}

.landing-btn--outline:hover {
    color: #2a1840;
    border-color: #c9b8e0;
    transform: translateY(-2px);
}

.landing-btn--solid,
.landing a.landing-btn--solid {
    padding: 16px 24px;
    background: #2a1840;
    border: 1px solid #2a1840;
    color: #fff;
    font-size: 16px;
}

.landing-btn--solid:hover,
.landing a.landing-btn--solid:hover {
    color: #fff;
    background: #3b2258;
    border-color: #3b2258;
    transform: translateY(-2px);
}

.landing-hero,
.landing-how,
.landing-faq,
.landing-cta {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.landing-hero {
    padding: 72px 24px 96px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.landing-hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px 48px;
    align-items: end;
}

.landing-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7a6e8a;
}

.landing-kicker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
}

.landing-hero h1,
.landing-features h2,
.landing-how h2,
.landing-agencies h2,
.landing-faq h2,
.landing-cta h2 {
    margin: 0;
    font-family: Poppins, sans-serif;
    line-height: 1.1;
    letter-spacing: -1px;
    text-wrap: balance;
}

.landing-hero h1 {
    font-weight: 900;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.landing-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.landing-hero__copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #5e5270;
    max-width: 520px;
    text-wrap: pretty;
}

.landing-stage-wrap {
    background: #fff;
    border: 1px solid #ece6f1;
    border-radius: 28px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(42, 24, 64, 0.3);
}

.landing-stage {
    min-width: 0;
    position: relative;
    isolation: isolate;
    height: 420px;
    border-radius: 20px;
    background: #f5f1f8;
    overflow: hidden;
}

.landing-stage__canvas {
    position: absolute;
    left: 50%;
    top: 0;
    width: 820px;
    height: 420px;
    margin-left: -410px;
    transform-origin: top center;
    overflow: hidden;
}

.landing-stage__floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: #ece3f5;
}

.landing-intro {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: #f5f1f8;
    pointer-events: none;
}

.landing-stage.is-intro .landing-intro {
    display: flex;
}

.landing-stage.is-intro .landing-actor,
.landing-stage.is-intro .landing-scene-host,
.landing-stage.is-intro .landing-stage__floor {
    opacity: 0;
    visibility: hidden;
}

.landing-intro__logo {
    width: 112px;
    height: 112px;
    display: block;
    border-radius: 28px;
    box-shadow: 0 22px 40px -18px rgba(42, 24, 64, 0.45);
    animation: gintro-logo 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
}

.landing-intro__payoff {
    margin: 0;
    max-width: 360px;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: #2a1840;
    animation: gintro-payoff 0.55s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.landing-stage.is-intro-out .landing-intro {
    animation: gintro-out 0.45s ease both;
}

.landing-actor {
    position: absolute;
    top: 0;
    height: 420px;
    transition: opacity 0.5s;
}

.landing-actor--agency {
    left: 0;
    width: 250px;
}

.landing-actor--customer {
    right: 0;
    width: 220px;
}

.landing-actor.is-dim {
    opacity: 0.42;
}

.landing-pill {
    position: absolute;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.4s, color 0.4s;
    background: #fff;
    color: #7a6e8a;
}

.landing-pill.is-on {
    background: #2a1840;
    color: #fff;
}

.landing-pill--agency {
    left: 62px;
    top: 126px;
}

.landing-pill--customer {
    right: 58px;
    top: 150px;
    white-space: nowrap;
}

.landing-desk {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 96px;
    border-radius: 0 14px 0 0;
    background: #e0d3ee;
    border-top: 12px solid #cdbbe2;
}

.landing-monitor {
    position: absolute;
    left: 146px;
    bottom: 96px;
    width: 96px;
    height: 64px;
    border-radius: 8px 8px 2px 2px;
    background: #2a1840;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-monitor img {
    width: 24px;
    height: 24px;
    display: block;
    opacity: 0.9;
}

.landing-scene-host {
    position: absolute;
    left: 262px;
    top: 18px;
    width: 340px;
    height: 384px;
    overflow: visible;
}

.landing-giulia-swap {
    position: absolute;
    left: 50%;
    right: auto;
    top: 1px;
    width: 76px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    animation: gpop-center 0.5s both;
}

.landing-giulia-swap__frame {
    position: relative;
    width: 72px;
    height: 72px;
}

.landing-giulia-swap__mark {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #cfc9d4;
    overflow: hidden;
}

.landing-giulia-swap__logo {
    position: absolute;
    inset: 0;
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
    animation: glogoout 0.28s 2.4s forwards;
}

.landing-giulia-swap__avatar {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #cfc9d4;
    opacity: 0;
    animation: gavin 0.28s 2.45s cubic-bezier(0.2, 0.8, 0.3, 1.3) both;
}

.landing-giulia-swap__ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid #6b2bd6;
    pointer-events: none;
    animation: gring 0.4s 2.4s ease-out both;
}

.landing-scene {
    position: absolute;
    inset: 0;
    display: none;
}

.landing-scene.is-active {
    display: flex;
    align-items: center;
}

.landing-scene--chat.is-active,
.landing-scene--book.is-active {
    display: block;
}

.landing-card {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 18px 36px -20px rgba(42, 24, 64, 0.4);
    animation: gpop 0.5s both;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

@media (max-width: 1100px) {
    .landing-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .landing-steps {
        grid-template-columns: 1fr;
    }
}

.landing-step {
    all: unset;
    box-sizing: border-box;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px 10px;
    border-radius: 14px;
    background: transparent;
    transition: background 0.3s;
}

.landing-step.is-active {
    background: #f5f1f8;
}

.landing-step__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-step__n {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: 12px;
    transition: background 0.3s, color 0.3s;
    background: #f5f1f8;
    color: #2a1840;
}

.landing-step.is-active .landing-step__n {
    background: #2a1840;
    color: #fff;
}

.landing-step.is-done .landing-step__n {
    background: #e4daee;
    color: #2a1840;
}

.landing-step__who {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-step__title {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    color: #7a6e8a;
    overflow-wrap: anywhere;
    transition: color 0.3s;
}

.landing-step.is-active .landing-step__title {
    color: #2a1840;
}

.landing-step__desc {
    flex: 1;
    font-size: 13px;
    line-height: 1.45;
    color: #5e5270;
    opacity: 0.55;
    transition: opacity 0.3s;
}

.landing-step.is-active .landing-step__desc {
    opacity: 1;
}

.landing-step__bar {
    position: relative;
    height: 3px;
    border-radius: 2px;
    background: #e4daee;
    overflow: hidden;
}

.landing-step__fill {
    position: absolute;
    inset: 0;
    background: #2a1840;
    transform-origin: left;
    transform: scaleX(0);
}

.landing-step.is-done .landing-step__fill {
    transform: scaleX(1);
    animation: none;
}

.landing-stage.is-intro ~ .landing-steps .landing-step__fill,
.landing-stage.is-intro-out ~ .landing-steps .landing-step__fill {
    animation: none !important;
    transform: scaleX(0);
}

.landing-features {
    background: #fff;
    border-top: 1px solid #ece6f1;
    border-bottom: 1px solid #ece6f1;
}

.landing-features__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.landing-section-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
}

.landing-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7a6e8a;
}

.landing-features h2,
.landing-how h2,
.landing-agencies h2,
.landing-faq h2 {
    font-weight: 800;
    font-size: clamp(32px, 3.6vw, 44px);
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 20px;
}

.landing-feature-card {
    background: #f5f1f8;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, background 0.35s;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -18px rgba(42, 24, 64, 0.35);
    background: #efe8f6;
}

.landing-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-feature-card h3 {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 19px;
}

.landing-feature-card p,
.landing-how p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #5e5270;
}

.landing-voice {
    background: #f5f1f8;
    border-radius: 22px;
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 40px;
    align-items: center;
}

.landing-voice h3 {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

.landing-voice p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #5e5270;
    max-width: 460px;
    text-wrap: pretty;
}

.landing-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.landing-chip {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}

.landing-voice-preview {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 24px 48px -28px rgba(42, 24, 64, 0.4);
}

.landing-radio {
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid #ece6f1;
}

.landing-radio.is-selected {
    background: #f5f1f8;
    border-color: #2a1840;
}

.landing-radio__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #b9aec7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-radio.is-selected .landing-radio__dot {
    border-color: #2a1840;
}

.landing-radio__dot span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2a1840;
}

.landing-how {
    padding: 96px 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.landing-how__grid {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 32px;
}

.landing-how__n {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #7a6e8a;
}

.landing-how h3 {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.landing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2a1840;
}

.landing-dot--green {
    background: #25d366;
}

.landing-agencies {
    background: #2a1840;
    color: #fff;
}

.landing-agencies__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 56px;
    align-items: center;
}

.landing-agencies .landing-section-label {
    color: #c9b8e0;
}

.landing-agencies p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #ddd2ea;
    max-width: 480px;
}

.landing-agency-point {
    display: flex;
    gap: 14px;
}

.landing-agency-point__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c3d6;
    margin-top: 9px;
    flex-shrink: 0;
}

.landing-agency-point__text {
    color: #ddd2ea;
}

.landing-apps-preview {
    background: #f5f1f8;
    border-radius: 20px;
    padding: 20px;
    color: #2a1840;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.landing-app-row {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    min-width: 0;
}

@media (max-width: 640px) {
    .landing-app-row {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

.landing-app-ini {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.landing-faq {
    max-width: 860px;
    padding: 96px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.landing-faq-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.landing-faq-item:hover {
    box-shadow: 0 10px 24px -14px rgba(42, 24, 64, 0.3);
}

.landing-faq-item button {
    all: unset;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #2a1840;
}

.landing-faq-item__icon {
    font-size: 22px;
    font-weight: 600;
    color: #7a6e8a;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-faq-item.is-open .landing-faq-item__icon {
    transform: rotate(45deg);
}

.landing-faq-item__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-faq-item.is-open .landing-faq-item__body {
    grid-template-rows: 1fr;
}

.landing-faq-item__body > div {
    overflow: hidden;
    min-height: 0;
}

.landing-faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #5e5270;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-faq-item.is-open p {
    opacity: 1;
    transform: none;
}

.landing-cta {
    padding: 0 24px 96px;
}

.landing-cta__card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.landing-cta h2 {
    font-weight: 800;
    font-size: clamp(28px, 3.2vw, 40px);
}

.landing-cta p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: #5e5270;
}

.landing-error {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 24px 96px;
}

.landing-error__card {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #fff;
    border: 1px solid #ece6f1;
    border-radius: 28px;
    padding: clamp(36px, 5vw, 56px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 30px 60px -30px rgba(42, 24, 64, 0.28);
    overflow: hidden;
}

.landing-error__code {
    position: absolute;
    right: -8px;
    top: -18px;
    font-family: Poppins, sans-serif;
    font-weight: 900;
    font-size: clamp(120px, 22vw, 180px);
    line-height: 1;
    letter-spacing: -8px;
    color: #f5f1f8;
    pointer-events: none;
    user-select: none;
}

.landing-error__label {
    position: relative;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7a6e8a;
}

.landing-error h1 {
    position: relative;
    margin: 0;
    max-width: 14ch;
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: #2a1840;
}

.landing-error__lead {
    position: relative;
    margin: 0;
    max-width: 38ch;
    font-size: 17px;
    line-height: 1.55;
    color: #5e5270;
}

.landing-error__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.landing-legal {
    flex: 1;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 56px 24px 96px;
}

.landing-legal__article {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.landing-legal__label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7a6e8a;
}

.landing-legal h1 {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -1px;
    color: #2a1840;
}

.landing-legal__meta {
    margin: 0 0 8px;
    font-size: 14px;
    color: #9a8fab;
}

.landing-legal h2 {
    margin: 18px 0 0;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #2a1840;
    scroll-margin-top: 88px;
}

.landing-legal #approvazione-specifica {
    scroll-margin-top: 88px;
}

.landing-legal p,
.landing-legal li {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #5e5270;
}

.landing-legal a {
    color: #6b2bd6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-legal ul {
    margin: 0;
    padding-left: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-legal__card {
    background: #fff;
    border: 1px solid #ece6f1;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.landing-legal__card p {
    font-size: 15px;
}

.landing-legal__table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #ece6f1;
    border-radius: 16px;
    background: #fff;
}

.landing-legal__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 14px;
    line-height: 1.45;
}

.landing-legal__table th,
.landing-legal__table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ece6f1;
    color: #5e5270;
}

.landing-legal__table th {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #7a6e8a;
    background: #f5f1f8;
}

.landing-legal__table tr:last-child td {
    border-bottom: 0;
}

.landing-legal__table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    color: #2a1840;
    word-break: break-all;
}

.landing-footer {
    margin-top: auto;
    border-top: 1px solid #ece6f1;
    background:
        linear-gradient(180deg, rgba(245, 241, 248, 0.55) 0%, #fff 48%);
}

.landing-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 28px;
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) minmax(0, 2fr);
    gap: 32px 48px;
    align-items: start;
}

.landing-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.landing-footer img {
    height: 32px;
    width: auto;
    display: block;
}

.landing-footer__tagline {
    margin: 0;
    max-width: 22ch;
    font-size: 15px;
    line-height: 1.45;
    color: #7a6e8a;
}

.landing-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 28px;
}

.landing-footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.landing-footer__heading {
    margin: 0 0 2px;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2a1840;
}

.landing-footer__col a {
    font-size: 14px;
    font-weight: 600;
    color: #7a6e8a;
    width: fit-content;
}

.landing-footer__col a:hover {
    color: #6b2bd6;
}

.landing-footer__bar {
    border-top: 1px solid #ece6f1;
    background: rgba(255, 255, 255, 0.72);
}

.landing-footer__bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 13px;
    color: #9a8fa8;
}

.landing-footer__bar-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cfc4d8;
}

@media (max-width: 820px) {
    .landing-footer__inner {
        grid-template-columns: 1fr;
        padding: 32px 20px 24px;
        gap: 28px;
    }

    .landing-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .landing-footer__nav {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .landing-footer__bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .landing-footer__bar-sep {
        display: none;
    }
}

.landing-wa {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #efeae2;
    box-shadow: 0 18px 36px -20px rgba(42, 24, 64, 0.4);
    animation: gpop 0.5s both;
}

.landing-wa__head {
    background: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e6e1d9;
}

.landing-wa__thread {
    flex: 1;
    padding: 6px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.landing-wa__composer {
    background: #f0f2f5;
    padding: 8px 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}

#top,
#funzionalita,
#come-funziona,
#agenzie,
#faq,
#demo {
    scroll-margin-top: 88px;
}

@media (max-width: 900px) {
    .landing-hero__intro {
        grid-template-columns: 1fr;
    }

    .landing-header__inner {
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .landing-nav {
        order: 3;
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
    }

    .landing-hero {
        padding: 48px 20px 64px;
    }

    .landing-features__inner,
    .landing-how,
    .landing-agencies__inner,
    .landing-faq {
        padding: 64px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing *,
    .landing *::before,
    .landing *::after {
        animation: none !important;
        transition: none !important;
    }

    .landing-giulia-swap__logo {
        opacity: 0 !important;
    }

    .landing-giulia-swap__avatar {
        opacity: 1 !important;
    }
}

@keyframes gintro-logo {
    from { opacity: 0; transform: scale(0.55) rotate(-8deg); }
    to { opacity: 1; transform: none; }
}

@keyframes gintro-payoff {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes gintro-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes gpop {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes gpop-center {
    from { opacity: 0; transform: translateX(-50%) translateY(6px); }
    to { opacity: 1; transform: translateX(-50%); }
}

@keyframes gin {
    from { opacity: 0; transform: scale(0.5); }
    70% { opacity: 1; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes gfly {
    from { opacity: 0; transform: translate(-90px, 90px) scale(0.4); }
    to { opacity: 1; transform: none; }
}

@keyframes gblink {
    0%, 92%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes gbar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes ggrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes gfill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes gtap {
    from { transform: translateY(0); }
    to { transform: translateY(3px); }
}

@keyframes gsel {
    from { background: #f5f1f8; color: #5e5270; transform: scale(1); }
    60% { transform: scale(1.3); }
    to { background: #2a1840; color: #fff; transform: scale(1); }
}

@keyframes gburst {
    0% { opacity: 0; transform: translateY(0) scale(0.4); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-48px) scale(1); }
}

@keyframes gpulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes gselbox {
    to { border-color: #2a1840; background: #f5f1f8; }
}

@keyframes gradio {
    to { border-color: #2a1840; }
}

@keyframes gcursor {
    from { opacity: 0; transform: translate(70px, 230px); }
    20% { opacity: 1; }
    80% { transform: translate(0, 0); }
    90% { transform: translate(0, 0) scale(0.82); }
    to { opacity: 1; transform: none; }
}

@keyframes gpress {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.88); }
}

@keyframes gexpand {
    from { max-height: 0; opacity: 0; }
    to { max-height: 80px; opacity: 1; }
}

@keyframes ghl {
    from { background: #efe8f6; }
    to { background: #fff; }
}

@keyframes gwave2 {
    from { transform: rotate(10deg); }
    to { transform: rotate(-16deg); }
}

@keyframes glogoout {
    0% { opacity: 1; transform: scale(1) rotate(0deg); }
    100% { opacity: 0; transform: scale(0.35) rotate(-90deg); }
}

@keyframes gavin {
    from { opacity: 0; transform: scale(0.3) rotate(90deg); }
    to { opacity: 1; transform: none; }
}

@keyframes gring {
    from { opacity: 1; transform: scale(0.6); }
    to { opacity: 0; transform: scale(1.25); }
}

@keyframes gh {
    from { max-height: 0; }
    to { max-height: 140px; }
}

@keyframes gbub {
    0% { opacity: 0; transform: translateY(14px) scale(0.7); }
    55% { opacity: 1; transform: translateY(-2px) scale(1.03); }
    78% { transform: translateY(0) scale(0.99); }
    100% { opacity: 1; transform: none; }
}

@keyframes gtyph {
    0% { max-height: 0; }
    20%, 80% { max-height: 60px; }
    100% { max-height: 0; }
}

@keyframes gtyp {
    0% { opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.6); }
}

@keyframes gread {
    to { color: #53bdeb; }
}

@keyframes gdot {
    0%, 80%, 100% { opacity: 0.25; }
    40% { opacity: 1; }
}

/* scaleY blink must pivot on the eye group bbox — default SVG origin pulls eyes upward. */
.gblink,
.gblink--late,
.gblink--giulia {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.gblink {
    animation: gblink 4s infinite;
}

.gblink--late {
    animation: gblink 3.6s 0.8s infinite;
}

.gblink--giulia {
    animation: gblink 3.4s infinite;
}

.landing-arm-type {
    transform-box: fill-box;
    transform-origin: center;
    animation: gtap 0.28s ease-in-out infinite alternate;
}

.landing-actor.is-wave .landing-arm-type {
    animation: none;
}

.landing-arm-wave {
    opacity: 0;
    transition: opacity 0.3s;
}

.landing-actor.is-wave .landing-arm-type-wrap {
    opacity: 0;
}

.landing-actor.is-wave .landing-arm-wave {
    opacity: 1;
}

.landing-arm-wave g {
    transform-box: fill-box;
    transform-origin: 100% 100%;
    animation: gwave2 0.6s ease-in-out infinite alternate;
}

.landing-phone-screen.is-pulse {
    animation: gpulse 1.4s infinite;
}

.landing-type-caret {
    display: inline-block;
    white-space: nowrap;
}
