/* Pagine servizio e landing (ottobre 2026). Si carica dopo site.css.
   La prima parte e' la stessa delle regole in linea di /consulenza/, cosi'
   le pagine nuove le riusano senza copiarle; il resto e' nuovo. */

.lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--muted); }
.lead b { color: var(--ink); font-weight: 600; }
.offer { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px 40px; align-items: center; margin-top: 40px; padding: 30px clamp(22px, 2.6vw, 36px); border: 2px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
.offer-text { display: flex; flex-direction: column; gap: 16px; }
.offer-big { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.offer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offer-list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.offer-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 500; color: var(--ink); }
.offer .actions { margin-top: 4px; }
.offer-st { position: relative; width: 100%; max-width: 200px; justify-self: center; }
.offer-st .st { position: relative; --r: 7deg; }
@media (max-width: 760px) { .offer { grid-template-columns: minmax(0, 1fr); box-shadow: 4px 4px 0 var(--ink); } .offer-st { max-width: 150px; justify-self: start; } }
.sec-page { margin-top: clamp(64px, 7vw, 96px); }
.sec-page .sec-head h2 { font-size: clamp(28px, 3vw, 38px); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin-top: 28px; }
.two h3 { margin: 0; font-size: 20px; }
.two p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.two ul { margin: 10px 0 0; padding-left: 20px; }
.two li { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }
.svc .how { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.fact { border-top: 2px solid var(--ink); padding-top: 12px; }
.fact b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.fact span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.perk-page { margin-top: 28px; max-width: 72ch; }
.perk-page p { font-size: 16px; line-height: 1.6; }
.perk-page p + p { margin-top: 12px; }
.perk-page .src { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.steps { counter-reset: step; list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; border: 1px solid var(--ink); background: var(--paper); padding: 24px clamp(20px, 2.2vw, 28px) 26px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--dim); }
.steps h3 { margin: 10px 0 0; font-size: 22px; letter-spacing: -0.02em; }
.steps p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.steps .out { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--dim); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.study { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; margin-top: 28px; padding: 28px clamp(22px, 2.4vw, 32px); border: 1px solid var(--ink); background: var(--paper); color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.study:hover { color: inherit; transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }
.study h3 { margin: 10px 0 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; max-width: 22em; }
.study p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.study .go { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; white-space: nowrap; }
@media (max-width: 560px) { .study { grid-template-columns: minmax(0, 1fr); } }
.faq { margin-top: 20px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq details p { margin: 0 0 22px; max-width: 64ch; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.close { margin-top: clamp(64px, 7vw, 96px); }
.close .contact { padding-top: 56px; }

/* nuovo ------------------------------------------------------------------ */
.close .contact { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 70ch; margin-top: 24px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.link-card { display: block; padding: 20px 22px; border: 1px solid var(--ink); background: var(--paper); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.link-card:hover { color: inherit; transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }
.link-card b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.link-card span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .links-grid { grid-template-columns: minmax(0, 1fr); } }

/* calcolatore e modulo */
.box { margin-top: 28px; padding: 28px clamp(20px, 2.6vw, 36px); border: 2px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
@media (max-width: 760px) { .box { box-shadow: 4px 4px 0 var(--ink); } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-size: 15px; font-weight: 600; }
.field .hint { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--dim); }
.field input { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 0; }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field .err { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #a1121b; }
.field input[aria-invalid="true"] { border-width: 2px; border-color: #a1121b; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--dim); }
.form-error { margin: 0 0 18px; padding: 12px 14px; border: 2px solid #a1121b; font-weight: 600; }
.box .actions { margin-top: 22px; }
button.btn { font: inherit; cursor: pointer; border-radius: 0; }
.result { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.result .facts { margin-top: 0; }
.result .note { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--dim); max-width: 70ch; }

/* checklist */
.check { counter-reset: ck; list-style: none; margin: 20px 0 0; padding: 0; }
.check li { counter-increment: ck; position: relative; padding: 16px 0 16px 56px; border-bottom: 1px solid var(--line-strong); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.check li::before { content: ""; position: absolute; left: 0; top: 18px; width: 26px; height: 26px; border: 2px solid var(--ink); background: #fff; }
.check li b { color: var(--ink); }
.check li small { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.score { margin-top: 20px; border-collapse: collapse; width: 100%; max-width: 70ch; }
.score th, .score td { border: 1px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; font-size: 16px; line-height: 1.5; }
.score th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.preview li { color: var(--muted); }

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .progress, .skip-link, .crumbs, .no-print, .close, .st { display: none !important; }
  .wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .box { box-shadow: none; border-width: 1px; }
  .check li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* casi studio (stesse regole in linea del caso Miraviso) */
.post .brief { margin-top: 32px; padding: 22px clamp(18px, 2.4vw, 28px); border: 2px solid var(--ink); background: var(--paper); }
.post .brief p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.post .brief ul { margin: 12px 0 0; padding-left: 20px; }
.post .brief li { font-size: 16px; line-height: 1.6; }
.post table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; line-height: 1.5; }
.post th, .post td { border: 1px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.post th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--ink); background: rgba(21, 22, 26, 0.04); }
.post td:first-child { font-weight: 600; white-space: nowrap; }
.post .cta { margin-top: 48px; padding: 28px clamp(18px, 2.4vw, 28px); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.post .cta p { margin: 0; max-width: none; }
.post .cta .big { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.post .cta .actions { margin-top: 18px; }
@media (max-width: 640px) { .post table { font-size: 14px; } .post td:first-child { white-space: normal; } }
