/* Home Wordeex — landing completa (en / it). Nero + giallo #FDB81E, SF Pro sottile come nel deck. */
:root {
  --bg: #000;
  --bg2: #0a0a0c;
  --card: #111113;
  --text: #fff;
  --muted: rgba(255, 255, 255, .58);
  --dim: rgba(255, 255, 255, .3);
  --line: rgba(255, 255, 255, .09);
  --accent: #FDB81E;
  --font: 'SF Pro Text', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@font-face { font-family: 'SF Pro Text'; src: url('/assets/font/sf-pro-text_thin.woff2') format('woff2'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'SF Pro Text'; src: url('/assets/font/sf-pro-text_light.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'SF Pro Text'; src: url('/assets/font/sf-pro-text_regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SF Pro Text'; src: url('/assets/font/sf-pro-text_semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; }
body.home-page { background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 300; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ── Navigazione ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(0, 0, 0, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 300; letter-spacing: .16em; font-size: 15px; margin-right: auto; }
.logo i { color: var(--accent); font-style: normal; }
.nav a.link { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav a.link:hover { color: var(--text); }
.nav select { -webkit-appearance: none; appearance: none; color-scheme: dark; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23FDB81E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 32px 8px 16px; font: inherit; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.nav select:hover { color: var(--text); border-color: rgba(253, 184, 30, .5); }
.nav select:focus { outline: none; }
.nav select:focus-visible { color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(253, 184, 30, .18); }
.nav select option { background: #111; color: #fff; text-transform: none; letter-spacing: 0; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent); color: var(--accent); border-radius: 4px; padding: 9px 20px; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; transition: background .25s, color .25s, transform .25s; }
.btn:hover { background: var(--accent); color: #000; transform: translateY(-1px); }
@media (max-width: 860px) { .nav a.link { display: none; } }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -220px; top: 50%; transform: translateY(-50%) }
@keyframes glow { from { opacity: .55; transform: translateY(-50%) scale(.94); } to { opacity: 1; transform: translateY(-50%) scale(1.06); } }
.floaters { --fk: .6; position: absolute; inset: 0; pointer-events: none; }  /* --fk: fattore di scala delle lettere (mobile .6, tablet .8, desktop 1) */
@media (min-width: 700px) { .floaters { --fk: .8; } }
@media (min-width: 1100px) { .floaters { --fk: 1; } }
.floaters span { position: absolute; font-weight: 100; color: rgba(255, 255, 255, .07); animation: flt ease-in-out infinite alternate; will-change: transform; }
@keyframes flt { from { transform: translate(0, 0) rotate(0); } to { transform: translate(var(--dx, 12px), var(--dy, -12px)) rotate(var(--dr, 5deg)); } }
.hero .wrap { position: relative; display: flex; flex-direction: column; grid-template-columns: 1fr; gap: 16px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
h1.title { font-weight: 100; font-size: clamp(54px, 9vw, 128px); line-height: 1; letter-spacing: .04em; }
/* Animazione identica a /online: il titolo si scrive, poi diventa giallo e il cursore sparisce */
h1.title .txt, h1.title .cur { display: inline-block; vertical-align: bottom; }
h1.title .txt { animation: colorize .5s ease 2.8s forwards; }
h1.title .cur { color: var(--text); width: 1ch; overflow: hidden; animation: blink 1s step-end infinite, fadeOut .4s ease 2.8s forwards; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes colorize { to { color: var(--accent); } }
@keyframes fadeOut { to { opacity: 0; width: 0; } }
.claim { font-size: clamp(18px, 2.2vw, 28px); font-weight: 300; }
.lead { color: var(--muted); max-width: 520px; font-size: 17px; text-align: center }
.badges { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px;}
.badges a { transition: transform .25s var(--ease), filter .25s; }
.badges a:hover { transform: translateY(-3px) scale(1.03); filter: drop-shadow(0 8px 20px rgba(253, 184, 30, .25)); }
.badges img { height: 52px; width: auto; }
.badges a[hidden] { display: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.scroll-hint::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: hint 2s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } .lead { margin-inline: auto; } .badges { justify-content: center; } .hero .phone { margin: 30px auto 0; } }

/* ── Sezioni ── */
section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
section#get{ padding: clamp(24px, 12vw, 72px) 0;}
section + section { border-top: 1px solid var(--line); }
h2 { font-weight: 300; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.06; letter-spacing: -.01em; }
.sub { color: var(--accent); font-size: clamp(16px, 1.6vw, 20px); margin-top: 14px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.two > * { min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.two.flip > :first-child { order: 2; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } .two.flip > :first-child { order: 0; } }
.body p { margin-top: 20px; font-size: 18px; }
.body p.m { color: var(--muted); }
.body p b { color: var(--accent); font-weight: 300; }

/* reveal */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ── Telefono CSS ── */
.phone { position: relative; width: min(290px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; background: #000; padding: 10px; box-shadow: 0 0 0 2px #2c2c2f, 0 0 0 5px #121214, 0 40px 80px rgba(0, 0, 0, .7), 0 0 90px rgba(253, 184, 30, .08); margin-inline: auto; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; border-radius: 99px; background: #050507; transform: translateX(-50%); z-index: 3; }
.phone .tag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; border: 1px solid var(--accent); color: var(--accent); background: #000; border-radius: 99px; padding: 5px 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; z-index: 4; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; display: flex; flex-direction: column; align-items: center; padding: 46px 12px 14px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.screen .bar { width: 100%; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 10px; }
.screen .bar small { display: block; color: var(--dim); font-size: 8px; margin-top: 2px; }
.screen .ar { font-size: 14px; } .screen .dots { letter-spacing: 2px; font-weight: 600; }
.hist { margin-top: 12px; height: 78px; color: var(--dim); font-size: 9px; line-height: 1.7; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hist .on { color: var(--accent); }
.typed { margin-top: auto; font-size: 25px; font-weight: 100; letter-spacing: .1em; min-height: 36px; }
.typed i { font-style: normal; color: var(--accent); animation: blink 1s steps(1) infinite; }
.lens { color: var(--accent); font-size: 9px; margin: 6px 0 14px; letter-spacing: .2em; }
.lens span { color: var(--dim); }
.kb { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 0; width: 100%; padding: 0 2px; }
.kb b { font-weight: 100; font-size: 21px; letter-spacing: 0; line-height: 2; color: #fff; transition: color .35s, opacity .35s, transform .35s var(--ease); }
.kb b.sym { font-size: 14px; color: #fff; }
.kb b.pick { color: var(--accent); transform: scale(1.25); }
.kb b.used { opacity: .14; }
.kb.done b:not(.sym) { color: var(--accent); animation: pulse 1.2s ease-in-out infinite alternate; opacity: 1; }
@keyframes pulse { to { opacity: .35; } }
.tools { display: flex; gap: 8px; margin-top: 14px; width: 100%; justify-content: center; }
.tools span { flex: 1; max-width: 52px; aspect-ratio: 1; background: #101012; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.tools svg { width: 17px; height: 17px; }

/* ── Passi ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.step { text-align: center; }
.step h3 { color: var(--accent); font-weight: 300; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.step .kb { margin: 26px auto 18px; max-width: 220px; }
.step .kb b { font-size: 15px; line-height: 1.8; }
.step p { font-size: 15px; } .step small { display: block; color: var(--dim); font-size: 12px; margin-top: 4px; }
.step .arrow { display: none; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 50px 20px; } }

/* ── Difficoltà ── */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.card { background: linear-gradient(180deg, #121214, #0a0a0b); border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px; text-align: center; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.card:hover { transform: translateY(-6px); border-color: rgba(253, 184, 30, .45); box-shadow: 0 20px 60px rgba(253, 184, 30, .08); }
.card .ico { width: 44px; height: 44px; margin: 0 auto 18px; color: #fff; }
.card h3 { font-weight: 300; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.clue { color: var(--accent); font-size: 26px; font-weight: 100; letter-spacing: .1em; margin-bottom: 8px; }
.card .lvl { font-size: 11px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; margin: 6px 0 14px; display: block; }
.card .cap { color: #fff; font-size: 17px; }
.note { max-width: 560px; margin: 50px auto 0; text-align: center; color: var(--muted); font-size: 17px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ── Cronologia tentativi ── */
.attempts { display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: 22px; font-weight: 100; letter-spacing: .1em; color: var(--dim); }
.attempts .pill { border: 1px solid rgba(255, 255, 255, .6); border-radius: 99px; padding: 5px 20px; font-size: 11px; letter-spacing: .14em; color: #fff; margin-bottom: 12px; }
.attempts div.row { opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.attempts.in div.row { opacity: 1; transform: none; }
.attempts .hit { color: var(--accent); }
.list-block h4 { font-weight: 400; font-size: 20px; margin-top: 34px; }
.list-block p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ── Giornaliera ── */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 100%; margin-top: 12px; }
.week em { font-style: normal; color: var(--dim); font-size: 7px; display: block; margin-bottom: 4px; }
.week span { aspect-ratio: 1; border: 1px solid #333; display: grid; place-items: center; color: #444; font-size: 9px; border-radius: 3px; }
.week .t span, .week .t em { color: var(--accent); border-color: var(--accent); }
.big { font-size: 38px; font-weight: 100; margin-top: 34px; letter-spacing: 0; }
.big small { color: var(--dim); font-size: 22px; }
.chest { margin: 16px 0 10px; width: 44px; height: 38px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.chest::after { content: ""; position: absolute; left: 50%; top: -1px; width: 8px; height: 14px; background: #fff; transform: translateX(-50%); }
.playbtn { margin-top: auto; width: 100%; border: 1px solid #fff; padding: 10px 0; border-bottom-width: 3px; font-size: 9px; }
.result h5 { color: var(--accent); font-weight: 100; font-size: 22px; letter-spacing: .12em; margin-top: 30px; }
.result p { color: var(--muted); font-size: 8px; margin: 8px 0; line-height: 2; }
.result p b { color: var(--accent); font-weight: 300; }
.dualphones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.dualphones .phone:last-child { margin-top: 56px; }
@media (max-width: 560px) {
  .dualphones { gap: 12px; } .dualphones .phone { width: calc(50% - 6px); border-radius: 30px; padding: 6px; } .dualphones .phone::before { width: 44px; height: 14px; top: 12px; }
  .dualphones .phone .screen { padding: 30px 5px 10px; font-size: 7px; border-radius: 24px; } .dualphones .big { font-size: 28px; margin-top: 18px; } .dualphones .result h5 { font-size: 15px; margin-top: 18px; }
  .dualphones .week em { font-size: 5px; } .dualphones .week span { font-size: 7px; }
  .nav .wrap { gap: 12px; } .nav .btn { padding: 8px 14px; font-size: 11px; } .logo { font-size: 13px; }
}

/* ── Modalità ── */
.mode .ico { height: 54px; width: 54px; }
.modes .card { padding: 44px 28px; }

/* ── Capitoli ── */
.path { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 18px; width: 100%; }
.path .final { border: 1px solid var(--accent); color: var(--accent); padding: 9px 40px; border-radius: 3px; font-size: 9px; background: rgba(253, 184, 30, .04); }
.path .vl { width: 1px; height: 12px; background: #666; }
.path .pair { display: flex; align-items: center; gap: 8px; }
.path .pair i { width: 16px; height: 1px; background: #666; }
.path .pair b { width: 38px; height: 38px; border: 1px solid #fff; border-radius: 4px; display: grid; place-items: center; font-weight: 300; font-size: 16px; color: #777; opacity: .2; transition: opacity .5s, color .5s, border-color .5s, box-shadow .5s; }
.path.in .pair b { opacity: 1; color: #fff; transition-delay: calc(var(--i) * .25s); }
.path.in .pair b.nx { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 18px rgba(253, 184, 30, .35); }
.ticks { margin-top: 30px; }
.ticks h4 { font-weight: 400; font-size: 18px; margin-top: 22px; }
.ticks p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ── Academy ── */
.gauge { position: relative; width: 170px; height: 170px; margin: 26px auto 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 3; }
.gauge .bg { stroke: #1d1d20; }
.gauge .fg { stroke: var(--accent); stroke-dasharray: 440; stroke-dashoffset: 440; stroke-linecap: round; transition: stroke-dashoffset 2.4s var(--ease); }
.in .gauge .fg { stroke-dashoffset: 330; }
.gauge div { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; color: var(--accent); font-size: 16px; letter-spacing: .12em; }
.gauge small { color: var(--dim); font-size: 8px; }
.gauge strong { font-weight: 100; color: #fff; font-size: 26px; display: block; }
.acad { margin-top: 36px; display: grid; gap: 22px; }
.acad > div { display: grid; grid-template-columns: 34px 1fr; gap: 6px; }
.acad span { color: var(--dim); font-size: 14px; padding-top: 2px; }
.acad h4 { font-weight: 400; font-size: 18px; }
.acad p { color: var(--muted); font-size: 15px; }

/* ── Lingue ── */
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 56px; }
.langs a { border: 1px solid var(--line); border-radius: 99px; padding: 11px 14px; text-align: center; font-size: 14px; letter-spacing: .04em; color: var(--muted); transition: all .25s; }
.langs a:hover { color: #000; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.langs a.cur { color: var(--accent); border-color: rgba(253, 184, 30, .5); }
.facts { display: flex; gap: clamp(30px, 8vw, 110px); justify-content: center; margin-top: 70px; flex-wrap: wrap; }
.facts div { text-align: center; }
.facts strong { display: block; font-weight: 100; font-size: clamp(54px, 8vw, 100px); line-height: 1; color: var(--accent); }
.facts span { color: var(--muted); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }

/* ── Popolarità ── */
.dict { display: grid; gap: 40px; }
.dict .box { border-top: 1px solid var(--line); padding-top: 22px; }
.dict h5 { font-weight: 300; font-size: 11px; letter-spacing: .2em; color: var(--dim); text-align: center; text-transform: uppercase; margin-bottom: 20px; }
.dict .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
.dict strong { display: block; font-weight: 300; font-size: 22px; letter-spacing: .08em; }
.dict small { display: block; color: var(--dim); font-size: 10px; letter-spacing: .12em; margin: 4px 0 12px; text-transform: uppercase; }
.pop { display: flex; gap: 6px; justify-content: center; }
.pop i { width: 9px; height: 9px; border-radius: 50%; background: #333; transition: background .3s; transition-delay: calc(var(--i) * 90ms); }
.in .pop i.f { background: #fff; }
.chip { display: inline-block; border: 1px solid var(--accent); color: var(--accent); border-radius: 99px; padding: 6px 22px; font-size: 11px; letter-spacing: .14em; margin-bottom: 18px; text-transform: uppercase; }
.src { color: var(--dim); font-size: 13px; margin-top: 26px; }

/* ── Piattaforme ── */
.devices { position: relative; height: clamp(300px, 46vw, 480px); }
.devices .d { position: absolute; background: #000; border: 2px solid #3a3a3d; box-shadow: 0 30px 70px rgba(0, 0, 0, .7); overflow: hidden; }
.devices .mac { right: 0; top: 14%; width: 62%; aspect-ratio: 16/10; border-radius: 14px 14px 4px 4px; border-bottom: 10px solid #26282f; }
.devices .ipad { left: 0; top: 0; width: 38%; aspect-ratio: 3/4; border-radius: 18px; }
.devices .iph { left: 24%; bottom: 0; width: 20%; aspect-ratio: 9/19; border-radius: 22px; }
.devices .mini { display: grid; place-items: center; height: 100%; color: var(--dim); font-size: 9px; letter-spacing: .1em; }
.devices .mini .path { margin-top: 0; transform: scale(.62); }
.devices .mac .mini .path { transform: scale(.8); }
.feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 70px; text-align: center; }
.feat3 .ico { width: 52px; height: 52px; margin: 0 auto 18px; color: #fff; }
.feat3 h3 { font-weight: 300; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.feat3 p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 280px; margin-inline: auto; }
@media (max-width: 800px) { .feat3 { grid-template-columns: 1fr; } }

/* ── Gratis / suggerimenti ── */
.num { display: grid; grid-template-columns: 38px 1fr; gap: 6px 10px; margin-top: 28px; }
.num span { color: var(--dim); font-size: 15px; }
.num h4 { font-weight: 400; font-size: 20px; }
.num p { color: var(--muted); font-size: 15px; grid-column: 2; }
.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.quad .card { padding: 34px 20px; }
.quad .card .ico { width: 40px; height: 40px; }
.quad h3 { font-size: 15px; }
@media (max-width: 900px) { .quad { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .quad { grid-template-columns: 1fr; } }

/* ── Offline ── */
.offl { display: grid; gap: 28px; }
.offl h4 { font-weight: 400; font-size: 19px; }
.offl p { color: var(--muted); font-size: 16px; }

/* ── Team ── */
.team-photo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.team-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-photo:hover img { transform: scale(1.04); }
.badge-g { display: inline-block; font-weight: 600; letter-spacing: .24em; font-size: 14px; border: 2px solid #fff; padding: 4px 12px; margin-bottom: 26px; }

/* ── CTA e footer ── */
.cta { text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(253, 184, 30, .18), transparent 60%); }
.cta > .wrap { position: relative; }
.cta .big2 { font-weight: 100; font-size: clamp(52px, 11vw, 160px); line-height: 1; color: var(--accent); letter-spacing: .04em; }
.cta .claim2 { margin-top: 18px; font-size: clamp(16px, 2vw, 24px); letter-spacing: .1em; text-transform: uppercase; }
.cta .badges { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-direction: column; gap: 18px; justify-content: center; align-items: center; text-align: center; }
footer a:hover { color: var(--text); }
footer nav { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; }

/* @media (prefers-reduced-motion: reduce) { */
@media (prefers-reduced-motion: reduce-never) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  h1.title .txt { color: var(--accent); }
  h1.title .cur { display: none; }
}

.ganko { height: 40px; width: auto; margin-bottom: 26px; }
.ganko.sm { height: 20px; margin: 0 12px 0 0; display: inline-block; vertical-align: middle; }
footer .cp { display: inline-flex; align-items: center; }
p:empty, h4:empty, small:empty { display: none; }
.num:has(h4:empty), .acad > div:has(h4:empty), .offl > div:has(h4:empty) { display: none; }
.list-block:not(:has(h4:not(:empty))), .ticks:not(:has(h4:not(:empty))), .acad:not(:has(h4:not(:empty))) { display: none; }

/* Landing essenziale: tastiera animata senza cornice del telefono */
.demo { width: min(420px, 100%); margin-inline: auto; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.demo .hist { height: 96px; font-size: 12px; margin-top: 0; }
.demo .typed { font-size: clamp(34px, 5vw, 52px); min-height: 60px; margin-top: 10px; }
.demo .lens { font-size: 12px; margin: 10px 0 28px; }
.demo .kb b { font-size: clamp(30px, 5vw, 46px); line-height: 1.9; }
.demo .kb b.sym { font-size: 24px; }
.lede { max-width: 560px; margin: 26px auto 0; color: var(--muted); font-size: 18px; }
.quad .card { padding: 40px 22px; }
.quad .card .ico { width: 46px; height: 46px; }
#free { padding: clamp(50px, 8vw, 90px) 0; }
@media (max-width: 900px) { .hero .demo { margin-top: 20px; } }

.ganko-link { display: inline-block; transition: opacity .25s, transform .25s; }
.ganko-link:hover { opacity: .8; transform: translateY(-2px); }

/* ── Prova interattiva (sezione "The idea") ── */
.play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 580px); gap: clamp(36px, 7vw, 110px); align-items: center; }
.play-info .lede { margin-left: 0; }
@media (max-width: 900px) { .play { grid-template-columns: minmax(0, 1fr); } .play-info { text-align: center; } .play-info .lede { margin-inline: auto; } .try { max-width: 460px; width: 100%; margin-inline: auto; } }
.try {min-height: 560px; border: 4px solid var(--line); border-radius: 28px; padding: clamp(22px, 3.4vw, 36px); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.try-top { min-height: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .7em; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.try-top.swap > * { animation: swapin .5s var(--ease); }
@keyframes swapin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.try-label { color: var(--text); }
.try-target { color: var(--accent); }
.try-typed { margin-top: 14px; min-height: 64px; line-height: 64px; font-weight: 100; font-size: 56px; letter-spacing: .14em; transition: color .3s; }
.try-typed i { font-style: normal; animation: blink 1s step-end infinite; }
.try.idle .try-typed { visibility: hidden; }
.try-typed.ok { color: var(--accent); }
.try-typed.bad { animation: shake .4s; color: rgba(255, 255, 255, .45); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.tkb { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0px; }
.tkb button { appearance: none; background: transparent; border: 1px solid transparent; border-radius: 4px; color: #fff; font: inherit; font-weight: 300; font-size: clamp(20px, 4.6vw, 26px); aspect-ratio: 1; min-height: 44px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .25s, background .25s, border-color .25s, opacity .35s, transform .25s var(--ease); }
.tkb button:hover { background: rgba(255, 255, 255, .07); }
.tkb button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tkb button.sym { font-size: 18px; color: var(--text); }
.tkb button.pick { color: var(--accent); border-color: rgba(253, 184, 30, .4); background: rgba(253, 184, 30, .04); transform: scale(1.08); }
.tkb button.sym.ready { color: var(--accent); border-color: var(--accent); animation: pulse .8s ease-in-out infinite alternate; }
.tkb button.used { opacity: .14; cursor: default; background: transparent; }
.tkb.off { pointer-events: none; opacity: .55; }
.tkb.done button:not(.sym) { opacity: 1; animation: pulse 1.2s ease-in-out infinite alternate; }
.try-count { color: var(--muted); font-size: 13px; letter-spacing: .08em; min-height: 20px; }
.try-end { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 16px; }
.try-end[hidden] { display: none; }
.try-end .again { appearance: none; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.try-end .again:hover { color: #fff; }
.try-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.try-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background .4s; }
.try-dots i.on { background: var(--accent); }
@media (max-width: 480px) { .try-typed { font-size: 40px; min-height: 48px; line-height: 48px; } }
/* Fine della prova: tastiera nascosta, badge degli store */
.try { display: flex; flex-direction: column; justify-content: space-around;}
.try.finished .tkb, .try.finished .try-count, .try.finished .try-typed { display: none; }
.try-end { flex-direction: column; gap: 6px; margin: auto 0; padding: 20px 0 8px; }
.try-end-title { font-weight: 100; font-size: clamp(32px, 4.4vw, 44px); letter-spacing: .04em; line-height: 1.15; animation: swapin .5s var(--ease); }
.try-end .badges { justify-content: center; gap: 16px; margin-top: 18px; flex-direction: column; align-items: center;}
.try-end .again { margin-top: 18px; }

/* ── Lingue: claim che cambia lingua + righe di lingue che scorrono ── */
/* Nuvola di lingue attorno al claim: dimensioni e bianchi diversi */
.lang-cloud { position: relative; margin-top: 28px; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(380px, 32vw, 460px); }
#languages { padding: clamp(16px, 6vw, 48px) 0; }
.lang-claim { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(600px, 86%); display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 1; pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.lang-claim.out { opacity: 0; transform: translate(-50%, calc(-50% - 8px)); }
.lc-text { max-width: 512px; font-weight: 100; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; letter-spacing: .01em; }
.lc-count { color: var(--muted); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.lc-lang { color: var(--accent); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.lang-cloud .langs { position: absolute; inset: 0; display: block; margin: 0; }
.lang-cloud .langs span { position: absolute; cursor: default; user-select: none; -webkit-user-select: none; border: 0; border-radius: 0; padding: 0; background: none; text-align: left; white-space: nowrap; font-size: var(--fs, 18px); font-weight: 300; letter-spacing: .02em; color: rgba(255, 255, 255, var(--o, .6)); animation: drift var(--dur, 9s) ease-in-out var(--del, 0s) infinite alternate; transition: color .35s, scale .35s var(--ease); }
.lang-cloud .langs span:hover, .lang-cloud .langs span.on { color: var(--accent); background: none; border-color: transparent; transform: none; scale: 1.14; }
.lang-cloud .langs span.cur { text-decoration-color: var(--accent); text-underline-offset: 7px; text-decoration-thickness: 1px; }
@keyframes drift { from { translate: 0 0; } to { translate: var(--dx, 6px) var(--dy, -8px); } }
.lang-marq { display: none; }
@media (max-width: 900px) {
  .lang-cloud { height: auto; width: auto; margin-left: 0; }
  .lang-claim { position: static; transform: none; width: auto; margin: 0 auto; }
  .lang-claim.out { transform: translateY(-8px); }
  .lang-cloud .langs { display: none; }
  /* due nastri che scorrono in direzioni opposte, a tutta larghezza con sfumatura ai lati; la lingua del claim e' in giallo */
  .lang-marq { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .lm-row { display: flex; width: max-content; animation: lm-scroll var(--lm, 48s) linear infinite; }
  .lm-row.rev { animation-direction: reverse; }
  .lm-row span { flex: none; padding-right: 32px; font-size: 20px; font-weight: 300; letter-spacing: .02em; white-space: nowrap; color: rgba(255, 255, 255, .4); transition: color .35s; }
  .lm-row span.on { color: var(--accent); }
}
@keyframes lm-scroll { to { transform: translateX(-50%); } }
/* TEMP: reduced-motion disattivato (come il resto del sito) */
/* @media (max-width: 900px) and (prefers-reduced-motion: reduce) { .lm-row { animation: none; } } */

/* ── Features (sezione #features, dal frame Figma "Features") ── */
#features { --s: 1; }
.ft-list { display: flex; flex-direction: column; gap: clamp(144px, 10vw, 288px); }
.ft-row { display: grid; grid-template-columns: minmax(0, 640px) 400px; justify-content: space-between; align-items: center; gap: 40px 120px; }
.ft-row.is-flip { grid-template-columns: 400px minmax(0, 640px); }
.ft-row.is-flip .ft-art { order: -1; }
.ft-row.is-cards { grid-template-columns: 400px minmax(0, 680px); justify-content: start; column-gap: 0; }
.ft-text { position: relative; z-index: 1; min-width: 0; }
.ft-desc { margin-top: 26px; color: var(--muted); font-size: 18px; }

/* illustrazioni: box di dimensioni Figma (--aw x --ah), scalato da --s */
.ft-art { position: relative; flex: none; width: calc(var(--aw) * var(--s)); height: calc(var(--ah) * var(--s)); }
.ft-in { position: absolute; left: 0; top: 0; width: var(--aw); height: var(--ah); transform: scale(var(--s)); transform-origin: 0 0; }
.ft-in img { position: absolute; display: block; max-width: none; }
.ft-art.is-league { --aw: 400px; --ah: 302px; }
/* schermata classe in HTML (318.75x302 centrata nel riquadro da 400px): "Class", icona esagono, rango, barra di avanzamento e classe successiva */
.lg { position: absolute; left: 40.625px; top: 0; width: 318.75px; height: 302px; color: #fff; }
.lg p { margin: 0; }
.lg-cls { position: absolute; left: 0; top: 0; width: 100%; text-align: center; font-size: 30px; font-weight: 300; line-height: 21px; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .64); }
.lg-hex { position: absolute; left: 122.625px; top: 54px; }
.lg-rank { position: absolute; left: 0; top: 156px; width: 100%; height: 96px; display: flex; justify-content: center; font-size: 63.75px; font-weight: 100; line-height: 96px; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; color: #ff8547; }
.lg-bar { position: absolute; left: 0; top: 276px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; }
.lg-track { box-sizing: border-box; display: flex; width: 150px; height: 25px; padding: 7.5px; border: 1.25px solid rgba(255, 255, 255, .32); border-radius: 2.5px; }
.lg-track i { flex: 1 1 0; min-width: 1px; height: 100%; background: #ff8547; }
.lg-track i:first-child { border-radius: 1.25px 0 0 1.25px; }
.lg-track i.e { opacity: 0; }
.lg-next { display: flex; align-items: center; gap: 5px; font-size: 17.5px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .64); }
.lg-arr { flex: none; }
.ft-art.is-chap { --aw: 400px; --ah: 408px; }
/* schermata capitolo in HTML (232x408, centrata nel riquadro da 400px): intestazione, "Final challenge" bloccata e livelli collegati da linee */
.cht { position: absolute; left: 84px; top: 0; width: 232px; height: 408px; overflow: hidden; }
.cht p { margin: 0; }
.cht-head { position: absolute; left: 0; top: 1px; width: 232px; text-align: center; text-transform: uppercase; white-space: nowrap; }
.cht-ch { display: flex; justify-content: center; gap: 6px; font-size: 24px; font-weight: 300; line-height: 36px; letter-spacing: .02em; color: #fff; }
.cht-df { font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: .04em; color: rgba(255, 255, 255, .64); }
.cht-boss { position: absolute; left: 0; top: 92px; width: 232px; height: 108px; }
.cht-box { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 16px; height: 76px; padding: 0 16px; border: 2px solid rgba(255, 255, 255, .16); border-radius: 4px; font-size: 18px; font-weight: 400; line-height: 24px; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .16); }
.cht-lock { flex: none; }
.cht-arrow { position: absolute; left: 57px; top: 92px; width: 2px; height: 16px; background: rgba(255, 255, 255, .16); }
.cht-grid { position: absolute; left: 0; top: 200px; width: 232px; display: grid; grid-template-columns: 116px 116px; grid-auto-rows: 116px; }
.cc { display: flex; flex-direction: column; align-items: center; }
.cr { display: flex; align-items: center; width: 100%; }
.cl { flex: 1 1 0; background: rgba(255, 255, 255, .16); }
.cl.v { width: 2px; min-height: 1px; }
.cl.h { height: 2px; min-width: 1px; }
.cl.w { background: #fff; }
.cl.hide { opacity: 0; }
.ct { padding: 16px; }
.tile { position: relative; width: 56px; height: 60px; }
.tb { position: relative; z-index: 2; box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 11px 8px 8px; background: #000; border: 2px solid #fff; border-radius: 4px; font-size: 18px; font-weight: 400; line-height: 27px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.tile.is-dim .tb { border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .16); }
.tile.is-on .tb { padding-top: 8px; border-color: var(--accent); color: var(--accent); }
.ts { position: absolute; left: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; width: 100%; height: 9px; }
.ts img { position: static; flex: none; width: 4px; height: 9px; }
.ts i { flex: 1; height: 2px; background: #fff; }
.tile.is-on .ts i { height: 4px; background: var(--accent); }
.ft-art.is-off { --aw: 400px; --ah: 200px; }
/* "Play offline": icona Airplane mode + interruttore. Stato base = ON (senza JS resta cosi); il JS lo porta a OFF e lo accende allo scroll */
.ofl-plane { position: absolute; left: 168px; top: 3.3px; width: 64px; height: 65px; color: #fff; transform-origin: 50% 55%; }
.ofl-lbl { position: absolute; left: 0; top: 83.7px; width: 400px; margin: 0; text-align: center; font-size: 36px; font-weight: 300; line-height: 27px; letter-spacing: 0; text-transform: uppercase; color: #fff; }
.ofl-sw { position: absolute; left: 142px; top: 146.7px; width: 116px; height: 52px; border-radius: 26px; background: var(--accent); }
.ofl-sw i { position: absolute; top: 7px; left: 71px; width: 38px; height: 38px; border-radius: 50%; background: #000; }
.ft-art.is-off.is-ready .ofl-sw { transition: background-color .5s ease; }
.ft-art.is-off.is-ready .ofl-sw i { transition: left .5s cubic-bezier(.34, 1.4, .5, 1), background-color .5s ease; }
.ft-art.is-off.is-ready .ofl-plane, .ft-art.is-off.is-ready .ofl-lbl { transition: opacity .5s ease; }
.ft-art.is-off.is-ready .ofl-plane { transition: opacity .5s ease, transform .6s cubic-bezier(.34, 1.56, .5, 1); }
/* OFF: interruttore spento (grigio, cursore a sinistra), icona e testo attenuati */
.ft-art.is-off.is-armed .ofl-sw { background: rgba(255, 255, 255, .16); }
.ft-art.is-off.is-armed .ofl-sw i { left: 7px; background: rgba(255, 255, 255, .9); }
.ft-art.is-off.is-armed .ofl-plane { opacity: .28; transform: scale(.92) rotate(-10deg); }
.ft-art.is-off.is-armed .ofl-lbl { opacity: .4; }
.ft-art.is-chest { --aw: 400px; --ah: 366px; }
.ft-chest { left: 103px; top: 102px; width: 264px; height: 264px; }
/* sparkle del baule, tempi come nell'app React: 2 stelle (pose a 0/180/360/540/720 ms, poi 640 ms nascoste: ciclo 1360 ms,
   ritardi 0 e 320 ms) e 2 puntini che pulsano da .2 a 1 in 720 ms (alternate, ease in-out quad, ritardi 160 e 480 ms).
   Le posizioni sono casuali: il JS le cambia a ogni ciclo. Pose in % del box (punto, croce compatta, croce piena, bracci separati, trattini). */
.ft-spk { --e: cubic-bezier(.4, 0, .2, 1); position: absolute; display: block; opacity: 0; animation: ftk-o 1.36s linear var(--dl, 0s) infinite, ftk-p 1.36s var(--e) var(--dl, 0s) infinite; }
.ft-spk i { position: absolute; background: #fff; animation: 1.36s var(--e) var(--dl, 0s) infinite; }
.ft-spk .a-t { left: 42%; top: 0; width: 16%; height: 42%; animation-name: ftk-t; }
.ft-spk .a-b { left: 42%; top: 58%; width: 16%; height: 42%; animation-name: ftk-b; }
.ft-spk .a-l { left: 0; top: 42%; width: 50%; height: 16%; animation-name: ftk-l; }
.ft-spk .a-r { left: 50%; top: 42%; width: 50%; height: 16%; animation-name: ftk-r; }
.ft-spk.s1 { left: 55px; top: 172.5px; width: 36px; height: 36px; }
.ft-spk.s2 { left: 376px; top: 205.5px; width: 24px; height: 24px; --dl: .32s; }
.ft-sq { position: absolute; width: 6px; height: 6px; background: #fff; opacity: .2; animation: ftk-q .72s cubic-bezier(.455, .03, .515, .955) var(--dl, .16s) infinite alternate; }
.ft-sq.q1 { left: 76px; top: 244.5px; --dl: .16s; }
.ft-sq.q2 { left: 106px; top: 157.5px; --dl: .48s; }
@keyframes ftk-o { 0%, 52% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes ftk-p { 0% { transform: scale(.2); } 8% { transform: scale(1.2); } 15%, 100% { transform: scale(1); } }
@keyframes ftk-q { from { opacity: .2; } to { opacity: 1; } }
/* fuori schermo le animazioni restano ferme */
.ft-art.is-paused .ft-spk, .ft-art.is-paused .ft-spk i, .ft-art.is-paused .ft-sq { animation-play-state: paused; }
@keyframes ftk-t {
  0% { left: 42%; top: 42%; width: 16%; height: 16%; }
  13.24% { left: 42%; top: 26%; width: 16%; height: 16%; }
  26.47% { left: 42%; top: 0%; width: 16%; height: 42%; }
  39.71% { left: 42%; top: 0%; width: 16%; height: 24%; }
  52.94%, 100% { left: 42%; top: 0%; width: 16%; height: 8%; }
}
@keyframes ftk-b {
  0% { left: 42%; top: 42%; width: 16%; height: 16%; }
  13.24% { left: 42%; top: 58%; width: 16%; height: 16%; }
  26.47% { left: 42%; top: 58%; width: 16%; height: 42%; }
  39.71% { left: 42%; top: 76%; width: 16%; height: 24%; }
  52.94%, 100% { left: 42%; top: 92%; width: 16%; height: 8%; }
}
@keyframes ftk-l {
  0% { left: 42%; top: 42%; width: 16%; height: 16%; }
  13.24% { left: 26%; top: 42%; width: 24%; height: 16%; }
  26.47% { left: 0%; top: 42%; width: 50%; height: 16%; }
  39.71% { left: 0%; top: 42%; width: 24%; height: 16%; }
  52.94%, 100% { left: 0%; top: 42%; width: 8%; height: 16%; }
}
@keyframes ftk-r {
  0% { left: 42%; top: 42%; width: 16%; height: 16%; }
  13.24% { left: 50%; top: 42%; width: 24%; height: 16%; }
  26.47% { left: 50%; top: 42%; width: 50%; height: 16%; }
  39.71% { left: 76%; top: 42%; width: 24%; height: 16%; }
  52.94%, 100% { left: 92%; top: 42%; width: 8%; height: 16%; }
}

/* colpo del baule, come nell'app React (360 ms: impatto 55, salto 120, atterraggio 95, assestamento 90; easing out cubic).
   --dir (+1/-1) alterna il verso; --k ingrandisce gli spostamenti (il baule del sito e' ~1.5x quello dell'app) */
.ft-chest { --k: 1.5; --dir: 1; will-change: transform; }
.ft-chest.is-punch { animation: ftk-punch .36s linear both; }
@keyframes ftk-punch {
  0% { transform: none; animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  15.28% { transform: translate(calc(-14px * var(--dir) * var(--k)), calc(8px * var(--k))) rotate(calc(-14deg * var(--dir))) scale(1.163, .86); animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  48.6% { transform: translate(calc(6.3px * var(--dir) * var(--k)), calc(-34px * var(--k))) rotate(calc(9.8deg * var(--dir))) scale(.86, 1.14); animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  75% { transform: translate(calc(-2.1px * var(--dir) * var(--k)), calc(4.8px * var(--k))) rotate(calc(-2.8deg * var(--dir))) scale(1.04, .96); animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  100% { transform: none; }
}
/* TEMP: reduced-motion disattivato */
/* @media (prefers-reduced-motion: reduce) { .ft-chest.is-punch { animation: none; } } */

/* card community (dimensioni in em: 1em = corpo del testo della card) */
.ft-art.is-cards { --aw: 400px; --ah: 170px; }
.ftc { position: absolute; display: flex; flex-direction: column; isolation: isolate; width: 19.43em; height: 15.14em; font-size: 11.2px; font-weight: 300; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.ftc { left: 91.2px; top: 0; background: #000; transform-origin: 0 0; will-change: transform; transition: transform 1s cubic-bezier(.65, 0, .35, 1); }
/* posizioni a rotazione: si anima solo transform (le card laterali sono la centrale scalata a 9.51/11.2 = .849) */
.ftc[data-slot="l"] { transform: translate(-128.75px, 12.8px) scale(.849); z-index: 1; }
.ftc[data-slot="r"] { transform: translate(161.6px, 12.8px) scale(.849); z-index: 1; }
.ftc[data-slot="c"] { transform: none; z-index: 2; }
.ftc.is-wrap { z-index: 0; }   /* la card che passa da sinistra a destra scorre dietro le altre */
.ftc p { margin: 0; }
.ftc-box { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.143em; margin-bottom: -.357em; padding: 1.143em; border: .1429em solid #fff; border-radius: .2857em; text-align: center; }
.ftc-box { background: #000; transition: border-color 1s ease; }
.ftc.is-main .ftc-box { border-color: var(--accent); }
.ftc-lbl { width: 100%; color: var(--accent); }
.ftc-who { display: flex; flex-direction: column; gap: .2857em; width: 100%; }
.ftc-name { font-size: 1.286em; color: #fff; }
.ftc-user { font-size: 1.143em; color: rgba(255, 255, 255, .64); text-transform: none; }
.ftc-rows { display: flex; flex-direction: column; gap: .143em; align-items: center; }
.ftc-rows p { display: flex; gap: .571em; justify-content: center; white-space: nowrap; }
.ftc-rows span { color: rgba(255, 255, 255, .64); }
.ftc-rows b { font-weight: inherit; color: #fff; }
/* seconda riga (Hints): sparisce nella card centrale, che nel design ne ha una sola */
.ftc-rows .opt { max-height: 2em; transition: max-height 1s cubic-bezier(.65, 0, .35, 1), opacity 1s ease; }
.ftc.is-main .ftc-rows .opt { max-height: 0; opacity: 0; overflow: hidden; }
.ftc-sh { position: relative; z-index: 1; display: flex; align-items: flex-end; width: 100%; height: .643em; }
.ftc-sh img { position: static; flex: none; width: .2857em; height: .643em; }
.ftc-sh i { flex: 1; height: .2857em; border-bottom: .1428em solid #fff; transition: background-color 1s ease, border-color 1s ease; }
.ftc.is-main .ftc-sh i { border-bottom-color: transparent; background: var(--accent) content-box; }
/* angoli: coppia bianca nel flusso, coppia gialla sovrapposta; la card in primo piano mostra quella gialla */
.ftc-sh img { transition: opacity 1s ease; }
.ftc-sh img.y { position: absolute; bottom: 0; opacity: 0; }
.ftc-sh img.y.l { left: 0; }
.ftc-sh img.y.r { right: 0; }
.ftc.is-main .ftc-sh img.y { opacity: 1; }
.ftc.is-main .ftc-sh img.w { opacity: 0; }
.ftc-fade { position: absolute; z-index: 3; left: 317.42px; top: 0; width: 186.967px; height: 100%; opacity: .9; pointer-events: none; background: linear-gradient(to left, #000 23.327%, #000 64.244%, rgba(0, 0, 0, 0) 100%); }

@media (max-width: 900px) {
  .ft-row, .ft-row.is-flip, .ft-row.is-cards { grid-template-columns: minmax(0, 1fr); gap: 40px; justify-content: stretch; }
  .ft-row.is-flip .ft-art { order: 0; }
  .ft-art { justify-self: center; }
  /* baule: si ritaglia il vuoto sopra (--crop, px di progetto); il JS degli sparkle ne tiene conto */
  .ft-art.is-chest { --crop: 112; height: calc((350px - var(--crop) * 1px) * var(--s)); overflow: hidden; }
  .ft-art.is-chest .ft-in { top: calc(var(--crop) * -1px * var(--s)); }
  /* baule centrato nel riquadro da 400px (264px -> left 68px); --cdx e' lo spostamento che il JS applica all'area vietata */
  .ft-art.is-chest { --cdx: -35; }
  .ft-chest { left: 68px; }
  /* testi centrati, come il resto della home su mobile */
  .ft-text { text-align: center; }
  .ft-text .sub, .ft-text .ft-desc { max-width: 40ch; margin-inline: auto; }
}
/* tablet verticale: c'e' spazio, la terza card si vede intera senza dissolvenza */
/* sezioni in colonna: niente dissolvenza a destra e nessun margine; le 3 card occupano 476px di progetto (da -38 a 438),
   quindi sui telefoni la scala si riduce perche' 476 * s stia nella colonna (larghezza schermo - 48px) */
@media (max-width: 900px) { .ftc-fade { display: none; } }
/* TEMP: reduced-motion disattivato */
/* @media (prefers-reduced-motion: reduce) { .ftc, .ftc-box, .ftc-sh i, .ftc-sh img, .ftc-rows .opt { transition: none; } } */
@media (max-width: 452px) { .ft-art.is-cards { --s: .75; } }
@media (max-width: 404px) { .ft-art.is-cards { --s: .7; } }
@media (max-width: 380px) { .ft-art.is-cards { --s: .65; } }
@media (max-width: 356px) { .ft-art.is-cards { --s: .6; } }
@media (max-width: 333px) { .ft-art.is-cards { --s: .55; } }
/* scala dell'illustrazione: 400 * s deve stare nella colonna (larghezza schermo - 48px) */
@media (max-width: 560px) { #features { --s: .85; } }
@media (max-width: 388px) { #features { --s: .8; } }
@media (max-width: 368px) { #features { --s: .75; } }
@media (max-width: 348px) { #features { --s: .68; } }
