@font-face { font-family: "NY"; src: local("New York"), local("NewYork-Regular"), local("NewYork"); font-style: normal; font-weight: 100 900; }
@font-face { font-family: "NY"; src: local("New York Italic"), local("NewYork-RegularItalic"), local("NewYorkItalic"); font-style: italic; font-weight: 100 900; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-style: italic; font-weight: 200 800; font-display: swap; }
:root {
  --bg: #fbfbfa;
  --paper: #fff;
  --ink: #111;
  --mute: #444;
  --hair: #e1e1dd;
  --line: #d6d6d0;
  --acc: #2638e8;
  --acc-ink: #1a28b8;
  --acc-soft: #eef0fe;
  --acc-line: #cfd5fc;
  --ROSSO: #d6201a;
  --ARANCIO: #f07a1a;
  --GIALLO: #f5c400;
  --VERDE: #188a3a;
  --serif: "NY", ui-serif, "Newsreader", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --g: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; overflow-wrap: anywhere; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--sans); }
button, select { font: inherit; color: inherit; }
a { color: var(--acc-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--g) 40px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--ink); margin-bottom: 16px; }
.mark { font: italic 500 26px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.lang { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 30px 0 12px; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 10px 7px; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
[dir="rtl"] .lang { padding: 0 12px 0 30px; background-position: left 10px center; }

.drop { border: 1px solid var(--ink); background: var(--paper); border-radius: 4px; }
.drop:focus-within { box-shadow: 0 0 0 3px var(--acc-soft); border-color: var(--acc); }
.drop.over { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
textarea { display: block; width: 100%; min-height: 160px; border: 0; padding: 16px; resize: vertical; font: 400 19px/1.45 var(--sans); color: var(--ink); background: transparent; outline: none; }
textarea::placeholder { color: #555; }
.tools { display: flex; flex-wrap: wrap; align-items: stretch; border-top: 1px solid var(--hair); }
.tool { position: relative; cursor: pointer; min-height: 48px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 16px; font-weight: 600; color: var(--ink); border-inline-end: 1px solid var(--hair); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.tool:hover { background: var(--bg); text-decoration-color: var(--ink); }
.tool:focus-within { outline: 3px solid var(--acc); outline-offset: -3px; }
.status { align-self: center; padding: 0 12px; font-size: 16px; color: var(--mute); }
.go { display: block; width: 100%; margin-top: 12px; min-height: 60px; border: 0; border-radius: 4px; background: var(--acc); color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.01em; padding: 0 20px; cursor: pointer; }
.go:hover { background: var(--acc-ink); }
.go:disabled { opacity: 0.6; cursor: progress; }
.mic { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; min-height: 56px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mic-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mic-t { font-size: 19px; font-weight: 700; line-height: 1.2; }
.mic-s { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mic:hover { background: var(--paper); }
.mic[aria-pressed="true"] { border-color: var(--ROSSO); background: var(--ROSSO); color: #fff; }
.mic.busy { cursor: progress; }

.out { border-top: 8px solid var(--c, var(--ink)); padding-top: 14px; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.band { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.icon { flex: none; width: 16px; height: 16px; background: var(--c, var(--ink)); font-size: 0; color: transparent; }
.frase { font-family: var(--serif); font-size: clamp(30px, 7.6vw, 46px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 500; margin: 14px 0 16px; outline: none; }
.azione { font-size: 19px; line-height: 1.5; font-weight: 600; margin: 0 0 4px; }
.decode { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); font: 16px/1.5 var(--mono); color: var(--ink); }
.decode:empty { display: none; }
.decode li { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.decode b { font-weight: 700; }
.dl { display: block; }
.pill { display: inline; font: 400 16px/1.5 var(--mono); color: var(--ink); }
.dl > .pill:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pill.a { font-weight: 700; }
.arr { margin: 0 0.4em; color: var(--mute); }
.dl .law { display: none; }
.dl .how { display: block; font: 400 15px/1.4 var(--sans); color: var(--mute); }
.nums { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 10px; font-family: var(--sans); }
.nums span { display: block; }
.nums b { display: block; font: 500 40px/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.nums small { display: block; margin-top: 4px; font: 15px/1.35 var(--sans); color: var(--mute); }
.spk { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 3px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.spk svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spk:hover { border-color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 16px; }
.acts button { min-height: 48px; padding: 0; background: none; border: 0; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.acts button:hover, .acts button[aria-expanded="true"] { color: var(--acc-ink); }
.acts #report { flex-basis: 100%; margin-top: 8px; min-height: 56px; padding: 0 18px; text-align: start; background: var(--ink); color: #fff; border-radius: 4px; text-decoration: none; }
.again { display: block; margin-top: 24px; min-height: 48px; padding: 0; border: 0; background: none; font-size: 17px; font-weight: 600; color: var(--acc-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.again::before { content: "← "; }
[dir="rtl"] .again::before { content: "→ "; }
.why { margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 20px; border-top: 1px solid var(--hair); }
.why dt { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.why dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 17px; line-height: 1.5; }
.why q { quotes: "«" "»"; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--hair); padding: 24px 0 36px; }
.c-l { grid-column: 1 / span 3; min-width: 0; }
.c-r { grid-column: 4 / span 9; min-width: 0; }
.top { border-top: 0; padding: 18px 0; align-items: baseline; }
.lab { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-ink); padding-top: 6px; }
.meta { font-size: 15px; color: var(--mute); margin: 0; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.langs button { min-height: 44px; padding: 0 14px; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--acc-soft); border-color: var(--acc-line); color: var(--acc-ink); font-weight: 700; }
.src { margin: 0; font-size: 15px; color: var(--mute); max-width: 62ch; }
.foot { font-size: 15px; color: var(--mute); }
.foot p { margin: 0 0 10px; max-width: 70ch; }
body:has(.top) .wrap { max-width: 1200px; }
#intro, #note, #run, #rows .how, #rows .what { display: none; }
#rows .n { font-weight: 700; font-variant-numeric: tabular-nums; }
#rows .how { color: var(--mute); font-size: 15px; }
#rows .sub span { color: var(--mute); font-size: 15px; }
h1.h1s { font-weight: 700; }

@media (max-width: 760px) {
  .grid { display: block; }
  .c-l.lab { margin-bottom: 10px; }
}
@media (min-width: 900px) {
  .wrap { padding-top: 24px; }
  .frase { font-size: 42px; }
}
@media (prefers-reduced-motion: no-preference) {
  .out:not([hidden]) { animation: in 0.22s ease-out; }
  @keyframes in { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.foot .c-l.lab { visibility: hidden; }

.layout { display: block; }
.eb { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-ink); line-height: 1.3; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; padding: 4px 0 14px; border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.stat { display: block; min-width: 0; }
.stat + .stat { padding-inline-start: 12px; border-inline-start: 1px solid var(--hair); }
.stat b { display: block; font: 600 26px/1.05 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--mute); }
.stats:hover b { color: var(--acc-ink); }
.chips { display: flex; gap: 0 18px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.ex { flex: none; white-space: nowrap; min-height: 44px; padding: 0; border: 0; background: none; font: 400 14px/1 var(--mono); color: var(--mute); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; cursor: pointer; }
.ex:hover { color: var(--ink); text-decoration-color: var(--ink); }
.doors { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--ink); }
.doors ul { list-style: none; margin: 0; padding: 0; }
.doors li { border-bottom: 1px solid var(--hair); }
.doors a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-height: 52px; padding: 13px 0; color: var(--ink); text-decoration: none; font-size: 17px; line-height: 1.4; }
.doors b { font-weight: 700; min-width: 7.5em; }
.doors span { color: var(--mute); }
.doors a:hover b { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 4px; }
.srcline { margin: 10px 0 0; font: 14px/1.4 var(--mono); color: var(--mute); }
.legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: var(--ink); }
.legend i { display: inline-block; width: 12px; height: 12px; margin-inline-end: 6px; vertical-align: -1px; }
.why[hidden] + .legend { display: none; }
@media (min-width: 960px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "tool doors" "tool ."; column-gap: 64px; align-items: start; }
  .main-col { grid-area: tool; min-width: 0; }
  .stats { grid-area: stats; grid-template-columns: 1fr; gap: 0; padding: 0; margin: 0; border: 0; }
  .stat { padding: 12px 0 14px; border-bottom: 1px solid var(--hair); }
  .stat + .stat { padding-inline-start: 0; border-inline-start: 0; }
  .stat b { font-size: 48px; font-weight: 500; letter-spacing: -0.03em; }
  .stat small { font-size: 15px; }
  .doors { grid-area: doors; margin-top: 0; }
  .wrap { padding-top: 8px; }
}

:root {
  --bg: #f4f6f9; --ink: #111; --mute: #3d4652; --hair: #dde3ea; --line: #c9d3de;
  --acc: #0066cc; --acc-ink: #004d99; --acc-soft: #e6f0fa; --acc-line: #b3d1f0;
  --ROSSO: #c8102e; --VERDE: #17803d;
  --sans: "Atkinson Hyperlegible", Verdana, sans-serif; --serif: "Atkinson Hyperlegible", Verdana, sans-serif; --mono: "Atkinson Hyperlegible", Verdana, sans-serif;
}
body { font-size: 19px; }
.bar { border-bottom: 0; margin-bottom: 0; background: var(--acc); box-shadow: 0 0 0 100vmax var(--acc); clip-path: inset(0 -100vmax); }
.mark { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 23px/1 var(--sans); }
.mark::before { content: ""; width: 20px; height: 20px; flex: none; background: linear-gradient(#fff 0 0) center / 6px 20px no-repeat, linear-gradient(#fff 0 0) center / 20px 6px no-repeat; }
.lang { color: #fff; border-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); border-radius: 8px; }
.lang option { color: #111; }
.bar :focus-visible { outline-color: #fff; }
.intro-h { margin: 28px 0 8px; font: 700 clamp(26px, 6vw, 32px)/1.2 var(--sans); }
.intro-sub { margin: 0 0 20px; font-size: 20px; line-height: 1.45; color: var(--mute); }
.drop { border: 2px dashed var(--acc); border-radius: 14px; background: #fff; overflow: hidden; }
.drop:focus-within { border-style: solid; }
textarea { font: 400 21px/1.45 var(--sans); }
textarea::placeholder { color: #4a5565; }
.drop-hint { margin: 0; padding: 0 18px 10px; font-size: 17px; color: var(--mute); }
.tools { gap: 8px; padding: 10px 12px 12px; }
.tool { font-size: 18px; min-height: 50px; border: 1px solid var(--acc-line); border-radius: 999px; background: var(--acc-soft); color: var(--acc-ink); text-decoration: none; }
.tool:hover { background: var(--acc-soft); border-color: var(--acc); }
.go { font-size: 21px; min-height: 64px; border-radius: 12px; }
.mic { min-height: 60px; border: 2px solid var(--acc); border-radius: 12px; color: var(--acc-ink); background: #fff; }
.mic-i { width: 26px; height: 26px; stroke-width: 2; }
.mic-t { font-size: 21px; }
.trust { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 17px; color: var(--mute); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--VERDE); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ex-h { margin: 18px 0 6px; font-size: 17px; font-weight: 700; color: var(--mute); }
.chips { flex-wrap: wrap; gap: 8px; margin-top: 0; overflow: visible; }
.ex { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 400 17px/1 var(--sans); color: var(--ink); text-decoration: none; }
.ex:hover { border-color: var(--acc); color: var(--acc-ink); }
.out { margin-top: 24px; padding: 18px; border: 2px solid color-mix(in srgb, var(--c, var(--acc)) 35%, #fff); border-radius: 18px; background: color-mix(in srgb, var(--c, var(--acc)) 9%, #fff); }
.band { padding: 12px 16px; border-radius: 12px; background: var(--c, var(--ink)); color: var(--on, #fff); font-size: 19px; letter-spacing: 0.04em; }
.frase { font: 700 clamp(28px, 7vw, 38px)/1.25 var(--sans); letter-spacing: 0; margin: 16px 0 10px; }
.azione { font-size: 21px; font-weight: 700; padding-inline-start: 14px; border-inline-start: 5px solid var(--c, var(--ink)); margin-bottom: 14px; }
.decode, .decode li { border-color: color-mix(in srgb, var(--c, var(--acc)) 25%, #fff); }
.decode, .pill { font: 400 18px/1.5 var(--sans); }
.pill.a { color: var(--acc-ink); }
.nums b { font: 700 36px/1.05 var(--sans); }
.nums small, .srcline { font: 16px/1.4 var(--sans); color: var(--mute); }
.acts { gap: 10px; }
.acts button { flex: 1 1 160px; min-height: 56px; padding: 0 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; font-size: 18px; text-align: center; }
.acts button:hover, .acts button[aria-expanded="true"] { border-color: var(--acc); color: var(--acc-ink); background: #fff; }
.acts #report { background: #fff; color: #a3140f; border-color: var(--ROSSO); text-align: center; }
.why dt { font-size: 17px; } .why dd { font-size: 19px; }
.legend { font-size: 17px; }
.again { font-size: 19px; }
.how { margin: 32px 0 8px; padding: 20px; background: #fff; border: 1px solid var(--hair); border-radius: 18px; }
.how h2 { margin: 0 0 14px; font: 700 22px/1.3 var(--sans); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how li { display: flex; align-items: flex-start; gap: 14px; font-size: 19px; line-height: 1.4; }
.how .n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 700; font-size: 18px; }
.out:not([hidden]) ~ .how { display: none; }
.doors { border-top: 0; padding: 18px; background: #fff; border: 1px solid var(--hair); border-radius: 18px; }
.eb { font-size: 15px; letter-spacing: 0.08em; }
.doors a { font-size: 18px; }
@media (min-width: 960px) { .doors { margin-top: 28px; } }
.head { gap: 10px; }
.head .band { flex: 1; font-size: 20px; }
.spk { width: 56px; height: 56px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.spk svg { width: 26px; height: 26px; }
