/* OctoSapiens: sistema grafico ricostruito sulle pagine prodotto di apple.com (misure del 15/11/2026).
   Corpo 17/25, titoli a 600, pillole 980px, menu 44 + menu di prodotto 52 fissato, sezioni #f5f5f7. */

@font-face {
  font-family: "Mona Sans";
  src: url("/font/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --testo: #1d1d1f;
  --tenue: #6e6e73;
  --grigio: #f5f5f7;
  --linea: #d2d2d7;
  --nero: #000;
  --notte: #161617;
  --notte-tenue: #86868b;
  --viola: #6b4fa0;
  --viola-scuro: #5a3f8c;
  --viola-link: #5b3f93;
  --viola-chiaro: #b49be8;
  --errore: #b3261e;
  --largo: 980px;
  --ampio: 1260px;
  --facile: cubic-bezier(.28, .11, .32, 1);
  --molla: cubic-bezier(.34, 1.56, .64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Mona Sans", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--testo); min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; height: auto; }
::selection { background: var(--viola); color: #fff; }
a { color: var(--viola-link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--viola); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .titolo { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Mona Sans", system-ui, sans-serif; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
.salta { position: absolute; left: -9999px; }
.salta:focus { left: 12px; top: 8px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }
.icona { width: 1em; height: 1em; flex: none; }
.freccia { display: inline-block; width: .55em; height: .55em; margin-left: .2em; vertical-align: .05em; }

/* Menu generale (44px) */
.menu { position: relative; z-index: 30; height: 44px; background: rgb(250 250 252 / .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.menu-dentro { max-width: 1024px; height: 44px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.menu-logo { display: flex; align-items: center; height: 44px; }
.menu-logo svg { width: 26px; height: 26px; }
.menu-voci { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: space-between; max-width: 640px; margin-left: 40px; }
.menu-voci a { display: block; padding: 0 8px; line-height: 44px; font-size: 12px; letter-spacing: -.01em; color: rgb(0 0 0 / .8); }
.menu-voci a:hover { color: #000; text-decoration: none; }
.menu-mobile { display: none; }

/* Menu di prodotto (52px, fissato in alto) */
.locale { position: sticky; top: 0; z-index: 20; height: 52px; background: rgb(255 255 255 / .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgb(0 0 0 / .16); }
.locale-dentro { max-width: var(--largo); height: 52px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.locale-titolo { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--testo); white-space: nowrap; }
.locale-titolo:hover { text-decoration: none; }
.locale nav { display: flex; align-items: center; gap: 24px; }
.locale nav a:not(.pillola) { font-size: 12px; color: var(--testo); opacity: .88; }
.locale nav a:not(.pillola):hover { color: var(--viola-link); opacity: 1; text-decoration: none; }

/* Pulsanti a pillola */
.pillola { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 980px; background: var(--viola); color: #fff; font: inherit; font-size: 17px; line-height: 1.18; padding: 11px 21px; min-height: 44px; cursor: pointer; transition: background-color .2s; }
.pillola:hover { background: var(--viola-scuro); color: #fff; text-decoration: none; }
.pillola:disabled { opacity: .5; cursor: progress; }
.pillola.piccola { font-size: 12px; padding: 4px 11px; min-height: 24px; line-height: 1.33; }
.pillola.contorno { background: transparent; color: var(--viola-link); box-shadow: inset 0 0 0 1px var(--viola-link); }
.pillola.contorno:hover { background: var(--viola-link); color: #fff; }
.notte .pillola.contorno { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.link { font-size: 17px; color: var(--viola-link); }
.notte .link { color: var(--viola-chiaro); }
.azioni { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: 28px; }

/* Apertura (eroe) */
.eroe { position: relative; overflow: hidden; background: linear-gradient(180deg, #efeafa 0%, #f8f6fd 55%, #fff 100%); text-align: center; padding: 56px 22px 88px; }
.eroe .octo-scena { width: min(68vw, 370px); margin: 0 auto; }
.eroe-nome { margin-top: 18px; font-size: 28px; line-height: 1.14; font-weight: 600; }
.eroe h1 { margin-top: 6px; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -.015em; }
.eroe-sotto { margin-top: 14px; font-size: 21px; line-height: 1.38; color: var(--viola-link); font-weight: 600; }
.eroe-testo { margin: 14px auto 0; max-width: 34em; font-size: 19px; line-height: 1.42; color: var(--tenue); }

/* Il polpo */
.octo-scena { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.octo { width: 100%; height: auto; overflow: visible; }
.octo .tentacolo { transform-box: fill-box; transform-origin: 50% 0; transition: transform .6s var(--molla), filter .3s; }
.octo .pupilla { transition: transform .25s ease-out; }
.octo .occhio { transform-box: fill-box; transform-origin: 50% 50%; animation: battito 6s infinite; }
.octo .occhio:nth-of-type(2) { animation-delay: .04s; }
@keyframes battito { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.js .octo .tentacolo { animation: ondeggia 5s var(--facile) infinite alternate; }
.js .octo .tentacolo:nth-child(2n) { animation-duration: 6.2s; animation-delay: -1.3s; }
.js .octo .tentacolo:nth-child(3n) { animation-duration: 4.4s; animation-delay: -2.1s; }
@keyframes ondeggia { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.octo-corpo { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .5s var(--molla); }
.octo-scena.tocco .octo-corpo { transform: scale(1.04, .95); }
.octo-scena.saluta .tentacolo { animation: saluta .7s var(--facile) 2 alternate !important; }
@keyframes saluta { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.octo .tentacolo { transition: transform .5s var(--molla), opacity .3s, filter .3s; }
.octo.focus .tentacolo:not(.attivo) { opacity: .28; }
.octo .tentacolo.attivo { animation: none !important; transform: translateY(-10px); filter: brightness(1.35) saturate(1.2); }
.fumetto { position: absolute; top: 4%; right: 2%; padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--testo); font-size: 15px; font-weight: 600; box-shadow: 0 10px 30px rgb(29 22 48 / .16); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s, transform .45s var(--molla); pointer-events: none; }
.octo-scena.saluta .fumetto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .octo .tentacolo, .octo .occhio { animation: none !important; }
  .octo-corpo, .octo .tentacolo { transition: none; }
}

/* Modulo nell'apertura */
.modulo { margin: 30px auto 0; max-width: 460px; text-align: left; display: grid; gap: 10px; }
.campo { position: relative; }
.campo input { width: 100%; height: 56px; padding: 22px 120px 6px 16px; font: inherit; font-size: 17px; color: var(--testo); background: #fff; border: 1px solid #86868b; border-radius: 12px; }
.campo label { position: absolute; left: 17px; top: 17px; font-size: 17px; color: var(--tenue); pointer-events: none; transition: transform .15s, font-size .15s, top .15s; }
.campo input:focus + label, .campo input:not(:placeholder-shown) + label { top: 8px; font-size: 12px; }
.campo input:focus { outline: none; border-color: var(--viola); box-shadow: 0 0 0 4px rgb(107 79 160 / .2); }
.campo .pillola { position: absolute; right: 6px; top: 6px; min-height: 44px; padding: 0 18px; font-size: 15px; }
.modulo select { width: 100%; height: 48px; padding: 0 40px 0 16px; font: inherit; font-size: 15px; color: var(--testo); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; border: 1px solid var(--linea); border-radius: 12px; appearance: none; }
.casella { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.43; color: var(--tenue); cursor: pointer; }
.casella input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--viola); }
.nota { font-size: 12px; line-height: 1.33; color: var(--tenue); }
.esito { min-height: 1.2em; font-size: 14px; font-weight: 600; color: var(--errore); }
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sezioni */
.sezione { padding: 110px 22px 120px; }
.sezione.grigia { background: var(--grigio); }
.sezione.notte { background: var(--nero); color: #f5f5f7; }
.dentro { max-width: var(--largo); margin: 0 auto; }
.dentro.ampio { max-width: var(--ampio); }
.sezione-titolo { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; letter-spacing: -.005em; }
.sezione-sotto { margin-top: 18px; max-width: 30em; font-size: 21px; line-height: 1.38; color: var(--tenue); font-weight: 600; }
.notte .sezione-sotto { color: var(--notte-tenue); }
.sezione-sotto b { color: var(--testo); }
.notte .sezione-sotto b { color: #f5f5f7; }
.centro { text-align: center; }
.centro .sezione-sotto { margin-left: auto; margin-right: auto; }

/* Galleria "in breve" */
.galleria { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 372px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 22px 28px max(22px, calc((100vw - var(--largo)) / 2)); scrollbar-width: none; }
.galleria::-webkit-scrollbar { display: none; }
.tessera { scroll-snap-align: start; position: relative; min-height: 520px; padding: 32px 30px; border-radius: 28px; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.tessera.scura { background: #000; color: #f5f5f7; }
.tessera.viola { background: var(--viola); color: #fff; }
.tessera h3 { font-size: 28px; line-height: 1.14; }
.tessera p { margin-top: 12px; font-size: 17px; color: var(--tenue); }
.tessera.scura p { color: var(--notte-tenue); } .tessera.viola p { color: rgb(255 255 255 / .82); }
.tessera .grande { margin-top: auto; font-size: 120px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.tessera .mini-chat { margin-top: auto; display: grid; gap: 8px; }
.mini-chat span { justify-self: start; max-width: 90%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: #262628; font-size: 14px; }
.mini-chat span.mia { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--viola); }
.mini-chat code { display: block; font-size: 11px; color: rgb(255 255 255 / .7); }
.tessera .loghi { margin-top: auto; display: flex; gap: 14px; }
.tessera .loghi svg { width: 64px; height: 64px; }
.galleria-comandi { max-width: var(--largo); margin: 0 auto; padding: 0 22px; display: flex; justify-content: flex-end; gap: 14px; }
.galleria-comandi button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(210 210 215 / .64); color: rgb(0 0 0 / .56); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.galleria-comandi button:hover { background: rgb(223 223 227 / .7); color: rgb(0 0 0 / .64); }
.galleria-comandi svg { width: 12px; height: 12px; }

/* La conversazione (nero) */
.conversazione { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.telefono { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 19; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #3a3a3c, #1c1c1e); box-shadow: 0 0 0 2px #2c2c2e, 0 40px 80px -24px rgb(0 0 0 / .7); }
.schermo { height: 100%; border-radius: 42px; background: #0b141a; padding: 52px 12px 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; position: relative; }
.schermo::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.schermo-testa { display: flex; align-items: center; gap: 10px; padding: 0 4px 10px; border-bottom: 1px solid rgb(255 255 255 / .08); margin-bottom: 4px; color: #e9edef; }
.schermo-testa .avatar { width: 32px; height: 32px; border-radius: 50%; background: #2a3942; display: grid; place-content: center; font-size: 13px; font-weight: 600; }
.schermo-testa b { display: block; font-size: 14px; }
.schermo-testa span { font-size: 11px; color: #8696a0; }
.bolla { max-width: 86%; padding: 7px 10px 8px; border-radius: 10px; font-size: 13.5px; line-height: 1.38; color: #e9edef; letter-spacing: 0; }
.bolla.loro { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.bolla.mia { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.bolla code { display: block; margin-bottom: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #7ce0c3; }
.js .chat .bolla { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--facile), transform .6s var(--facile); }
.js .chat.vista .bolla { opacity: 1; transform: none; }
.js .chat.vista .bolla:nth-of-type(2) { transition-delay: .6s; } .js .chat.vista .bolla:nth-of-type(3) { transition-delay: 1.3s; }
.js .chat.vista .bolla:nth-of-type(4) { transition-delay: 1.9s; } .js .chat.vista .bolla:nth-of-type(5) { transition-delay: 2.6s; }
.js .chat.vista .bolla:nth-of-type(6) { transition-delay: 3.2s; }
@media (prefers-reduced-motion: reduce) { .js .chat .bolla { opacity: 1; transform: none; transition: none; } }
.esempio { margin-top: 18px; font-size: 12px; color: var(--notte-tenue); text-align: center; }

/* Le dodici */
.dodici { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.risposta { padding: 26px 24px 24px; border-radius: 22px; background: #fff; display: flex; flex-direction: column; gap: 6px; min-height: 196px; }
.risposta-testa { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.risposta h3 { font-size: 19px; line-height: 1.21; }
.risposta code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--viola-link); }
.risposta p { font-size: 14px; line-height: 1.43; color: var(--tenue); }

/* Octo e i ruoli (nero) */
.ruoli-griglia { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ruoli { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.ruoli button { width: 100%; text-align: left; padding: 14px 14px 14px 16px; border: 0; border-radius: 16px; background: transparent; color: #f5f5f7; font: inherit; cursor: pointer; transition: background-color .2s; }
.ruoli button:hover, .ruoli button[aria-pressed=true] { background: #1d1d1f; }
.ruoli b { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.ruoli b::before { content: ""; width: 18px; height: 6px; border-radius: 3px; background: var(--fascia); }
.ruoli span { display: block; margin-top: 4px; font-size: 14px; color: var(--notte-tenue); }
.r-fiuto { --fascia: #2f6fde; } .r-lente { --fascia: #fff; } .r-conto { --fascia: #1ba39c; } .r-ingegno { --fascia: #f2b705; }
.r-penna { --fascia: #e86aa6; } .r-eco { --fascia: #f07d1a; } .r-faro { --fascia: #e0352b; } .r-diario { --fascia: #8a5a3b; }
.dichiarazione { margin-top: 40px; font-size: 14px; color: var(--notte-tenue); text-align: center; }

/* Valori */
.valori { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.valori svg { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--viola); }
.valori h3 { font-size: 21px; }
.valori p { margin-top: 8px; font-size: 17px; color: var(--tenue); }

/* Domande */
.domande { margin-top: 40px; border-top: 1px solid var(--linea); }
.domande details { border-bottom: 1px solid var(--linea); }
.domande summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 19px; font-weight: 600; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary svg { width: 14px; height: 14px; color: var(--tenue); transition: transform .3s var(--facile); }
.domande details[open] summary svg { transform: rotate(45deg); }
.domande details p { padding: 0 0 24px; max-width: 40em; color: var(--tenue); }

/* Striscia finale */
.striscia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; border-top: 1px solid var(--linea); }
.striscia svg { width: 36px; height: 36px; color: var(--viola); margin-bottom: 12px; }
.striscia h3 { font-size: 17px; }
.striscia p { margin-top: 6px; font-size: 14px; color: var(--tenue); }
.striscia a { display: inline-block; margin-top: 8px; font-size: 14px; }

/* /link */
.link-pagina { max-width: 480px; margin: 0 auto; padding: 32px 20px 64px; text-align: center; }
.link-pagina .octo-scena { width: 230px; margin: 0 auto; }
.link-pagina h1 { margin-top: 8px; font-size: 32px; }
.link-pagina > p { margin-top: 8px; color: var(--tenue); }
.righe { margin-top: 28px; display: grid; gap: 12px; text-align: left; }
.riga { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--grigio); color: var(--testo); transition: background-color .2s; }
.riga:hover { background: #ebebef; text-decoration: none; }
.riga div { flex: 1; }
.riga b { display: block; font-size: 17px; }
.riga span { display: block; margin-top: 2px; font-size: 14px; color: var(--tenue); }
.riga svg { width: 12px; height: 12px; color: var(--tenue); }
.riga.principale { background: var(--viola); color: #fff; }
.riga.principale span, .riga.principale svg { color: rgb(255 255 255 / .82); }
.riga.principale:hover { background: var(--viola-scuro); }

/* /kit-pro: il foglio */
.foglio { margin: 56px auto 0; max-width: 620px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -30px rgb(29 22 48 / .35), 0 0 0 1px rgb(0 0 0 / .05); overflow: hidden; text-align: left; font-size: 15px; }
.foglio-testa { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: var(--grigio); }
.foglio-testa span { font-size: 12px; color: var(--tenue); }
.foglio table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.foglio th, .foglio td { padding: 12px 22px; border-bottom: 1px solid #ececf0; text-align: left; }
.foglio th { font-size: 12px; font-weight: 600; color: var(--tenue); }
.foglio td:last-child, .foglio th:last-child { text-align: right; }
.foglio tfoot td { font-weight: 700; font-size: 17px; border: 0; }
.passi { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; padding: 0; counter-reset: p; text-align: left; }
.passi li { counter-increment: p; }
.passi li::before { content: counter(p); display: block; font-size: 48px; font-weight: 600; color: var(--viola); line-height: 1; margin-bottom: 12px; }
.passi b { display: block; font-size: 19px; }
.passi p { margin-top: 6px; color: var(--tenue); }
.sondaggio { margin-top: 28px; }
.scelte { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.scelte button { min-height: 44px; padding: 0 20px; border-radius: 980px; border: 1px solid var(--linea); background: #fff; font: inherit; color: var(--testo); cursor: pointer; }
.scelte button:hover { border-color: var(--viola); }
.scelte button:disabled { opacity: .45; cursor: default; }
.scelte button[aria-pressed=true] { background: var(--viola); border-color: var(--viola); color: #fff; opacity: 1; }
.conferma { margin-top: 14px; color: #12806f; font-weight: 600; }

/* Pagine brevi e testo */
.breve { padding: 64px 22px 96px; text-align: center; }
.breve .octo-scena { width: 220px; margin: 0 auto 8px; }
.breve h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; }
.breve p { margin: 14px auto 0; max-width: 30em; font-size: 19px; color: var(--tenue); }
.avviso { margin-top: 32px; display: inline-block; padding: 14px 20px; border-radius: 14px; background: #efeafa; color: var(--viola-link); font-weight: 600; }
.testo { max-width: 692px; margin: 0 auto; padding: 72px 22px 96px; }
.testo h1 { font-size: 48px; line-height: 1.08; margin-bottom: 32px; }
.testo h2 { font-size: 21px; margin: 32px 0 8px; }
.testo p, .testo li { color: #424245; }
.testo ol { padding-left: 1.2em; }
.testo li + li { margin-top: 8px; }

/* Le 12 risposte (pagina del kit) */
.elenco { list-style: none; margin: 48px 0 0; padding: 0; text-align: left; }
.elenco li { padding: 28px 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; }
.elenco .numero { grid-row: span 4; font-size: 32px; font-weight: 600; color: var(--viola); line-height: 1; font-variant-numeric: tabular-nums; }
.elenco h2 { font-size: 21px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.elenco h2 code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 500; color: var(--viola-link); }
.elenco .testo-risposta { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--grigio); max-width: 40em; }
.elenco .nota { max-width: 48em; font-size: 14px; margin-top: 6px; }
.copia { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 980px; border: 1px solid var(--linea); background: #fff; color: var(--testo); font: inherit; font-size: 14px; cursor: pointer; }
.copia:hover { border-color: var(--viola); }
.copia svg { width: 14px; height: 14px; }
.copia[hidden] { display: none; }
.consiglio { margin-top: 40px; padding: 28px; border-radius: 22px; background: #000; color: #f5f5f7; text-align: left; }
.consiglio b { color: var(--viola-chiaro); }

/* Piè di pagina (indice per colonne, come i siti Apple) */
.piede { background: var(--grigio); color: var(--tenue); font-size: 12px; line-height: 1.33; padding: 0 22px; }
.piede-dentro { max-width: var(--largo); margin: 0 auto; padding: 18px 0 22px; }
.piede-nota { padding-bottom: 16px; border-bottom: 1px solid var(--linea); }
.piede-colonne { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 0; }
.piede-colonne h2 { font-size: 12px; font-weight: 600; color: var(--testo); margin-bottom: 8px; }
.piede-colonne ul { list-style: none; margin: 0; padding: 0; }
.piede-colonne li { margin-bottom: 8px; }
.piede a { color: #424245; }
.piede a:hover { text-decoration: underline; }
.piede-fondo { padding-top: 16px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Telefono */
@media (max-width: 833px) {
  .menu-voci { display: none; }
  .menu-mobile { display: block; }
  .menu-mobile summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
  .menu-mobile summary::-webkit-details-marker { display: none; }
  .menu-mobile summary svg { width: 18px; height: 18px; }
  .menu:has(.menu-mobile[open]) { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fafafc; }
  .menu-mobile[open] nav { position: fixed; top: 44px; left: 0; right: 0; bottom: 0; background: #fafafc; padding: 20px 48px; z-index: 40; overflow-y: auto; }
  .menu-mobile nav a { display: block; padding: 8px 0; font-size: 28px; font-weight: 600; color: var(--testo); }
  .locale nav a:not(.pillola) { display: none; }
  .locale-titolo { font-size: 19px; }
  .sezione { padding: 72px 22px 80px; }
  .eroe { padding: 32px 22px 64px; }
  .eroe-nome { font-size: 21px; }
  .eroe-sotto { font-size: 19px; }
  .eroe-testo { font-size: 17px; }
  .conversazione, .ruoli-griglia { grid-template-columns: 1fr; gap: 40px; }
  .dodici, .valori, .striscia, .passi { grid-template-columns: 1fr; }
  .tessera { min-height: 440px; }
  .tessera .grande { font-size: 96px; }
  .piede-colonne { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ruoli { grid-template-columns: 1fr; }
  .campo input { padding-right: 16px; }
  .campo .pillola { position: static; width: 100%; margin-top: 10px; min-height: 50px; font-size: 17px; }
}
@media print { .menu, .locale, .piede, .copia { display: none !important; } }

/* /kit/crea: modulo, risultato e cartello da banco */
.riquadro { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--grigio); }
.crea-modulo { margin-top: 32px; display: grid; gap: 20px; max-width: 560px; }
.voce { display: grid; gap: 6px; }
.voce label { font-size: 15px; font-weight: 600; color: var(--testo); }
.voce .facoltativo { font-weight: 400; color: var(--tenue); }
.voce input { width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--testo); background: #fff; border: 1px solid #86868b; border-radius: 12px; }
.voce input:focus { outline: none; border-color: var(--viola); box-shadow: 0 0 0 4px rgb(107 79 160 / .2); }
.voce input[aria-invalid="true"] { border-color: var(--errore); box-shadow: 0 0 0 3px rgb(179 38 30 / .15); }
.voce .aiuto { font-size: 13px; line-height: 1.38; color: var(--tenue); }
.crea-modulo .pillola { justify-self: start; }
.crea-risultato { padding-top: 0; }
.crea-risultato .sezione-titolo { margin-bottom: 8px; outline: none; }
.crea-risultato h2:not(.sezione-titolo) { margin-top: 56px; }
.elenco-semplice li { grid-template-columns: 1fr; }
.elenco-semplice h3 { font-size: 19px; }
.elenco .dove { font-size: 14px; color: var(--tenue); }
.cartello { margin: 28px auto 0; max-width: 420px; padding: 32px 28px 24px; border: 2px solid var(--testo); border-radius: 22px; background: #fff; text-align: center; }
.cartello-sopra { font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--viola); }
.cartello-nome { margin-top: 4px; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--testo); overflow-wrap: anywhere; }
.cartello-qr { width: min(100%, 260px); margin: 20px auto 12px; }
.cartello-qr svg { width: 100%; height: auto; }
.cartello-istruzioni { font-size: 17px; font-weight: 600; color: var(--testo); }
.cartello-orari { margin-top: 10px; font-size: 15px; color: #424245; overflow-wrap: anywhere; }
.cartello-link { margin-top: 6px; font-size: 13px; color: var(--tenue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cartello-firma { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--linea); font-size: 11px; color: var(--tenue); }
@media print {
  html.stampa-cartello body * { visibility: hidden; }
  html.stampa-cartello #cartello, html.stampa-cartello #cartello * { visibility: visible; }
  html.stampa-cartello #cartello { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; max-width: 15cm; border-width: 1.5pt; }
  html.stampa-cartello .cartello-qr { width: 9cm; }
  html.stampa-cartello .cartello-nome { font-size: 30pt; }
}

.sezione-sotto.centro { margin-left: auto; margin-right: auto; }
