/* Landing mobile-first; il generatore e il resto del sito non cambiano. */
.eform-entry { --paper: #fbf8ef; --ink: #282827; --scene-height: calc(100svh - 76px); background: var(--paper); color: var(--ink); padding-bottom: 128px; }
.eform-entry-header { width: calc(100% - 40px); max-width: 1416px; height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.eform-entry .eform-symbol { width: 40px; height: 40px; }
.eform-entry .eform-wordmark { font-size: 26px; }
.eform-beta { color: #6e6d68; font-size: 13px; }
.eform-entry main { width: 100%; margin: 0; }
.eform-journey { position: relative; isolation: isolate; }
.eform-scene { position: sticky; top: 0; height: var(--scene-height); overflow: clip; pointer-events: none; z-index: 0; }
.eform-entry-visual { position: absolute; left: 50%; bottom: 100px; width: min(112%, 460px); height: auto; max-width: none; display: block; transform: translateX(-50%) translate3d(var(--model-x, 0px), var(--model-y, -40px), 0) rotate(var(--model-angle, -3deg)) scale(var(--model-scale, 1)); transform-origin: 50% 60%; }
.eform-entry-visual { mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.eform-frame-fallback { width: 100%; height: auto; display: block; }
.eform-frame-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.eform-scene[data-ready="true"] .eform-frame-canvas { display: block; }
.eform-scene[data-ready="true"] .eform-frame-fallback { visibility: hidden; }
.eform-story { position: relative; z-index: 1; margin-top: calc(-1 * var(--scene-height)); }
.eform-entry-hero, .eform-story-step { position: relative; min-height: var(--scene-height); margin: 0; padding: 28px 20px 0; }
.eform-story-copy { width: 100%; max-width: 640px; margin: 0 auto; background: transparent; position: relative; z-index: 2; }
.eform-entry-hero h1, .eform-copy-stage h1 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px, 8.6vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.eform-entry-lead { margin: 14px 0 0; font-size: 18px; line-height: 1.35; }
.eform-story-step { padding-top: 108px; }
.eform-story-step h2, .eform-copy-stage h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 11vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; }
.eform-step-lead { margin: 18px 0 0; font-size: 21px; line-height: 1.3; }
.eform-step-detail { margin: 12px 0 0; font-size: 16px; line-height: 1.4; color: #6e6d68; max-width: 38ch; }
.eform-scroll-hint { position: absolute; bottom: 128px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: 15px; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.eform-start-dock { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(430px, 100%); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #fbf8ef; z-index: 5; }
.eform-start { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 24px; border-radius: 999px; background: #ff4b16; color: #fff; text-decoration: none; font-size: 23px; font-weight: 700; box-shadow: 0 8px 22px #ff4b1615; transition: background .16s ease, transform .16s ease; }
.eform-start svg { width: 27px; height: 27px; }
.eform-start:hover { background: #e73b08; transform: translateY(-2px); }
.eform-start:active { transform: translateY(0); }
.eform-entry a:focus-visible, .eform-how summary:focus-visible { outline: 3px solid #282827; outline-offset: 5px; }
.eform-entry-note { text-align: center; margin: 10px 0 0; color: #6e6d68; font-size: 12px; line-height: 1.4; }
.eform-how { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.eform-how summary { width: fit-content; min-height: 44px; margin: 0 auto; padding: 8px 20px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #6e6d68; font-size: 14px; cursor: pointer; list-style: none; border-radius: 16px; }
.eform-how summary::-webkit-details-marker { display: none; }
.eform-how[open] summary svg { transform: rotate(180deg); }
.eform-how-content { margin: 16px auto 28px; padding: 24px 0; border-top: 1px solid #28282720; font-size: 16px; line-height: 1.6; }
.eform-how-content a { text-underline-offset: 3px; }
.eform-legal { font-size: 13px; color: #6e6d68; }
.eform-entry-footer { width: auto; max-width: none; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 20px; margin: 0; border: 0; font-size: 12px; color: #6e6d68; }
.eform-entry-footer a { color: inherit; text-decoration: none; }
.eform-entry-footer a:hover { text-decoration: underline; }
/* Zone distinte: il testo non attraversa il modello e non lo copre con un box. */
.eform-copy-stage { position: absolute; top: 28px; left: 20px; right: 20px; height: calc(var(--copy-height, 150px) + 8px); z-index: 1; }
.eform-copy-stage .eform-story-copy { position: absolute; inset: 0 0 auto; width: 100%; margin: 0; opacity: 0; }
.eform-copy-stage .eform-story-copy:first-child { opacity: 1; }
.eform-scroll-ready .eform-entry-visual { --visual-size: min(100vw, 460px, calc(var(--scene-height) - var(--copy-height, 150px) - 206px)); width: var(--visual-size); top: calc(var(--copy-height, 150px) + 56px); bottom: auto; transform: translateX(-50%); }
@media (min-width: 761px) {
  .eform-entry { --scene-height: calc(100svh - 104px); }
  .eform-entry-header { width: min(1416px, calc(100% - 80px)); height: 104px; }
  .eform-entry .eform-symbol { width: 48px; height: 48px; }
  .eform-entry .eform-wordmark { font-size: 30px; }
  .eform-beta { font-size: 16px; }
  .eform-story-copy { width: min(48%, 680px); max-width: none; margin: 0; }
  .eform-entry-hero, .eform-story-step { display: flex; align-items: center; width: min(1416px, calc(100% - 80px)); margin: 0 auto; padding: 0 0 108px; }
  .eform-entry-hero h1, .eform-copy-stage h1 { font-size: clamp(44px, 4.7vw, 72px); letter-spacing: -.055em; }
  .eform-entry-lead { font-size: clamp(20px, 2vw, 28px); margin-top: 26px; }
  .eform-story-step h2, .eform-copy-stage h2 { font-size: clamp(48px, 5.2vw, 80px); }
  .eform-step-lead { font-size: 28px; }
  .eform-step-detail { font-size: 18px; }
  .eform-entry-visual { left: 74%; bottom: 90px; width: min(52vw, 730px); }
  .eform-scroll-hint { bottom: 144px; left: 180px; }
  .eform-start-dock { width: 408px; }
  .eform-copy-stage { top: 50%; left: max(40px, calc((100vw - 1416px) / 2)); right: auto; width: min(43vw, 610px); transform: translateY(calc(-50% - 54px)); }
  .eform-copy-stage .eform-story-copy { width: 100%; }
  .eform-scroll-ready .eform-entry-visual { left: 76%; top: 50%; width: min(46vw, 730px, calc(var(--scene-height) - 160px)); transform: translate(-50%, calc(-50% - 40px)); }
}
@media (max-width: 760px) and (max-height: 650px) {
  .eform-entry-hero { padding-top: 18px; }
  .eform-entry-hero h1, .eform-copy-stage h1 { font-size: 30px; }
  .eform-entry-lead { font-size: 16px; margin-top: 10px; }
  .eform-story-step { padding-top: 58px; }
  .eform-story-step h2, .eform-copy-stage h2 { font-size: 34px; }
  .eform-step-lead { font-size: 18px; margin-top: 12px; }
  .eform-step-detail { font-size: 14px; margin-top: 8px; }
  .eform-entry-visual { width: 270px; bottom: 78px; }
  .eform-start { min-height: 58px; }
  .eform-scroll-hint { bottom: 106px; font-size: 13px; }
  .eform-copy-stage { top: 18px; }
  .eform-scroll-ready .eform-entry-visual { --visual-size: min(100vw, calc(var(--scene-height) - var(--copy-height, 150px) - 166px)); top: calc(var(--copy-height, 150px) + 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .eform-entry-visual { transform: translateX(-50%); }
  .eform-start { transition: none; }
  .eform-start:hover { transform: none; }
}
