/* Film, "E c'è molto di più" bento, closing call to action, footer. */

/* ---------- film ---------- */
.film { padding-block: clamp(84px, 11vw, 150px) clamp(64px, 8vw, 110px); overflow: hidden; }
.film-frame { position: relative; width: min(1260px, 100% - 2 * var(--gutter)); margin: 56px auto 0; aspect-ratio: 16 / 9; border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden; background: #000; transform: scale(var(--fs, .9)); transform-origin: 50% 0; will-change: transform; box-shadow: 0 40px 120px rgba(80, 60, 255, .22); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.film-cover { position: absolute; inset: 0; display: grid; place-items: end start; padding: clamp(14px, 3vw, 36px); border: 0; padding: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); color: #fff; cursor: pointer; transition: opacity .5s var(--ease), visibility .5s; }
.film-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.film-cover.off { opacity: 0; visibility: hidden; }
.film-play { display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border-radius: 980px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; transition: transform .4s var(--ease), background .3s; }
.film-cover:hover .film-play { transform: scale(1.04); background: rgba(255, 255, 255, .24); }
.film-play i { width: clamp(44px, 4.6vw, 60px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.film-play i svg { width: 40%; fill: #000; margin-left: 8%; }
.film-play small { display: block; font-weight: 500; opacity: .75; font-size: .82em; font-variant-numeric: tabular-nums; }

/* ---------- bento ---------- */
.bento2 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 56px; }
.tl { position: relative; overflow: hidden; border-radius: 30px; background: #fff; color: #1d1d1f; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.tl.c7 { grid-column: span 7; } .tl.c5 { grid-column: span 5; } .tl.c4 { grid-column: span 4; } .tl.c6 { grid-column: span 6; } .tl.c12 { grid-column: span 12; }
.tl .kick { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: #6e6e73; }
.tl h3 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.012em; line-height: 1.12; text-wrap: balance; }
.tl p { margin: 0; max-width: 460px; color: #6e6e73; font-size: 17px; line-height: 1.45; }
.tl .vis { margin-top: auto; padding-top: 26px; }
@media (hover: hover) { .tl { transition: transform .6s var(--ease), box-shadow .6s var(--ease); } .tl:hover { transform: scale(1.012); box-shadow: 0 24px 60px rgba(0, 0, 0, .08); } }
.tl.ink { background: radial-gradient(90% 80% at 85% 100%, #2b1b6b 0%, transparent 60%), radial-gradient(70% 60% at 10% 0%, #0b2a5e 0%, transparent 60%), #05050a; color: #f5f5f7; }
.tl.ink p, .tl.ink .kick { color: #a1a1a6; }
.kick.grad { color: transparent; }

/* collaudo */
.checks { display: grid; grid-template-columns: repeat(6, minmax(0, 52px)); gap: 10px; }
.checks i { aspect-ratio: 1; border-radius: 14px; background: #2c2c2e; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 18px; font-weight: 700; }
.checks i::after { content: "✓"; }
.checks i.g { background: #30d158; box-shadow: 0 0 22px rgba(48, 209, 88, .35); }
.play .checks i.g { animation: chk .45s var(--ease) var(--d) both; }
@keyframes chk { from { background: #2c2c2e; box-shadow: none; transform: scale(.8); } to { background: #30d158; transform: none; } }
.score { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.score .big { font-size: clamp(64px, 7vw, 104px); font-weight: 600; letter-spacing: -.045em; line-height: .9; }
.score .pl { font-size: 14px; padding: .5em 1em; }

/* versions */
.vlist { position: relative; display: grid; gap: 4px; }
.vlist::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: #e3e3e8; }
.vrow { position: relative; display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; }
.vrow .dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #c7c7cc; z-index: 1; }
.vrow.cur .dot { background: #0071e3; box-shadow: 0 0 0 5px rgba(0, 113, 227, .16); }
.vrow b { display: block; font-size: 16px; font-weight: 600; }
.vrow small { color: #6e6e73; font-size: 14px; }
.vrow .ghost { padding: 6px 14px; border-radius: 980px; font-size: 13px; font-weight: 500; color: #0071e3; box-shadow: inset 0 0 0 1px #0071e3; white-space: nowrap; }

/* evidence fan */
.fan { position: relative; height: 210px; }
.shot-c { position: absolute; left: 50%; bottom: 0; width: 72%; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .05); font-size: 11px; transform-origin: 50% 120%; }
.shot-c:nth-child(1) { transform: translateX(-50%) rotate(-9deg) translateY(-6px); }
.shot-c:nth-child(2) { transform: translateX(-50%) rotate(7deg) translateY(-2px); }
.shot-c:nth-child(3) { transform: translateX(-50%); }
.shot-c .h { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 8px; }
.shot-c .h svg { width: 16px; height: 16px; }
.shot-c .ln { height: 6px; border-radius: 3px; background: #ececf0; margin-top: 6px; }
.shot-c .meta { display: flex; justify-content: space-between; margin-top: 10px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.shot-c .meta b { color: #1fa553; }

/* vault */
.vault { position: relative; display: grid; place-items: center; height: 210px; }
.vault .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(0, 113, 227, .18); }
.vault .ring:nth-child(1) { width: 200px; height: 200px; } .vault .ring:nth-child(2) { width: 148px; height: 148px; border-color: rgba(0, 113, 227, .28); } .vault .ring:nth-child(3) { width: 98px; height: 98px; border-color: rgba(0, 113, 227, .42); }
.play .vault .ring { animation: ringp 3s ease-in-out infinite; }
.play .vault .ring:nth-child(2) { animation-delay: .3s; } .play .vault .ring:nth-child(3) { animation-delay: .6s; }
@keyframes ringp { 50% { transform: scale(1.05); opacity: .6; } }
.vault .core { position: relative; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(145deg, #2997ff, #0060c7); box-shadow: 0 14px 30px rgba(0, 113, 227, .4); }
.vault .core svg { width: 30px; }
.vault .pw { position: absolute; bottom: 0; padding: 7px 14px; border-radius: 980px; background: #f2f2f5; font-size: 14px; letter-spacing: .2em; color: #6e6e73; }

/* computer */
.mon { width: min(260px, 90%); margin: 0 auto; }
.mon .scr2 { aspect-ratio: 16 / 10; border-radius: 14px; background: #1d1d1f; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.mon .scr2 > div { height: 100%; border-radius: 8px; background: linear-gradient(160deg, #e9f1ff, #f6f0ff); padding: 10px; display: grid; gap: 6px; align-content: start; }
.mon .win { border-radius: 6px; background: #fff; padding: 6px 8px; font-size: 10px; font-weight: 600; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.mon .win svg { width: 12px; height: 12px; }
.mon .stand { width: 26%; height: 18px; margin: 0 auto; background: linear-gradient(#d2d2d7, #b8b8bd); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.mon .base { width: 44%; height: 5px; margin: 0 auto; border-radius: 3px; background: #c7c7cc; }
.live { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: #13703b; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #1fa553; animation: pulse 2s infinite; }

/* team */
.crew { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mate { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #f5f5f7; }
.mate .av2 { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; color: #fff; }
.mate b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.mate small { display: inline-flex; align-items: center; gap: 6px; color: #6e6e73; font-size: 13px; }
.mate small i { width: 7px; height: 7px; border-radius: 50%; }

/* stop and ask */
.flow2 { display: grid; gap: 0; justify-items: start; }
.step2 { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #f5f5f7; font-size: 15px; font-weight: 500; }
.step2 svg { width: 22px; height: 22px; flex: none; }
.step2.warn { background: #fff2df; color: #8a3b00; }
.step2.ask { background: #eef2ff; color: #1d1d1f; }
.arrow { width: 2px; height: 22px; margin-left: 26px; background: linear-gradient(#d2d2d7, #d2d2d7) center / 2px 100% no-repeat; }

/* learning curve */
.tl.c12 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; min-height: 0; }
.curve svg { width: 100%; height: auto; overflow: visible; }
.curve .path { stroke-dasharray: 900; stroke-dashoffset: 0; }
.play .curve .path { animation: draw 2.2s var(--ease) .2s both; }
@keyframes draw { from { stroke-dashoffset: 900; } }
.cv-t, .cv-l { font-size: 13px; font-weight: 500; color: #6e6e73; }
.cv-t { display: block; margin-bottom: 10px; }
.cv-l { display: flex; justify-content: space-between; margin-top: 8px; }

/* ---------- closing ---------- */
.finale { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 15vw, 200px); }
.orb2 { position: absolute; left: 50%; top: 38%; width: min(760px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ai-conic); filter: blur(110px); opacity: .42; animation: spin 12s linear infinite; pointer-events: none; }
.finale .mark { position: relative; margin: 0; font-size: clamp(88px, 15vw, 200px); font-weight: 700; letter-spacing: -.05em; line-height: .9; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.finale .say { position: relative; margin: 22px auto 0; font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
/* email + download: one row, field ~3/4 and button ~1/4, at every width */
.join2 { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(max-content, 1fr); align-items: center; gap: 6px; width: min(600px, 100%); margin: 44px auto 0; padding: 6px; border-radius: 980px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 30px 80px rgba(0, 0, 0, .5); transition: box-shadow .25s; }
.join2:focus-within { box-shadow: inset 0 0 0 2px rgba(41, 151, 255, .9), 0 30px 80px rgba(0, 0, 0, .5); }
.join2.is-invalid { box-shadow: inset 0 0 0 2px rgba(255, 69, 58, .95), 0 30px 80px rgba(0, 0, 0, .5); }
.join2.shake { animation: jShake .42s var(--ease); }
@keyframes jShake { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
.j-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.j-field { position: relative; min-width: 0; }
.j-mail { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: rgba(255, 255, 255, .55); pointer-events: none; transition: color .25s; }
.join2:focus-within .j-mail { color: #fff; }
.join2 input[type=email] { display: block; width: 100%; height: 52px; padding: 0 46px 0 50px; border: 0; border-radius: 980px; background: transparent; color: #fff; font: inherit; font-size: 17px; text-align: left; caret-color: #2997ff; }
.join2 input[type=email]::placeholder { color: rgba(255, 255, 255, .55); }
.join2 input[type=email]:focus-visible { outline: none; }
/* Browser autofill (also the preview while hovering a suggestion) paints its own light background with !important:
   an inset shadow covers it with the pill's dark glass, so the address stays white on dark in every state. */
.join2 input[type=email]:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #2997ff; box-shadow: inset 0 0 0 60px #1c1c1e; transition: background-color 9999s; }
.join2 input[type=email]:autofill { -webkit-text-fill-color: #fff; box-shadow: inset 0 0 0 60px #1c1c1e; }
.j-state { position: absolute; right: 12px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); pointer-events: none; }
.j-state svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.j-ok { color: #30d158; }
.j-no { color: #ff453a; }
.join2.is-valid .j-ok, .join2.is-invalid .j-no { opacity: 1; transform: none; }
.j-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 0; border-radius: 980px; background: linear-gradient(180deg, #2b8cff, #0071e3); color: #fff; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 24px rgba(0, 113, 227, .35); transition: filter .2s, transform .2s var(--ease), box-shadow .2s; }
.j-btn:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 113, 227, .5); }
.j-btn:active { transform: scale(.96); }
.j-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.j-btn:disabled { cursor: progress; filter: saturate(.8); }
.j-dl { width: 20px; height: 20px; flex: none; }
@media (hover: hover) { .j-btn:hover .j-dl { animation: jDrop .9s var(--ease) infinite; } }
@keyframes jDrop { 0%, 100% { transform: none; } 45% { transform: translateY(3px); } }
.j-spin { display: none; width: 18px; height: 18px; flex: none; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin2 .8s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.join2.is-sending .j-dl { display: none; }
.join2.is-sending .j-spin { display: block; }
.join2 .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join2.done { display: flex; justify-content: center; gap: 12px; min-height: 64px; padding: 6px 22px; font-size: 17px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(48, 209, 88, .55), 0 30px 80px rgba(0, 0, 0, .5); animation: riseIn2 .5s var(--ease); }
.join2.done svg { width: 24px; height: 24px; flex: none; color: #30d158; }
.join2.done span { min-width: 0; overflow-wrap: anywhere; text-align: left; }
@keyframes riseIn2 { from { opacity: 0; transform: scale(.97); } }
.join-note a { color: #2997ff; font-weight: 600; }
.join-note { position: relative; min-height: 1.5em; margin-top: 16px; font-size: 15px; color: #a1a1a6; transition: color .2s; }
.join-note.err { color: #ff6961; }
.perks { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-size: 15px; color: #d2d2d7; }
.perks span { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 18px; height: 18px; color: #30d158; }

/* ---------- footer ---------- */
.foot2 { background: #f5f5f7; color: #6e6e73; font-size: 12px; line-height: 1.5; padding-block: 40px 28px; }
.foot2 .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #d2d2d7; }
.foot2 .brand2 b { display: block; color: #1d1d1f; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.foot2 .brand2 span { font-size: 14px; }
.foot2 .cols2 { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); gap: 16px 56px; }
.foot2 h4 { margin: 0 0 8px; color: #1d1d1f; font-size: 12px; font-weight: 600; }
.foot2 .cols2 a { display: block; padding-block: 4px; }
.foot2 a:hover { color: #1d1d1f; text-decoration: underline; }
.foot2 .bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; }

@media (max-width: 1023px) {
  .tl.c7, .tl.c5, .tl.c4, .tl.c6 { grid-column: span 6; }
  .tl.t-full { grid-column: span 12; }
}
@media (max-width: 733px) {
  .bento2 { grid-template-columns: 1fr; gap: 16px; }
  .tl.c7, .tl.c5, .tl.c4, .tl.c6, .tl.c12, .tl.t-full { grid-column: auto; }
  .tl { min-height: 0; border-radius: 26px; }
  .tl.c12 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .checks i { border-radius: 11px; font-size: 14px; }
  .crew { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mate { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .join2 { gap: 4px; padding: 5px; }
  .j-mail { left: 16px; width: 18px; height: 18px; }
  .join2 input[type=email] { height: 50px; padding: 0 38px 0 42px; font-size: 16px; }
  .j-state { right: 10px; width: 20px; height: 20px; }
  .j-btn { height: 50px; padding: 0 18px; gap: 6px; font-size: 16px; }
  .join2.done { border-radius: 24px; padding: 12px 18px; }
  .foot2 .cols2 { grid-template-columns: 1fr 1fr; width: 100%; }
  .fan { height: 150px; }
  .film-play { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .film-play > span { display: none; }
}
@media (max-width: 359px) {
  .j-btn { width: 50px; padding: 0; }
  .j-btn span { display: none; }
  .join2 { grid-template-columns: minmax(0, 1fr) auto; }
}
