:root {
  --ink: #0b0b0c;
  --paper: #f7f7f4;
  --card: #ffffff;
  --mint: #5cf9bc;
  --violet: #5b43d6; /* darker than the console violet #9d86ff: AA contrast on paper */
  --muted: #4a4a50;
  --line: #d9d9d2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1.0625rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.contenitore { width: min(100% - 32px, 1000px); margin-inline: auto; }
a { color: var(--violet); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.testata { background: var(--ink); }
.testata-riga { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.marchio { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.marchio img { display: block; height: 25px; width: auto; max-width: 100%; }
.pulsante {
  display: inline-block; background: var(--mint); color: var(--ink); font-weight: 700;
  padding: 10px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap;
}
.punti .pulsante { background: var(--ink); color: var(--mint); }
.pulsante:hover { filter: brightness(.95); }
main { padding: 28px 0 40px; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: 1.35rem; margin: 0 0 12px; }
.sotto, .nota { color: var(--muted); max-width: 60ch; }
section { margin-bottom: 36px; }
.strumenti { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.commutatore { display: inline-flex; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.comm { font: inherit; font-weight: 600; padding: 8px 14px; border: 0; background: var(--card); color: var(--ink); cursor: pointer; }
.comm[aria-pressed="true"] { background: var(--ink); color: var(--mint); }
.cornice { margin-inline: auto; width: 100%; max-width: 100%; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); overflow: hidden; transition: width .2s; }
.cornice.telefono { width: 390px; }
.cornice iframe { display: block; width: 100%; height: 70vh; min-height: 480px; border: 0; }
.attuale img { max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.punti ul { padding-left: 1.2em; }
.punti li { margin-bottom: 8px; overflow-wrap: break-word; }
.semplice { padding: 40px 0; }
.piede { background: var(--ink); color: #e8e8e4; padding: 24px 0; }
.piede a { color: var(--mint); }
.piede-nome { font-weight: 700; margin: 0 0 6px; }
.piede-dati { list-style: none; margin: 0; padding: 0; }
.piede-dati li { margin-bottom: 4px; overflow-wrap: anywhere; }
@media (max-width: 430px) { .cornice.telefono { width: 100%; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
