/* Mobile first: base per schermi piccoli, ampliamenti a 30 / 40 / 60 / 75 rem. */
:root {
  --bg: #fafafa;
  --ink: #17181c;
  --muted: #5d5e64;
  --accent: #c91824;
  --accent-bright: #ff392d;
  --accent-soft: #fbecee;
  --dark: #17181c;
  --line: #dfdfe2;
  --radius: 18px;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 4.875rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 650;
}
h3 {
  font-size: 1.375rem;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin-inline: auto;
}
.section {
  padding-block: 56px;
}
:where(
    .hero,
    .section-heading,
    .special-grid,
    .tools-grid,
    .guides-grid,
    .capability-grid,
    .pricing-grid,
    .billing-options,
    .how-layout,
    .faq-section,
    .footer,
    .local-benefits
  )
  > * {
  min-width: 0;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.6875rem;
  line-height: 1.7;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: white;
  padding: 14px;
}
/* La navigazione rimane disponibile anche senza JavaScript. */
.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.5625rem;
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1;
}
.brand-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin-right: 9px;
  object-fit: contain;
}
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
}
.brand-wordmark span {
  color: var(--accent);
}
.header nav {
  display: grid;
  gap: 4px;
  width: 100%;
  padding-block: 8px;
  font-size: 1.21875rem;
  font-weight: 600;
}
.header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
}
.header nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.875rem;
}
.js .menu-toggle {
  display: inline-flex;
}
.js .header nav {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  inset-inline: 0;
  width: auto;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 12px 30px #00000012;
  z-index: 20;
}
.js .header nav.is-open {
  display: grid;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  max-width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  color: white;
  background: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #a9121c;
  border-color: #a9121c;
}
.button span {
  font-size: 1.25rem;
  line-height: 1;
}
.button.small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  gap: 12px;
}
.header .header-cta {
  display: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--accent);
}
.text-link:hover,
.footer a:hover {
  color: #a9121c;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: 38px 30px;
}
.hero h1 {
  font-size: clamp(2.75rem, 7.7vw, 5.3625rem);
}
.hero .eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.status-dot {
  flex: 0 0 10.5px;
  width: 10.5px;
  height: 10.5px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--accent);
}
.accent {
  color: var(--accent);
}
.underline {
  position: relative;
  display: inline-block;
}
.underline svg {
  position: absolute;
  left: -4%;
  bottom: -12px;
  width: 108%;
  height: 18px;
  stroke: var(--accent-bright);
  stroke-width: 3;
}
.hero-tagline {
  margin-top: 26px;
  font-size: clamp(24.7px, 2.6vw, 32.5px);
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-tagline strong {
  font-weight: 600;
}
.hero-lead {
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 55ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 26px;
}
.hero-actions > .button {
  width: 100%;
}
.hero-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-top: 18px;
}
.hero-note .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.hero-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: clip;
  container-type: inline-size;
  width: 100%;
  max-width: 570px;
  min-width: 0;
  margin-inline: auto;
  padding: 68px 12px 22px;
}
.orbit {
  position: absolute;
  z-index: -1;
  inset: 15px 8px 20px;
  border: 1px solid #dedee1;
  border-radius: 50%;
  transform: rotate(-12deg);
}
.orbit-one {
  border-top: 2px solid var(--accent-bright);
}
.orbit-two {
  inset: 40px 15px 0;
  transform: rotate(12deg);
  border-right: 2px solid var(--accent);
}
.floating-label {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 10px;
  right: 12px;
  max-width: calc(100% - 24px);
  z-index: 2;
  padding: 6px 10px 6px 6px;
  border: 1px solid #35363b;
  border-radius: 7px;
  background: var(--dark);
  color: white;
  font-size: 0.6875rem;
  line-height: 1.5;
  transform: rotate(2deg);
}
.floating-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}
.editor-demo {
  position: relative;
  border: 1px solid #d8d8dc;
  border-radius: 11px;
  background: white;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 16px 30px #00000012;
}
.demo-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 8px 10px;
  font-size: 0.625rem;
  background: var(--dark);
  color: white;
}
.demo-top > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.demo-logo {
  display: flex;
  flex-shrink: 0;
}
.demo-logo img {
  width: 27px;
  height: 27px;
}
.demo-dots {
  margin-left: auto;
  color: #c7c7ca;
  letter-spacing: 2px;
}
.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 8px;
  font-size: 0.625rem;
  color: #55565b;
}
.demo-tab {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
}
.demo-save {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--accent);
  color: white;
  border-radius: 3px;
  font-size: 16px;
}
.demo-workspace {
  display: flex;
  border-block: 1px solid #dfdfe2;
  background: #efeff1;
}
.demo-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 36px;
  padding: 12px 6px;
  background: #f8f8fa;
}
.mini-page {
  display: flex;
  align-items: end;
  justify-content: center;
  width: 24px;
  height: 34px;
  background: white;
  border: 1px solid #d8d8dc;
  font-size: 7px;
  color: #666;
}
.mini-page.selected {
  border: 1.5px solid var(--accent);
}
.demo-pages {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  gap: 8px;
  padding: 18px 10px;
}
.paper {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  min-height: 160px;
  aspect-ratio: 0.71;
  padding: 12px 8px;
  background: #fff;
  box-shadow: 0 3px 7px #0000000c;
  transition: transform 0.35s;
  transform-origin: center;
}
.paper-kicker {
  font-size: 4px;
  letter-spacing: 0.35px;
  color: #606166;
}
.paper strong {
  font-size: 16px;
  font-size: clamp(14px, 4.7cqi, 26px);
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin-top: 10px;
}
.paper-shape {
  position: relative;
  width: 100%;
  height: 42px;
  margin-block: 12px 8px;
  overflow: hidden;
}
.paper-shape::before,
.paper-shape::after,
.paper-shape i {
  content: '';
  position: absolute;
  bottom: 0;
  left: 7%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0;
  background: var(--accent);
}
.paper-shape::after {
  left: 36%;
  background: #25262b;
}
.paper-shape i {
  left: 65%;
  background: #df858a;
}
.paper-lines {
  width: 90%;
  height: 20px;
  background: repeating-linear-gradient(to bottom, #d5d5d9 0 2px, transparent 2px 6px);
}
.paper-number {
  font-size: 4px;
  letter-spacing: 0.3px;
  margin-top: auto;
  padding-top: 12px;
}
.paper-second {
  background: #f4f4f4;
}
.paper-chart {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 42px;
  margin-block: 12px 8px;
}
.paper-chart i {
  display: block;
  flex: 1;
  height: 40%;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}
.paper-chart i:nth-child(2) {
  height: 65%;
  background: #d98c91;
}
.paper-chart i:nth-child(3) {
  height: 80%;
  background: #33343a;
}
.paper-chart i:nth-child(4) {
  height: 100%;
  background: #18191d;
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 8px;
  color: #606166;
  font-size: 0.5rem;
}
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.demo-controls > span {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.8125rem;
  font-style: italic;
}
.demo-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  font-size: 0.8125rem;
}
.demo-controls button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.demo-controls .icon {
  width: 17px;
  height: 17px;
}
.visual-caption {
  display: block;
  margin-top: 12px;
  font-size: 0.5625rem;
  text-align: center;
  letter-spacing: 0.05em;
  color: #606166;
}
.is-rotated .paper {
  transform: rotate(90deg) scale(0.7);
}
.benefit-strip {
  border-block: 1px solid var(--line);
}
.benefit-strip .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding-block: 24px;
}
.benefit-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #55565b;
  font-size: 0.875rem;
}
.benefit-strip .icon {
  color: var(--accent);
}
/* Griglie: colonne aggiunte solo quando il contenuto rimane leggibile. */
.section-heading,
.comparison-heading {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading > p,
.comparison-heading > p {
  max-width: 55ch;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.special-grid,
.tools-grid,
.guides-grid,
.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.special-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.special-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  height: 195px;
  padding: 20px;
  overflow: hidden;
}
.special-art small {
  position: absolute;
  bottom: 14px;
  inset-inline: 12px;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.03em;
  color: #55565b;
}
.booklet-art {
  display: grid;
  grid-template-columns: minmax(0, 110px) minmax(0, 120px);
  gap: 12px 16px;
  background: var(--accent-soft);
}
.booklet-art > span {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #7d363b;
}
.sheet-pair {
  display: flex;
  height: 60px;
  border: 1px solid #d89b9f;
  background: white;
  box-shadow: 3px 4px #e8c4c7;
}
.sheet-pair b {
  display: grid;
  place-items: center;
  width: 50%;
  color: var(--accent);
  font-size: 25px;
  font-weight: 500;
}
.sheet-pair b:first-child {
  border-right: 1px dashed #d89b9f;
}
.straighten-art {
  background: #ececee;
}
.scan-sample {
  width: 67px;
  height: 100px;
  padding: 26px 12px;
  background: white;
  box-shadow: 4px 5px #cbcbcf;
}
.scan-sample i {
  display: block;
  height: 3px;
  margin-bottom: 9px;
  background: #393a40;
}
.scan-sample i:last-child {
  width: 65%;
}
.scan-sample.skewed {
  transform: rotate(-12deg);
}
.straighten-art > span,
.split-art > span {
  font-size: 24px;
  color: var(--accent);
}
.split-art {
  background: var(--dark);
}
.split-art > span {
  color: var(--accent-bright);
}
.split-art small {
  color: #d4d4d7;
}
.spread-demo {
  display: flex;
  width: 86px;
  height: 85px;
  border: 1px solid #909096;
  background: white;
}
.spread-demo b,
.separate-demo b {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
  font-weight: 450;
}
.spread-demo b {
  width: 50%;
}
.spread-demo b:first-child {
  border-right: 1px dashed var(--accent);
}
.separate-demo {
  display: flex;
  gap: 7px;
}
.separate-demo b {
  width: 35px;
  height: 85px;
  border: 1px solid #909096;
  background: white;
  transform: rotate(5deg);
}
.separate-demo b:last-child {
  transform: rotate(-5deg);
}
.special-body {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1;
  padding: 24px;
}
.special-body h3 {
  margin-block: 16px 14px;
  font-size: 1.5rem;
}
.special-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.special-body .text-link {
  margin-top: auto;
}
.free-badge,
.pro-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 750;
}
.free-badge {
  background: #ededee;
  color: #3b3c42;
}
.pro-badge {
  background: var(--accent-soft);
  color: var(--accent);
}
.capability-grid {
  gap: 0 28px;
  margin-top: 20px;
}
.capability-grid > a {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.capability-grid h3 {
  margin-block: 14px 12px;
  font-size: 1.25rem;
}
.capability-grid p {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.capability-grid > a:hover h3 {
  color: var(--accent);
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.tool-card:hover {
  border-color: #d9a3a7;
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.tool-icon svg {
  width: 23px;
  height: 23px;
}
.tool-tint-red,
.tool-tint-soft {
  background: var(--accent-soft);
  color: var(--accent);
}
.tool-tint-dark {
  background: var(--dark);
  color: white;
}
.tool-tint-grey {
  background: #ededee;
  color: var(--ink);
}
.tool-card h3 {
  margin-bottom: 12px;
  font-size: 1.375rem;
}
.tool-card p {
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--accent);
}
.privacy-section {
  position: relative;
  overflow: hidden;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--dark);
  color: white;
}
.local-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -95px;
  width: 310px;
  height: 310px;
  border: 2px solid #ff392d38;
  border-radius: 50%;
  pointer-events: none;
}
.local-intro {
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.local-section .eyebrow,
.local-benefits span {
  color: #ff9a9e;
}
.local-section p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #c8c8ce;
}
.local-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.local-benefits span {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.local-benefits h3 {
  margin-top: 12px;
  font-size: 1.375rem;
}
.local-boundaries {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #404147;
}
.local-boundaries h3 {
  font-size: 1.25rem;
  line-height: 1.4;
}
.local-section .text-link {
  color: #ff9a9e;
  margin-top: 14px;
}
/* Lo scorrimento orizzontale è confinato alla tabella di confronto. */
.comparison-section {
  margin-top: 48px;
}
.comparison-heading h3 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
}
.comparison-heading .eyebrow {
  margin-bottom: 14px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.pricing-pro {
  border: 2px solid var(--accent);
  padding: 23px;
}
.pricing-card h4 {
  font-size: 1.875rem;
  margin: 18px 0 12px;
}
.pricing-card .price-description {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.price-value {
  font-size: 3rem;
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: var(--ink);
  margin: 5px 0 15px;
}
.price-value span {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
}
.pricing-card ul {
  padding-left: 20px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.pricing-card li {
  padding-left: 3px;
  margin-bottom: 10px;
}
.pricing-card li::marker {
  color: var(--accent);
}
.pricing-card > .button {
  width: 100%;
  margin-top: auto;
}
.pricing-secondary {
  background: var(--dark);
  border-color: var(--dark);
}
.pricing-secondary:hover {
  background: #303137;
  border-color: #303137;
}
.billing-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 14px;
  margin-bottom: 26px;
}
.billing-option {
  min-width: 0;
  padding: 20px;
  border-radius: 12px;
  background: #f5f5f6;
}
.billing-option h5 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.billing-option .price-value {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.billing-option .price-value span {
  font-size: 0.8125rem;
  white-space: nowrap;
}
.billing-option > p:not(.price-value) {
  font-size: 0.8125rem;
  line-height: 1.8;
}
.billing-annual {
  background: var(--accent-soft);
  border: 1px solid #edc1c5;
}
.saving-badge {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.comparison-intro {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin: 22px 0;
}
.comparison-scroll-hint {
  font-size: 0.8125rem;
  margin-bottom: 12px;
}
.comparison-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.comparison-table {
  width: 100%;
  min-width: 35rem;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.comparison-feature {
  width: 34%;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #e7e7e9;
}
.comparison-table th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  background: white;
  box-shadow: 1px 0 #e7e7e9;
}
.comparison-table thead {
  background: var(--dark);
  color: white;
}
.comparison-table thead th {
  padding-block: 22px;
  border-bottom: 0;
  font-weight: 600;
}
.comparison-table thead th:first-child {
  background: var(--dark);
}
.comparison-table thead span {
  display: block;
  font-size: 1.125rem;
}
.comparison-table thead small {
  display: block;
  margin-top: 8px;
  color: #cdced2;
  font-size: 0.6875rem;
  line-height: 1.6;
  font-weight: 400;
}
.comparison-table thead .plan-pro {
  background: var(--accent);
}
.comparison-table thead .plan-pro small {
  color: white;
}
.comparison-table tbody th[scope='row'] {
  font-weight: 450;
}
.comparison-table .comparison-group th {
  position: static;
  padding-block: 12px;
  background: #efeff0;
  color: #45464c;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.comparison-table tbody tr:not(.comparison-group) td:last-child {
  background: #fdf5f6;
}
.plan-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #303137;
  font-size: 0.75rem;
}
.plan-yes > span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.plan-no {
  font-size: 18px;
  color: #76777c;
}
.comparison-table tfoot {
  background: #f7f7f8;
}
.comparison-table tfoot th:first-child {
  background: #f7f7f8;
}
.comparison-table tfoot th,
.comparison-table tfoot td {
  border-bottom: 0;
  padding-block: 18px;
}
.comparison-table tfoot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}
.comparison-notes {
  margin-top: 18px;
}
.comparison-notes p {
  font-size: 0.8125rem;
  line-height: 1.9;
  margin-top: 10px;
}
.how-section {
  background: #efeff0;
  padding-block: 50px;
}
.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.how-layout > div > p:not(.eyebrow) {
  font-size: 0.9375rem;
  line-height: 1.9;
  margin-top: 22px;
}
.how-layout .text-link {
  margin-top: 18px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  align-items: start;
  gap: 18px;
  padding-block: 24px;
  border-bottom: 1px solid #d5d5d9;
}
.steps li:first-child {
  padding-top: 0;
}
.steps li:last-child {
  border: 0;
  padding-bottom: 0;
}
.steps li > div {
  min-width: 0;
}
.step-number {
  flex-shrink: 0;
  font-size: 0.875rem;
  padding-top: 3px;
  color: var(--accent);
}
.steps h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.steps p {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.guide-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.guide-search label {
  font-size: 0.9375rem;
  font-weight: 600;
}
.guide-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #bfc2cd;
  border-radius: 9px;
  background: white;
  font-size: 1rem;
}
.guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.guide-filters button {
  max-width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: transparent;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
}
.guide-filters button.active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.guide-filters button:hover:not(.active) {
  background: #ededee;
}
.guide-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.guide-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 13px 13px 0 0;
  border-bottom: 1px solid var(--line);
  background: #f2f2f4;
}
.guide-card:hover {
  border-color: #d9a3a7;
}
.guide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  width: 100%;
  min-width: 0;
  padding: 24px;
}
.guide-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 15px;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.guide-meta span {
  color: var(--muted);
  font-weight: 400;
}
.guide-body h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 1.25rem;
  line-height: 1.3;
}
.guide-body h3 span {
  color: var(--accent);
  flex-shrink: 0;
}
.guide-body p {
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.guide-tier {
  display: inline-block;
  margin-top: auto;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
}
.filter-status {
  margin-top: 20px;
  font-size: 0.8125rem;
}
.guide-empty {
  padding: 20px;
  border-radius: 10px;
  background: #ededee;
  font-size: 0.9375rem;
}
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.faq-list details {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  padding-top: 0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 0.9375rem;
  line-height: 1.9;
  margin: 14px 0 0;
}
.faq-list details a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 44px 24px;
  border-top: 4px solid var(--accent-bright);
  border-radius: var(--radius);
  background: var(--dark);
  color: white;
  text-align: center;
}
.cta-section .eyebrow,
.cta-section > p:last-child {
  color: #cdced2;
}
.cta-section h2 {
  position: relative;
  font-size: clamp(1.875rem, 4vw, 3.0625rem);
  line-height: 1.2;
}
.cta-section .button {
  position: relative;
  margin-top: 26px;
}
.cta-section > p:last-child {
  position: relative;
  margin-top: 18px;
  font-size: 0.8125rem;
}
.cta-doodle {
  position: absolute;
  width: 150px;
  height: 150px;
  left: -40px;
  bottom: -40px;
  opacity: 0.18;
  transform: rotate(-15deg);
  pointer-events: none;
}
.cta-doodle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 44px;
}
.footer > div > p {
  font-size: 0.875rem;
  line-height: 1.9;
  margin-top: 18px;
}
.footer > div:not(:first-child):not(.footer-bottom) {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.footer-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
.footer > div:not(:first-child):not(.footer-bottom) > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}
.footer .footer-bottom {
  grid-column: 1/-1;
}
/* Tutte le guide condividono le stesse regole, anche con zoom elevato. */
.guide-main {
  width: calc(100% - 32px);
  max-width: 860px;
  margin-inline: auto;
  padding-block: 30px 56px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 28px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
}
.guide-main h1 {
  font-size: clamp(2.125rem, 5vw, 3.875rem);
  line-height: 1.15;
  overflow-wrap: break-word;
}
.article-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-top: 24px;
}
.article-info {
  font-size: 0.75rem;
  line-height: 1.9;
  margin-top: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.tier-label {
  color: var(--accent);
  font-weight: 650;
}
.article-steps {
  counter-reset: guide;
  list-style: none;
  padding: 0;
  margin: 36px 0;
}
.article-steps li {
  position: relative;
  counter-increment: guide;
  padding-left: 46px;
  margin-bottom: 34px;
}
.article-steps li::before {
  content: counter(guide, decimal-leading-zero);
  display: grid;
  place-items: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
}
.article-steps h2 {
  font-size: 1.375rem;
  line-height: 1.35;
}
.article-steps p {
  font-size: 1rem;
  line-height: 1.9;
  margin-top: 12px;
}
.article-steps a,
.article-local a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.article-note {
  margin-block: 28px;
  padding: 22px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: #f0f0f2;
}
.article-note h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-note p {
  font-size: 0.9375rem;
  line-height: 1.9;
}
.article-local {
  font-size: 0.875rem;
  line-height: 1.9;
  margin-top: 24px;
}
.article-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.article-next > .button {
  width: 100%;
}
.article-related {
  margin-top: 44px;
}
.article-related h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.article-related a {
  display: block;
  min-height: 44px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--accent);
}
kbd {
  font: inherit;
  font-size: 0.875em;
  padding: 1px 5px;
  border: 1px solid #ceced2;
  border-radius: 4px;
  background: white;
  color: var(--ink);
}
/* 480 px: affiancamenti compatti senza comprimere il contenuto. */
@media (min-width: 30rem) {
  .wrap,
  .guide-main {
    width: calc(100% - 48px);
  }
  .hero-actions > .button,
  .article-next > .button {
    width: auto;
  }
  .benefit-strip .wrap,
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .billing-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .demo-controls > span {
    flex-basis: auto;
  }
  .demo-side {
    flex-basis: 46px;
    padding: 14px 9px;
  }
  .mini-page {
    width: 28px;
    height: 39px;
  }
  .demo-pages {
    gap: 14px;
    padding: 22px 16px;
  }
  .paper {
    min-height: 200px;
    padding: 16px 12px;
  }
  .paper-shape,
  .paper-chart {
    height: 55px;
  }
  .paper-kicker,
  .paper-number {
    font-size: 5px;
  }
  .demo-toolbar {
    gap: 16px;
    padding-inline: 14px;
    font-size: 0.6875rem;
  }
  .demo-top {
    font-size: 0.6875rem;
  }
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer > div:first-child {
    grid-column: 1/-1;
  }
}
/* 640 px: tablet, guide e contenuti in due colonne. */
@media (min-width: 40rem) {
  .brand {
    font-size: 1.4375rem;
  }
  .brand-logo {
    width: 46px;
    height: 46px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.875rem);
  }
  .header nav .nav-app {
    display: none;
  }
  .section {
    padding-block: 72px;
  }
  .hero {
    padding-block: 54px 42px;
  }
  .hero .eyebrow {
    font-size: 13.5px;
  }
  .header .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .hero-visual {
    padding-top: 72px;
  }
  .floating-logo {
    width: 35px;
    height: 35px;
  }
  .floating-label {
    font-size: 0.75rem;
  }
  .guides-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .local-section {
    padding: 40px;
  }
  .local-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .local-benefits h3 {
    font-size: 1.25rem;
  }
  .guide-search {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .guide-search input {
    flex: 1;
    max-width: 500px;
  }
  .guide-search label {
    flex-shrink: 0;
  }
  .comparison-feature {
    width: 40%;
  }
  .comparison-scroll-hint {
    display: none;
  }
  .comparison-table th:first-child {
    position: static;
    box-shadow: none;
  }
  .comparison-table thead span {
    font-size: 1.375rem;
  }
  .cta-section {
    padding: 56px 36px;
  }
  .cta-doodle {
    width: 220px;
    height: 220px;
  }
  .guide-main {
    padding-block: 44px 72px;
  }
  .article-steps li {
    padding-left: 60px;
  }
  .article-steps li::before {
    width: 40px;
    height: 40px;
  }
  .article-steps h2 {
    font-size: 1.5rem;
  }
  .article-note {
    padding: 26px;
  }
}
/* 960 px: demo affiancata e sezioni estese. */
@media (min-width: 60rem) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    padding-block: 72px 64px;
  }
  .hero h1 {
    font-size: clamp(3.375rem, 5.4vw, 4.875rem);
  }
  .hero-actions > .button {
    padding-inline: 20px;
  }
  .hero-visual {
    padding-inline: 12px;
  }
  .section-heading,
  .comparison-heading {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 36px;
    margin-bottom: 36px;
  }
  .section-heading > p,
  .comparison-heading > p {
    max-width: 330px;
  }
  .special-grid,
  .guides-grid,
  .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .special-art {
    padding-inline: 16px;
  }
  .booklet-art {
    grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
    gap: 12px;
  }
  .special-body {
    padding: 24px 20px;
  }
  .special-body h3 {
    font-size: 1.375rem;
  }
  .special-body .text-link {
    font-size: 0.8125rem;
  }
  .local-section {
    padding: 48px;
  }
  .local-benefits {
    gap: 36px;
  }
  .local-benefits h3 {
    font-size: 1.375rem;
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: 24px;
  }
  .pricing-card {
    padding: 28px;
  }
  .pricing-pro {
    padding: 27px;
  }
  .how-section {
    padding-block: 72px;
  }
  .how-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .faq-section {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 64px;
  }
  .footer {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    padding-top: 64px;
    gap: 36px;
  }
  .footer > div:first-child {
    grid-column: auto;
  }
}
/* 1200 px: navigazione completa e quattro strumenti per riga. */
@media (min-width: 75rem) {
  .wrap {
    width: calc(100% - 96px);
  }
  .header {
    flex-wrap: nowrap;
    gap: 24px;
    min-height: 105px;
    padding-block: 16px;
  }
  .brand-logo {
    width: 56px;
    height: 56px;
    margin-right: 11px;
  }
  .brand {
    font-size: 1.5625rem;
  }
  .menu-toggle,
  .js .menu-toggle {
    display: none;
  }
  .header nav,
  .js .header nav,
  .js .header nav.is-open {
    position: static;
    display: flex;
    flex-wrap: wrap;
    width: auto;
    max-height: none;
    overflow: visible;
    gap: 8px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 1.05625rem;
  }
  .header nav a {
    padding-inline: 8px;
  }
  .header .header-cta {
    flex-shrink: 0;
  }
  .section {
    padding-block: 96px;
  }
  .hero {
    padding-block: 88px 76px;
    gap: 44px;
  }
  .benefit-strip .wrap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .benefit-strip span {
    font-size: 0.8125rem;
  }
  .tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .tool-card {
    padding: 24px 20px;
  }
  .tool-card h3 {
    font-size: 1.25rem;
  }
  .tool-card p {
    font-size: 0.875rem;
  }
  .card-link {
    font-size: 0.8125rem;
  }
  .booklet-art {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px 16px;
  }
  .comparison-table th,
  .comparison-table td {
    padding-inline: 20px;
  }
  .comparison-table .comparison-group th {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .header,
  .hero-visual,
  .guide-filters,
  .guide-search,
  .cta-section,
  .footer,
  .article-next,
  .article-related {
    display: none;
  }
  .wrap,
  .guide-main {
    width: 100%;
    max-width: none;
  }
  .comparison-scroll {
    overflow: visible;
  }
  .comparison-table {
    min-width: 0;
    font-size: 9pt;
  }
  .comparison-table th:first-child {
    position: static;
  }
  .section {
    padding-block: 20px;
  }
}
