/* ==========================================================
   Laboo — alchimie digitali
   Foglio di stile unico. Colori e misure nelle variabili qui sotto.
   Ogni pagina servizio imposta il proprio accento su <body>:
   --c (colore bolla), --cd (accento scuro per testo su carta),
   --cl (accento chiaro per testo su nero).
   ========================================================== */

:root {
  --paper: #F6F5F1;
  --ink: #141414;
  --text: #3E3C38;
  --muted: #6B6862;
  --line: #D9D6CE;
  --box: #ECEAE3;
  --on-dark: #B9B5AD;
  --on-dark-2: #A9A59E;
  --on-dark-3: #8F8C85;
  --c: #141414;
  --cd: #141414;
  --cl: #F6F5F1;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad-x: clamp(20px, 6vw, 112px);
  --head-x: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  padding: 12px 18px; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-weight: 500; font-size: 14px;
}
.skip:focus { top: 16px; }

.mono, .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; font-weight: 400; color: var(--muted); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad-x); }
.narrow { max-width: 860px; }

/* ---------- Intestazione ---------- */
.site-header {
  position: relative; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--head-x);
  pointer-events: none;
}
.page-inner .site-header { position: sticky; top: 0; }
.wordmark {
  pointer-events: auto;
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  transition: color .4s, opacity .3s, visibility .3s;
}
.wordmark__logo { flex: none; width: auto; height: 26px; fill: currentColor; } /* fondo del pentolino sulla linea di base del testo */
.wordmark__text { white-space: pre; }
/* "alchimie digitali" e "Roberto Federico" si alternano ogni 5 secondi (ciclo di 10s); fermi col mouse sopra;
   con prefers-reduced-motion l'animazione finisce subito e resta "alchimie digitali" */
.wordmark__swap { display: inline-grid; opacity: .72; }
.wordmark__swap > span { grid-area: 1 / 1; animation: wm-a 10s ease-in-out infinite; }
.wordmark__swap > span + span { animation-name: wm-b; opacity: 0; }
.wordmark:hover .wordmark__swap > span { animation-play-state: paused; }
@keyframes wm-a {
  0%, 45% { opacity: 1; transform: none; }
  50%, 95% { opacity: 0; transform: translateY(-.7em); }
  95.1% { opacity: 0; transform: translateY(.7em); }
  100% { opacity: 1; transform: none; }
}
@keyframes wm-b {
  0%, 45% { opacity: 0; transform: translateY(.7em); }
  50%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-.7em); }
}
.burger {
  pointer-events: auto; position: relative;
  width: 56px; height: 56px; border: 0; border-radius: 50%; padding: 0;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .35s, color .35s, box-shadow .35s;
}
.burger__line {
  position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor;
  transition: all .45s cubic-bezier(.7, 0, .2, 1);
}
.burger__line:first-child { top: 22px; }
.burger__line:last-child { top: 32px; left: 24px; }

/* scorrendo: l'hamburger diventa una bolla nera, il wordmark si nasconde */
.is-scrolled .wordmark { opacity: 0; visibility: hidden; }
.is-scrolled .burger { background: var(--ink); color: var(--paper); box-shadow: 0 6px 20px rgba(20, 20, 20, .18); }

/* menu aperto: l'intestazione diventa nera come il menu, così le voci che scorrono passano sotto senza sovrapporsi
   a logo e scritta; il nero arriva dopo l'animazione di apertura (cerchio) */
.menu-open .site-header { background: var(--ink); transition: background 0s .45s; }
.menu-open .wordmark { color: var(--paper); opacity: 1; visibility: visible; }
.menu-open .burger { background: transparent; color: var(--paper); box-shadow: none; }
.menu-open .burger__line:first-child { top: 27px; transform: rotate(45deg); }
.menu-open .burger__line:last-child { top: 27px; left: 14px; transform: rotate(-45deg); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 20;
  background: var(--ink); color: var(--paper);
  overflow-y: auto;
  display: flex; flex-direction: column;
  padding-top: 112px;
}
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-in .7s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes menu-in {
  from { clip-path: circle(0px at right 64px top 56px); }
  to { clip-path: circle(3000px at right 64px top 56px); }
}
.menu__list {
  list-style: none; margin: 0 auto; padding: 0 var(--pad-x);
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: 100%; max-width: 1440px;
}
.menu.is-open .menu__list > li { animation: rise .6s var(--ease) both; animation-delay: calc(.3s + var(--i) * .06s); }
.menu__item {
  display: grid; grid-template-columns: 24px 12px minmax(0, 1fr) auto;
  align-items: center; column-gap: clamp(16px, 2.4vw, 36px); row-gap: 6px;
  padding: clamp(8px, 1.1vw, 14px) 0;
  border-bottom: 1px solid rgba(246, 245, 241, .12);
}
.menu__n { font-family: var(--mono); font-size: 12px; color: var(--on-dark-3); }
.menu__dot { width: 12px; height: 12px; border-radius: 50%; transition: transform .35s var(--ease); }
.menu__name {
  font-size: clamp(26px, min(4.6vw, 4.6vh), 68px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05;
  transition: transform .35s var(--ease), opacity .2s;
}
/* Chi sono, FAQ, Contattami: stesse dimensioni dei servizi, staccate dal loro blocco con uno spazio */
.menu__sec + li:not(.menu__sec), li:not(.menu__sec) + .menu__sec { margin-top: clamp(16px, 3vh, 32px); }
.menu__sec .menu__item { border-bottom: 0; }
.menu__sec + li:not(.menu__sec) .menu__item { border-top: 1px solid rgba(246, 245, 241, .12); }
.menu__desc { font-family: var(--mono); font-size: 12px; color: var(--on-dark-2); white-space: nowrap; text-align: right; }
.menu__item:hover .menu__dot, .menu__item:focus-visible .menu__dot { transform: scale(2.6); }
.menu__item:hover .menu__name, .menu__item:focus-visible .menu__name { transform: translateX(14px); }
.menu__list:hover .menu__item:not(:hover) .menu__name { opacity: .35; }
.menu__item[aria-current="page"] .menu__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
@media (max-width: 1180px) {
  .menu__item { grid-template-columns: 24px 12px minmax(0, 1fr); }
  .menu__desc { grid-column: 3; white-space: normal; text-align: left; padding-left: 2px; }
}
.menu__foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding: 28px var(--head-x);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--on-dark-2);
}
.menu__foot > a { padding: 6px 0; }

.links { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.links li { display: flex; }
.links a, .site-footer a { display: inline-block; padding: 6px 0; }

/* ---------- Torna su ---------- */
.to-top {
  /* --lift (da laboo.js): quando si vede il footer il pulsante sale sopra di esso */
  position: fixed; right: var(--head-x); bottom: max(28px, var(--lift, 0px)); z-index: 25;
  width: 48px; height: 48px; border: 0; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); cursor: pointer;
  box-shadow: 0 6px 20px rgba(20, 20, 20, .18);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.6);
  transition: opacity .35s, visibility .35s, transform .45s cubic-bezier(.3, .7, .3, 1);
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-far .to-top { opacity: 1; visibility: visible; transform: none; }
.is-far .to-top:hover { transform: translateY(-3px); }
.menu-open .to-top { opacity: 0; visibility: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 24px var(--head-x); /* allineato all'intestazione: scritta "laboo/" a sinistra, menu a destra */
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted);
}
.linkbtn {
  display: inline-block; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit;
}

/* ==========================================================
   Home
   ========================================================== */
.page-home main {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 36px; padding: 0 24px 40px; text-align: center;
}
.lb-pot { position: relative; border: 0; background: transparent; padding: 0; margin: 0; cursor: pointer; color: inherit; border-radius: 24px; }
.lb-pot svg { display: block; width: clamp(150px, 16vw, 230px); height: auto; overflow: visible; }
.lb-pot:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
.home__text { position: relative; }
.home__intro {
  position: absolute; left: 0; right: 0; top: 0; text-align: center; white-space: nowrap;
  font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.01em; line-height: 1.25;
  opacity: 0; animation: intro 3s cubic-bezier(.3, .6, .3, 1) .3s both;
}
.home__payoff { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: rise 1.2s var(--ease) 3.3s both; }
.home__payoff h1 { font-weight: 300; font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -.01em; line-height: 1.25; }
.page-home .site-header, .page-home .site-footer { animation: fade 1.2s ease 3.9s both; }

/* ingresso: contorno → riempimento → bolle */
.lb-outline { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.6, 0, .3, 1) .2s forwards; }
.lb-level { animation: level 1.7s cubic-bezier(.45, 0, .25, 1) 1s both; }
.lb-wave { animation: wave 1.6s linear infinite; fill: var(--ink); }
.lb-shadow2 { fill: var(--ink); fill-opacity: .08; animation: fade 1.4s ease 1.3s both; }
.lb-j1, .lb-j2, .lb-j3, .lb-h1, .lb-h2, .lb-h3, .lb-hb, .lb-shd, .lb-b1, .lb-b2, .lb-grow, .lb-rise { transform-box: fill-box; transform-origin: center; }
.lb-j1, .lb-j2, .lb-j3 { fill: var(--ink); }
.lb-j3 { animation: up-s 1s cubic-bezier(.2, .7, .2, 1) 2.5s both, float-c 3.6s ease-in-out 3.5s infinite; }
.lb-j2 { animation: up-m 1.2s cubic-bezier(.2, .7, .2, 1) 2.75s both, float-b 4.8s ease-in-out 3.95s infinite; }
.lb-j1 { animation: up-l 1.5s cubic-bezier(.2, .7, .2, 1) 3s both, float-a 6s ease-in-out 4.5s infinite; }

/* hover del pentolino: levita, l'ombra si stringe, le bolle bollono */
.lb-lift { transition: transform .7s cubic-bezier(.3, 1.3, .5, 1); }
.lb-shd { transition: transform .7s cubic-bezier(.3, 1.3, .5, 1), opacity .7s; }
.lb-h1, .lb-h2, .lb-h3 { transition: transform .55s cubic-bezier(.3, 1.6, .5, 1); }
.lb-hb { transform-origin: 50% 100%; }
.lb-slosh { transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.lb-pot:hover .lb-lift, .lb-pot:focus-visible .lb-lift { transform: translateY(-34px); }
.lb-pot:hover .lb-shd, .lb-pot:focus-visible .lb-shd { transform: scale(.7); opacity: .55; animation: shd-bob 1.6s ease-in-out .7s infinite; }
.lb-pot:hover .lb-hb, .lb-pot:focus-visible .lb-hb { animation: wobble 1.6s ease-in-out .7s infinite; }
.lb-pot:hover .lb-slosh, .lb-pot:focus-visible .lb-slosh { transform: translateY(48px); }
.lb-pot:hover .lb-h3, .lb-pot:focus-visible .lb-h3 { transform: translate(8px, -30px) scale(1.25); }
.lb-pot:hover .lb-h2, .lb-pot:focus-visible .lb-h2 { transform: translate(-22px, -46px) scale(1.25); }
.lb-pot:hover .lb-h1, .lb-pot:focus-visible .lb-h1 { transform: translate(10px, -64px) scale(1.15); }
.lb-pot:hover .lb-rise, .lb-pot:focus-visible .lb-rise { animation-duration: 1.4s !important; animation-delay: 0s !important; }
.lb-hint {
  position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 400 12px/1 var(--mono); letter-spacing: .06em;
  transition: opacity .3s, transform .45s var(--spring);
}
.lb-pot:hover .lb-hint, .lb-pot:focus-visible .lb-hint { opacity: 1; transform: translate(-50%, 0); }

/* freccia a mano + "clicca qui" (index.php): si disegna a fine animazione, sparisce su hover e a menu aperto */
.home__pot { position: relative; }
.lb-cue { position: absolute; left: 97%; top: 36%; width: 60%; pointer-events: none; transition: opacity .3s; }
.lb-pot:hover ~ .lb-cue, .lb-pot:focus-visible ~ .lb-cue, .menu-open .lb-cue { opacity: 0; }
.lb-arrow, .lb-cue__label { overflow: visible; fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.lb-arrow { display: block; width: 100%; height: auto; stroke-width: 2.6; }
/* nascosti fino al disegno: con le punte arrotondate un tratto "vuoto" mostra comunque un puntino */
.lb-arrow path, .lb-cue__label path { stroke-dasharray: 1 2; stroke-dashoffset: 1; visibility: hidden; }
.lb-arrow .a-shaft { animation: draw-in 1s cubic-bezier(.5, 0, .3, 1) 5.2s forwards; }
.lb-arrow .a-h1 { animation: draw-in .18s ease-out 6.15s forwards; }
.lb-arrow .a-h2 { animation: draw-in .18s ease-out 6.3s forwards; }
.lb-arrow g { transform-box: fill-box; transform-origin: 0 100%; animation: nudge 2.4s ease-in-out 6.8s 2; } /* 2 volte: meno di 5 s di movimento (WCAG 2.2.2) */
.lb-cue__label { position: absolute; right: -8%; bottom: 90%; width: clamp(78px, 6.6vw, 100px); height: auto; stroke-width: 1.9; }
.lb-cue__label path { animation: draw-in .22s ease-out 6.4s forwards; } /* ritardo di ogni lettera nell'attributo style */
@media (max-width: 400px) {
  .lb-cue { left: 94%; width: 52%; }
  .lb-cue__label { right: 2%; width: 72px; }
}
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translate(-5px, 3px); } 90% { transform: none; } }
@keyframes draw-in { from { stroke-dashoffset: 1; visibility: visible; } to { stroke-dashoffset: 0; visibility: visible; } }

/* bollicine che salgono (home e pagine interne) */
.lb-rise { opacity: 0; animation: bubble-rise 5.5s ease-out infinite; }
.lb-r1 { animation-duration: 5.5s; animation-delay: 1.8s; }
.lb-r2 { animation-duration: 4.2s; animation-delay: .6s; }
.lb-r3 { animation-duration: 7s; animation-delay: 3.2s; }
.lb-r4 { animation-duration: 6.2s; animation-delay: 4.6s; }
.lb-r5 { animation-duration: 3.6s; animation-delay: 2.6s; }

/* ==========================================================
   Pagine interne
   ========================================================== */
.fill-c { fill: var(--c); }
.stroke-c { fill: none; stroke: var(--c); }
.hero { position: relative; padding-top: clamp(40px, 8vw, 120px); padding-bottom: clamp(64px, 9vw, 140px); }
.hero--info { padding-bottom: clamp(48px, 6vw, 96px); }
.hero__bubble { position: absolute; right: clamp(-120px, -2vw, 0px); top: clamp(-40px, 2vw, 40px); width: clamp(220px, 34vw, 520px); height: auto; overflow: visible; pointer-events: none; }
.hero--info .hero__bubble { right: clamp(-60px, 2vw, 40px); width: clamp(160px, 22vw, 320px); }
.hero__text { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 880px; animation: rise 1s var(--ease) both; }
.h-display { font-size: clamp(42px, 6.5vw, 96px); font-weight: 300; letter-spacing: -.04em; line-height: .95; }
.hero--info .h-display { font-size: clamp(40px, 6vw, 88px); }
.lead { font-size: clamp(19px, 1.9vw, 26px); font-weight: 300; line-height: 1.45; max-width: 640px; }
.h-big { font-size: clamp(36px, 5.5vw, 80px); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; }
.h-big em { font-style: normal; color: var(--cl); }

/* icona disegnata dentro la bolla */
.lb-grow { animation: grow 1.4s cubic-bezier(.3, .7, .3, 1) .2s both; }
.lb-icon { fill: none; stroke: var(--paper); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.lb-icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s cubic-bezier(.6, 0, .2, 1) forwards; }
.lb-icon > :nth-child(1) { animation-delay: 1.4s; }
.lb-icon > :nth-child(2) { animation-delay: 1.65s; }
.lb-icon > :nth-child(3) { animation-delay: 1.9s; }
.lb-icon > :nth-child(4) { animation-delay: 2.1s; }
.lb-icon > :nth-child(5) { animation-delay: 2.3s; }
.lb-b1 { animation: float-a 6s ease-in-out infinite; }
.lb-b2 { animation: float-b 4.8s ease-in-out infinite .6s; }

.section { display: flex; flex-direction: column; gap: 40px; padding-bottom: clamp(80px, 10vw, 160px); }
.section--pad { padding-top: clamp(80px, 10vw, 160px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px 40px; }
.card { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--ink); }
.card h3 { font-size: 26px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--text); }

.dark { background: var(--ink); color: var(--paper); }
.dark__inner { padding-block: clamp(72px, 10vw, 150px); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.point { display: flex; flex-direction: column; gap: 12px; }
.point h3 { font-size: 22px; font-weight: 400; }
.point p { font-size: 15px; color: var(--on-dark); }
.dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }

.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.steps li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px clamp(20px, 4vw, 64px); padding: 28px 0; border-top: 1px solid var(--line); }
.steps__n { font-family: var(--mono); font-size: 13px; color: var(--cd); width: 32px; }
.steps--years .steps__n { color: var(--muted); width: 84px; white-space: nowrap; }
.steps__t { flex: 1 1 280px; font-size: clamp(28px, 3.6vw, 48px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; }
.steps--years .steps__t { font-size: clamp(24px, 3vw, 40px); }
.steps__d { flex: 1 1 320px; color: var(--text); }
.tools { font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--muted); }

.box { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px clamp(40px, 6vw, 120px); padding: clamp(40px, 5vw, 72px); background: var(--box); border-radius: 28px; }
.box__head { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.box .h-big { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.05; }
.box__text { flex: 1 1 320px; font-size: 17px; color: var(--text); }

.where { padding-bottom: clamp(40px, 5vw, 64px); }
.where p { max-width: 640px; font-size: 14px; color: var(--muted); }

.cta { border-top: 1px solid var(--line); }
.cta__inner { padding-block: clamp(72px, 9vw, 140px) clamp(48px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(56px, 7vw, 112px); }
.cta__inner > div { display: flex; flex-direction: column; gap: 16px; }
.cta__mail { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2em; font-size: clamp(36px, 6vw, 88px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.cta__mail span { color: var(--cd); }
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.next__name { display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0;
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease); }
.faq__plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq__a { padding: 0 64px 28px 0; font-size: 17px; line-height: 1.65; color: var(--text); }
.faq details[open] .faq__a { animation: rise .5s var(--ease) both; }

/* Chi sono */
.prose-lg { display: flex; flex-direction: column; gap: 22px; }
.prose-lg p { font-size: clamp(18px, 1.6vw, 21px); font-weight: 300; }

/* Privacy */
.legal { border-bottom: 1px solid var(--line); }
.legal > section { display: flex; flex-direction: column; gap: 12px; padding: 36px 0; border-top: 1px solid var(--line); }
.legal h2 { display: flex; gap: 20px; align-items: baseline; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; letter-spacing: -.02em; }
.legal h2 span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legal p, .legal ul { color: var(--text); padding-left: clamp(0px, 3vw, 38px); }
.legal ul { margin: 0; padding-left: calc(clamp(0px, 3vw, 38px) + 20px); }
.legal a { text-decoration: underline; }
.legal strong { font-weight: 600; }
.table-scroll { overflow-x: auto; padding-left: clamp(0px, 3vw, 38px); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); }
.tbl th { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.btn { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 15px; cursor: pointer; }

/* ==========================================================
   Animazioni
   ========================================================== */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes level { from { transform: translateY(330px); } to { transform: none; } }
@keyframes wave { to { transform: translateX(-200px); } }
@keyframes intro {
  0% { opacity: 0; transform: translateY(10px); letter-spacing: .25em; }
  18% { opacity: 1; transform: none; letter-spacing: -.01em; }
  78% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-22px); }
}
@keyframes up-s { 0% { transform: translate(0, 70px) scale(.15); opacity: 0; } 25% { opacity: 1; } 100% { transform: none; } }
@keyframes up-m { 0% { transform: translate(70px, 140px) scale(.12); opacity: 0; } 25% { opacity: 1; } 100% { transform: none; } }
@keyframes up-l { 0% { transform: translate(0, 270px) scale(.08); opacity: 0; } 25% { opacity: 1; } 100% { transform: none; } }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes float-c { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bubble-rise { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-230px) scale(1); opacity: 0; } }
@keyframes grow { 0% { transform: translateY(160px) scale(.06); } 55% { transform: translateY(0) scale(1.06); } 78% { transform: scale(.97); } 100% { transform: none; } }
@keyframes wobble { 0%, 100% { transform: none; } 25% { transform: rotate(-2.5deg) translateY(-5px); } 50% { transform: rotate(1.5deg) translateY(-8px); } 75% { transform: rotate(-1deg) translateY(-4px); } }
@keyframes shd-bob { 0%, 100% { transform: scale(.7); } 50% { transform: scale(.64); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
