/* Come funziona: existing Rispondimi palette and typography, quieter layouts. */
.how-brief-page { --how-rule: var(--rm-line); --how-copy: var(--rm-ink-soft); --how-purple: var(--rm-teal-dark); }
.how-brief-page .section-lead { max-width: 75ch; color: var(--how-copy); line-height: 1.7; margin-bottom: 32px; }
.how-brief-page p { line-height: 1.7; }
.how-brief-page a { text-underline-offset: 3px; }
.how-brief-page a:focus-visible, .how-brief-page button:focus-visible { outline: 3px solid var(--rm-teal-dark); outline-offset: 4px; }
.how-brief-page .hero-actions { align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.how-brief-page .hero-actions > div { min-width: 0; max-width: 100%; }
.how-brief-page .hero-actions .btn { white-space: normal; }
.how-brief-page .hero-actions small { color: #fff; font-size: .95rem; }
.how-brief-page .inner-hero.how-v2-hero h1 { font-size: 3rem; line-height: 1.08; }
.how-brief-page .inner-hero .hero-semantic-subtitle { font-size: 1.3rem; line-height: 1.45; }
.how-brief-page .inner-hero.how-v2-hero .lead { font-size: 1.08rem; }
.how-brief-page .inner-hero.how-v2-hero .how-v2-hero-note { color: #fff; }
.how-brief-page .inner-hero.how-v2-hero .hero-final-conditions { display: grid; grid-template-columns: 1fr; margin-top: 28px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.how-brief-page .inner-hero.how-v2-hero .hero-final-conditions > div { padding: 16px 0; min-height: 0; border: 0; border-top: 1px solid rgba(255,255,255,.25); }
.how-brief-page .inner-hero.how-v2-hero .hero-final-conditions strong { font-size: 1rem; }
.how-brief-page .inner-hero.how-v2-hero .hero-final-conditions span { color: #fff; font-size: .95rem; line-height: 1.55; }
.how-brief-page .inner-hero.how-v2-hero .how-v2-hero-visual { top: 50%; transform: translateY(-50%) !important; }
/* Calculator: precise controls, tactile sliders and a separate result surface. */
.how-brief-page #conto-telefonate { background: var(--rm-cream); }
.how-calculator { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); margin-top: 40px; padding: 0; border-radius: var(--rm-radius); overflow: hidden; }
.how-calculator-controls { padding: 40px 44px 36px; }
.how-calculator h3 { font-size: 1.6rem; font-weight: 800; margin: 0 0 8px; color: var(--rm-ink); }
.how-calculator-intro { margin-bottom: 30px; color: var(--how-copy); }
.how-slider-field + .how-slider-field { margin-top: 24px; }
.how-slider-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.how-slider-heading label { color: var(--rm-ink); font-weight: 750; line-height: 1.4; max-width: 25ch; }
.how-slider-value { display: flex; align-items: baseline; gap: 6px; flex: 0 0 auto; border: 1px solid var(--how-rule); border-radius: 8px; padding: 5px 10px; background: var(--rm-paper); }
.how-slider-value .form-control { width: 64px; min-height: 32px; border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; font-size: 1.25rem; font-weight: 800; color: var(--rm-ink); text-align: right; font-variant-numeric: tabular-nums; appearance: textfield; }
.how-slider-value input::-webkit-inner-spin-button { appearance: none; }
.how-slider-value:focus-within { border-color: var(--how-purple); outline: 2px solid rgba(118,83,183,.2); }
.how-slider-value span { font-size: .85rem; color: var(--how-copy); }
.how-slider-field .form-range { display: block; width: 100%; height: 24px; padding: 0; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.how-slider-field .form-range::-webkit-slider-runnable-track { height: 5px; border-radius: 4px; background: linear-gradient(to right, var(--rm-teal-dark) 0 var(--range-progress), #e5e9f1 var(--range-progress) 100%); }
.how-slider-field .form-range::-moz-range-track { height: 5px; border-radius: 4px; background: #e5e9f1; }
.how-slider-field .form-range::-moz-range-progress { height: 5px; border-radius: 4px; background: var(--rm-teal-dark); }
.how-slider-field .form-range::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; margin-top: -8.5px; border: 3px solid #fff; border-radius: 50%; background: var(--rm-teal-dark); box-shadow: 0 2px 8px rgba(36,58,118,.25); }
.how-slider-field .form-range::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--rm-teal-dark); box-shadow: 0 2px 8px rgba(36,58,118,.25); }
.how-slider-field .form-range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--rm-ink); outline-offset: 3px; }
.how-slider-field .form-range:focus-visible::-moz-range-thumb { outline: 3px solid var(--rm-ink); outline-offset: 3px; }
.how-slider-limits { display: flex; justify-content: space-between; margin-top: 3px; color: var(--rm-ink-soft); font-size: .8rem; font-variant-numeric: tabular-nums; }
.how-calculator-summary { display: flex; flex-direction: column; justify-content: space-between; padding: 44px; background: var(--rm-cream); color: var(--rm-ink); border-left: 1px solid var(--rm-line); }
.how-result-label { max-width: 24ch; font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.how-calculator-result { display: block; font-size: 3.5rem; font-weight: 850; line-height: 1.15; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.how-result-context { max-width: 28ch; color: var(--rm-ink-soft); margin-top: 20px; }
.how-result-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rm-line); }
.how-result-bottom p { color: var(--rm-ink-soft); margin-bottom: 24px; }
.how-calculator-assumption { grid-column: 1 / -1; margin: 0; padding: 20px 44px; background: var(--rm-paper); font-size: .85rem; color: var(--rm-ink-soft); }
.how-calculator #calculator-error { color: #b02a37 !important; margin-top: 20px; }
.how-calculator [aria-invalid="true"] { color: #b02a37; }

/* Process and setup are sequences rather than floating cards. */
.how-brief-page .how-v2-compact-flow { margin-top: 40px; gap: 28px; }
.how-brief-page .how-v2-compact-flow li { display: block; min-height: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--how-rule); border-radius: 0; background: none; box-shadow: none; }
.how-brief-page .how-v2-step-number { display: block; width: auto; height: auto; background: none; color: var(--rm-teal-dark); font-size: 1rem; font-weight: 800; margin-bottom: 22px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.how-brief-page .how-v2-compact-flow h3 { font-size: 1.2rem; line-height: 1.4; margin: 0 0 12px; }
.how-brief-page .how-v2-compact-flow p { font-size: 1rem; color: var(--how-copy); margin: 0; font-weight: 500; }
.how-brief-page #come-partire .how-v2-compact-flow { grid-template-columns: repeat(3,minmax(0,1fr)); }
.how-brief-page #come-partire { background: var(--rm-paper); }
.how-setup { padding: 28px 0 0; margin-top: 40px !important; border-top: 1px solid var(--how-rule); background: none; border-radius: 0; }
.how-setup h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.how-setup p { max-width: 85ch; color: var(--how-copy); margin: 0; }

/* Let the product screenshots lead, with quiet captions. */
.how-brief-page .how-v2-booking-shot { border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.how-brief-page .how-v2-booking-shot > img { border-radius: var(--rm-radius); }
.how-brief-page .how-v2-shot-label { display: none; }
.how-brief-page .how-v2-booking-shot figcaption { background: none; padding: 20px 0 0; }
.how-brief-page .how-v2-booking-shot figcaption strong { font-size: 1.1rem; }
.how-brief-page .how-v2-booking-shot figcaption span { color: var(--how-copy); font-size: .95rem; line-height: 1.65; }
.how-brief-page .how-v2-booking-proof-row { margin-top: 40px; gap: 28px; }
.how-brief-page .how-v2-booking-proof-row li { grid-template-columns: 1fr; gap: 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--how-rule); background: none; border-radius: 0; box-shadow: none; }
.how-brief-page .how-v2-booking-proof-row strong, .how-brief-page .how-v2-booking-proof-row span { grid-column: 1; }
.how-brief-page .how-v2-booking-proof-row strong { font-size: 1.05rem; }
.how-brief-page .how-v2-booking-proof-row span { font-size: .95rem; color: var(--how-copy); line-height: 1.65; margin-top: 10px; font-weight: 500; }
.how-brief-page .how-v2-capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 56px; margin-top: 40px; }
.how-brief-page .how-v2-capability-grid li { grid-template-columns: 1fr; padding: 28px 0; min-height: 0; border: 0; border-top: 1px solid var(--how-rule); border-radius: 0; background: none; box-shadow: none; }
.how-brief-page .how-v2-capability-grid h3 { font-size: 1.3rem; line-height: 1.4; }
.how-brief-page .how-v2-capability-grid p { font-size: 1rem; font-weight: 500; color: var(--how-copy); margin-top: 12px; }

/* The call reads like an actual conversation record. */
.how-brief-page #chiamata-vera { background: var(--rm-cream); }
.how-transcript { max-width: 850px; padding: 18px 32px; border-radius: var(--rm-radius); background: #fff; }
.how-transcript p { display: grid; grid-template-columns: 108px minmax(0,1fr); column-gap: 20px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--how-rule); color: var(--rm-ink-soft); }
.how-transcript strong { color: var(--rm-ink); font-weight: 800; }
.how-transcript p:last-child { border-bottom: 0; }
.how-transcript-note { padding: 16px 20px; margin: 8px 0; background: var(--rm-cream); color: var(--rm-ink); border-radius: 8px; line-height: 1.6; font-size: .95rem; }
.how-brief-page #domande article { padding-top: 20px; }
.how-brief-page #domande h3 { font-size: 1.25rem; line-height: 1.45; margin-bottom: 16px; }
.how-brief-page #domande article p { color: var(--how-copy); margin: 0; }
.how-brief-page #faq { background: #fff; }
.how-brief-page #faq .faq-wrap { max-width: 1040px; margin: 34px auto 0; }
.how-brief-page #faq .section-title { margin-inline: auto; text-align: center; }
.how-brief-page #prova-rispondimi .section-title, .how-brief-page #prova-rispondimi p { color: #fff; }
.how-brief-page #prova-rispondimi p { max-width: 75ch; }
.how-brief-page #prova-rispondimi .hero-actions { justify-content: flex-start; margin-top: 28px; }
.how-brief-page .cta-band a:not(.btn) { color: #fff; text-decoration: underline; }
@media (max-width: 991.98px) {
  .how-brief-page .inner-hero.how-v2-hero h1 { font-size: 2.5rem; }
  .how-calculator-controls, .how-calculator-summary { padding: 30px; }
  .how-calculator { grid-template-columns: 1fr 1fr; }
  .how-calculator-result { font-size: 2.7rem; }
  .how-slider-heading { flex-wrap: wrap; gap: 8px; }
  .how-slider-heading label { max-width: none; }
  .how-brief-page #quattro-passaggi .how-v2-compact-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
  .how-calculator { grid-template-columns: 1fr; }
  .how-slider-heading { flex-wrap: nowrap; }
  .how-calculator-summary { gap: 28px; border-left: 0; border-top: 1px solid var(--rm-line); }
  .how-result-bottom { margin-top: 0; padding-top: 24px; }
  .how-calculator-assumption { padding: 20px 30px; }
  .how-brief-page #come-partire .how-v2-compact-flow { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .how-brief-page .inner-hero.how-v2-hero h1 { font-size: 2rem; }
  .how-brief-page .inner-hero .hero-semantic-subtitle { font-size: 1.15rem; }
  .how-brief-page .hero-actions, .how-brief-page .hero-actions > div, .how-brief-page .hero-actions .btn { width: 100%; }
  .how-calculator-controls, .how-calculator-summary { padding: 28px 22px; }
  .how-calculator-assumption { padding: 18px 22px; }
  .how-calculator h3 { font-size: 1.35rem; }
  .how-slider-heading label { font-size: .95rem; }
  .how-slider-value { padding: 5px 8px; }
  .how-slider-value .form-control { width: 45px; font-size: 1.15rem; }
  .how-slider-value span { font-size: .75rem; }
  .how-brief-page #quattro-passaggi .how-v2-compact-flow, .how-brief-page .how-v2-capability-grid { grid-template-columns: 1fr; }
  .how-brief-page .how-v2-compact-flow { gap: 22px; }
  .how-brief-page .how-v2-step-number { margin-bottom: 12px; }
  .how-transcript { padding: 12px 22px; }
  .how-transcript p { display: block; }
  .how-transcript strong { display: block; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .how-brief-page * { scroll-behavior: auto; } }

/* Keep the missed-call label intact; move the value below on narrow screens. */
.how-slider-heading label[for="missed-calls-slider"] { max-width: none; white-space: nowrap; }
@media (max-width: 991.98px) {
  .how-slider-field:has(label[for="missed-calls-slider"]) .how-slider-heading { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
  .how-slider-heading label[for="missed-calls-slider"] { font-size: .875rem; }
}

/* The existing shared CTA classes style the calculator action. */
.how-calculator .how-price-link { align-self: flex-start; }

/* Percorso completo: tre passaggi, un'attivazione verificabile. */
.how-brief-page > .section { padding-block: 64px; }
.how-brief-page > .section .section-title { font-size: 2.25rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 850; max-width: 30ch; text-wrap: balance; margin-bottom: 24px; }
.how-brief-page #come-partire { background: #f3f6fc; }
.how-brief-page #come-partire .section-title { max-width: 29ch; }
.how-start-flow { margin-top: 8px; }
.how-start-step { height: 100%; padding: 28px; background: #fff; border-radius: 12px; position: relative; }
.how-start-number { display: block; font-size: 2.75rem; font-weight: 900; line-height: 1; color: #526b9a; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.how-start-step > .bi { position: absolute; right: 28px; top: 30px; color: #326da8; font-size: 1.65rem; }
.how-brief-page .how-start-step h3 { font-size: 1.3rem; line-height: 1.35; margin: 0 0 12px; font-weight: 850; }
.how-start-step p { margin: 0; color: #4c5b7b; }
.how-start-flow li:first-child .how-start-step { background: #243a76; color: #fff; }
.how-start-flow li:first-child h3 { color: #fff; }
.how-start-flow li:first-child p, .how-start-flow li:first-child .how-start-number, .how-start-flow li:first-child .bi { color: #e3ebff; }
.how-brief-page .how-setup { padding: 28px 32px; margin-top: 28px !important; background: #e4ebf8; border: 0; border-radius: 12px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 32px; align-items: center; }
.how-brief-page .how-setup h3 { margin: 0; font-size: 1.375rem; line-height: 1.35; }
.how-brief-page .how-setup p { color: #43516e; }
.how-brief-page #cosa-sa-fare { background: #fff; }
.how-brief-page .how-v2-capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
.how-brief-page .how-v2-capability-grid li { padding: 24px 0 0; border-top: 2px solid #bac9e5; }
.how-brief-page .how-v2-capability-grid h3 { font-weight: 850; }
.how-brief-page #chiamata-vera { background: #f3f6fc; }
.how-brief-page .how-transcript { background: #fff; padding: 28px 32px; border-radius: 12px; border: 0; max-width: 900px; }
.how-brief-page .how-transcript p { padding: 12px 0; margin: 0; }
.how-brief-page .how-transcript p + p { border-top: 1px solid #edf0f6; }
.how-brief-page .how-calculator { background: #fff; border-radius: 12px; }
.how-brief-page .how-calculator-summary { background: #243a76; color: #fff; border: 0; }
.how-brief-page .how-calculator-summary p, .how-brief-page .how-calculator-summary output, .how-brief-page .how-calculator-summary .how-result-label { color: #edf2ff; }
.how-brief-page #faq { background: #f3f6fc; }
@media (max-width: 991.98px) {
  .how-brief-page > .section { padding-block: 48px; }
  .how-brief-page > .section .section-title { font-size: 2rem; }
  .how-start-number { margin-bottom: 18px; }
  .how-brief-page .how-setup { grid-template-columns: 1fr; gap: 12px; }
  .how-brief-page .how-v2-capability-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 575.98px) {
  .how-brief-page > .section { padding-block: 40px; }
  .how-brief-page > .section .section-title { font-size: 1.75rem; }
  .how-start-step { padding: 24px; }
  .how-brief-page .how-setup, .how-brief-page .how-transcript { padding: 24px; }
}
