/* ═══════════════════════════════════════════════════════════════════════════
   pa.css — foglio del sito nuovo (F1-F3, 26/10/2026), l'unico delle pagine generate. Scritto A MANO: build.mjs non lo genera.
   Direzioni scelte dall'utente: home C «Rivista», schede A «Listino» (_brain/decisions/2026-10-26_sito_nuovo_f0.md).
   Riferimento visivo: _studio/research/2026-10-26_sito_direzioni/prototipo/.
   Token: _studio/design_system.md (SSoT). css/site.css (sito vecchio) è stato tolto in F3
   (piano: _studio/plans/2026-10-26_sito_nuovo.md).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Token ──────────────────────────────────────────────────────────────── */
:root {
  --bg: #1C1C1E; --bg-raised: #242426; --bg-subtle: #2A2A2C; --bg-deep: #141416;
  --cream: #F2EFE8; --cream-dim: #B0AEA6; --inactive: #6B6965;
  --amber: #C8A96E; --amber-dim: #9A7F4E; --copper: #B87333;
  /* accent per plugin come testo su fondo scuro (design_system.md §Accent; Ferrotank #C27454 dal 26/10) */
  --pt: #E49631; --bm: #D4654A; --ft: #C27454; --co: #EFBA42; --sp: #AAB08C; --ar: #C8A96E;
  --display: 'Space Grotesk', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --px: 64px; --wrap: 1312px;
}
@media (max-width: 1024px) { :root { --px: 48px; } }
@media (max-width: 640px) { :root { --px: 24px; } }

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--cream); font: 400 15px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--px); }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-dim); }
.s { color: var(--acc, var(--amber)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 200; padding: 12px 16px; background: var(--amber); color: var(--bg);
  font: 700 13px/1 var(--display); text-decoration: none; transition: transform 0.2s ease; }
.skip-link:focus-visible { transform: translateY(80px); outline: 2px solid var(--cream); outline-offset: 2px; }
.tex { position: relative; }
.tex::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-size: 256px 256px; background-repeat: repeat; }

/* ── Barra ──────────────────────────────────────────────────────────────── */
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--px); border-bottom: 1px solid var(--bg-subtle); background: var(--bg); position: relative; z-index: 10; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 14px/1 var(--display);
  letter-spacing: 0.12em; text-transform: uppercase; transition: opacity 0.2s ease; }
.nav-brand:hover { opacity: 0.8; }
.nav-brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; font: 400 11px/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; }
.nav-links a { color: var(--cream-dim); text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--amber); }
.nav-links a:active, .nav-brand:active { opacity: 0.7; }
.nav-links a:focus-visible, .nav-brand:focus-visible, .btn:focus-visible, .lnk:focus-visible, .entry a:focus-visible, .cl:focus-visible,
.press a:focus-visible, .foot a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.nav-links .nav-cta { color: var(--cream); border: 1px solid var(--amber-dim); padding: 10px 14px; }
.nav-links .nav-cta:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 640px) { .nav-links { gap: 16px; } .nav-brand span { display: none; } }
/* sotto i 380 px non ci stanno tre voci: resta About (il logo porta alla home e al catalogo) */
@media (max-width: 379px) { .nav-links .hide-m:first-child { display: none; } }

/* Barra annunci (partials/announce-bar.html, site.announce) */
.announce-bar a { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 10px var(--px);
  background: var(--bg-raised); border-bottom: 1px solid var(--bg-subtle); text-decoration: none; font: 400 13px/1.4 var(--body); color: var(--cream);
  transition: background-color 0.2s ease; }
.announce-bar a:hover { background: var(--bg-subtle); }
.announce-bar a:active { background: var(--bg); }
.announce-bar a:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.announce-lead { color: var(--amber); }
.announce-cta { font: 500 11px/1.4 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); }

/* ── Bottoni e link ─────────────────────────────────────────────────────── */
/* .button: alias per js/beta-card.js, che riusa i bottoni della pagina ospite */
.btn, .button { white-space: nowrap; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  background: var(--btn, var(--amber)); color: var(--btn-text, var(--bg)); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font: 700 13px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; transition: opacity 0.2s ease, transform 0.2s ease; }
.btn:hover, .button:hover { opacity: 0.88; }
.btn:active, .button:active { transform: translateY(1px); }
.button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--inactive); }
.btn--ghost:hover { border-color: var(--cream-dim); opacity: 1; }
.lnk { color: var(--cream); text-decoration: underline; text-decoration-color: var(--amber-dim); text-underline-offset: 4px; transition: color 0.2s ease; }
.lnk:hover { color: var(--amber); }
.lnk:active { opacity: 0.7; }
.stars { display: inline-flex; gap: 2px; vertical-align: -1px; margin-right: 8px; }
.stars i { width: 11px; height: 11px; background: var(--amber);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ── Sezioni ────────────────────────────────────────────────────────────── */
.sec { padding: 96px 0; border-top: 1px solid var(--bg-subtle); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { font: 700 40px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.sec-head h2 em { font-style: normal; color: var(--amber); }
.kick { display: block; margin-bottom: 12px; color: var(--amber); }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sec-head { flex-direction: column; gap: 8px; margin-bottom: 28px; } .sec-head h2 { font-size: 28px; } }

/* ── Citazioni a ritaglio (scelta del 19/10; markup di build.mjs clipHtml) ─ */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.clip { position: relative; margin: 0; padding: 24px 24px 20px; background: var(--cream); color: var(--bg);
  border-left: 3px solid var(--q-accent, var(--amber)); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4); }
.clip:nth-child(2) { transform: rotate(0.6deg); margin-top: 24px; }
.clip:nth-child(3) { transform: rotate(-0.8deg); }
.clip::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('/textures/photocopy_web.jpg') 0 0 / 256px 256px;
  mix-blend-mode: multiply; opacity: 0.3; }
.clip blockquote { position: relative; z-index: 1; margin: 0; }
.clip blockquote p { font: 500 18px/1.4 var(--display); color: var(--bg); }
.clip blockquote p::before { content: '\201C'; }
.clip blockquote p::after { content: '\201D'; }
.clip figcaption { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px;
  font: 400 11px/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #3A3A3C; }
.clip .clip-who { font-weight: 500; color: var(--bg); }
.clip a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.clip a:hover { text-decoration-thickness: 2px; }
.clip a:focus-visible { outline: 2px solid var(--bg); outline-offset: 2px; }
@media (max-width: 900px) { .clips { grid-template-columns: 1fr; gap: 24px; } .clip:nth-child(2) { margin-top: 0; } }

/* ── Piè ────────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--bg-subtle); padding: 64px 0 40px; }
.foot::after { background-image: url('/textures/tape_vhs_web.jpg'); mix-blend-mode: overlay; opacity: 0.08; }
.foot .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.foot .wrap > * { min-width: 0; }
.foot h2 { font: 700 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.foot p { font-size: 14px; color: var(--cream-dim); margin-top: 8px; }
.foot p.small { font-size: 12px; }
.foot p a { color: var(--cream-dim); text-underline-offset: 3px; transition: color 0.2s ease; }
.foot p a:hover { color: var(--amber); }
/* .email-form: piè e card del dev log (js/beta-card.js riusa questa classe della pagina ospite) */
.foot form { display: flex; gap: 8px; margin-top: 16px; max-width: 460px; }
.email-form input[type="email"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; background: var(--bg-deep); border: 1px solid var(--inactive);
  color: var(--cream); font: 400 15px var(--body); border-radius: 0; }
.email-form input[type="email"]::placeholder { color: var(--cream-dim); opacity: 0.7; }
.email-form input[type="email"]:focus-visible { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; }
.foot .links a { overflow-wrap: anywhere; font: 400 11px/1.5 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none; transition: color 0.2s ease; }
.foot .links a:hover { color: var(--amber); }
.foot .links a:active { opacity: 0.7; }
.foot .legal { font-size: 12px; line-height: 1.6; color: var(--cream-dim); }
@media (max-width: 900px) { .foot .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ═══ Home · direzione C «Rivista» ════════════════════════════════════════ */

/* 1. Copertina */
.cover { overflow: hidden; }
.cover-art { position: absolute; inset: 0 0 0 38%; }
.cover-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.cover-art::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(28, 28, 30, 0.82) 22%, rgba(28, 28, 30, 0.1) 60%, rgba(28, 28, 30, 0.35) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(28, 28, 30, 0.92) 20%, transparent 50%); }
.cover::after { background-image: url('/textures/grain_film_web.jpg'); mix-blend-mode: overlay; opacity: 0.18; z-index: 2; }
.cover .wrap { position: relative; z-index: 3; padding-top: 48px; padding-bottom: 40px; min-height: calc(100vh - 64px); max-height: 836px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.masthead { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--inactive); padding-bottom: 12px; }
.masthead span:last-child { background: var(--bg); padding: 0 0 0 12px; }
.cover h1 { font: 700 76px/0.98 var(--display); letter-spacing: 0.01em; text-transform: uppercase; max-width: 900px; margin-top: 32px; }
.cover h1 em { font-style: normal; color: var(--amber); display: block; }
.cover .deck { display: flex; align-items: center; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.cover .deck p { font: 400 14px/1.5 var(--body); color: var(--cream-dim); }
.cover .deck strong { color: var(--cream); font-weight: 500; }
.lines { display: grid; grid-template-columns: repeat(3, 1fr) auto; border-top: 1px solid var(--inactive); }
.cl { padding: 20px 24px 0 0; margin-right: 24px; border-right: 1px solid var(--bg-subtle); text-decoration: none; display: grid; gap: 8px; align-content: start; }
.cl:last-of-type { border-right: 0; }
.cl .k { font: 500 10px/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--acc); }
.cl h2 { font: 700 20px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.cl p { font: 400 14px/1.45 var(--body); color: var(--cream-dim); }
.cl .p { font: 500 13px/1 var(--mono); color: var(--cream); }
.cl:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cl:active { opacity: 0.8; }
.lines .all { padding-top: 20px; display: grid; gap: 12px; align-content: start; justify-items: start; }
.lines .all .lnk { font: 400 13px/1 var(--body); }

/* 2. Catalogo */
.owned { font-size: 14px; color: var(--cream-dim); margin-bottom: 32px; }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
.entry { display: grid; gap: 10px; align-content: start; }
.entry .img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-raised); border: 1px solid var(--bg-subtle); transition: border-color 0.2s ease; }
.entry .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.entry:hover .img { border-color: var(--acc); }
.entry:hover .img img { transform: scale(1.03); }
.entry .k { font: 500 10px/1.4 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--acc); margin-top: 6px; min-height: 2.8em; }
.entry h3 { font: 700 24px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry p { font: 400 14px/1.5 var(--body); color: var(--cream-dim); }
.entry .buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--bg-subtle); }
.entry .price { font: 700 22px/1 var(--display); }
.entry .price.free { font: 500 14px/1 var(--body); color: var(--cream-dim); }
.entry .btn { min-height: 40px; padding: 0 18px; --btn: var(--acc-btn, var(--acc)); --btn-text: var(--acc-btn-text, var(--bg)); }
.entry.tile { background: var(--bg-raised); border: 1px solid var(--bg-subtle); padding: 28px; text-decoration: none; align-content: space-between; transition: border-color 0.2s ease; }
.entry.tile:hover { border-color: var(--amber-dim); }
.entry.tile:active { opacity: 0.85; }
.entry.tile h3 { font-size: 36px; line-height: 0.95; }
.entry.tile h3 em { font-style: normal; color: var(--amber); }
.entry.tile .lnk { justify-self: start; }

/* 3. Bundle */
.bundle { position: relative; background: var(--bg-deep); border-top: 1px solid var(--bg-subtle); overflow: hidden; }
.bundle-art { position: absolute; top: 0; bottom: 0; right: 0; width: 56%; }
.bundle-art img { width: 100%; height: 100%; object-fit: cover; }
.bundle-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(20, 20, 22, 0) 40%); }
.bundle .wrap { position: relative; padding-top: 96px; padding-bottom: 96px; }
.bundle-in { max-width: 520px; }
.bundle h2 { font: 700 64px/0.95 var(--display); text-transform: uppercase; }
.bundle h2 em { font-style: normal; color: var(--amber); display: block; }
.prices { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--bg-subtle); }
.prices li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bg-subtle); font: 400 14px/1.4 var(--body); color: var(--cream-dim); }
.prices li span:last-child { font-family: var(--mono); color: var(--cream); }
.prices li.sum { color: var(--cream); }
.prices li.sum span:last-child { color: var(--cream-dim); }
.prices li.tot { border-bottom: 0; padding-top: 14px; font: 700 18px/1 var(--display); color: var(--cream); text-transform: uppercase; letter-spacing: 0.04em; }
.prices li.tot span:last-child { font: 700 24px/1 var(--display); color: var(--amber); }
.bundle .btn { margin-top: 24px; min-width: 220px; }
.terms { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 6px; }
.terms li { font: 400 11px/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); }
.terms li::before { content: '\2014\00a0'; color: var(--amber); }

/* 4. Why these */
.why-row { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; padding: 40px 0; border-top: 1px solid var(--bg-subtle); align-items: start; }
.why-row:first-of-type { border-top: 0; padding-top: 0; }
.why-row .claim { font: 700 44px/1.02 var(--display); text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.why-row .claim::before { content: '\201C'; color: var(--acc); }
.why-row .claim::after { content: '\201D'; color: var(--acc); }
.why-row .who { font: 500 11px/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--acc); }
.why-row .proof { font-size: 15px; color: var(--cream-dim); margin: 12px 0 16px; }
.why-row .proof strong { color: var(--cream); font-weight: 500; }

/* 5. Stampa */
.press { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--bg-subtle); }
.press a { font: 500 16px/1.4 var(--display); color: var(--cream); text-decoration: none; transition: color 0.2s ease; }
.press a:hover { color: var(--amber); }
.press a:active { opacity: 0.7; }

/* 6. About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.about-grid img { width: 100%; border: 1px solid var(--bg-subtle); }
.about-grid h2 { font: 700 40px/1.02 var(--display); text-transform: uppercase; }
.about-grid h2 em { font-style: normal; color: var(--amber); }
.about-grid p { font-size: 17px; line-height: 1.6; color: var(--cream-dim); margin-top: 20px; max-width: 34em; }
.about-grid p strong { color: var(--cream); font-weight: 500; }
.about-grid .place { display: block; margin-top: 20px; }
.about-grid .lnk { display: inline-block; margin-top: 24px; }

@media (max-width: 1100px) {
  .cover .wrap { max-height: none; }
  .cover h1 { font-size: 56px; }
  .lines { grid-template-columns: 1fr 1fr; }
  .lines .all { grid-column: 1 / -1; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .why-row { grid-template-columns: 1fr; gap: 16px; }
  .why-row .claim { font-size: 34px; }
}
@media (max-width: 860px) {
  .bundle-art { position: relative; width: auto; height: 260px; }
  .bundle-art::before { background: linear-gradient(0deg, var(--bg-deep) 0%, rgba(20, 20, 22, 0) 50%); }
  .bundle .wrap { padding-top: 24px; padding-bottom: 64px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .cover-art { inset: 0 0 auto 0; height: 300px; }
  .cover-art img { object-position: 60% 50%; }
  .cover-art::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(28, 28, 30, 0.4) 60%, rgba(28, 28, 30, 0.2) 100%); }
  .cover .wrap { min-height: 0; padding-top: 24px; gap: 24px; }
  .masthead { display: none; }
  .cover h1 { font-size: 34px; margin-top: 200px; }
  .cover .deck { gap: 16px; }
  .lines { grid-template-columns: 1fr; }
  .cl { border-right: 0; border-bottom: 1px solid var(--bg-subtle); padding: 16px 0; margin: 0; }
  .cl p { display: none; }
  .catalog { grid-template-columns: 1fr; gap: 40px; }
  .bundle h2 { font-size: 44px; }
  .why-row .claim { font-size: 28px; }
  .about-grid h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .lnk, .entry .img img, .skip-link { transition: none; }
}

/* ═══ Righe del listino (direzione A): «More machines» nelle schede, listino della 404 ═══════════════ */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bg-subtle); }
.row { position: relative; display: grid; grid-template-columns: 128px minmax(170px, 1.1fr) 160px minmax(220px, 2fr) 72px 120px; gap: 24px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--bg-subtle); }
.row::before { content: ''; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; background: var(--acc); opacity: 0; transition: opacity 0.2s ease; }
.row:hover::before { opacity: 1; }
.row .thumb { display: block; width: 128px; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-raised); }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.row:hover .thumb img { transform: scale(1.04); }
.row h3 { font: 700 20px/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.row h3 a:focus-visible, .row .thumb:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.row .machine { font: 400 12px/1.4 var(--mono); color: var(--cream-dim); }
.row .line { font: 400 14px/1.5 var(--body); color: var(--cream-dim); }
.row .price { font: 500 20px/1 var(--display); text-align: right; }
.row .price.free { font-size: 14px; color: var(--cream-dim); }
.row .btn { min-height: 40px; padding: 0 16px; width: 100%; --btn: var(--acc-btn, var(--acc)); --btn-text: var(--acc-btn-text, var(--bg)); }
@media (max-width: 1100px) {
  .row { grid-template-columns: 112px 1fr auto; grid-template-areas: 'thumb name price' 'thumb machine btn' 'line line line'; gap: 4px 16px; padding: 16px 0; }
  .row .thumb { grid-area: thumb; width: 112px; }
  .row h3 { grid-area: name; font-size: 18px; }
  .row .machine { grid-area: machine; }
  .row .line { grid-area: line; font-size: 13px; margin-top: 8px; }
  .row .price { grid-area: price; font-size: 18px; }
  .row .act { grid-area: btn; }
  .row .btn { min-height: 36px; width: auto; min-width: 112px; }
}
@media (max-width: 640px) { .row { grid-template-columns: 88px 1fr auto; } .row .thumb { width: 88px; } .row .line { display: none; } }
.row > * { min-width: 0; }
@media (max-width: 400px) {
  .row { grid-template-columns: 64px 1fr auto; gap: 4px 12px; }
  .row .thumb { width: 64px; }
  .row h3 { font-size: 16px; }
  .row h3 a { overflow-wrap: anywhere; }
  .row .btn { min-width: 92px; padding: 0 10px; }
  .facts .buy.buy--two { grid-template-columns: 1fr; }
}

/* ═══ Scheda · direzione A «Listino»: foglio dati ════════════════════════════════════════════════════ */
.crumb { padding-top: 24px; text-wrap: balance; }
.sec-head .mono { text-wrap: balance; }
.crumb a { color: var(--cream-dim); text-decoration: none; transition: color 0.2s ease; }
.crumb a:hover { color: var(--amber); }
.crumb a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.sheet { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.facts .eyebrow { margin-bottom: 16px; }
.facts h1 { font: 700 56px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.facts .head { font: 500 20px/1.35 var(--display); margin-top: 16px; }
.facts .tagline { font-size: 15px; color: var(--cream-dim); margin-top: 12px; }
.rows { margin: 24px 0 0; border-top: 1px solid var(--bg-subtle); }
.rows div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--bg-subtle); }
.rows dt { font: 400 11px/1.6 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-dim); }
.rows dd { margin: 0; font: 400 14px/1.5 var(--body); }
.facts .buy { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; align-items: center; margin-top: 24px; }
.facts .buy--two { grid-template-columns: 1fr 1fr; }
.facts .buy .price { font: 700 40px/1 var(--display); }
.facts .buy .price.free { font-size: 28px; }
.facts .buy .btn { width: 100%; }
.facts .buy .alt { grid-column: 1 / -1; font: 400 13px/1.5 var(--body); color: var(--cream-dim); }
.facts .proof { margin-top: 16px; font: 400 13px/1.5 var(--body); color: var(--cream-dim); }
.facts .proof strong { color: var(--cream); font-weight: 500; }
.plate { margin: 0; padding: 40px; background: var(--bg-deep); border: 1px solid var(--bg-subtle); }
.plate::after { background-image: url('/textures/graph_paper_web.jpg'); mix-blend-mode: screen; opacity: 0.12; }
.plate img { position: relative; z-index: 1; width: 100%; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5); }
.plate figcaption { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.ticks { position: absolute; left: 40px; right: 40px; top: 16px; height: 8px; z-index: 1;
  background: repeating-linear-gradient(90deg, var(--inactive) 0 1px, transparent 1px 32px); opacity: 0.6; }

/* capitoli numerati */
.ch { display: grid; grid-template-columns: 3fr 9fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--bg-subtle); }
.ch > header .no { display: block; font: 500 11px/1 var(--mono); letter-spacing: 0.15em; color: var(--acc); margin-bottom: 12px; }
.ch > header h2 { font: 700 24px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.ch p { color: var(--cream-dim); }
.ch strong { color: var(--cream); font-weight: 500; }
.ch a { color: var(--cream); text-decoration-color: var(--amber-dim); text-underline-offset: 4px; transition: color 0.2s ease; }
.ch a:hover { color: var(--amber); }
.ch a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.quotes .clip:nth-child(2) { margin-top: 0; }
.quotes .clip blockquote p { margin: 0; color: var(--bg); }
.quotes .clip a { color: var(--bg); }
.quotes .clip .clip-when { color: #3A3A3C; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--bg-subtle); }
.feature { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--bg-subtle); }
.feature:nth-child(odd) { border-right: 1px solid var(--bg-subtle); }
.feature:nth-child(even) { padding-left: 24px; }
.feature h3 { font: 700 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.feature p { font-size: 15px; }
.heritage-split { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: stretch; }
.heritage-prose p + p { margin-top: 16px; }
.heritage-prose small { display: block; font-size: 12px; line-height: 1.6; color: var(--cream-dim); }
.heritage-split figure { margin: 0; position: relative; min-height: 320px; border: 1px solid var(--bg-subtle); }
.heritage-split figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spec-table { margin: 0; border-top: 1px solid var(--bg-subtle); }
.spec-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--bg-subtle); }
.spec-row dt { font: 400 11px/1.7 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-dim); }
.spec-row dd { margin: 0; font-size: 15px; }
.ch .changes-lead { font: 500 18px/1.4 var(--display); color: var(--cream); margin-bottom: 20px; }
.changes-note { margin-top: 20px; font-size: 14px; }
details.more > summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; font: 400 11px/1 var(--mono);
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-dim); padding: 8px 0; transition: color 0.2s ease; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: '+'; color: var(--acc); font-size: 14px; }
details.more[open] > summary::after { content: '\2212'; }
details.more > summary:hover { color: var(--cream); }
details.more > summary:focus-visible, .faq-item > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
details.more[open] > summary { margin-bottom: 20px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bg-subtle); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--bg-subtle); }
.step-num { font: 500 13px/1.6 var(--mono); color: var(--acc); }
.step h3 { font: 700 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.faq-item { border-bottom: 1px solid var(--bg-subtle); }
.faq-item:first-of-type { border-top: 1px solid var(--bg-subtle); }
.faq-item > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 14px 0;
  font: 500 16px/1.4 var(--display); transition: color 0.2s ease; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; font-family: var(--mono); color: var(--acc); }
.faq-item[open] > summary::after { content: '\2212'; }
.faq-item > summary:hover { color: var(--amber); }
.faq-item > p { padding-bottom: 16px; font-size: 15px; }
.close { display: grid; grid-template-columns: 3fr 9fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--bg-subtle); border-bottom: 1px solid var(--bg-subtle); }
.close .acc { color: var(--acc); }
.close .price { font: 700 72px/1 var(--display); }
.close .price.free { font-size: 48px; }
.close .act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.close .btn { min-width: 220px; }
.close p { font-size: 14px; color: var(--cream-dim); max-width: 36em; }
.more-sec { padding: 64px 0 96px; }
.more-sec header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.more-sec h2 { font: 700 24px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 10px var(--px);
  background: rgba(20, 20, 22, 0.96); border-top: 1px solid var(--bg-subtle); transform: translateY(100%); transition: transform 0.2s ease; }
.buybar.on { transform: none; }
.buybar .n { flex: 1; font: 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.buybar .p { font: 700 20px/1 var(--display); }
.buybar .btn { min-height: 44px; min-width: 140px; }

/* ═══ Documenti A (manuali, Support, Privacy, Terms): indice laterale e capitoli a filo ══════════════ */
.doc-head { padding: 0 0 48px; border-bottom: 1px solid var(--bg-subtle); }
.doc-head h1 { font: 700 56px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; margin-top: 32px; }
.doc-head .updated { margin-top: 16px; }
.doc { display: grid; grid-template-columns: 3fr 9fr; gap: 48px; padding: 32px 0 96px; align-items: start; }
.doc--ruled { border-top: 1px solid var(--bg-subtle); }
.doc-toc { position: sticky; top: 24px; }
.doc-toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--bg-subtle); }
.doc-toc li { border-bottom: 1px solid var(--bg-subtle); }
.doc-toc a { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 8px 0; font: 400 13px/1.4 var(--body); color: var(--cream-dim);
  text-decoration: none; transition: color 0.2s ease; }
.doc-toc a span { font: 500 11px/1.6 var(--mono); color: var(--acc, var(--amber)); }
.doc-toc a:hover { color: var(--cream); }
.doc-toc a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.body { max-width: 760px; }
.body h2 { display: flex; gap: 16px; align-items: baseline; font: 700 24px/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  margin: 56px 0 16px; padding-top: 16px; border-top: 1px solid var(--bg-subtle); scroll-margin-top: 24px; }
.body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.body h2 .no { font: 500 11px/1 var(--mono); letter-spacing: 0.15em; color: var(--acc, var(--amber)); flex-shrink: 0; }
.body h3 { font: 700 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin: 32px 0 8px; }
.body p, .body li { color: var(--cream-dim); font-size: 16px; line-height: 1.7; }
.body p + p { margin-top: 14px; }
.body ul, .body ol { padding-left: 20px; margin: 12px 0; }
.body strong { color: var(--cream); font-weight: 500; }
.body a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--amber-dim); text-underline-offset: 4px; transition: color 0.2s ease; }
.body a:hover { color: var(--amber); }
.body a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.body code { font: 400 13px/1.6 var(--mono); color: var(--cream); background: var(--bg-raised); padding: 1px 6px; }
.body img { margin: 16px 0; border: 1px solid var(--bg-subtle); }
.body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.body th { text-align: left; font: 400 11px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim);
  padding: 8px 12px 8px 0; border-bottom: 1px solid var(--inactive); }
.body td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--bg-subtle); color: var(--cream-dim); vertical-align: top; }
.body td:first-child { color: var(--cream); font-family: var(--mono); font-size: 13px; }
.manual-table-wrap { overflow-x: auto; }
/* gli elementi di una griglia non scendono sotto la larghezza del contenuto: una tabella larga allargava tutta la colonna
   (manuali di Compatto e AlphaRail a 390 px, F4). Le tabelle scorrono dentro .manual-table-wrap. */
.doc > *, .ch > *, .sheet > *, .art > *, .heritage-split > * { min-width: 0; }

/* ═══ About · articolo C ════════════════════════════════════════════════════════════════════════════ */
.art-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--bg-subtle); }
.art-head .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; padding-top: 24px; padding-bottom: 64px; }
.art-head .crumb { padding-top: 0; }
.art-head h1 { font: 700 88px/0.95 var(--display); text-transform: uppercase; margin-top: 24px; }
.art-head h1 em { font-style: normal; color: var(--amber); display: block; }
.art-head .stand p { font: 400 20px/1.55 var(--body); color: var(--cream-dim); margin-top: 32px; max-width: 34em; }
.art-head .stand strong { color: var(--cream); font-weight: 500; }
.art-head img { border: 1px solid var(--bg-subtle); }
.art { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 48px; padding-top: 64px; padding-bottom: 96px; }
.art .body h2 { border-top: 0; padding-top: 0; }
.pull { align-self: start; position: sticky; top: 24px; border-top: 2px solid var(--amber); padding-top: 16px; }
.pull blockquote { margin: 0; font: 700 26px/1.15 var(--display); text-transform: uppercase; }
.pull p { margin-top: 12px; font-size: 13px; color: var(--cream-dim); }

/* ═══ 404 · copertina C ═════════════════════════════════════════════════════════════════════════════ */
.nf { position: relative; overflow: hidden; border-bottom: 1px solid var(--bg-subtle); }
.nf-art { position: absolute; inset: 0 0 0 45%; }
.nf-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; opacity: 0.45; filter: saturate(0.6); }
.nf-art::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 24%, rgba(28, 28, 30, 0.2) 70%); }
.nf .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.nf h1 { font: 700 160px/0.9 var(--display); }
.nf h1 span { color: var(--amber); }
.nf p { font-size: 18px; color: var(--cream-dim); margin-top: 24px; max-width: 30em; }
.nf .act { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 32px; }
.nf-list { padding-top: 64px; padding-bottom: 96px; }
.nf-list h2 { font: 700 24px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 24px; }

@media (min-width: 1001px) { .sheet > .plate { position: sticky; top: 24px; } }
@media (max-width: 1000px) {
  .sheet { grid-template-columns: 1fr; gap: 32px; }
  .plate { order: -1; padding: 24px 16px; }
  .ticks { left: 16px; right: 16px; top: 8px; }
  .ch, .close { grid-template-columns: 1fr; gap: 24px; }
  .heritage-split { grid-template-columns: 1fr; gap: 24px; }
  .heritage-split figure { order: -1; min-height: 220px; }
  .doc { grid-template-columns: 1fr; gap: 32px; }
  .doc-toc { position: static; }
  .art-head .wrap { grid-template-columns: 1fr; }
  .art-head h1 { font-size: 56px; }
  .art { grid-template-columns: 1fr; gap: 32px; }
  .pull { position: static; }
  .art .doc-toc { display: none; }
}
@media (max-width: 640px) {
  .sheet { padding-top: 16px; padding-bottom: 48px; }
  .facts { display: flex; flex-direction: column; }
  .facts .buy { order: 1; margin-top: 20px; }
  .rows { order: 2; }
  .facts .proof { order: 3; }
  .facts .tagline { display: none; }
  .facts .buy--two { grid-template-columns: auto 1fr; }
  .facts h1 { font-size: 40px; }
  .facts .head { font-size: 18px; }
  .plate figcaption { flex-direction: column; gap: 8px; margin-top: 16px; }
  .ch { padding: 48px 0; }
  .quotes, .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(odd) { border-right: 0; }
  .feature:nth-child(even) { padding-left: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .close .price { font-size: 56px; }
  .close .btn { flex: 1; }
  .doc-head h1 { font-size: 36px; }
  .body h2 { font-size: 20px; }
  .art-head h1 { font-size: 40px; }
  .art-head .stand p { font-size: 17px; }
  .nf-art { inset: 0; }
  .nf-art img { opacity: 0.18; }
  .nf-art::before { background: rgba(28, 28, 30, 0.5); }
  .nf h1 { font-size: 96px; }
  .nf .wrap { padding-top: 64px; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .buybar, .row .thumb img { transition: none; } }
