/* Fiscal Elite — sito vetrina pop (03/10/2026). Colori del logo: blu #1F2E59, oro #C3A151; accenti pop dal video. */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Pixel'; src: url('/assets/fonts/pressstart.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #1F2E59; --navy-900: #0E1433; --ink: #10162E; --text: #3A4262; --muted: #6B7290;
  --gold: #C3A151; --gold-hi: #E4C57A;
  --pink: #FF3EA5; --cyan: #1FD8F0; --lime: #B8F23A; --violet: #8B5CF6; --orange: #FF8A3D;
  --paper: #FFFBF4; --tint: #F3F0FF; --line: rgba(16, 22, 46, .1);
  --display: 'Bricolage', 'Arial Black', system-ui, sans-serif; --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px; --wrap: 1200px; --pad: clamp(16px, 4vw, 40px);
  --shadow-pop: 6px 6px 0 var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- pop words ---------- */
.pop { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.pop::before { content: ""; position: absolute; left: -.12em; right: -.12em; bottom: .06em; height: .42em; border-radius: .2em; z-index: -1; transform: rotate(-1.5deg) scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2, .9, .2, 1) .2s; }
.is-in .pop::before, .hero .pop::before { transform: rotate(-1.5deg) scaleX(1); }
.pop--gold::before { background: var(--gold); } .pop--pink::before { background: var(--pink); opacity: .85; } .pop--cyan::before { background: var(--cyan); opacity: .85; }
.hero .pop--gold { color: var(--gold-hi); } .hero .pop--gold::before { background: rgba(195, 161, 81, .35); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn--ghost:hover { box-shadow: 4px 4px 0 var(--pink); }
.btn--big { min-height: 64px; padding: 0 34px; font-size: 18px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav__logo img { width: 170px; height: auto; }
.nav__logo-dark { display: none; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__links a:not(.nav__cta):hover { color: var(--gold-hi); }
.nav__cta { padding: 11px 18px; border-radius: 999px; background: var(--gold); color: var(--ink) !important; border: 2px solid var(--ink); }
.nav.is-solid { background: rgba(255, 251, 244, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .nav__logo-light { display: none; } .nav.is-solid .nav__logo-dark { display: block; }
.nav.is-solid .nav__links a:not(.nav__cta) { color: var(--ink); }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 18px; height: 2px; background: #fff; transition: transform .2s; }
.nav.is-solid .nav__toggle { border-color: var(--ink); } .nav.is-solid .nav__toggle span { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 51, .72) 0%, rgba(14, 20, 51, .32) 34%, rgba(14, 20, 51, 0) 58%), linear-gradient(0deg, rgba(14, 20, 51, .6) 0%, rgba(14, 20, 51, 0) 32%); }
.hero__title, .hero__lead, .hero__kicker { text-shadow: 0 2px 18px rgba(14, 20, 51, .55); }
.hero__in { position: relative; padding-top: 140px; padding-bottom: clamp(70px, 10vh, 120px); max-width: var(--wrap); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); font-weight: 600; font-size: 14px; letter-spacing: .02em; backdrop-filter: blur(6px); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(184, 242, 58, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(184, 242, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 242, 58, 0); } }
.hero__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 9vw, 7.4rem); line-height: .92; letter-spacing: -.045em; max-width: 9.5em; text-wrap: balance; }
.hero__title .line { display: block; }
.hero__title .word { display: inline-block; animation: rise .9s cubic-bezier(.2, .9, .2, 1) both; }
.hero__title .word:nth-child(2) { animation-delay: .12s; color: var(--cyan); }
.hero__title .line:nth-child(2) { animation: rise .9s cubic-bezier(.2, .9, .2, 1) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
.hero__lead { max-width: 36em; margin: 26px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); animation: rise .9s cubic-bezier(.2, .9, .2, 1) .4s both; }
.hero__lead em { font-style: italic; color: var(--gold-hi); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; animation: rise .9s cubic-bezier(.2, .9, .2, 1) .55s both; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 30px 0 0; padding: 0; animation: rise .9s cubic-bezier(.2, .9, .2, 1) .7s both; }
.hero__chips li { padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--gold); border-block: 3px solid var(--ink); transform: rotate(-1.4deg); margin: -18px -10px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; gap: 26px; padding: 16px 0; animation: marquee 32s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); text-transform: uppercase; color: var(--ink); letter-spacing: -.01em; }
.marquee__track i { font-style: normal; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .85); overflow: hidden; }
.section--tint { background: var(--tint); }
.head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.eyebrow b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold-hi); letter-spacing: 0; font-size: 12px; }
.eyebrow i { font-style: italic; text-transform: none; letter-spacing: 0; }
.eyebrow--light { color: var(--gold-hi); } .eyebrow--light b { background: var(--gold); color: var(--ink); }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.h2--light { color: #fff; }
.lead { margin: 22px 0 0; max-width: 40em; font-size: 1.12rem; }
.lead--light { color: rgba(255, 255, 255, .78); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; border-radius: var(--r); background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow-pop); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--c, var(--ink)); }
.card__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--c); border: 2px solid var(--ink); transform: rotate(-4deg); transition: transform .3s; }
.card:hover .card__ico { transform: rotate(6deg) scale(1.08); }
.card__ico svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.card p { margin: 0; font-size: .98rem; }
.card strong { color: var(--ink); }
.tag { margin-top: auto; padding-top: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card--feature { background: var(--navy); color: rgba(255, 255, 255, .86); }
.card--feature h3, .card--feature strong { color: #fff; }
.card--feature .tag { color: var(--gold-hi); }
.card--wide { grid-column: span 2; }
.card--feature::after { content: "★ Keep more"; position: absolute; top: -16px; right: 18px; padding: 6px 12px; border-radius: 999px; background: var(--pink); color: #fff; border: 2px solid var(--ink); font: 800 12px/1 var(--display); letter-spacing: .04em; transform: rotate(4deg); }

/* ---------- road to $1M ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.blob--a { width: 460px; height: 460px; background: var(--pink); top: -140px; right: -120px; animation: float 12s ease-in-out infinite; }
.blob--b { width: 380px; height: 380px; background: var(--cyan); bottom: -160px; left: -120px; animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(40px, 30px) scale(1.1); } }
.section--dark .wrap { position: relative; }
.counter { display: inline-block; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.road { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.road::before { content: ""; position: absolute; left: 4%; right: 4%; top: 28px; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--gold)); border-radius: 4px; }
.road__step { position: relative; padding: 70px 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.road__step::before { content: ""; position: absolute; top: 18px; left: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-900); border: 4px solid var(--cyan); }
.road__step:nth-child(2)::before { border-color: var(--violet); } .road__step:nth-child(3)::before { border-color: var(--pink); }
.road__step--gold::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 8px rgba(195, 161, 81, .25); }
.road__n { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.road__step h3 { margin: 6px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.road__step p { margin: 0; font-size: .96rem; }
.road__badge { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 800; font-family: var(--display); color: #fff; font-size: 15px; }
.road__step--gold { background: linear-gradient(160deg, rgba(195, 161, 81, .28), rgba(255, 255, 255, .05)); border-color: rgba(228, 197, 122, .6); }
.road__step--gold .road__badge { background: var(--gold); color: var(--ink); }
.fine { margin: 28px 0 0; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- keep more ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.split__text .btn { margin-top: 28px; }
.engines { position: relative; display: grid; gap: 18px; }
.engine { padding: 26px 28px; border-radius: var(--r); border: 2px solid var(--ink); box-shadow: var(--shadow-pop); }
.engine--pink { background: var(--pink); color: #fff; transform: rotate(-1.5deg); }
.engine--navy { background: var(--navy); color: #fff; transform: rotate(1deg); margin-left: 8%; }
.engine__k { display: inline-block; margin-bottom: 10px; font: 800 1.35rem/1 var(--display); letter-spacing: -.01em; }
.engine ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.engine li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.engine li::before { content: "✓"; font-weight: 800; color: var(--ink); background: #fff; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; flex: none; }
.engine--navy li::before { color: var(--navy); background: var(--gold); }
.sticker { position: absolute; right: -10px; top: -26px; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--ink); font: 800 1.4rem/1 var(--display); color: var(--ink); transform: rotate(12deg); animation: wobble 4s ease-in-out infinite; box-shadow: 4px 4px 0 var(--ink); }
@keyframes wobble { 50% { transform: rotate(-8deg) scale(1.06); } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px; border-radius: var(--r); background: #fff; border: 2px solid var(--ink); }
.step__n { font: 800 2.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--navy); }
.step:nth-child(2) .step__n { -webkit-text-stroke-color: var(--pink); } .step:nth-child(3) .step__n { -webkit-text-stroke-color: var(--violet); } .step:nth-child(4) .step__n { -webkit-text-stroke-color: var(--gold); }
.step h3 { margin: 14px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(90px, 12vw, 150px) 0; background: radial-gradient(circle at 20% 20%, rgba(255, 62, 165, .45), transparent 45%), radial-gradient(circle at 85% 70%, rgba(31, 216, 240, .4), transparent 45%), var(--navy-900); color: #fff; overflow: hidden; }
.cta__in { text-align: center; }
.cta__quote { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .95; letter-spacing: -.045em; }
.cta__quote .pop::before { background: rgba(195, 161, 81, .45); }
.cta__quote .pop { color: var(--gold-hi); }
.cta__lead { max-width: 36em; margin: 26px auto 0; font-size: 1.15rem; color: rgba(255, 255, 255, .82); }
.cta__box { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
.cta__mail { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); }
.cta__mail a { color: #fff; font-weight: 700; }
.copy { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font: 600 13px/1 var(--body); cursor: pointer; }

/* ---------- footer ---------- */
.footer { background: #0A0F26; color: rgba(255, 255, 255, .62); padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.footer__in { display: grid; gap: 22px; }
.footer__note { max-width: 52em; margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__legal p { margin: 0; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer__legal a:hover { color: var(--gold-hi); }

/* ---------- videogioco (Teo 03/10: "animazioni tipo videogames") ---------- */
.px { font-family: 'Pixel', monospace; font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow .px { margin-left: 6px; padding: 6px 8px; border-radius: 4px; background: var(--pink); color: #fff; letter-spacing: .04em; }
.px--dark { background: var(--ink) !important; color: var(--lime) !important; }
.px--blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.road__n.px { color: var(--lime); font-size: 10px; }
.road__step--gold .road__n.px { color: var(--gold-hi); }
.road__step--gold::after { content: "LEVEL UP!"; position: absolute; top: -18px; right: 14px; padding: 7px 10px; border-radius: 4px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); font: 400 10px/1 'Pixel', monospace; transform: scale(0) rotate(-8deg); }
.road__step--gold.is-in::after { animation: levelup .7s cubic-bezier(.3, 1.6, .5, 1) 1.2s forwards, bob 1.6s ease-in-out 2s infinite; }
@keyframes levelup { to { transform: scale(1) rotate(-6deg); } }
@keyframes bob { 0%, 100% { transform: scale(1) rotate(-6deg) translateY(0); } 50% { transform: scale(1) rotate(-6deg) translateY(-5px); } }
.xp { display: flex; align-items: center; gap: 12px; margin-top: 26px; max-width: 520px; color: #fff; }
.xp__bar { flex: 1; height: 18px; padding: 3px; border: 3px solid #fff; background: rgba(255, 255, 255, .06); image-rendering: pixelated; }
.xp__bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--lime) 0 14px, #8fd11f 14px 16px); transition: width 2.4s steps(24) .3s; }
.xp.is-in .xp__bar i { width: 100%; }
.xp__val { color: var(--gold-hi); }
.arcade { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.coin { position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; background: var(--gold-hi); border: 3px solid #8a6d22; box-shadow: inset -4px -4px 0 #b08a2e, inset 4px 4px 0 #fff3c4; image-rendering: pixelated; animation: spin 1.2s steps(6) infinite, hover 3s ease-in-out infinite; animation-delay: var(--d), var(--d); }
.coin::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 10px; background: #8a6d22; }
@keyframes spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@keyframes hover { 50% { translate: 0 -12px; } }
.star { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; background: #fff; box-shadow: 6px 0 0 #fff, -6px 0 0 #fff, 0 6px 0 #fff, 0 -6px 0 #fff; animation: twinkle 1.6s steps(3) infinite; animation-delay: var(--d); }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.ship { position: absolute; top: 46%; left: -80px; width: 64px; height: 40px; image-rendering: pixelated; animation: fly 11s linear infinite; filter: drop-shadow(0 0 8px rgba(31, 216, 240, .7)); }
@keyframes fly { 0% { transform: translate(0, 0); } 25% { transform: translate(30vw, -40px); } 50% { transform: translate(60vw, 20px); } 75% { transform: translate(90vw, -30px); } 100% { transform: translate(120vw, 0); } }
.card::before { content: "+100 XP"; position: absolute; right: 16px; top: 16px; font: 400 10px/1 'Pixel', monospace; color: var(--ink); background: var(--c); border: 2px solid var(--ink); padding: 5px 7px; border-radius: 4px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover::before { opacity: 1; transform: translateY(-6px); }
.step { position: relative; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.step h3::before { content: "▶"; display: inline-block; width: 0; overflow: hidden; color: var(--pink); vertical-align: baseline; transition: width .2s; }
.step:hover h3::before { width: 1.1em; animation: blink .8s steps(2, start) infinite; }
.px--start { margin: 0 0 22px; color: var(--lime); font-size: clamp(12px, 1.6vw, 16px); letter-spacing: .2em; animation: blink 1.1s steps(2, start) infinite; }
.cta__in { position: relative; z-index: 1; }
.btn--sound { box-shadow: 0 0 0 0 rgba(255, 62, 165, .7); animation: pulse 2s infinite; }
.btn--sound[aria-pressed="true"] { animation: none; background: var(--pink); border-color: var(--pink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(255, 62, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 62, 165, 0); } }
.hero__video { cursor: pointer; }

/* ---------- domanda sul suono ---------- */
.ask { text-align: center; position: absolute; z-index: 5; left: 0; right: 0; margin-inline: auto; top: clamp(140px, 28vh, 280px); bottom: auto; width: min(78vw, 320px); padding: 22px 22px 20px; border-radius: 20px; background: rgba(14, 20, 51, .92); border: 2px solid var(--gold); box-shadow: 6px 6px 0 var(--pink); color: #fff; transform: translate(0, 20px) scale(.92); opacity: 0; transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); backdrop-filter: blur(8px); }
.ask.is-open { opacity: 1; transform: none; }
.ask__px { margin: 0 0 10px; color: var(--lime); animation: blink 1.1s steps(2, start) infinite; }
.ask__title { margin: 0 0 16px; font: 800 1.45rem/1.15 var(--display); letter-spacing: -.02em; }
.ask__btns { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ask__btns .btn { min-height: 46px; width: auto; }
.ask__no { padding: 10px 14px; border: 0; background: transparent; color: rgba(255, 255, 255, .75); font: 600 15px/1 var(--body); cursor: pointer; text-decoration: underline; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.page { padding: 140px 0 90px; }
.page h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--ink); letter-spacing: -.03em; }
.page .updated { color: var(--muted); margin: 0 0 36px; }
.page h2 { margin: 34px 0 8px; font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.page p, .page li { max-width: 46em; }
.page .nav__links a:not(.nav__cta) { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); } .road::before { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; background: var(--navy-900); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav__links a, .nav.is-solid .nav__links a:not(.nav__cta) { color: #fff; font-size: 1.4rem; font-family: var(--display); font-weight: 800; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__toggle { border-color: #fff; } .nav.is-open .nav__toggle span { background: #fff; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); } .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero__shade { background: linear-gradient(0deg, rgba(14, 20, 51, .92) 0%, rgba(14, 20, 51, .45) 48%, rgba(14, 20, 51, 0) 72%); }
  .hero__video { object-position: 62% 30%; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .road, .steps { grid-template-columns: minmax(0, 1fr); }
  .card--wide { grid-column: auto; }
  .engine--navy { margin-left: 0; }
  .sticker { width: 74px; height: 74px; font-size: 1.1rem; right: 0; top: -30px; }
  .hero__in { padding-top: 120px; }
  .btn { width: 100%; justify-content: center; }
  .hero__ctas { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
