/* ==========================================================================
   novitagioco.com — app.css
   Utility-first: tokens → base → a handful of components (.card .btn .chip .badge
   .tile .rate .prose .tbl .tl .faq) → utilities → responsive variants.
   ========================================================================== */

:root {
  --nv-white: #ffffff;
  --nv-ink: #0d0f1a;
  --nv-blue: #2545ff;
  --nv-blue-dark: #1730c9;
  --nv-blue-soft: #eef1ff;
  --nv-lime: #c6f432;
  --nv-lime-soft: #f3fdd0;
  --nv-grey: #f4f5f8;
  --nv-line: #d9dce6;
  --nv-mute: #555b6e;
  --nv-red: #b42a18;
  --nv-green: #17703a;
  --nv-radius: 10px;
  --nv-radius-sm: 5px;
  --nv-bw: 1.5px;
  --nv-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --nv-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --nv-wrap: 1160px;
  --nv-header: 64px;
  --nv-pop: 4px 4px 0 var(--nv-ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nv-header) + 16px); }
body {
  margin: 0;
  font-family: var(--nv-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nv-ink);
  background: var(--nv-white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--nv-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--nv-blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--nv-blue-dark); }
img, svg { max-width: 100%; height: auto; }
table { border-collapse: collapse; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--nv-blue); outline-offset: 2px; border-radius: 3px; }
.bg-ink :focus-visible, .bg-blue :focus-visible { outline-color: var(--nv-lime); }
::selection { background: var(--nv-lime); color: var(--nv-ink); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--nv-ink); color: var(--nv-white); padding: 10px 16px;
  border-radius: var(--nv-radius); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--nv-white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Components
   ========================================================================== */

/* marker-pen highlight */
.mark {
  background: linear-gradient(102deg, rgba(198, 244, 50, 0) 0.8%, var(--nv-lime) 2.6%, var(--nv-lime) 96.5%, rgba(198, 244, 50, 0) 98.6%);
  padding: 0 0.16em; margin: 0 -0.06em; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; color: var(--nv-ink);
}

/* wordmark */
.logo { display: inline-flex; align-items: baseline; font-family: var(--nv-head); font-weight: 700; font-size: 22px; letter-spacing: -0.04em; color: var(--nv-ink); text-decoration: none; line-height: 1; padding: 6px 0; }
.logo:hover { color: var(--nv-ink); }
.logo i { display: inline-block; width: 7px; height: 7px; margin-left: 3px; background: var(--nv-blue); border-radius: 2px; }
.logo-inv, .logo-inv:hover { color: var(--nv-white); }
.logo-inv i { background: var(--nv-lime); }

/* header + nav */
.hdr { min-height: var(--nv-header); border-bottom: var(--nv-bw) solid var(--nv-ink); }
.navlink { font-family: var(--nv-head); font-weight: 500; font-size: 15px; color: var(--nv-ink); text-decoration: none; padding: 8px 10px; border-radius: 7px; white-space: nowrap; }
.navlink:hover { background: var(--nv-grey); color: var(--nv-ink); }
.navlink[aria-current="page"] { box-shadow: inset 0 -9px 0 var(--nv-lime); border-radius: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--nv-lime); color: var(--nv-ink); border: var(--nv-bw) solid var(--nv-ink); border-radius: 999px; padding: 7px 14px; font-family: var(--nv-head); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nv-blue); box-shadow: 0 0 0 3px rgba(37, 69, 255, .22); }
.pill:hover { color: var(--nv-ink); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--nv-ink); }
.burger { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); background: var(--nv-white); text-decoration: none; }
.burger span { display: block; width: 18px; height: 2px; background: var(--nv-ink); border-radius: 2px; }
.burger:hover { background: var(--nv-lime); }
@media (min-width: 1040px) { .burger { display: none; } }

/* full-screen overlay menu (works with :target without JS) */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; background: var(--nv-white); overflow-y: auto; padding: 0 16px 32px; }
.overlay:target, .overlay.is-open { display: flex; }
.overlay-link { display: flex; justify-content: space-between; align-items: center; font-family: var(--nv-head); font-weight: 700; font-size: 23px; letter-spacing: -0.03em; color: var(--nv-ink); text-decoration: none; padding: 13px 0; border-bottom: var(--nv-bw) solid var(--nv-line); }
.overlay-link::after { content: "\2192"; color: var(--nv-blue); font-weight: 500; }
.overlay-link:hover { color: var(--nv-blue); }
.overlay-link[aria-current="page"] span { box-shadow: inset 0 -12px 0 var(--nv-lime); }
@media (min-width: 1040px) { .overlay, .overlay:target, .overlay.is-open { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; background: var(--nv-blue); color: var(--nv-white); border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); box-shadow: 3px 3px 0 var(--nv-ink); font-family: var(--nv-head); font-weight: 700; font-size: 15.5px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover { background: var(--nv-blue-dark); color: var(--nv-white); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--nv-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--nv-ink); }
.btn-lime { background: var(--nv-lime); color: var(--nv-ink); }
.btn-lime:hover { background: #d4fb52; color: var(--nv-ink); }
.btn-ghost { background: var(--nv-white); color: var(--nv-ink); box-shadow: none; }
.btn-ghost:hover { background: var(--nv-grey); color: var(--nv-ink); box-shadow: 3px 3px 0 var(--nv-ink); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }

/* card */
.card { background: var(--nv-white); border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); transition: transform .18s, box-shadow .18s; }
.card-hover:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--nv-ink); }

/* chips (filters + text tags) */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--nv-white); color: var(--nv-ink); border: var(--nv-bw) solid var(--nv-ink); border-radius: 999px; font-family: var(--nv-head); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
button.chip { cursor: pointer; min-height: 38px; transition: background-color .15s; }
button.chip:hover { background: var(--nv-lime); }
button.chip[aria-pressed="true"] { background: var(--nv-ink); color: var(--nv-white); }
.chip-tag { padding: 3px 10px; font-family: var(--nv-body); font-size: 12px; background: var(--nv-grey); border-color: var(--nv-line); }

/* NUOVO badge */
.badge { display: inline-block; background: var(--nv-lime); color: var(--nv-ink); border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius-sm); padding: 2px 8px; font-family: var(--nv-head); font-size: 11.5px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.badge-ink { background: var(--nv-ink); color: var(--nv-white); }
.badge-18 { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; font-family: var(--nv-head); font-weight: 700; font-size: 14px; flex-shrink: 0; }

/* placeholder logo tile */
.tile { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); font-family: var(--nv-head); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; background: var(--nv-ink); color: var(--nv-lime); }
.tile-b { background: var(--nv-blue); color: var(--nv-white); }
.tile-l { background: var(--nv-lime); color: var(--nv-ink); }
.tile-g { background: var(--nv-grey); color: var(--nv-blue); }
.tile-w { background: repeating-linear-gradient(135deg, var(--nv-white) 0 7px, var(--nv-blue-soft) 7px 14px); color: var(--nv-ink); }
.tile-lg { width: 84px; height: 84px; font-size: 28px; }
.tile-xl { width: 128px; height: 128px; font-size: 44px; border-radius: 18px; }

/* rating: 5 small squares */
.rate { display: inline-flex; gap: 3px; vertical-align: middle; }
.rate i { width: 12px; height: 12px; border: var(--nv-bw) solid var(--nv-ink); border-radius: 2.5px; background: var(--nv-white); }
.rate i.on { background: var(--nv-blue); }
.rate i.half { background: linear-gradient(90deg, var(--nv-blue) 50%, var(--nv-white) 50%); }
.rate-lg i { width: 18px; height: 18px; border-radius: 4px; }

/* score meter bars (review) */
.meter { height: 10px; border: var(--nv-bw) solid var(--nv-ink); border-radius: 999px; background: var(--nv-white); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--nv-blue); }

/* long-form content the owner pastes in */
.prose > * + * { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose > p, .prose > ul, .prose > ol { margin-bottom: 0; }
.prose h2 { font-size: 26px; margin-top: 2.1em; padding-top: 0.2em; }
.prose h3 { font-size: 20px; margin-top: 1.7em; }
.prose h4 { font-size: 17px; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.65em; }
.prose > ul:not([class]), .prose > ol:not([class]) { padding-left: 1.3em; }
.prose > :not([class]) > li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--nv-blue); font-weight: 700; }
.prose strong { font-weight: 700; }
@media (min-width: 760px) { .prose h2 { font-size: 32px; } .prose h3 { font-size: 22px; } }

/* tables */
.tbl { width: 100%; min-width: 560px; font-size: 14.5px; line-height: 1.45; }
.tbl caption { caption-side: top; text-align: left; padding: 12px 16px; font-size: 13px; color: var(--nv-mute); border-bottom: var(--nv-bw) solid var(--nv-line); }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; vertical-align: middle; border-bottom: var(--nv-bw) solid var(--nv-line); }
.tbl thead th { background: var(--nv-ink); color: var(--nv-white); font-family: var(--nv-head); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.tbl tbody th { font-family: var(--nv-head); font-weight: 700; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:hover > * { background: var(--nv-lime-soft); }
.tbl-facts { min-width: 0; }
.tbl-weights { min-width: 440px; }
.tbl-facts th { width: 42%; background: var(--nv-grey); font-size: 14px; }
.tbl-facts tbody tr:hover > th { background: var(--nv-grey); }

/* numbered how-to */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 26px 62px; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--nv-blue); color: var(--nv-white); border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); font-family: var(--nv-head); font-weight: 700; font-size: 16px; }
.steps > li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 4px; border-left: var(--nv-bw) dashed var(--nv-ink); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }

/* plus / minus lists */
.list-plus, .list-minus, .list-check { list-style: none; padding: 0; margin: 0; }
.list-plus li, .list-minus li, .list-check li { position: relative; padding-left: 32px; }
.list-plus li + li, .list-minus li + li, .list-check li + li { margin-top: 10px; }
.list-plus li::before, .list-minus li::before, .list-check li::before { position: absolute; left: 0; top: 2px; width: 21px; height: 21px; display: grid; place-items: center; border: var(--nv-bw) solid var(--nv-ink); border-radius: 5px; font-family: var(--nv-head); font-weight: 700; font-size: 15px; line-height: 1; }
.list-plus li::before { content: "+"; background: var(--nv-lime); }
.list-minus li::before { content: "\2212"; background: var(--nv-white); }
.list-check li::before { content: "\2713"; background: var(--nv-blue); color: var(--nv-white); font-size: 12px; }

/* timeline of launches */
.tl { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.tl::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; border-left: var(--nv-bw) solid var(--nv-ink); }
.tl-month { position: relative; padding-bottom: 30px; }
.tl-month:last-child { padding-bottom: 0; }
.tl-month::before { content: ""; position: absolute; left: -30px; top: 5px; width: 17px; height: 17px; background: var(--nv-lime); border: var(--nv-bw) solid var(--nv-ink); border-radius: 4px; }
.tl-month:first-child::before { background: var(--nv-blue); box-shadow: 0 0 0 4px rgba(37, 69, 255, .18); }
.tl-entry { position: relative; }
.tl-entry::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; border-top: var(--nv-bw) dashed var(--nv-ink); }
@media (min-width: 760px) {
  .tl { padding-left: 0; }
  .tl::before { left: 206px; }
  .tl-month { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 56px; }
  .tl-month::before { left: 198px; }
  .tl-month > :first-child { text-align: right; }
  .tl-entry::before { left: -30px; width: 30px; }
}

/* FAQ (native details) */
.faq details { border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); background: var(--nv-white); }
.faq details + details { margin-top: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-family: var(--nv-head); font-weight: 700; font-size: 17px; line-height: 1.3; border-radius: var(--nv-radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; background: var(--nv-lime); border: var(--nv-bw) solid var(--nv-ink); border-radius: 6px; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--nv-ink); color: var(--nv-white); }
.faq summary:hover { background: var(--nv-grey); }
.faq details > div { padding: 0 18px 18px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* table of contents */
.toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 0; border-bottom: var(--nv-bw) solid var(--nv-line); color: var(--nv-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.toc li:last-child a { border-bottom: 0; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--nv-head); font-weight: 700; color: var(--nv-blue); }
.toc a:hover { color: var(--nv-blue); }

/* breadcrumb */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; font-size: 13px; color: var(--nv-mute); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--nv-line); }
.crumbs a { color: var(--nv-mute); }
.crumbs a:hover { color: var(--nv-blue); }

/* form fields */
.field { display: block; width: 100%; padding: 12px 14px; background: var(--nv-white); border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); font-size: 16px; }
.field:focus { outline: 3px solid var(--nv-blue); outline-offset: 1px; }
textarea.field { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: var(--nv-bw) solid var(--nv-line); border-radius: var(--nv-radius); background: var(--nv-white); cursor: pointer; }
.check:hover { border-color: var(--nv-ink); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--nv-blue); flex-shrink: 0; }

/* footer links */
.flink { color: #e4e6ef; text-decoration: none; font-size: 14.5px; }
.flink:hover { color: var(--nv-lime); text-decoration: underline; }

/* ==========================================================================
   Utilities (declared after components so they always win)
   ========================================================================== */

/* ---------- utilities: layout ---------- */
.wrap { width: 100%; max-width: var(--nv-wrap); margin-inline: auto; padding-inline: 16px; }
.wrap-narrow { max-width: 820px; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.grid > * { min-width: 0; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0; min-width: 0; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.self-start { align-self: flex-start; }
.grid-1 { grid-template-columns: minmax(0, 1fr); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.w-full { width: 100%; }
.max-w-prose { max-width: 68ch; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.overflow-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.overflow-hidden { overflow: hidden; }

/* ---------- utilities: spacing ---------- */
.m-0 { margin: 0; }
.mx-auto { margin-inline: auto; }
.ml-auto { margin-left: auto; }
.mt-auto { margin-top: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.p-0 { padding: 0; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.px-3 { padding-inline: 12px; }
.px-4 { padding-inline: 16px; }
.py-1 { padding-block: 4px; }
.py-2 { padding-block: 8px; }
.py-3 { padding-block: 12px; }
.py-4 { padding-block: 16px; }
.py-6 { padding-block: 24px; }
.py-8 { padding-block: 32px; }
.py-12 { padding-block: 48px; }
.pt-2 { padding-top: 8px; }
.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pb-12 { padding-bottom: 48px; }
.pl-5 { padding-left: 20px; }

/* ---------- utilities: type ---------- */
.font-head { font-family: var(--nv-head); letter-spacing: -0.01em; }
.font-body { font-family: var(--nv-body); letter-spacing: 0; }
.text-xs { font-size: 12px; line-height: 1.5; }
.text-sm { font-size: 14px; line-height: 1.55; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 22px; }
.text-2xl { font-size: 27px; }
.text-3xl { font-size: 33px; }
.text-4xl { font-size: 44px; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.lh-tight { line-height: 1.1; }
.lh-snug { line-height: 1.35; }
.uppercase { text-transform: uppercase; }
.tracking { letter-spacing: 0.06em; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.no-underline { text-decoration: none; }
.list-none { list-style: none; }
.text-ink, a.text-ink:hover { color: var(--nv-ink); }
.text-blue { color: var(--nv-blue); }
.text-mute { color: var(--nv-mute); }
.text-white { color: var(--nv-white); }
.text-lime, a.text-lime:hover { color: var(--nv-lime); }
.text-soft { color: #c3c7d6; }
.text-green { color: var(--nv-green); }
.text-red { color: var(--nv-red); }

/* ---------- utilities: surface ---------- */
.bg-white { background-color: var(--nv-white); }
.bg-grey { background-color: var(--nv-grey); }
.bg-ink { background-color: var(--nv-ink); }
.bg-blue { background-color: var(--nv-blue); }
.bg-blue-soft { background-color: var(--nv-blue-soft); }
.bg-lime { background-color: var(--nv-lime); }
.bg-lime-soft { background-color: var(--nv-lime-soft); }
.bg-dots { background-image: radial-gradient(var(--nv-line) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.border { border: var(--nv-bw) solid var(--nv-line); }
.border-t { border-top: var(--nv-bw) solid var(--nv-line); }
.border-b { border-bottom: var(--nv-bw) solid var(--nv-line); }
.border-l-lime { border-left: 6px solid var(--nv-lime); }
.border-l-blue { border-left: 6px solid var(--nv-blue); }
.border-l-ink { border-left: 6px solid var(--nv-ink); }
.border-ink { border-color: var(--nv-ink); }
.border-blue { border-color: var(--nv-blue); }
.border-dark { border-color: #2c3044; }
.border-dashed { border-style: dashed; }
.rounded { border-radius: var(--nv-radius); }
.rounded-sm { border-radius: var(--nv-radius-sm); }
.rounded-full { border-radius: 999px; }
.shadow-pop { box-shadow: var(--nv-pop); }

/* ---------- responsive variants ---------- */
@media (min-width: 560px) {
  .sm\:flex { display: flex; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:items-center { align-items: center; }
  .sm\:w-auto { width: auto; }
}
@media (min-width: 760px) {
  .wrap { padding-inline: 24px; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:w-cta { width: 240px; }
  .md\:grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:gap-6 { gap: 24px; }
  .md\:p-6 { padding: 24px; }
  .md\:p-8 { padding: 32px; }
  .md\:py-12 { padding-block: 48px; }
  .md\:py-16 { padding-block: 72px; }
  .md\:text-lg { font-size: 18px; }
  .md\:text-2xl { font-size: 27px; }
  .md\:text-3xl { font-size: 36px; }
  .md\:text-4xl { font-size: 46px; }
  .md\:text-5xl { font-size: 58px; }
}
@media (min-width: 1040px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .lg\:grid-side { grid-template-columns: minmax(0, 1fr) 300px; }
  .lg\:grid-toc { grid-template-columns: 260px minmax(0, 1fr); }
  .lg\:gap-12 { gap: 48px; }
  .lg\:sticky-side { position: sticky; top: calc(var(--nv-header) + 24px); align-self: start; }
  .lg\:items-center { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .hdr, .overlay, .btn, footer { display: none !important; }
}

/* ---------- aggiunte: loghi operatori, menu a 10 voci ---------- */
.oplogo { display: block; width: 58px; height: 58px; flex-shrink: 0; object-fit: cover; border: var(--nv-bw) solid var(--nv-ink); border-radius: var(--nv-radius); background: #111; }
.oplogo-lg { width: 84px; height: 84px; }
.portrait { display: block; object-fit: cover; padding: 0; }
.navlink { padding: 8px 8px; font-size: 14.5px; }
.tbl td .btn-sm { white-space: nowrap; }
.prose .card.shadow-pop p { margin: 0; }
@media (min-width: 1040px) and (max-width: 1219px) {
  .hdr nav.lg\:block { display: none; }
  .burger { display: inline-flex; }
  .overlay:target, .overlay.is-open { display: flex; }
}
