/* HACCP Pronto – design system */
@font-face { font-family: 'IBM Plex Sans'; src: url(/assets/fonts/IBMPlexSans-Variable.woff2) format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; font-style: italic; src: url(/assets/fonts/IBMPlexSans-Variable-Italic.woff2) format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/assets/fonts/IBMPlexMono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/assets/fonts/IBMPlexMono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(/assets/fonts/IBMPlexMono-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #121614; --ink-2: #383e3b; --muted: #646a67; --faint: #8c918e;
  --paper: #faf9f6; --paper-2: #f1efea; --card: #fff; --line: #dddad3; --line-2: #c9c5bc;
  --green: #166534; --green-2: #15803d; --green-tint: #e8f6ec; --green-tint-2: #c9ebd4; --tint-soft: #f3fbf5; --btn-hover: #14532d; --ring: rgb(21 128 61 / .16); --offer: var(--green);
  --tomato: #e2533a; --tomato-tint: #fbe9e4; --cream: #f6f1e7; --amber-tint: #fbf3dc;
  --r: 4px; --r-sm: 3px; --r-lg: 6px;
  --shadow: 0 1px 0 rgb(0 0 0 / .03);
  --shadow-lg: 0 1px 2px rgb(0 0 0 / .06), 0 14px 34px -20px rgb(0 0 0 / .32);
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-2); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; margin-top: 1.6em; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.005em; }
[tabindex="-1"]:focus { outline: none; }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin: .25em 0; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small, small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header / footer */
.top { position: sticky; top: 0; z-index: 30; background: rgb(250 249 246 / .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.06rem; letter-spacing: -.02em; }
.logo img { width: 28px; height: 28px; }
.logo em { font-style: normal; color: var(--green-2); margin-left: .28em; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .94rem; }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }
.crumbs { font-size: .85rem; color: var(--muted); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }
main { min-height: 60vh; }
.bot { margin-top: 120px; background: var(--paper-2); padding: 64px 0 36px; font-size: .92rem; color: var(--muted); }
.bot .fgrid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px 40px; }
.bot .fbrand p { max-width: 26em; margin: 14px 0 0; line-height: 1.55; }
.bot .logo { font-size: 1.06rem; }
.bot .fmail { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.bot .fmail:hover { border-color: var(--ink); }
.bot h2 { font: 600 .92rem var(--sans); color: var(--ink); margin: 6px 0 14px; letter-spacing: 0; }
.bot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bot li a { color: var(--ink-2); text-decoration: none; }
.bot li a:hover { color: var(--green); }
.bot .flegal { margin: 52px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; max-width: none; }
@media (max-width: 860px) { .bot .fgrid { grid-template-columns: 1fr 1fr; } .bot .fbrand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .bot .fgrid { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid var(--green); background: var(--green); color: #fff; font: 600 .98rem var(--sans); box-shadow: none; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .choice:focus-within, .chip:focus-within, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgb(47 107 87 / .35); outline-offset: 2px; }
.btn.ghost, .btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.ghost:hover, .btn.secondary:hover { background: var(--ink); color: var(--paper); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--ink-2); padding: 0 12px; box-shadow: none; }
.btn.quiet:hover { background: var(--paper-2); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn[disabled], .btn.loading { opacity: .55; pointer-events: none; }
.btn.loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cards & bits */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 0 rgb(20 35 30 / .03); }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 500 .74rem var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--green); background: var(--green-tint); border-radius: 2px; padding: 4px 10px; }
.badge.warn { color: #8a4b0f; background: var(--amber-tint); }
.note { background: var(--amber-tint); border: 1px solid #efe0b4; border-radius: var(--r-sm); padding: 14px 16px; font-size: .94rem; }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 28px; }
.check li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.grid { display: grid; gap: 16px; }
.grid.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price { font-size: 2.6rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; margin: 10px 0; }
.price small { font: .9rem var(--sans); color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 12px 0 20px; }
table.t th, table.t td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 8px; }
table.t th { width: 38%; font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 300 1.6rem var(--sans); color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: -6px 0 18px; max-width: 46em; }
.ok { color: var(--green); font-weight: 600; }
.err { color: #b3361f; }

/* Forms */
label { display: block; font-weight: 550; font-size: .95rem; margin: 16px 0 6px; }
label .opt { font-weight: 400; color: var(--faint); }
input[type=text], input[type=email], input[type=number], input[type=tel], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 1rem var(--sans); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #a7afab; }
input:hover, select:hover, textarea:hover { border-color: #c2b9a7; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px var(--ring); outline: none; }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); width: 18px; height: 18px; margin: 0; flex: none; }
.inline { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.inline input { margin-top: 3px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row2 > div > label:first-child { margin-top: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.opts label { display: flex; gap: 10px; align-items: center; margin: 0; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }

/* Cookie banner */
#cookie { display: none; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; background: var(--ink); color: #e8ece9; border-radius: var(--r); padding: 18px 18px 16px; font-size: .92rem; box-shadow: var(--shadow-lg); }
#cookie.show { display: block; animation: rise .3s ease-out; }
#cookie a { color: #fff; }
#cookie .acts { display: flex; gap: 8px; margin-top: 12px; }
#cookie .btn { min-height: 40px; font-size: .9rem; background: var(--cream); color: var(--ink); border-color: var(--cream); }
#cookie .btn.ghost { background: transparent; color: #e8ece9; border-color: #4b5b55; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Home ---------- */
.hero { padding: 56px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero .meta .i { width: 16px; height: 16px; color: var(--green-2); }
@media (max-width: 880px) { .hero { padding-top: 28px; } .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Hero visual: pagine reali del manuale */
.hero-vis { position: relative; max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 1 / 1.05; }
.hero-vis img { position: absolute; width: 70%; height: auto; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(15 28 23 / .06), 0 18px 40px -20px rgb(15 28 23 / .35); background: #fff; }
.hero-vis .p1 { left: 0; top: 0; }
.hero-vis .p2 { right: 0; bottom: 0; }
.hero-vis { margin-bottom: 30px; }
.hero-vis figcaption { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-size: .8rem; color: var(--muted); }
@media (max-width: 880px) { .hero-vis { max-width: 420px; } }

.section { padding: 72px 0 0; }
.section .head { max-width: 640px; margin-bottom: 32px; }
.section .head h2 { margin-top: 0; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps3 > div { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.steps3 .n { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); font-weight: 650; font-size: .95rem; }
.steps3 h3 { margin: 12px 0 6px; }
.steps3 p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; gap: 10px; } .steps3 > div { display: grid; grid-template-columns: 40px 1fr; padding: 16px 18px; } .steps3 .n { grid-row: span 2; } .steps3 h3 { margin: 2px 0 2px; } }

.get { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.get > div { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.get .ico { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); margin-bottom: 14px; }
.get h3 { margin-bottom: 4px; }
.get p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .get { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .get { gap: 10px; } .get > div { padding: 16px; } .get .ico { width: 32px; height: 32px; margin-bottom: 10px; } .get p { font-size: .85rem; } }

.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--offer); color: var(--cream); }
.offer > div { padding: 40px; }
.offer h2 { color: #fff; margin: 0 0 6px; }
.offer .amount { font-size: 3.6rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: #fff; margin: 18px 0 8px; }
.offer .amount small { font: 500 1rem var(--sans); letter-spacing: 0; color: rgb(255 255 255 / .7); margin-left: 10px; }
.offer p { color: rgb(255 255 255 / .78); }
.offer .check li::before { background-color: rgb(255 255 255 / .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f1e7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.offer .check li { color: rgb(255 255 255 / .92); margin: .55em 0; }
.offer .r { background: rgb(0 0 0 / .14); display: flex; flex-direction: column; justify-content: center; }
.offer .btn { background: #fff; color: var(--offer); border-color: #fff; }
.offer .btn:hover { background: #fff; }
.offer .fine { font-size: .85rem; color: rgb(255 255 255 / .62); margin: 14px 0 0; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } .offer > div { padding: 28px; } }

.honest { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--paper-2); color: var(--ink-2); font-size: .94rem; margin-top: 20px; }
.honest .i { color: var(--green-2); margin-top: 2px; }
.honest p { margin: 0; }

/* Fonti: banda sotto l'hero */
.band { border-bottom: 1px solid var(--line); background: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 16px; padding-bottom: 16px; font-size: .86rem; color: var(--muted); }
.band b { font-weight: 550; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split h2 { margin-top: 0; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; }
.feat li { display: flex; gap: 14px; margin: 0; }
.feat li > .i { width: 34px; height: 34px; padding: 8px; border-radius: 8px; background: var(--green-tint); color: var(--green); flex: none; }
.feat b { font-weight: 600; }
.feat p { margin: 2px 0 0; color: var(--muted); font-size: .94rem; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 5px; }
.trust .i { width: 14px; height: 14px; color: var(--green-2); }

/* ---------- Prose pages (SEO, legal) ---------- */
.prose { padding-top: 12px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 18px 0 16px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.prose h3 { margin-top: 1.4em; }
.prose li { margin: .4em 0; }
.prose .card { margin: 24px 0; }
.prose .btn { margin: 4px 0; }

/* ---------- Guide ---------- */
.guide { padding-top: 6px; }
.guide .kicker { margin: 18px 0 8px; font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.guide h1 { margin-top: 0; }
.guide .meta { color: var(--muted); font: .8rem var(--mono); margin: -4px 0 20px; }
.inbreve { border: 0; border-left: 3px solid var(--green); background: #fff; border-radius: 0; padding: 16px 20px; margin: 0 0 24px; box-shadow: 0 0 0 1px var(--line); }
.inbreve b { display: block; font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.inbreve p { margin: 0; font-size: 1.04rem; color: var(--ink); }
.toc { border-left: 3px solid var(--line); padding: 4px 0 4px 16px; margin: 0 0 26px; font-size: .94rem; }
.toc b { display: block; font-size: .85rem; margin-bottom: 4px; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }
.guide h2 { scroll-margin-top: 80px; font-size: clamp(1.35rem, 2.6vw, 1.65rem); margin-top: 1.8em; }
.guide h3 { margin-top: 1.4em; }
.table-wrap { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
.table-wrap th { background: var(--paper-2); text-align: left; font-weight: 600; }
.table-wrap th, .table-wrap td { padding: 9px 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.cta-box { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 32px 0; padding: 22px; border-radius: 0; background: var(--ink); color: #fff; }
.cta-box b { font-size: 1.05rem; }
.cta-box p { margin: 4px 0 0; color: rgb(255 255 255 / .82); font-size: .93rem; }
.cta-box .btn { background: var(--green); color: #fff; border-color: var(--green); flex: none; }
@media (max-width: 640px) { .cta-box { flex-direction: column; align-items: flex-start; } }
.fonti ul { font-size: .9rem; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.rel-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 550; font-size: .94rem; }
.rel-grid a:hover { border-color: var(--green-2); }
.rel-grid .i { width: 16px; height: 16px; color: var(--green-2); flex: none; }
.guide-index h1 { margin-top: 18px; }
.gi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.gi-grid a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); background: #fff; }
.gi-grid a:hover { border-color: var(--green-2); }
.gi-grid b { display: block; font-weight: 600; margin-bottom: 4px; }
.gi-grid span { color: var(--muted); font-size: .88rem; }

/* ---------- Wizard ---------- */
body[data-page=questionario] .bot, body[data-page=questionario] .top nav a:not(.btn), body[data-page=questionario] .crumbs { display: none; }
body[data-page=questionario] .top .btn { display: none; }
.wz { max-width: 680px; margin: 0 auto; padding: 0 20px 140px; }
.wz-top { position: sticky; top: 64px; z-index: 20; background: var(--paper); padding: 10px 0 6px; }
.wz-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.wz-progress i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 4px; transition: width .35s ease; }
.wz-meta { display: flex; justify-content: space-between; font: .76rem var(--mono); letter-spacing: .02em; color: var(--muted); margin-top: 8px; }
.wz-saved { display: inline-flex; align-items: center; gap: 4px; opacity: 0; transition: opacity .3s; }
.wz-saved.on { opacity: 1; }
.wz-saved .i { width: 13px; height: 13px; }
.wz-step { padding-top: 28px; animation: stepin .32s ease; }
.wz-step.back { animation-name: stepback; }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
@keyframes stepback { from { opacity: 0; transform: translateX(-14px); } }
.wz-step h1 { font-size: clamp(1.7rem, 4.6vw, 2.25rem); margin-bottom: 8px; }
.wz-step .sub { color: var(--muted); margin-bottom: 24px; font-size: 1.02rem; }
.wz-nav { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; background: rgb(250 249 246 / .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.wz-nav .in { max-width: 680px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; }
.wz-nav .next { margin-left: auto; min-width: 150px; }
.wz-error { color: #b3361f; font-size: .92rem; margin: 12px 0 0; min-height: 1.2em; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 620px) { .choices.c3 { grid-template-columns: repeat(3, 1fr); } }
.choices.c1 { grid-template-columns: 1fr; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 14px; min-height: 60px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; font-weight: 500; font-size: .98rem; line-height: 1.25; transition: border-color .15s, background .15s, transform .1s; }
.choice:hover { border-color: #c9c0ae; }
.choice:active { transform: scale(.99); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .ico { width: 44px; height: 44px; flex: none; border-radius: 3px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); transition: background .15s, color .15s; }
.choice .txt small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.choice .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; color: transparent; transition: all .15s; }
.choice .tick .i { width: 14px; height: 14px; stroke-width: 3; }
.choice:has(input:checked) { border-color: var(--green-2); background: var(--tint-soft); box-shadow: 0 0 0 1px var(--green-2); }
.choice:has(input:checked) .ico { background: var(--green-tint); color: var(--green); }
.choice:has(input:checked) .tick { background: var(--green); border-color: var(--green); color: #fff; }
.choice.danger:has(input:checked) { border-color: var(--tomato); background: #fff9f7; }
.choice.danger:has(input:checked) .tick { background: var(--tomato); border-color: var(--tomato); }
@media (min-width: 620px) { .choice.vertical { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 112px; padding: 16px; } .choice.vertical .tick { position: absolute; top: 12px; right: 12px; } }
@media (max-width: 619px) { .choices:has(.vertical) { grid-template-columns: 1fr 1fr; } .choice.vertical { padding: 10px; gap: 10px; min-height: 58px; font-size: .94rem; } .choice.vertical .ico { width: 34px; height: 34px; } .choice.vertical .tick { display: none; } .choice.vertical .txt small { font-size: .78rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; font-weight: 500; font-size: .94rem; cursor: pointer; transition: all .15s; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--green-tint); border-color: var(--green-2); color: var(--green); }
.chip.sm { padding: 5px 10px; font-size: .82rem; }
.chip.warn:has(input:checked) { background: var(--tomato-tint); border-color: var(--tomato); color: #a03a24; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: none; color: var(--green); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--green-tint); }
.stepper output { min-width: 44px; text-align: center; font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.field-row:last-child { border-bottom: 0; }
.field-row .lbl { font-weight: 550; }
.field-row .lbl small { display: block; color: var(--muted); font-weight: 400; }

.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; margin: 0; font-weight: 400; }
.drop:hover, .drop.over { border-color: var(--green-2); background: var(--tint-soft); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop .ico { width: 52px; height: 52px; border-radius: 3px; flex: none; display: grid; place-items: center; background: var(--green); color: var(--cream); }
.drop b { display: block; font-weight: 600; }
.drop span { color: var(--muted); font-size: .9rem; }
.drop.busy { pointer-events: none; }
.drop.busy .ico { background: var(--green-2); }
.drop.busy .ico .i { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ai-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); background: var(--green-tint); border-radius: var(--r-sm); padding: 12px 14px; margin: 12px 0; }
.ai-note .i { color: var(--green); width: 18px; height: 18px; margin-top: 1px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .85rem; margin: 22px 0 14px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.areas { display: grid; gap: 10px; }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 12px; }
.area-h { display: flex; align-items: center; gap: 10px; }
.area-h b { font-weight: 600; }
.area-h .x { margin-left: auto; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn .i { width: 18px; height: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 9px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px; font-size: .86rem; }
.tag button { border: 0; background: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); cursor: pointer; padding: 0; }
.tag button:hover { background: var(--line); color: var(--ink); }
.tag button .i { width: 12px; height: 12px; }
.tags input { flex: 1; min-width: 150px; min-height: 34px; border: 0; padding: 4px 6px; font-size: .9rem; background: transparent; }
.tags input:focus { box-shadow: none; }
.add-row { display: flex; gap: 8px; margin-top: 10px; }
.add-row input { min-height: 44px; }
.add-row .btn { min-height: 44px; }

.dishes { display: grid; gap: 8px; }
.dish { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 12px 14px; }
.dish-h { display: flex; align-items: center; gap: 8px; }
.dish-h input { border: 0; padding: 4px 0; min-height: 34px; font-weight: 600; font-size: 1rem; background: transparent; }
.dish-h input:focus { box-shadow: none; }
.dish .chips { margin-top: 6px; gap: 6px; }
.dish .chip.more { color: var(--muted); border-style: dashed; }
.dish .chip.more .i { width: 13px; height: 13px; }
.dish .chip.doubt:not(:has(input:checked)) { border-style: dashed; border-color: var(--tomato); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); margin: 8px 0 12px; }

.summary { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; }
.summary > div { display: flex; gap: 12px; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary > div:last-child { border-bottom: 0; }
.summary span { color: var(--muted); }
.summary b { font-weight: 550; text-align: right; }
.summary a { font-size: .85rem; margin-left: 8px; }

.stop { background: #fff; border: 1px solid #f2c7bd; border-radius: var(--r); padding: 22px; }
.stop h3 { color: #a03a24; }

/* Paper preview */
.pv { background: #eceeec; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 12px; margin: 8px 0 0; max-height: 78vh; overflow: auto; overscroll-behavior: contain; }
.pv .pg { position: relative; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgb(0 0 0 / .08), 0 10px 30px -18px rgb(0 0 0 / .3); padding: 34px 30px; margin: 0 auto 14px; max-width: 560px; font-size: .78rem; line-height: 1.5; color: #141414; overflow: hidden; }
.pv .pg::after { content: 'ANTEPRIMA'; position: absolute; inset: 0; display: grid; place-items: center; font: 600 3.4rem var(--sans); letter-spacing: .1em; color: rgb(0 0 0 / .05); transform: rotate(-28deg); pointer-events: none; }
.pv .cover { min-height: 420px; display: flex; flex-direction: column; }
.pv .cover .band { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: #1c1c1c; }
.pv .cover img { width: 30px; height: 30px; }
.pv .cover .k { margin-top: 90px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pv .cover .t2 { font-size: 1.7rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; color: #1c1c1c; margin-top: 8px; }
.pv .cover dl { margin: auto 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .74rem; border-top: 1px solid var(--line); padding-top: 12px; }
.pv .cover dt { color: var(--muted); }
.pv .cover dd { margin: 0; font-weight: 550; }
.pv h4 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; margin: 0 0 10px; }
.pv h5 { font-size: .8rem; color: #1c1c1c; margin: 14px 0 6px; }
.pv p { margin: 0 0 8px; }
.pv ul { margin: 0 0 8px; padding-left: 1.1em; }
.pv table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: .72rem; }
.pv th { background: #f0f0f0; text-align: left; font-weight: 600; }
.pv th, .pv td { border: 1px solid var(--line); padding: 5px 6px; vertical-align: top; }
.pv .flow { display: grid; gap: 4px; justify-items: start; margin: 8px 0; }
.pv .flow span { border: 1px solid #dcdcdc; background: #fafafa; border-radius: 6px; padding: 4px 10px; font-weight: 550; }
.pv .flow span + span::before { content: '↓ '; color: var(--faint); }
.pv .locked { display: flex; gap: 10px; align-items: center; background: var(--paper-2); border-radius: 8px; padding: 12px 14px; color: var(--muted); }
.pv .locked .i { width: 16px; height: 16px; }
.pv .toc li { display: flex; gap: 6px; } .pv .toc li::after { content: ''; flex: 1; border-bottom: 1px dotted var(--line-2); order: 1; margin-bottom: 4px; }
.pv .toc li span { order: 2; color: var(--faint); }
.pv .blur { filter: blur(3px); user-select: none; }

.pay { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.pay .tot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pay .tot b { font-size: 2.2rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.pay .tot span { color: var(--muted); font-size: .9rem; }
.pay ul { margin: 12px 0 4px; }
.pay .btn { width: 100%; margin-top: 16px; }
.pay .fine { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

.plan-thumb { display: block; margin-top: 12px; max-width: 100%; max-height: 260px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }

/* Anteprima PDF: pagine A4 tutte uguali */
.pv.pdf { padding: 14px; }
.pv .pdfpg { aspect-ratio: 210 / 297; max-width: 560px; margin: 0 auto 14px; background: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgb(0 0 0 / .1), 0 10px 30px -18px rgb(0 0 0 / .35); display: grid; place-items: center; overflow: hidden; }
.pv .pdfpg canvas { width: 100%; height: 100%; display: block; }
.pv .pdfpg:last-child { margin-bottom: 0; }

/* Generazione AI della bozza */
.gen { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 8px; box-shadow: var(--shadow); margin-bottom: 18px; }
.gen.ok { padding-bottom: 16px; border-color: var(--green-tint-2); background: var(--tint-soft); }
.gen p { color: var(--ink-2); font-weight: 400; }
.gen-h { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.gen-h b { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.gen-h b .i { width: 18px; height: 18px; color: var(--green); stroke-width: 2.4; }
.gen-h span { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.gen-t { font-variant-numeric: tabular-nums; color: var(--faint) !important; font-size: .85rem !important; margin: 2px 0 0 !important; }
.gen-bar { height: 6px; border-radius: 6px; background: var(--paper-2); margin: 14px 0 8px; overflow: hidden; }
.gen-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--green-2), var(--green)); transition: width .8s ease; position: relative; overflow: hidden; }
.gen-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent); animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.gen-steps { list-style: none; padding: 0; margin: 6px 0 0; }
.gen-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .93rem; color: var(--faint); transition: color .3s; }
.gen-steps li .b { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .3s; }
.gen-steps li .b .i { width: 12px; height: 12px; stroke-width: 3; opacity: 0; color: #fff; }
.gen-steps li small { color: var(--muted); font-size: .85rem; }
.gen-steps li.on { color: var(--ink); font-weight: 550; }
.gen-steps li.on .b { border-color: var(--green-2); border-right-color: transparent; animation: spin .9s linear infinite; }
.gen-steps li.done { color: var(--ink-2); }
.gen-steps li.done .b { background: var(--green-2); border-color: var(--green-2); animation: none; }
.gen-steps li.done .b .i { opacity: 1; }

/* Grazie / progress */
.prog { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 4px; }
.prog li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--faint); transition: color .3s; }
.prog li .b { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all .3s; }
.prog li .b .i { width: 15px; height: 15px; stroke-width: 2.6; opacity: 0; }
.prog li.on { color: var(--ink); font-weight: 550; }
.prog li.on .b { border-color: var(--green); border-right-color: transparent; animation: spin 1s linear infinite; }
.prog li.done { color: var(--ink-2); }
.prog li.done .b { background: var(--green); border-color: var(--green); color: #fff; animation: none; }
.prog li.done .b .i { opacity: 1; }
.files { list-style: none; padding: 0; display: grid; gap: 8px; }
.files a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); font-weight: 550; }
.files a:hover { border-color: var(--green); }
.files a .i { color: var(--green); }
.files small { margin-left: auto; color: var(--muted); font-weight: 400; }

/* Free allergen tool */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); margin: 24px 0; }
.sticky-cta { position: sticky; bottom: 12px; z-index: 5; margin-top: 14px; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow-lg); }

/* Checker */
#res .card { margin-top: 18px; }
#res ol { padding-left: 1.2em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* L'anteprima non si stampa: i file si ricevono con l'acquisto */
@media print { .pv, .gen { display: none !important; } body[data-page=questionario]::after { content: 'Per stampare il manuale scarica il PDF dopo l’acquisto.'; display: block; padding: 40px; font: 16px sans-serif; } }
.pv { user-select: none; -webkit-user-select: none; }

/* ---------- Linguaggio "carta": etichette mono, sezioni numerate, filetti ---------- */
.mono { font-family: var(--mono); }
.label { font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sec-h { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 28px; }
.sec-h .n { font: 500 .78rem var(--mono); color: var(--green); letter-spacing: .04em; white-space: nowrap; }
.sec-h h2 { margin: 0; }
.card { border-radius: var(--r); box-shadow: none; }
.faq summary { font-weight: 600; }
.faq details { border-color: var(--line-2); }
.table-wrap td, .table-wrap th { font-variant-numeric: tabular-nums; }
.table-wrap th { font: 600 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.toc { border-left-color: var(--ink); }
.rel-grid a, .gi-grid a { border-radius: 0; border-color: var(--line-2); background: #fff; }
.gi-grid a b { font-weight: 600; }
.files a { border-radius: 0; }
.pay { border-radius: 0; box-shadow: none; border-color: var(--line-2); }
.gen { border-radius: 0; box-shadow: none; border-color: var(--line-2); }
.summary { border-radius: 0; }
.choice { border-radius: 3px; }
.dish, .area, .drop { border-radius: 3px; }

/* ---------- Home ---------- */
.hero2 { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.hgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hcopy .label { margin-bottom: 18px; }
.hcopy h1 { margin-bottom: 18px; max-width: 13em; }
.hcopy .lead { margin-bottom: 28px; max-width: 30em; }
.hcopy .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-2); }
.facts li { margin: 0; padding: 12px 22px 0 0; font: .82rem var(--mono); color: var(--muted); }
.facts li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.facts b { color: var(--ink); font-weight: 600; }
.hphoto { position: relative; margin: 0; }
.hphoto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.docsnip { position: absolute; left: -36px; bottom: 28px; width: min(340px, 78%); background: #fff; border: 1px solid var(--line-2); padding: 12px 14px 14px; font-size: .82rem; line-height: 1.45; box-shadow: var(--shadow-lg); }
.docsnip .dh { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); padding: 6px 8px; font-size: .7rem; color: var(--muted); }
.docsnip .dh b { display: block; color: var(--ink); font-weight: 600; }
.docsnip .dh .mono { text-align: right; font-size: .66rem; line-height: 1.5; }
.docsnip .k { margin: 10px 0 4px; font-size: .72rem; color: var(--ink-2); }
.docsnip .k i, .excerpt .k i { font-style: normal; font-size: .62rem; color: var(--tomato); border: 1px solid var(--tomato); border-radius: 8px; padding: 0 5px; margin-left: 6px; }
.docsnip p:last-child { margin: 0; color: var(--ink); }
@media (max-width: 880px) { .hgrid { grid-template-columns: 1fr; gap: 32px; } .docsnip { left: 12px; bottom: 12px; } .hphoto img { aspect-ratio: 4 / 4.2; } }

.band { background: var(--paper); }
.band .label { color: var(--ink-2); }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.how li { margin: 0; padding: 0 24px 0 0; }
.how li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.how .ph { aspect-ratio: 3 / 2; overflow: hidden; margin: 24px 0 18px; background: var(--paper-2); }
.how .ph img { width: 100%; height: 100%; object-fit: cover; }
.how .ph.tipi { display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); }
.how .ph.tipi img { width: 72%; height: auto; object-fit: contain; }
.how h3 { margin: 6px 0 6px; font-size: 1.1rem; }
.how p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } .how li, .how li + li { padding: 0; border: 0; } }

.excerpt-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.excerpt { margin: 0; background: #fff; border: 1px solid var(--line-2); border-left: 3px solid var(--green); padding: 22px 24px; font-size: 1.02rem; }
.excerpt .k { font-size: .74rem; color: var(--muted); margin: 0 0 12px; }
.excerpt ul { margin: 12px 0 16px; }
.excerpt footer { font-size: .74rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.artifacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.artifacts figure { margin: 0; }
.artifacts img { width: 100%; height: auto; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 10px 24px -18px rgb(0 0 0 / .35); }
.artifacts figcaption { font-size: .72rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 880px) { .excerpt-grid { grid-template-columns: 1fr; } }

.price-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.receipt { background: #fff; border: 1px solid var(--line-2); padding: 26px 26px 22px; position: relative; }
.receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, #fff 0) 0 0 / 12px 8px repeat-x, linear-gradient(45deg, transparent 6px, #fff 0) 0 0 / 12px 8px repeat-x; filter: drop-shadow(0 1px 0 var(--line-2)); }
.receipt .rh { text-align: center; font-size: .78rem; letter-spacing: .08em; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); padding-bottom: 14px; margin: 0 0 12px; }
.receipt ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .84rem; }
.receipt li { display: flex; align-items: baseline; gap: 8px; margin: 9px 0; }
.receipt li i { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-3px); }
.receipt li span:last-child { color: var(--green); }
.receipt .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line-2); padding-top: 14px; margin: 0 0 18px; font-size: .84rem; }
.receipt .tot b { font: 600 2.2rem var(--sans); letter-spacing: -.03em; color: var(--ink); }
.receipt .btn { width: 100%; }
.receipt .fine { text-align: center; font-size: .7rem; color: var(--muted); margin: 14px 0 0; }
.pphoto { margin: 0; display: flex; flex-direction: column; }
.pphoto img { width: 100%; height: auto; min-height: 320px; object-fit: cover; flex: 1; }
.pphoto figcaption { font-size: .74rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } }
.honest { border-radius: 0; background: transparent; border-top: 1px solid var(--line); padding: 18px 0 0; margin-top: 36px; }

.tipi-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tipi-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 10px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; text-align: center; background: #fff; transition: background .15s; }
.tipi-grid a:hover { background: var(--tint-soft); }
.tipi-grid img { width: 64px; height: 64px; }
@media (max-width: 760px) { .tipi-grid { grid-template-columns: repeat(2, 1fr); } }

.mcta { display: none; }
@media (max-width: 760px) { .mcta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .25s ease; } .mcta.on { transform: none; } .mcta .btn { width: 100%; min-height: 52px; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .45); } }

.chip img { width: 20px; height: 20px; margin: -2px 0 -2px -4px; }
.chip.sm img { width: 18px; height: 18px; }
.choice .ico img { width: 100%; height: 100%; object-fit: contain; }
.choice .ico:has(img) { background: transparent; }
.choice:has(input:checked) .ico:has(img) { background: transparent; }
.choice.vertical .ico { width: 56px; height: 56px; }
.wide-photo { margin: 22px 0 6px; }
.wide-photo img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 2px; }
.all-icons { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 14px 0 4px; }
.all-icons img { width: 100%; max-width: 56px; height: auto; margin: 0 auto; }
@media (max-width: 560px) {
  .facts { flex-direction: column; }
  .facts li, .facts li + li { padding: 10px 0 0; border-left: 0; }
  .hcopy .cta .btn { flex: 1 1 100%; }
  .docsnip { position: static; width: auto; margin: -24px 12px 0; position: relative; }
}

/* Niente maiuscoletto: etichette in tono normale */
.label { font: 500 .88rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.sec-h { padding-top: 18px; }
.sec-h .n { display: none; }
.inbreve b { font: 600 .9rem var(--sans); letter-spacing: 0; text-transform: none; }
.table-wrap th { font: 600 .84rem var(--sans); letter-spacing: 0; text-transform: none; }
.receipt .rh { letter-spacing: 0; font-size: .82rem; }
.how .ph { margin-bottom: 16px; }
.how h3 { margin-top: 0; }
.hcopy h1 { max-width: 11em; }
.guide h1 { margin-top: 22px; }
.badge { font: 600 .78rem var(--sans); letter-spacing: 0; text-transform: none; }
.facts { gap: 6px 22px; }
.facts li, .facts li + li { padding: 12px 0 0; border-left: 0; }

/* Meno filetti: separazioni affidate a spazio e toni di fondo */
.hero2 { border-bottom: 0; padding-bottom: 40px; }
.band { border: 0; background: var(--paper-2); }
.band .wrap { padding-top: 14px; padding-bottom: 14px; }
.sec-h { border-top: 0; padding-top: 0; margin-bottom: 22px; }
.section { padding-top: 88px; }
.how { border-top: 0; gap: 28px; }
.how li, .how li + li { padding: 0; border-left: 0; }
.how .ph { margin-top: 0; }
.how .ph.tipi { border: 0; }
.honest { border-top: 0; padding-top: 0; margin-top: 28px; }
.facts { border-top: 0; margin-top: 22px; }
.facts li, .facts li + li { padding-top: 0; }
.tipi-grid { border: 0; gap: 10px; }
.tipi-grid a { border: 0; }
.excerpt { border-color: var(--line); }
.top.scrolled { border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line); }
