/* Digiuno a staffetta — campagna No Melonellum (+Europa). Palette: nero, rosso, bianco. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/montserrat-vf.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/montserrat-vf-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-800.woff2) format('woff2'); }

:root {
  --rosso: #d71e18; --rosso-scuro: #b3150f; --nero: #1d1c1b; --frame: #111216;
  --foto: #bbcac0; --tint: #f1f3f1; --ink: #1d1c1b; --ink-2: #55585a; --line: #dfe3e0;
  --cond: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 6px;
  --hatch: repeating-linear-gradient(45deg, rgba(255,255,255,.26) 0 1.5px, transparent 1.5px 9px),
           repeating-linear-gradient(-45deg, rgba(255,255,255,.26) 0 1.5px, transparent 1.5px 9px), var(--frame);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-weight: 500; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 76px; }
img, svg, canvas { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--rosso); }
h1, h2, h3 { margin: 0 0 .5em; color: var(--nero); }
h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: .95; letter-spacing: 0; }
h2 em, h3 em { font-style: normal; color: var(--rosso); }
h3 { font-size: 1.25rem; line-height: 1.15; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
::selection { background: var(--rosso); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sr-only:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--nero); color: #fff; padding: .6em 1em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--rosso); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.label { display: inline-block; margin-bottom: 14px; padding: .12em .45em; background: var(--nero); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.15; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .62em 1.2em .58em; border: 2px solid transparent; border-radius: var(--r); background: var(--nero); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.2rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--nero); }
.btn:disabled { opacity: .6; pointer-events: none; }
.btn svg { width: .95em; height: .95em; flex: none; }
.btn-rosso { background: var(--rosso); color: #fff; }
.btn-outline { background: transparent; border-color: var(--nero); color: var(--nero); }
.btn-lg { font-size: 1.35rem; padding: .62em 1.3em .58em; }
.btn-block { display: flex; width: 100%; }

/* ------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.nav .logo img { height: 24px; width: auto; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li a { padding: .4em .7em; font-family: var(--cond); font-weight: 700; font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.nav li a:hover { color: var(--nero); }
.nav .cta { margin-left: auto; }
.nav .cta .btn { font-size: 1.05rem; padding: .45em .9em .4em; }
@media (min-width: 1000px) { .nav .wrap { height: 68px; } .nav .logo img { height: 28px; } .nav ul { display: flex; } }

/* ------------------------------------------------------------ hero (cornice a rete + foto pulita) */
.hero { padding: 10px; background: var(--hatch); }
.hero-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--foto); }
.hero-text { position: relative; z-index: 2; padding: 30px 20px 26px; }
.hero h1 { margin: 0 0 18px; font-family: var(--cond); font-weight: 800; font-size: clamp(3rem, 12.5vw, 6.2rem); line-height: .92; text-transform: uppercase; letter-spacing: 0; }
.hero h1 span { display: block; }
.hero h1 .l-label { display: inline-block; margin-bottom: .06em; padding: .04em .14em 0; background: #000; color: #fff; }
.hero h1 .l-red { color: var(--rosso); }
.hero h1 .l-dark { color: var(--nero); }
.lede { max-width: 44ch; margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--nero); }
.lede strong { font-weight: 800; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.hero-alt p { margin: 0; max-width: 30ch; font-size: .98rem; font-weight: 600; line-height: 1.4; color: var(--nero); }
.hero-alt b { font-weight: 800; }
.timer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 22px; padding: 8px 14px; background: #000; color: #fff; font-family: var(--cond); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; }
.timer .live { display: inline-flex; align-items: center; gap: 8px; }
.timer .live i { width: 9px; height: 9px; border-radius: 50%; background: var(--rosso); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215,30,24,.8); } 70% { box-shadow: 0 0 0 9px rgba(215,30,24,0); } 100% { box-shadow: 0 0 0 0 rgba(215,30,24,0); } }
.timer .clock b { font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.timer .clock small { font-size: .85rem; margin: 0 4px 0 1px; opacity: .75; }
.invite { display: inline-block; margin: 0 0 16px; padding: .5em .8em; background: #fff; color: var(--nero); font-weight: 700; font-size: .92rem; border-left: 5px solid var(--rosso); }
.hero-photo { position: relative; height: 340px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; }
.hero-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 70px; z-index: 1; background: linear-gradient(var(--foto), rgba(187,202,192,0)); }
.hero-logo { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 128px; text-align: center; pointer-events: none; }
.hero-logo img { width: 100%; filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000); }
.lg-sub { display: inline-block; margin-top: 2px; padding: 3px 5px 2px; background: #fff; font-family: var(--cond); font-weight: 800; font-size: .66rem; line-height: 1; color: #000; text-transform: uppercase; letter-spacing: .02em; }
@media (min-width: 760px) {
  .hero { padding: 20px; }
  .hero-panel { display: block; min-height: 600px; }
  .hero-photo { position: absolute; inset: 0; height: auto; }
  .hero-photo::before { display: none; }
  .hero-photo img { object-position: 70% 22%; }
  .hero-text { max-width: 54%; padding: 52px 0 56px 44px; }
  .hero h1 { font-size: clamp(3.6rem, 7vw, 6.6rem); }
  .lede { font-size: 1.08rem; text-shadow: 0 0 18px rgba(187,202,192,.9); }
  .hero-logo { right: 26px; bottom: 18px; width: 200px; }
    .lg-sub { font-size: .98rem; }
}
@media (min-width: 1200px) { .hero-panel { min-height: 640px; } .hero-text { padding-left: 64px; } }

/* ------------------------------------------------------------ numeri */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 22px 8px; text-align: center; }
.stat b { display: block; font-family: var(--cond); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .95; color: var(--nero); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 4px; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.stat:nth-child(1) b { color: var(--rosso); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .stats .wrap { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 30px 8px; border-bottom: 0 !important; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 0; }
}

/* ------------------------------------------------------------ sezioni */
.section { padding: 72px 0; }
.tint { background: var(--tint); }
.sh { margin-bottom: 28px; }
.sh h2 { margin: 0; }
.sh p { max-width: 56ch; margin: 12px 0 0; font-weight: 600; color: var(--ink-2); }
.sh.row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }

/* ------------------------------------------------------------ calendario: una card per giorno */
.days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .days { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .days { grid-template-columns: repeat(var(--n, 6), 1fr); gap: 12px; } .day { padding: 14px 12px 12px; } .day .num { font-size: 4rem; } }
.day { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 16px 14px 14px; border: 2px solid var(--nero); border-radius: var(--r); background: #fff; transition: transform .15s, box-shadow .15s; }
.day:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--nero); }
.day-open { all: unset; cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.day-open::after { content: ""; position: absolute; inset: 0; }
.day-open:focus-visible::after { outline: 3px solid var(--rosso); outline-offset: 2px; }
.day .dow { font-family: var(--cond); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.day .tag { position: absolute; top: 14px; right: 12px; padding: .1em .4em; background: var(--rosso); color: #fff; font-family: var(--cond); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; }
.day .num { font-family: var(--cond); font-weight: 800; font-size: 4.4rem; line-height: .9; color: var(--nero); }
.day .mon { font-family: var(--cond); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: var(--nero); }
.day .count { margin-top: auto; padding-top: 14px; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.day .count b { margin-right: 4px; font-family: var(--cond); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--rosso); }
.day .who-list { margin-top: 4px; font-size: .78rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.day .go { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: .32em .7em .28em; border: 0; border-radius: 4px; background: var(--rosso); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.day .go svg { width: 14px; height: 14px; }
.day .go.done { background: var(--nero); cursor: default; }
.day .go.ended { padding-left: 0; background: transparent; color: var(--ink-2); cursor: default; }
.day.today { border-color: var(--rosso); border-width: 3px; }
.day.past { opacity: .55; }

.aderisci { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 30px; text-align: center; }
.aderisci p { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink-2); }
.aderisci b { color: var(--nero); font-weight: 800; }

/* ------------------------------------------------------------ partecipa */
.page-cols { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .page-cols { grid-template-columns: .85fr 1.15fr; gap: 64px; } .sticky-form { position: sticky; top: 88px; } }
.lead { margin-bottom: 26px; font-size: 1.06rem; font-weight: 600; color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; }
.steps li > span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--nero); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.3rem; }
.steps b { display: block; font-family: var(--cond); font-weight: 800; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; color: var(--nero); }
.steps p { margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); }
.note { display: flex; gap: 10px; font-size: .84rem; color: var(--ink-2); }
.note svg { flex: none; width: 20px; height: 20px; color: var(--rosso); }
.note p { margin: 0; }
.note b { color: var(--nero); }

.form-card { padding: 22px 18px; border: 2px solid var(--nero); border-radius: var(--r); background: #fff; }
@media (min-width: 560px) { .form-card { padding: 30px; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border: 2px solid var(--nero); border-radius: var(--r); overflow: hidden; }
.seg button { padding: .55em .4em .5em; border: 0; background: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; color: var(--nero); cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--nero); color: #fff; }
.seg button:disabled { opacity: .4; cursor: not-allowed; }
fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.lbl-row { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 800; font-size: .9rem; color: var(--nero); }
.lbl-row small { font-weight: 700; font-size: .78rem; color: var(--ink-2); }
.daypick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 480px) { .daypick { grid-template-columns: repeat(var(--n, 6), 1fr); gap: 6px; } }
.dp { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 2px 5px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
.dp:hover { border-color: var(--nero); }
.dp input { position: absolute; opacity: 0; pointer-events: none; }
.dp small { font-family: var(--cond); font-weight: 800; font-size: .85rem; text-transform: uppercase; color: var(--ink-2); }
.dp b { font-family: var(--cond); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--nero); }
.dp em { font-family: var(--cond); font-style: normal; font-weight: 700; font-size: .85rem; text-transform: uppercase; color: var(--ink-2); }
.dp.is-today { border-color: var(--rosso); }
.dp.mine { opacity: .45; cursor: default; }
.dp:has(input:focus-visible) { outline: 3px solid var(--rosso); outline-offset: 2px; }
.dp.on, .dp:has(input:checked) { background: var(--nero); border-color: var(--nero); }
.dp.on *, .dp:has(input:checked) * { color: #fff; }
.intro-sost { padding: 14px 16px; border-left: 5px solid var(--rosso); background: var(--tint); font-weight: 700; font-size: .92rem; color: var(--nero); }
.form-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { position: relative; margin-bottom: 12px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 800; font-size: .85rem; color: var(--nero); }
.form-group label small { font-weight: 600; font-size: .76rem; color: var(--ink-2); }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=password], input[type=search], textarea, select {
  width: 100%; padding: .78em 1em; border: 2px solid var(--line); border-radius: var(--r); background: #fff; font: inherit; font-weight: 600; color: var(--ink); transition: border-color .15s; -webkit-appearance: none; appearance: none; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--nero); }
textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
.invalid { border-color: var(--rosso) !important; }
.cc { position: absolute; right: 12px; bottom: 10px; font-size: .7rem; font-weight: 700; color: #a0a4a2; pointer-events: none; }
.err { margin: 4px 0 0; font-size: .8rem; font-weight: 700; color: var(--rosso); }
.err:empty { display: none; }
.switch { display: flex; gap: 14px; align-items: flex-start; margin: 6px 0 14px; padding: 14px 16px; background: var(--tint); cursor: pointer; }
.switch input { flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 99px; background: #c3c8c5; cursor: pointer; transition: background .2s; -webkit-appearance: none; appearance: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked { background: var(--nero); }
.switch input:checked::after { transform: translateX(18px); }
.switch b { display: block; font-size: .9rem; color: var(--nero); }
.switch small { display: block; margin-top: 2px; font-size: .8rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.checks { display: grid; gap: 10px; margin-bottom: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; font-weight: 600; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--nero); }
.check a { color: var(--nero); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 16px; border-left: 5px solid var(--rosso); background: #fdeceb; font-weight: 700; font-size: .9rem; color: var(--rosso-scuro); }
.form-msg.info { border-color: var(--nero); background: var(--tint); color: var(--nero); }
.submit { position: relative; }
.submit.loading { color: transparent !important; pointer-events: none; }
.submit.loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin: 12px 0 0; font-size: .76rem; line-height: 1.45; color: var(--ink-2); }

/* conferma */
.done { text-align: center; outline: none; }
.done h3 { margin: 12px 0 8px; font-family: var(--cond); font-weight: 800; font-size: 2.4rem; line-height: 1; text-transform: uppercase; }
.done-head p { max-width: 44ch; margin: 0 auto 20px; font-weight: 600; color: var(--ink-2); }
.tick-anim { width: 60px; height: 60px; margin: 0 auto; }
.tick-anim circle { fill: var(--rosso); }
.tick-anim path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.card-prev { max-width: 280px; margin: 0 auto 18px; aspect-ratio: 1080 / 1350; overflow: hidden; background: var(--frame); box-shadow: 8px 8px 0 var(--nero); }
.card-prev img { display: block; width: 100%; height: 100%; object-fit: cover; }
.done-actions { display: grid; gap: 10px; max-width: 340px; margin: 0 auto; }
.done-actions .btn { width: 100%; }
.done .share-row { justify-content: center; }
.linkbtn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 0; border: 0; background: none; font: inherit; font-weight: 800; font-size: .9rem; color: var(--nero); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn svg { width: 18px; height: 18px; }
.muted-link { font-weight: 700; font-size: .82rem; color: var(--ink-2); }
.done-more { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.done-more a { font-weight: 800; color: var(--nero); }

/* condivisione */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: 6px; padding: .5em .9em; border: 2px solid var(--nero); border-radius: var(--r); background: #fff; font: inherit; font-size: .84rem; font-weight: 800; color: var(--nero); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.share-row a:hover, .share-row button:hover { background: var(--nero); color: #fff; }
.share-row svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------ perché */
.why { background: var(--nero); color: #fff; }
.why .label { background: var(--rosso); }
.why h2 { color: #fff; max-width: 15ch; }
.why-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.why-copy > p { max-width: 54ch; color: rgba(255,255,255,.82); }
.why ol { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.why li { display: flex; gap: 14px; align-items: baseline; }
.why li span { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: var(--rosso); color: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.05rem; transform: translateY(5px); }
.why li p { margin: 0; color: rgba(255,255,255,.86); }
.why li b { color: #fff; font-weight: 800; }
.why-num { padding: 16px; text-align: center; background: var(--hatch); }
.why-num > div { padding: 26px 12px; background: var(--nero); }
.why-num small { display: block; font-family: var(--cond); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.why-num .big { display: block; margin: 6px 0; font-family: var(--cond); font-weight: 800; font-size: clamp(4.4rem, 11vw, 7.2rem); line-height: .9; color: var(--rosso); }
.ask { margin-top: 48px; padding: 4px 0 4px 22px; border-left: 6px solid var(--rosso); }
.ask p { margin: 0; font-family: var(--cond); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; text-transform: uppercase; }
.ask b { color: var(--rosso); }

/* ------------------------------------------------------------ lettera */
.letter { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .letter { grid-template-columns: .7fr 1.3fr; gap: 64px; } .letter figure { position: sticky; top: 96px; } }
.letter figure { margin: 0 auto; width: min(340px, 80%); }
.letter figure img { width: 100%; height: auto; }
.prose { font-size: 1.05rem; line-height: 1.7; }
.prose h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3rem); }
.prose summary { display: inline-flex; margin-bottom: 1em; padding: .4em .9em .36em; border: 2px solid var(--nero); border-radius: var(--r); font-family: var(--cond); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; color: var(--nero); cursor: pointer; list-style: none; }
.prose summary::-webkit-details-marker { display: none; }
.prose details[open] summary { display: none; }
.sig { margin-top: 22px; font-family: var(--cond); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; color: var(--nero); }
.sig small { display: block; margin-top: 4px; font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }

/* ------------------------------------------------------------ muro */
.wall { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .wall { columns: 2; } }
@media (min-width: 1000px) { .wall { columns: 3; } }
.msg { break-inside: avoid; margin: 0 0 16px; padding: 18px 20px; border: 1px solid var(--line); border-left: 5px solid var(--nero); background: #fff; }
.msg p { margin: 0 0 14px; font-size: 1rem; font-weight: 600; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.msg footer { display: flex; align-items: center; gap: 10px; }
.msg .who { flex: 1; min-width: 0; }
.msg .who b { display: block; font-size: .88rem; color: var(--nero); }
.msg .who small { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.msg.new { animation: pop .6s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.wall-empty { padding: 40px 20px; border: 2px dashed #c3c8c5; text-align: center; }
.wall-empty p { max-width: 46ch; margin: 0 auto 18px; color: var(--ink-2); }
.wall-more { margin-top: 8px; text-align: center; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--nero); color: #fff; font-style: normal; font-weight: 800; font-size: .72rem; }
.av.anon { background: var(--tint); color: var(--nero); font-size: .95rem; }

/* ------------------------------------------------------------ passaparola */
.pass { padding: 20px; background: var(--hatch); }
.pass-in { padding: 54px 20px; background: var(--rosso); color: #fff; text-align: center; }
.pass h2 { margin: 0 0 12px; color: #fff; }
.pass h2 em { color: var(--nero); }
.pass p { max-width: 50ch; margin: 0 auto; font-size: 1.05rem; font-weight: 600; }
.share-big { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.share-big a, .share-big button { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1.1em .5em; border: 2px solid #fff; border-radius: var(--r); background: transparent; color: #fff; font-family: var(--cond); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.share-big a:hover, .share-big button:hover { background: #fff; color: var(--rosso); }
.share-big svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------ footer */
.footer { padding: 44px 0 26px; background: var(--nero); color: rgba(255,255,255,.78); font-size: .88rem; }
.footer .top { display: grid; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.15); }
@media (min-width: 800px) { .footer .top { grid-template-columns: 1fr auto; align-items: start; } }
.footer .logo { display: inline-block; padding: 10px 14px; background: #fff; }
.footer .logo img { height: 24px; width: auto; }
.footer .top p { max-width: 46ch; margin: 14px 0 0; }
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer .links a { font-family: var(--cond); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; color: #fff; text-decoration: none; }
.footer .links a:hover { color: var(--rosso); }
.footer .bottom a { color: #fff; font-weight: 700; }
.footer .bottom { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; font-size: .8rem; }
.soc { display: flex; gap: 8px; }
.soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.soc a:hover { background: var(--rosso); }
.soc svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------ barra mobile, modale, toast */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sticky.show { transform: none; }
.sticky .btn { flex: 1; }
@media (min-width: 1000px) { .sticky { display: none; } body { padding-bottom: 0; } }

.modal { width: min(440px, calc(100% - 24px)); max-height: min(620px, calc(100% - 48px)); padding: 0; border: 2px solid var(--nero); border-radius: var(--r); color: var(--ink); box-shadow: 10px 10px 0 var(--nero); }
.modal::backdrop { background: rgba(17,18,22,.6); }
.modal[open] { animation: pop .3s cubic-bezier(.2,.8,.2,1); }
.modal-card { position: relative; padding: 24px 22px 22px; }
.modal .label { margin-bottom: 10px; }
.modal h3 { margin: 0 0 6px; font-family: var(--cond); font-weight: 800; font-size: 2.2rem; line-height: 1; text-transform: uppercase; }
.modal .m-sub { margin-bottom: 14px; font-weight: 600; color: var(--ink-2); }
.modal .x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--nero); border-radius: var(--r); background: #fff; color: var(--nero); cursor: pointer; }
.modal .x svg { width: 14px; height: 14px; }
.names { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; max-height: 300px; overflow-y: auto; }
.names li { display: flex; align-items: center; gap: 12px; padding: 7px 10px; background: var(--tint); font-weight: 800; font-size: .9rem; color: var(--nero); }
.names li small { display: block; font-weight: 600; font-size: .75rem; color: var(--ink-2); }
.names .av { width: 30px; height: 30px; font-size: .66rem; }
.modal .anon { font-size: .85rem; font-weight: 700; color: var(--ink-2); }

.toasts { position: fixed; left: 16px; bottom: 90px; z-index: 70; display: grid; gap: 8px; width: min(340px, calc(100vw - 32px)); pointer-events: none; }
@media (min-width: 1000px) { .toasts { bottom: 24px; } }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--nero); border-left: 6px solid var(--rosso); background: #fff; box-shadow: 5px 5px 0 var(--nero); font-size: .84rem; font-weight: 600; animation: tin .4s cubic-bezier(.2,.8,.2,1); }
.toast b { font-weight: 800; color: var(--nero); }
.toast small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.toast.out { animation: tout .35s ease forwards; }
@keyframes tin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tout { to { opacity: 0; transform: translateX(-16px); } }

/* ------------------------------------------------------------ pagine semplici */
.simple { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: var(--hatch); }
.simple-card { width: min(540px, 100%); padding: 34px 26px; border: 2px solid var(--nero); background: #fff; text-align: center; }
.simple-card img.logo { height: 28px; width: auto; margin: 0 auto 22px; }
.simple-card h1 { font-family: var(--cond); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1; text-transform: uppercase; }
.simple-card p { font-weight: 600; color: var(--ink-2); }
.simple-card form { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------ area staff */
body.admin { padding-bottom: 40px; background: var(--tint); }
.adm-title { font-weight: 800; color: var(--nero); font-size: .95rem; }
.adm { padding-top: 28px; }
.adm h2 { font-size: 1.6rem; margin: 26px 0 10px; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.adm-stats div { background: #fff; border: 1px solid var(--line); padding: 14px 16px; }
.adm-stats b { display: block; font-family: var(--cond); font-size: 2rem; font-weight: 800; color: var(--nero); line-height: 1.1; }
.adm-stats span { font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.adm-stats .warn { background: #fdeceb; }
.adm-meta { font-size: .85rem; color: var(--ink-2); margin: 12px 0; }
.adm-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.adm-days div { background: #fff; border: 1px solid var(--line); padding: 8px; text-align: center; }
.adm-days div.zero { background: #fdeceb; }
.adm-days small { display: block; font-size: .7rem; font-weight: 800; color: var(--ink-2); }
.adm-days b { font-family: var(--cond); font-size: 1.5rem; font-weight: 800; color: var(--nero); }
.adm-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 26px; }
.adm-filter { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.adm-filter input { flex: 1; min-width: 200px; }
.adm-filter select, .adm-filter input { width: auto; padding: .6em .9em; }
.adm-export { display: flex; gap: 8px; }
.adm-export .btn, .adm-filter .btn { font-size: 1rem; padding: .45em .9em .4em; }
.adm-table { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.adm table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.adm th, .adm td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.adm th { background: var(--nero); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.adm td small { color: var(--ink-2); font-weight: 700; }
.adm .nowrap { white-space: nowrap; }
.adm .msgcell { max-width: 340px; white-space: pre-line; }
.adm tr.pend { background: #fff6e0; }
.adm tr.st-spam, .adm tr.st-annullato { opacity: .55; }
.adm .ms-pending { color: #a36b00 !important; }
.adm .ms-hidden { color: var(--rosso) !important; }
.adm .acts form { display: flex; flex-wrap: wrap; gap: 4px; min-width: 180px; }
.adm .acts button { border: 1px solid var(--line); background: #fff; padding: 4px 8px; font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; color: var(--nero); }
.adm .acts button:hover { border-color: var(--nero); }
.adm .acts .danger { color: var(--rosso); }
.adm-pages { display: flex; gap: 16px; justify-content: center; font-weight: 800; }
