/* ============================================================
   D4Y - Landing Page Styles
   Sistema, non vetrina. Premium dal ritmo, non dagli effetti.
   ============================================================ */

/* -- Tokens ------------------------------------------------- */
:root {
  /* Palette base - Inchiostro caldo */
  --ink: #0E1117;
  --ink-deep: #08090d;
  --ink-soft: #1F2937;
  --paper: #FAFAF7;
  --surface: #FFFFFE;
  --line: #E5E5DD;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-dark-strong: rgba(255, 255, 255, 0.14);
  --muted: #6B6B66;
  --muted-dark: rgba(255, 255, 255, 0.58);
  --muted-dark-soft: rgba(255, 255, 255, 0.55);
  --success: #1B5E4F;
  --warn: #B0451E;

  /* Accent - Blu inchiostro */
  --accent: #1E3A8A;
  --accent-deep: #152a66;
  --accent-soft: #eaeef9;

  /* Warm glow - il 15% di craft consentito */
  --amber: #c98a3e;
  --amber-soft: rgba(201, 138, 62, 0.28);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 12px 32px rgba(14, 17, 23, 0.06);
  --shadow-lift: 0 24px 60px -20px rgba(14, 17, 23, 0.18), 0 8px 24px -8px rgba(14, 17, 23, 0.08);
  --shadow-dark: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --shadow-focus: 0 0 0 4px rgba(30, 58, 138, 0.16);

  /* Easing */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Type */
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Container */
  --container: 1180px;

  /* Z-index scale */
  --z-nav: 100;
  --z-modal: 9000;
}

/* -- Skip link (keyboard nav) ------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  z-index: calc(var(--z-modal) + 1);
  text-decoration: none;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* -- Accessibility utility ---------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* -- Reset / base ------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--paper); }

/* -- Type utilities ---------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.eyebrow--dark { color: var(--muted-dark); }
.eyebrow--accent { color: var(--accent); }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.annot {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: inherit;
  text-wrap: balance;
}
.h-hero { font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -0.022em; }
.h-section { font-size: clamp(30px, 4vw, 50px); font-weight: 650; }
.h-card { font-size: clamp(22px, 2vw, 28px); font-weight: 650; line-height: 1.15; }

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  text-wrap: pretty;
}
.lead--dark { color: var(--muted-dark); }

/* -- Container ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* -- Section base ------------------------------------------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section--tight { padding: 88px 0; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
}

.section-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-header .eyebrow { display: inline-block; margin-bottom: 16px; }
.section-header .lead { margin-top: 18px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Proof section needs wider lead so the subhead fits in ~2 lines */
#proof .section-header { max-width: 920px; }
#proof .section-header .lead { max-width: 860px; }

/* Scope section - same treatment, copy is long */
#incluso .section-header { max-width: 940px; }
#incluso .section-header .lead { max-width: 880px; }

/* Sistema / Il percorso */
#sistema .section-header { max-width: 1100px; }
#sistema .section-header .lead { max-width: 880px; }

/* Audience section — italic qualifier in headline */
#audience .h-section em {
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
}

/* -- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 550;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  transition: transform 150ms ease-out, background 150ms ease-out, box-shadow 150ms ease-out, color 150ms ease-out;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); transition-duration: 80ms; }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 24px -8px rgba(14, 17, 23, 0.4);
}
.btn--primary:hover { background: var(--accent); box-shadow: 0 12px 28px -8px rgba(30, 58, 138, 0.5); }

.btn--light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}
.btn--light:hover { background: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }

.btn--ghost-dark {
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  border: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.btn--lg { height: 58px; padding: 0 28px; font-size: 16px; }

/* -- Trust strip -------------------------------------------- */
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.trust-strip--dark { color: var(--muted-dark-soft); }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.4; }

/* -- Sticky pill nav --------------------------------------- */
.nav-wrap {
  position: fixed; top: 22px; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  padding: 8px 8px 8px 18px;
  background: rgba(14, 17, 23, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
  transition: background 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out, opacity 500ms cubic-bezier(0.23,1,0.32,1), transform 500ms cubic-bezier(0.23,1,0.32,1);
}
.nav.is-light {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(14, 17, 23, 0.08);
  box-shadow: 0 16px 40px -12px rgba(14, 17, 23, 0.12);
}
.nav__brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--paper);
  padding-right: 14px;
  border-right: 1px solid var(--line-dark);
  margin-right: 4px;
  transition: color 200ms;
}
.nav.is-light .nav__brand { color: var(--ink); border-right-color: var(--line); }
.nav__mark {
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: transparent;
}
.nav.is-light .nav__mark { color: var(--ink); }
.nav__mark svg { width: 100%; height: 100%; display: block; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: 16px;
}
.nav__links { display: flex; gap: 2px; }
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-pill);
  transition: color 150ms, background 150ms;
}
.nav.is-light .nav__link { color: var(--muted); }
.nav__link:hover { color: var(--paper); background: rgba(255,255,255,0.06); }
.nav.is-light .nav__link:hover { color: var(--ink); background: rgba(14,17,23,0.05); }
.nav__cta {
  margin-left: 6px;
  height: 38px; padding: 0 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 550;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 150ms, transform 150ms;
}
.nav.is-light .nav__cta { background: var(--ink); color: var(--paper); }
.nav__cta:hover { transform: translateY(-1px); }
.nav__cta:active { transform: scale(0.97); transition-duration: 80ms; }
.nav__cta svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__brand { border-right: none; padding-right: 0; }
}

/* ============================================================
   DARK SECTIONS (Hero + Problemi)
   ============================================================ */
.dark-block {
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Warm amber + blue mesh background */
.dark-block::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 58, 138, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 40% at 75% 30%, rgba(201, 138, 62, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 35% at 20% 70%, rgba(30, 58, 138, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 68%, rgba(201, 138, 62, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Faded tech dot-grid — concentrated behind the hero, fades to nothing */
.dark-block::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: 0.06;
  mask-image: radial-gradient(ellipse 70% 52% at 50% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 52% at 50% 20%, #000 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.dark-block > * { position: relative; z-index: 1; }

/* -- Hero --------------------------------------------------- */
.hero {
  padding-top: 220px;
  padding-bottom: 200px;
  text-align: center;
}

/* Page-load orchestration
   easing: cubic-bezier(.22,1,.36,1) - calm, premium, deceleration-heavy
   Each element staggered ~150ms apart */
@keyframes loadIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loadInSoft {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero__eyebrow { animation: loadIn 700ms cubic-bezier(.22,1,.36,1) 100ms both; }
.hero h1       { animation: loadIn 800ms cubic-bezier(.22,1,.36,1) 250ms both; }
.hero__sub     { animation: loadIn 700ms cubic-bezier(.22,1,.36,1) 450ms both; }
.hero__ctas    { animation: loadIn 700ms cubic-bezier(.22,1,.36,1) 600ms both; }
.hero__trust   { animation: loadIn 700ms cubic-bezier(.22,1,.36,1) 750ms both; }
.hero-card     { animation: loadIn 900ms cubic-bezier(.22,1,.36,1) 900ms both; }
@media (max-width: 720px) {
  .hero { padding-top: 130px; padding-bottom: 80px; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  margin-bottom: 32px; /* group eyebrow as headline's label; sets rising rhythm 32 < 44 < 52 */
}
.hero__eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(28px, 5.4vw, 68px);
  text-wrap: pretty;
}
.hero__h1-line { white-space: nowrap; }
@media (max-width: 920px) {
  .hero__h1-line { white-space: normal; }
}
.hero h1 .accent-word,
.h-section .accent-word,
.mid-cta .accent-word {
  font-family: "Spectral", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.14em;
  letter-spacing: -0.01em;
  color: var(--amber);
  display: inline-block;
  line-height: 0.88;
  vertical-align: -0.04em;
}
.hero__sub {
  margin: 44px auto 0;
  max-width: 960px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.48; /* tighten the 3 lines into one support block, less mass vs headline */
  color: var(--muted-dark);
}
.hero__ctas-microcopy {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5); /* a11y: 0.38 failed WCAG AA at 12px (~3.7:1); 0.5 ~5.6:1, still subordinate */
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 52px;
}
.hero__trust {
  margin-top: 36px;
}



/* KPI mockup card under hero - "system console" identity */
.hero-card {
  margin: 88px auto 0;
  max-width: 920px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-xl);
  padding: 24px 36px 36px;
  position: relative;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
/* Internal grid pattern, very subtle - "this is a console" */
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-dark-soft);
}
.hero-card__path { color: var(--amber); }
.hero-card__ts::before { content: "● "; color: #6ddca9; font-size: 9px; vertical-align: middle; margin-right: 4px; }
.hero-card::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse 50% 50% at center, var(--amber-soft), transparent 70%);
  pointer-events: none;
}
.hero-card > * { position: relative; }

.hero-card__top {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 28px;
}
.hero-card__icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark-strong);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--amber);
  flex-shrink: 0;
}
.hero-card__icon svg { width: 22px; height: 22px; }
.hero-card__bignum {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-card__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
  margin-top: 4px;
}
.hero-card__sla {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(201, 138, 62, 0.12);
  border: 1px solid rgba(201, 138, 62, 0.32);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}
.hero-card__sla .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(201, 138, 62, 0.6); }

.hero-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-card__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.012);
}
.hero-card__item-key {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  flex-shrink: 0;
}
.hero-card__item-body { display: flex; flex-direction: column; gap: 3px; }
.hero-card__item-title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
  line-height: 1.25;
}
.hero-card__item-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-dark-soft);
}
@media (max-width: 720px) {
  .hero-card { padding: 20px 22px 28px; }
  .hero-card__top { flex-wrap: wrap; }
  .hero-card__sla { margin-left: 0; }
  .hero-card__list { grid-template-columns: 1fr; }
}

/* ============================================================
   PREVIEW CONSOLE - diagnosis dashboard (redesign)
   Minimal premium dark SaaS. One accent (amber) used sparingly.
   ============================================================ */
.hero__text { will-change: transform; }

.preview-mockup {
  /* scoped dark-tech palette */
  --pv-surface: #0B0F17;
  --pv-card: #121824;
  --pv-card-2: #171E2B;
  --pv-bd: rgba(255,255,255,0.08);
  --pv-bd-active: rgba(232,166,72,0.45);
  --pv-tx: #F5F2EA;
  --pv-tx-2: #A7ADBB;
  --pv-tx-mut: #6F7786;
  --pv-amber: #E8A648;
  --pv-amber-h: #F2B95C;
  --pv-ok: #55D6A2;
  --pv-red: #E0584D;

  margin: 88px auto 0;
  max-width: 1180px;
  position: relative;
  text-align: left;
  color: var(--pv-tx);
  font-family: var(--font-body);
  border: 1px solid var(--pv-bd);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(130% 80% at 82% -12%, rgba(232,166,72,0.10), transparent 52%),
    radial-gradient(120% 90% at 12% -4%, rgba(29,78,216,0.12), transparent 55%),
    var(--pv-surface);
  box-shadow:
    0 40px 110px -34px rgba(0,0,0,0.88),
    0 1px 0 rgba(255,255,255,0.05) inset;
  /* parallax initial state (JS fades in; reduced-motion forces visible) */
  will-change: transform, opacity;
  transform: translateY(80px);
  opacity: 0;
}

.pv { display: flex; flex-direction: column; }

/* ---- slim header ---- */
.pv-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--pv-bd);
  background: rgba(255,255,255,0.014);
}
.pv-bar__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--pv-tx);
}
.pv-bar__url {
  font-size: 12px; color: var(--pv-tx-mut); letter-spacing: 0.01em;
}
.pv-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pv-dot--amber { background: var(--pv-amber); box-shadow: 0 0 8px rgba(232,166,72,0.5); }

/* ---- body wrapper ---- */
.pv-body { display: flex; flex-direction: column; gap: 26px; padding: 28px; }

/* ---- Prima / Dopo : wireframe schematico ---- */
.pv-ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}
.pv-side { display: flex; flex-direction: column; gap: 12px; }
.pv-side__tag {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--pv-tx-mut);
}
.pv-side__tag--after { color: var(--pv-amber); }
.pv-side__cap { font-size: 12.5px; line-height: 1.4; color: var(--pv-tx-2); }
.pv-side__cap--after { color: var(--pv-tx); }

/* mini page wireframe (lines, not nested cards) */
.pv-wire {
  display: flex; flex-direction: column; gap: 11px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--pv-bd);
  background: #0E131C;
  min-height: 132px;
}
.pv-side--before .pv-wire {
  border-color: rgba(224, 88, 77, 0.42);
  box-shadow: 0 0 0 1px rgba(224, 88, 77, 0.08), 0 18px 44px -36px rgba(224, 88, 77, 0.32);
}
.pv-wire--strong {
  border-color: var(--pv-bd-active);
  background:
    linear-gradient(180deg, rgba(232,166,72,0.07), rgba(232,166,72,0.012)),
    var(--pv-card-2);
  box-shadow: 0 22px 54px -34px rgba(232,166,72,0.34);
}
.pv-wire__bar {
  height: 13px; width: 46%; border-radius: 4px;
  background: rgba(255,255,255,0.14);
}
.pv-wire__bar--strong {
  width: 62%;
  background: linear-gradient(90deg, rgba(245,242,234,0.9), rgba(245,242,234,0.5));
}
.pv-wire__line {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.07);
}
.pv-wire--strong .pv-wire__line { background: rgba(255,255,255,0.12); }
.pv-wire__cta {
  margin-top: auto; align-self: flex-start;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
.pv-wire__cta--weak {
  color: var(--pv-tx-mut);
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.16);
}
.pv-wire__cta--strong {
  color: #1a1206;
  background: var(--pv-amber);
  box-shadow: 0 10px 26px -12px rgba(232,166,72,0.6);
}
.pv-arrow {
  display: grid; place-items: center;
  color: var(--pv-tx-mut);
  padding-top: 26px;
}
.pv-arrow svg { width: 22px; height: 22px; }

/* ---- KPI board: reference-style mini dashboard ---- */
.pv-board {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 22px 22px;
  border-radius: 16px;
  border: 1px solid var(--pv-bd);
  background:
    radial-gradient(130% 150% at 100% -10%, rgba(232,166,72,0.10), transparent 55%),
    radial-gradient(120% 120% at 0% 0%, rgba(29,78,216,0.10), transparent 55%),
    var(--pv-card);
}
.pv-board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pv-board__title {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em; color: var(--pv-tx);
}

/* 3 KPI stat cards (reference top row) */
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pv-kpi-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 16px 15px;
  border-radius: 13px;
  border: 1px solid var(--pv-bd);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
    var(--pv-card-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 180ms cubic-bezier(0.16,1,0.3,1), transform 180ms cubic-bezier(0.16,1,0.3,1);
}
@media (hover: hover) and (pointer: fine) {
  .pv-kpi-card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-2px); }
}
.pv-kpi-card--lead::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(232,166,72,0.16), transparent 60%);
}
.pv-kpi-card > * { position: relative; z-index: 1; }
.pv-kpi-card__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.01em;
  color: var(--pv-tx-2);
}
.pv-kpi-card__val {
  font-family: var(--font-display); font-size: 27px; font-weight: 680;
  letter-spacing: -0.025em; line-height: 1; color: var(--pv-tx);
  text-shadow: 0 0 18px rgba(255,255,255,0.06);
}
.pv-kpi-card--lead .pv-kpi-card__val { color: var(--pv-amber-h); text-shadow: 0 0 18px rgba(232,166,72,0.25); }
.pv-kpi-card__delta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  color: var(--pv-ok);
}
.pv-kpi-card__delta svg { width: 12px; height: 12px; }

/* ── Diagnosi qualitativa — variante card ── */
.pv-kpis--diag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 600px) {
  .pv-kpis--diag { grid-template-columns: 1fr; }
}
.pv-kpi-card--diag {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pv-kpi-card__diag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.pv-kpi-card__diag--before {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
.pv-kpi-card__diag--after {
  background: rgba(201, 138, 62, 0.18);
  color: var(--pv-amber, #e8a648);
}

/* bar chart panel — quiet, narrative prima -> con Xplora */
.pv-graph {
  display: flex; flex-direction: column; gap: 15px;
  padding: 16px 18px 16px;
  border-radius: 13px;
  border: 1px solid var(--pv-bd);
  background: var(--pv-card);
}
.pv-graph__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pv-graph__label { font-family: var(--font-mono); font-size: 11px; color: var(--pv-tx-2); letter-spacing: 0.01em; }
.pv-graph__leg { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.pv-gl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--pv-tx-mut); }
.pv-gl__d { width: 7px; height: 7px; border-radius: 2px; }
.pv-gl__d--before { background: rgba(255,255,255,0.22); }
.pv-gl__d--after { background: var(--pv-amber); }

.pv-graph__plot { position: relative; height: 124px; padding-top: 6px; }
.pv-graph__grid {
  position: absolute; inset: 6px 0 0 0;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.pv-graph__grid span { height: 1px; background: rgba(255,255,255,0.04); }
.pv-graph__bars {
  position: relative; height: 100%;
  display: flex; align-items: flex-end; gap: 9px;
}
.pv-gbar {
  flex: 1; border-radius: 5px 5px 1px 1px;
  transform-origin: bottom center;
}
.pv-gbar--before { background: rgba(255,255,255,0.10); }
.pv-gbar--after { background: linear-gradient(180deg, rgba(232,166,72,0.60), rgba(232,166,72,0.24)); }
/* quiet dashed divider: the moment the page is rewritten */
.pv-gsplit { flex: 0 0 1px; align-self: stretch; position: relative; }
.pv-gsplit::before {
  content: ""; position: absolute; left: 50%; top: 2px; bottom: 0;
  border-left: 1px dashed rgba(255,255,255,0.14);
}

.pv-graph__note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--pv-tx-2); }
.pv-graph__note-k { color: var(--pv-tx); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .pv-kpi-card { animation: pvRise 700ms cubic-bezier(.22,1,.36,1) both; }
  .pv-kpis .pv-kpi-card:nth-child(1) { animation-delay: 1.02s; }
  .pv-kpis .pv-kpi-card:nth-child(2) { animation-delay: 1.14s; }
  .pv-kpis .pv-kpi-card:nth-child(3) { animation-delay: 1.26s; }
  .pv-gbar { animation: pvBar 560ms cubic-bezier(.22,1,.36,1) both; }
  .pv-gbar:nth-child(1) { animation-delay: 1.28s; }
  .pv-gbar:nth-child(2) { animation-delay: 1.33s; }
  .pv-gbar:nth-child(3) { animation-delay: 1.38s; }
  .pv-gbar:nth-child(5) { animation-delay: 1.46s; }
  .pv-gbar:nth-child(6) { animation-delay: 1.51s; }
  .pv-gbar:nth-child(7) { animation-delay: 1.56s; }
  .pv-gbar:nth-child(8) { animation-delay: 1.61s; }
}
@keyframes pvBar { from { transform: scaleY(0.05); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes pvRise { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---- cosa ricevi: 4 output schematici ---- */
.pv-get { display: flex; flex-direction: column; gap: 13px; }
.pv-get__title {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--pv-tx-mut);
}
.pv-get__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pv-get__item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--pv-bd);
  background: var(--pv-card);
  transition: border-color 180ms cubic-bezier(0.16,1,0.3,1), background 180ms cubic-bezier(0.16,1,0.3,1), transform 180ms cubic-bezier(0.16,1,0.3,1);
}
@media (hover: hover) and (pointer: fine) {
  .pv-get__item:hover {
    border-color: rgba(255,255,255,0.16);
    background: var(--pv-card-2);
    transform: translateY(-2px);
  }
}
.pv-get__ic {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--pv-amber);
  background: rgba(232,166,72,0.10);
  border: 1px solid rgba(232,166,72,0.22);
}
.pv-get__ic svg { width: 16px; height: 16px; }
.pv-get__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pv-get__name {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em; line-height: 1.2; color: var(--pv-tx);
}
.pv-get__desc { font-size: 11.5px; line-height: 1.35; color: var(--pv-tx-2); }
.pv-get__badge {
  padding: 2px 7px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--pv-amber);
  background: rgba(232,166,72,0.14);
  border: 1px solid rgba(232,166,72,0.34);
}
/* bonus card: subtle amber lift, signals the extra */
.pv-get__item--bonus {
  border-color: rgba(232,166,72,0.30);
  background:
    linear-gradient(180deg, rgba(232,166,72,0.06), rgba(232,166,72,0.012)),
    var(--pv-card);
}
.pv-get__item--bonus:hover { border-color: rgba(232,166,72,0.5); }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .preview-mockup { margin-top: 56px; border-radius: 18px; }
  .pv-bar { padding: 11px 16px; }
  .pv-body { padding: 18px; gap: 22px; }
  .pv-ba { grid-template-columns: 1fr; gap: 12px; }
  .pv-side--after { order: -1; }
  .pv-arrow { display: none; }
  .pv-get__grid { grid-template-columns: 1fr 1fr; }
  .pv-kpis { grid-template-columns: 1fr; gap: 10px; }
  .pv-graph__plot { height: 130px; }
}
@media (max-width: 420px) {
  .pv-get__grid { grid-template-columns: 1fr; }
}
/* ============================================================
   PROBLEMI - 3 pillars (dark)
   ============================================================ */
.problems {
  padding-top: 80px;
  padding-bottom: 0;
}
.problems__head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.problems__head .eyebrow { display: block; margin-bottom: 14px; }
.problems__head h2 { color: var(--paper); margin-bottom: 18px; }
.problems__head h2 strike { text-decoration-color: var(--warn); text-decoration-thickness: 2px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  perspective: 1600px;
}
/* Schematic connection: thin line running through all pillars + pulse nodes */
.pillars::before {
  content: "";
  position: absolute;
  top: 96px;
  left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 18%, rgba(201,138,62,0.32) 50%, rgba(255,255,255,0.10) 82%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars::before { display: none; }
}

/* Hover focus: neighbors attenuate */
@media (hover: hover) and (pointer: fine) {
  .pillars:hover .pillar { opacity: 0.60; }
  .pillars:hover .pillar:hover { opacity: 1; }
}

.pillar {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 250ms, background 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease-out;
  overflow: visible;
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-4px); border-color: rgba(201,138,62,0.38); background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.012) 100%); }
}
/* Pulse node on the connection line, positioned at icon Y */
.pillar::after {
  content: "";
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 1.5px solid rgba(255,255,255,0.25);
  z-index: 2;
  transition: background 250ms, border-color 250ms, box-shadow 250ms, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover::after {
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(201, 138, 62, 0.18), 0 0 16px var(--amber);
    transform: translate(-50%, 0) scale(1.35);
  }
}
@media (max-width: 880px) { .pillar::after { display: none; } }
.pillar::before {
  content: "";
  position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover::before { opacity: 0.8; }
}
.pillar__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(201,138,62,0.52);
  margin-bottom: 28px;
}
.pillar__icon {
  width: 44px; height: 44px;
  background: rgba(201,138,62,0.07);
  border: 1px solid rgba(201,138,62,0.20);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--amber);
  margin-bottom: 24px;
}
.pillar__icon svg { width: 20px; height: 20px; }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--paper);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.pillar p {
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.58;
}
.pillar__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-dark-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-dark-soft);
  display: flex; align-items: center; gap: 8px;
}
.pillar__note svg {
  width: 13px; height: 13px;
  color: var(--warn);
  animation: sintomo-pulse 2.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes sintomo-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.30; }
}
@media (prefers-reduced-motion: reduce) {
  .pillar__note svg { animation: none; }
}

/* ============================================================
   TRANSITION BRIDGE - dark → light  (perceptually smooth)
   ============================================================ */
.bridge {
  position: relative;
  height: 360px;
  /* Use OKLAB interpolation: perceptually uniform, no visible bands */
  background:
    /* Warm amber glow in the middle (the "accento") */
    radial-gradient(ellipse 110% 80% at 50% 55%, rgba(201, 138, 62, 0.30) 0%, rgba(201, 138, 62, 0.0) 70%),
    /* Subtle blue residue from hero */
    radial-gradient(ellipse 80% 60% at 50% 15%, rgba(30, 58, 138, 0.16), transparent 75%),
    /* Base smooth dark→paper using OKLAB color space for buttery interpolation */
    linear-gradient(in oklab to bottom,
      #08090d 0%,
      #1a1814 30%,
      #4a3f2c 52%,
      #b5a78a 72%,
      #ebe4d2 88%,
      #FAFAF7 100%
    );
  overflow: hidden;
}
/* Edge feathers: hide any pixel-level break with paper/ink */
.bridge::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--ink-deep) 0%, transparent 4%),
    linear-gradient(to top, var(--paper) 0%, transparent 5%);
  pointer-events: none;
}
/* SVG grain to dither any residual banding */
.bridge::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@supports not (background: linear-gradient(in oklab, red, blue)) {
  /* Fallback for older browsers - denser sRGB stops */
  .bridge {
    background:
      radial-gradient(ellipse 110% 80% at 50% 55%, rgba(201, 138, 62, 0.30) 0%, rgba(201, 138, 62, 0.0) 70%),
      radial-gradient(ellipse 80% 60% at 50% 15%, rgba(30, 58, 138, 0.16), transparent 75%),
      linear-gradient(to bottom,
        #08090d 0%, #14130f 14%, #2a2418 28%, #4a3f2c 42%, #6b5d44 54%,
        #8d7e63 64%, #ad9d80 73%, #c8baa0 81%, #ddd2bd 88%, #ece4d2 94%, #FAFAF7 100%);
  }
}

/* ============================================================
   LIGHT SECTIONS
   ============================================================ */
.light-block {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
/* Pull up first light section so the long bridge doesn't leave empty space */
.light-block > .section:first-of-type { padding-top: 0; }

/* Subtle mesh + grain on light */
.light-block::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(30, 58, 138, 0.04), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 138, 62, 0.06), transparent 65%);
  pointer-events: none;
}
.light-block > * { position: relative; }

/* ============================================================
   PER CHI È / PER CHI NON È
   ============================================================ */
.audience-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px;
  max-width: 1080px; margin: 0 auto;
}
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-col {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.audience-col--yes { box-shadow: var(--shadow-soft); }
.audience-col--no {
  background: transparent;
  border-style: dashed;
  padding: 36px 32px;
}
.audience-col--no .audience-col__title { font-size: 18px; color: var(--muted); }
.audience-col--no .audience-col__list li { font-size: 15px; }

.audience-col__head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.audience-col__badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.audience-col--yes .audience-col__badge { background: rgba(27, 94, 79, 0.12); color: var(--success); }
.audience-col--no .audience-col__badge { background: rgba(176, 69, 30, 0.10); color: var(--warn); }
.audience-col__badge svg { width: 18px; height: 18px; }
.audience-col__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.audience-col__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.audience-col__list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; line-height: 1.5;
  color: var(--ink);
}
.audience-col__list svg { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.audience-col--yes svg { color: var(--success); }
.audience-col--no svg { color: var(--warn); }
.audience-col--no .audience-col__list li { color: var(--muted); }

/* ============================================================
   COSA NON PROMETTO + MECCANISMO
   ============================================================ */
.no-promises {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 920px; margin: 0 auto;
  position: relative;
}
.no-promises__label {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warn);
}
.no-promises h3 { margin-bottom: 8px; }
.no-promises .lead { margin-bottom: 28px; }
.no-promises__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
@media (max-width: 600px) { .no-promises__list { grid-template-columns: 1fr; } }
.no-promises__list li {
  list-style: none;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
}
.no-promises__list svg { width: 16px; height: 16px; margin-top: 4px; color: var(--warn); flex-shrink: 0; }

/* Meccanismo (BAO) */
.bao {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0;
  align-items: stretch;
  max-width: 1080px; margin: 56px auto 0;
}
.bao__step {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 250ms;
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .bao__step:not(.bao__step--current):hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px -16px rgba(14,17,23,0.14), 0 4px 12px -4px rgba(14,17,23,0.06);
    border-color: rgba(14,17,23,0.14);
  }
}
.bao__step--current:hover { transform: none; }
.bao__step .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.bao__step h3 {
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 10px;
}
.bao__step p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.bao__arrow {
  display: grid; place-items: center;
  color: var(--muted);
  padding: 0 4px;
  position: relative;
  min-width: 90px;
}
.bao__arrow::before {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--ink) 50%, var(--line) 100%);
}
.bao__arrow::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.bao__arrow .bao__arrow-label {
  position: absolute;
  top: calc(50% + 18px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(201,138,62,0.55);
  white-space: nowrap;
}
.bao__arrow svg { display: none; }
.bao__step--current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.bao__step--current .num { color: var(--amber); }
.bao__step--current p { color: var(--muted-dark); }

@media (max-width: 880px) {
  .bao { grid-template-columns: 1fr; gap: 12px; }
  .bao__arrow { transform: rotate(90deg); padding: 4px 0; min-height: 32px; }
  .bao__arrow .bao__arrow-label { display: none; }
}

/* ============================================================
   TIMELINE 7 GIORNI
   ============================================================ */
.timeline {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.timeline__rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  position: relative;
}
.timeline__line {
  position: absolute;
  top: 28px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
/* Gate zone (first segment): dashed warn */
.timeline__gate-zone {
  position: absolute;
  top: 28px;
  left: 7%;
  width: calc((100% - 14%) / 6);
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--warn) 0px, var(--warn) 5px, transparent 5px, transparent 10px);
  z-index: 1;
}
/* Tick marks every ~16px on the rail */
.timeline__ticks {
  position: absolute;
  top: 22px;
  left: 7%;
  right: 7%;
  height: 12px;
  background-image: repeating-linear-gradient(90deg, rgba(14,17,23,0.18) 0px, rgba(14,17,23,0.18) 1px, transparent 1px, transparent 16px);
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 65%, transparent 100%);
}
@media (max-width: 880px) {
  .timeline__gate-zone, .timeline__ticks { display: none; }
}
.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.timeline__node {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .timeline__step:hover .timeline__node {
    transform: scale(1.08);
    box-shadow: 0 4px 16px -4px rgba(14,17,23,0.18);
  }
}
.timeline__step--gate .timeline__node {
  background: var(--warn);
  border-color: var(--warn);
  color: var(--paper);
}
.timeline__step--rev .timeline__node {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--amber);
}
.timeline__step--go .timeline__node {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  box-shadow: 0 0 0 6px rgba(30, 58, 138, 0.12), 0 4px 16px -4px rgba(30,58,138,0.30);
}
.timeline__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.timeline__title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.timeline__desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 8px;
  padding: 0 6px;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}
@media (max-width: 880px) {
  .timeline__rail { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .timeline__line { display: none; }
  .timeline__step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
  .timeline__node { margin: 0; align-self: start; }
  .timeline__label, .timeline__title { text-align: left; }
  .timeline__desc { max-width: none; margin: 6px 0 0; padding: 0; grid-column: 2; }
  .timeline__label, .timeline__title { grid-column: 2; }
}

.timeline__caveat {
  margin-top: 48px;
  padding: 16px 22px;
  background: rgba(176, 69, 30, 0.06);
  border: 1px solid rgba(176, 69, 30, 0.18);
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--warn);
}
.timeline__caveat svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   SCOPE / COSA È INCLUSO
   ============================================================ */
.scope {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px;
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 880px) { .scope { grid-template-columns: 1fr; } }

.scope__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.scope__card--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding-top: 64px;
}
.scope__card--feature::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(circle at top right, var(--amber-soft), transparent 65%);
  pointer-events: none;
}
.scope__card > * { position: relative; }
.scope__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 28px;
}
.scope__price::before {
  content: "> contract / scope · v2.1";
  position: absolute;
  top: 36px; left: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.scope__price .currency { font-family: var(--font-mono); font-size: 24px; color: var(--muted-dark); font-weight: 500; }
.scope__price .num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--paper);
}
.scope__price .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
  margin-left: 12px;
}
.scope__terms {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.scope__terms span {
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.scope__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }
.scope__lists::before {
  content: "── INCLUDED // EXCLUDED ──";
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted-dark-soft);
  white-space: nowrap;
  background: var(--ink);
  padding: 0 10px;
}
.scope__card:not(.scope__card--feature) .scope__lists::before { background: var(--surface); color: var(--muted); }
@media (max-width: 720px) { .scope__lists { grid-template-columns: 1fr; } .scope__lists::before { position: static; transform: none; display: inline-block; margin-bottom: 16px; padding: 0; background: transparent; } }
.scope__lists h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 16px;
}
.scope__card:not(.scope__card--feature) .scope__lists h4 { color: var(--accent); }
.scope__lists ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.scope__lists li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
}
.scope__lists svg { width: 15px; height: 15px; margin-top: 4px; flex-shrink: 0; opacity: 0.8; }
.scope__lists .ok { color: #6ddca9; }
.scope__card:not(.scope__card--feature) .scope__lists .ok { color: var(--success); }
.scope__lists .no { color: rgba(255,255,255,0.45); }
.scope__card:not(.scope__card--feature) .scope__lists .no { color: var(--muted); }

.scope__side {
  display: flex; flex-direction: column; gap: 16px;
}
.scope__addon {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 16px;
  transition: border-color 200ms, transform 200ms;
}
@media (hover: hover) and (pointer: fine) {
  .scope__addon:hover { border-color: var(--ink); transform: translateY(-2px); }
}
.scope__addon__icon {
  width: 40px; height: 40px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.scope__addon__icon svg { width: 18px; height: 18px; }
.scope__addon__body { flex: 1; }
.scope__addon h5 { font-size: 15.5px; font-weight: 600; margin-bottom: 2px; }
.scope__addon p { font-size: 13px; color: var(--muted); }
.scope__addon .price { font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--ink); }

/* ============================================================
   PROOF / CASI STUDIO
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .cases { grid-template-columns: 1fr; } }

.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 28px 24px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 250ms, box-shadow 250ms, border-color 250ms;
  position: relative;
}
.case__spec {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.case__spec-id { color: var(--accent); }
.case__view {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 150ms, gap 200ms;
}
.case__view:hover { color: var(--accent); gap: 10px; }
.case__view svg { width: 12px; height: 12px; }
.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(14, 17, 23, 0.18);
}
.case__head {
  display: flex; align-items: center; gap: 12px;
}
.case__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4cdb8, #8a8478);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.case__name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.case__role { font-size: 12.5px; color: var(--muted); margin-top: 2px; font-family: var(--font-mono); }
.case__quote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 450;
}
.case__kpis {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 12px;
}
.case__kpi .v {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.case__kpi .v .delta { color: var(--success); font-size: 14px; margin-left: 4px; font-weight: 600; vertical-align: middle; }
.case__kpi .l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 6px;
}
.case__tag {
  display: none;
}

/* ============================================================
   OFFERTA / PREZZO (anchor block)
   ============================================================ */
.anchor {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  max-width: 1080px; margin: 0 auto;
  box-shadow: var(--shadow-lift);
}
.anchor::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(30, 58, 138, 0.4), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, var(--amber-soft), transparent 60%);
  pointer-events: none;
}
.anchor > * { position: relative; }
.anchor__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 32px; flex-wrap: wrap; }
.anchor__title h2 { color: var(--paper); max-width: 540px; }
.anchor__title .eyebrow { color: var(--amber); margin-bottom: 14px; display: block; }
.anchor__scarcity {
  text-align: right;
  font-family: var(--font-mono);
}
.anchor__scarcity .slots {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}
.anchor__scarcity .num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.anchor__compare {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .anchor__compare { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .anchor { padding: 44px 28px; } }
.anchor__col {
  padding: 28px 26px;
  border-right: 1px solid var(--line-dark);
}
.anchor__col:last-child { border-right: none; }
@media (max-width: 760px) { .anchor__col { border-right: none; border-bottom: 1px solid var(--line-dark); } .anchor__col:last-child { border-bottom: none; } }
.anchor__col--feature {
  background: rgba(30, 58, 138, 0.18);
  border-right: 1px solid var(--accent);
  position: relative;
}
.anchor__col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  margin-bottom: 18px;
}
.anchor__col--feature h4 { color: var(--amber); }
.anchor__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1;
}
.anchor__price-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-dark);
  margin-bottom: 20px;
}
.anchor__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.anchor__col li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: var(--muted-dark);
}
.anchor__col li svg { width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0; }
.anchor__col--feature li { color: var(--paper); }
.anchor__col--feature li svg { color: var(--amber); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { }
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1.3;
  color: var(--ink);
  transition: color 150ms;
}
.faq__num {
  flex-shrink: 0;
  width: 2.4rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 4px;
  transition: color 150ms;
}
.faq__btn > span:not(.faq__num):not(.faq__icon) { flex: 1; }
.faq__btn:hover { color: var(--ink); }
.faq__btn:hover .faq__num { color: var(--amber); }
.faq__icon {
  flex-shrink: 0;
  padding-top: 3px;
  color: var(--muted);
  transition: color 150ms;
}
.faq__icon::before { display: none; }
.faq__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1), color 150ms;
}
.faq__item.is-open .faq__icon svg { transform: rotate(45deg); }
.faq__item.is-open .faq__icon { color: var(--amber); }
.faq__item.is-open .faq__num { color: var(--amber); }
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.16,1,0.3,1);
}
.faq__body > div {
  overflow: hidden;
  padding-left: calc(2.4rem + 20px); /* align answer with question text */
}
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body p {
  padding: 2px 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* ============================================================
   ABOUT ME
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 72px;
  row-gap: 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.about__photo {
  grid-column: 1;
  grid-row: 1;
  background: var(--ink-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  align-self: stretch;
  min-height: 280px;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

.about__body {
  grid-column: 2;
  grid-row: 1;
}
.about__body .eyebrow { display: inline-block; margin-bottom: 14px; }
.about__body h2 { margin-bottom: 28px; line-height: 1.08; }
.about__body p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 18px; }
.about__body p:last-child { margin-bottom: 0; }
.about__body p strong { color: var(--ink); font-weight: 600; }

.about__footer {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 40px;
}

.about__divider { width: 100%; height: 1px; background: var(--line); margin-bottom: 28px; }

.about__closer {
  font-style: italic;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  white-space: nowrap;
}

.about__sign {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.about__sign-img {
  height: 72px; width: auto;
  mix-blend-mode: multiply; opacity: 0.82; display: block;
}

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { grid-column: 1; grid-row: 1; align-self: auto; aspect-ratio: 4 / 3; }
  .about__body { grid-column: 1; grid-row: 2; }
  .about__footer { grid-column: 1; grid-row: 3; margin-top: 28px; }
  .about__closer { white-space: normal; font-size: 14px; }
}

/* ============================================================
   FINAL CTA + FORM
   ============================================================ */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 128px 0;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(30, 58, 138, 0.28), transparent 65%);
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 50%, #000 20%, transparent 85%);
  pointer-events: none;
}
.final-cta > * { position: relative; }

.final-cta__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.15fr; gap: 80px;
  align-items: center;
}
@media (max-width: 880px) { .final-cta__inner { grid-template-columns: 1fr; gap: 48px; } }

.final-cta h2 { color: var(--paper); margin-bottom: 20px; line-height: 1.07; }
.final-cta .lead {
  color: var(--muted-dark);
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.72;
}
.final-cta__points {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 13px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.final-cta__points li {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--muted-dark);
  line-height: 1.5;
}
.final-cta__points svg {
  width: 15px; height: 15px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Form card ─────────────────────────────────────────────── */
.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
}

.form-intake {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
}
.form-intake__id { color: var(--amber); }

.form-helper {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.28);
  margin-top: 5px;
}

.form-card__head { display: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
}
.form-req { color: var(--amber); }
.form-hint { color: rgba(255,255,255,0.28); font-size: 10px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--paper);
  transition: border-color 180ms, background 180ms, box-shadow 180ms;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: rgba(201,138,62,0.65);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(201,138,62,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  height: 52px;
  background: var(--amber);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-top: 28px;
  cursor: pointer;
  transition: background 180ms, transform 160ms, box-shadow 180ms;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit svg { width: 15px; height: 15px; }
.form-submit:hover {
  background: #d9974a;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201,138,62,0.3);
}
.form-submit:active { transform: scale(0.97); box-shadow: none; transition-duration: 80ms; }
.form-submit:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.72;
  box-shadow: none;
}
.form-submit--loading {
  background: rgba(201,138,62,0.7);
}
.form-submit--success {
  background: var(--success);
  color: var(--paper);
}
.form-submit--success:hover { transform: none; box-shadow: none; }

.form-fineprint {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-align: center;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.03em;
  line-height: 1.65;
}

/* ============================================================
   FOOTER  (continues final-cta - no own seam)
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: 80px 0 44px;
  position: relative;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  align-items: start;
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr; gap: 36px; } }

.footer__brand-col { display: flex; flex-direction: column; }

.footer__brand {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer__logo { height: 26px; width: auto; display: block; }

.footer__tag {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 400px;
  color: rgba(255,255,255,0.46);
  margin: 0 0 16px;
}

.footer__motto {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: rgba(201,138,62,0.7);
  max-width: 400px;
  margin: 0;
  line-height: 1.5;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 11px 40px;
  justify-content: end;
  align-content: start;
}
.footer__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 160ms;
  line-height: 1;
}
.footer__links a:hover { color: var(--paper); }
@media (max-width: 880px) {
  .footer__links { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 24px; }
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  flex-wrap: wrap;
  gap: 12px;
}
.sep { opacity: 0.45; }
.footer__bottom span { display: inline-flex; align-items: center; gap: 12px; }
.footer__bottom .sep { opacity: 0.4; }


/* ============================================================
   PREVIEW GRATUITA - zig-zag timeline
   ============================================================ */
.preview-zigzag {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 0;
  perspective: 1800px;
}
.preview-zigzag__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.10) 6%,
    rgba(201,138,62,0.40) 50%,
    rgba(255,255,255,0.10) 94%,
    transparent 100%);
  pointer-events: none;
}
.preview-zigzag__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 14px;
}
.preview-zigzag__row:last-child { margin-bottom: 0; }

.preview-zigzag__card.pillar {
  margin: 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  padding: 22px 24px;
}
.preview-zigzag__card.pillar .pillar__num {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.preview-zigzag__card.pillar .pillar__icon {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin: 0;
  align-self: center;
}
.preview-zigzag__card.pillar h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 20px;
  line-height: 1.25;
}
.preview-zigzag__card.pillar p {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
}

.preview-zigzag__row--left .preview-zigzag__card {
  grid-column: 1;
  margin-right: 40px;
}
.preview-zigzag__row--right .preview-zigzag__card {
  grid-column: 2;
  margin-left: 40px;
}

/* Connector arrow from card to node */
.preview-zigzag__card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,138,62,0.50), rgba(201,138,62,0.15));
  transform: translateY(-50%);
  opacity: 0.75;
  transition: opacity 250ms cubic-bezier(0.16, 1, 0.3, 1),
              background 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-zigzag__row--left .preview-zigzag__card::after {
  left: auto;
  right: -40px;
}
.preview-zigzag__row--right .preview-zigzag__card::after {
  left: -40px;
  right: auto;
  background: linear-gradient(270deg, rgba(201,138,62,0.50), rgba(201,138,62,0.15));
}
/* Connector brightens when card is hovered */
.preview-zigzag__card:hover::after {
  opacity: 1;
  background: linear-gradient(90deg, rgba(201,138,62,0.85), rgba(201,138,62,0.28));
}
.preview-zigzag__row--right .preview-zigzag__card:hover::after {
  background: linear-gradient(270deg, rgba(201,138,62,0.85), rgba(201,138,62,0.28));
}

/* Central node */
.preview-zigzag__node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink, #1a1815);
  border: 1px solid rgba(201,138,62,0.50);
  box-shadow: 0 0 0 4px rgba(201,138,62,0.08), 0 0 24px rgba(201,138,62,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-zigzag__row:hover .preview-zigzag__node {
  transform: translate(-50%, -50%) scale(1.14);
  box-shadow: 0 0 0 6px rgba(201,138,62,0.13), 0 0 32px rgba(201,138,62,0.30);
}
.preview-zigzag__node span {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}

/* Directional hover: cards slide toward the center line instead of lifting */
.preview-zigzag__row--left .preview-zigzag__card:hover {
  transform: translateX(5px);
  border-color: rgba(201,138,62,0.38);
  background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.012) 100%);
}
.preview-zigzag__row--right .preview-zigzag__card:hover {
  transform: translateX(-5px);
  border-color: rgba(201,138,62,0.38);
  background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.012) 100%);
}

/* Preview warning box */
.preview-warning {
  margin: 96px auto 0;
  width: fit-content;
  max-width: 100%;
  padding: 22px 26px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: rgba(201,138,62,0.06);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              background 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-warning:hover {
  border-color: rgba(201,138,62,0.26);
  background: rgba(201,138,62,0.09);
}
.preview-warning__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.preview-warning__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 6px;
}
.preview-warning__text {
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 880px) {
  .preview-zigzag__line { left: 24px; transform: none; }
  .preview-zigzag__row { grid-template-columns: 1fr; }
  .preview-zigzag__row--left .preview-zigzag__card,
  .preview-zigzag__row--right .preview-zigzag__card {
    grid-column: 1;
    margin-left: 64px;
    margin-right: 0;
  }
  .preview-zigzag__card::after,
  .preview-zigzag__row--left .preview-zigzag__card::after,
  .preview-zigzag__row--right .preview-zigzag__card::after {
    left: -40px;
    right: auto;
    width: 40px;
    background: linear-gradient(270deg, rgba(201,138,62,0.50), rgba(201,138,62,0.15));
  }
  .preview-zigzag__node {
    left: 24px;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
  }
}


/* ============================================================
   PER CHI È / PER CHI NON È - filter cards (light)
   ============================================================ */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 880px) { .filter-grid { grid-template-columns: 1fr; } }

.filter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 1px 0 rgba(14,17,23,0.02), 0 18px 40px -28px rgba(14,17,23,0.10);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 250ms;
}
@media (hover: hover) and (pointer: fine) {
  .filter-card--yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(14,17,23,0.02), 0 32px 60px -24px rgba(27,94,79,0.13), 0 8px 24px -8px rgba(14,17,23,0.04);
    border-color: rgba(27,94,79,0.18);
  }
  .filter-card--no:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(14,17,23,0.02), 0 28px 60px -24px rgba(176,69,30,0.09);
    border-color: rgba(176,69,30,0.26);
  }
}
.filter-card__band {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}
.filter-card--yes .filter-card__band {
  background: linear-gradient(90deg, rgba(27,94,79,0.90), rgba(27,94,79,0.18));
}
.filter-card--no .filter-card__band {
  background: linear-gradient(90deg, rgba(176,69,30,0.70), rgba(176,69,30,0.12));
}
.filter-card--no {
  background: rgba(255,255,255,0.55);
  border-color: rgba(176,69,30,0.16);
}

.filter-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.filter-card__badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.filter-card--yes .filter-card__badge {
  background: rgba(27, 94, 79, 0.10);
  color: var(--success);
  box-shadow: inset 0 0 0 1px rgba(27,94,79,0.18);
}
.filter-card--no .filter-card__badge {
  background: rgba(176, 69, 30, 0.08);
  color: var(--warn);
  box-shadow: inset 0 0 0 1px rgba(176,69,30,0.18);
}
.filter-card__badge svg { width: 20px; height: 20px; }

.filter-card__kicker {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 3px;
}
.filter-card--yes .filter-card__kicker { color: var(--success); }
.filter-card--no .filter-card__kicker { color: var(--warn); opacity: 0.85; }

.filter-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
}
.filter-card--no .filter-card__title { color: var(--muted); }

.filter-card__count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.filter-card__count span {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.filter-card--no .filter-card__count span { color: var(--muted); }
.filter-card__count em {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}

.filter-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.filter-card__list li {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.filter-card__list li:first-child { border-top: 0; padding-top: 18px; }
.filter-card__list li:last-child { padding-bottom: 4px; }
.filter-card--no .filter-card__list li { border-top-style: dashed; opacity: 0.85; }

.filter-card__idx {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-feature-settings: "tnum" 1;
  min-width: 22px;
}
.filter-card--yes .filter-card__idx { color: var(--success); }
.filter-card--no .filter-card__idx { color: var(--warn); opacity: 0.7; }

.filter-card__text {
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink);
  text-wrap: pretty;
}
.filter-card--no .filter-card__text {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(176,69,30,0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}


/* ============================================================
   BAO - polish: badges, refined hierarchy
   ============================================================ */
.bao { max-width: 1180px; }
.bao__step {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
}
.bao__step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.bao__step--current .bao__step-top { border-bottom-color: rgba(255,255,255,0.12); }

.bao__step .num {
  margin-bottom: 0;
}

.bao__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(14,17,23,0.04);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.bao__badge--live {
  background: rgba(201, 138, 62, 0.14);
  border-color: rgba(201, 138, 62, 0.40);
  color: var(--amber);
}
.bao__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: bao-pulse 2.4s ease-in-out infinite;
}
@keyframes bao-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.bao__step h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
  text-wrap: pretty;
}
.bao__step--current h3 { color: var(--paper); }
.bao__step p {
  font-size: 15px;
  line-height: 1.58;
  margin-top: auto;
}

/* Subtle warm tint on the current card */
.bao__step--current {
  background: var(--ink-deep, #08090d);
  position: relative;
  overflow: hidden;
}
.bao__step--current::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(201,138,62,0.14), transparent 60%);
  pointer-events: none;
}
.bao__step--current > * { position: relative; z-index: 1; }

@media (max-width: 880px) {
  .bao__step { padding: 24px 22px; }
}


/* ============================================================
   BAO - disclaimer "Chiarezza prima delle promesse"
   ============================================================ */
.bao-disclaimer {
  margin: 40px auto 0;
  width: fit-content;
  max-width: 720px;
  padding: 18px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(201, 138, 62, 0.06);
  border: 1px solid rgba(201, 138, 62, 0.30);
  border-radius: var(--radius-lg);
  transition: border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              background 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bao-disclaimer:hover {
  border-color: rgba(201, 138, 62, 0.50);
  background: rgba(201, 138, 62, 0.09);
}
.bao-disclaimer__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--amber);
}
.bao-disclaimer__icon svg { width: 100%; height: 100%; }

.bao-disclaimer__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--amber);
  margin-bottom: 6px;
}
.bao-disclaimer__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 720px) {
  .bao-disclaimer { padding: 16px 18px; gap: 12px; }
}


/* ============================================================
   PROCESSO - block headers (shared)
   ============================================================ */
.proc-block { margin: 0 auto; max-width: 1180px; }
.proc-block + .proc-block { margin-top: 96px; }

.proc-block__head { text-align: center; margin-bottom: 56px; max-width: 820px; margin-left: auto; margin-right: auto; }
.proc-block__phase {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 6px 14px;
  border: 1px solid rgba(201,138,62,0.30);
  border-radius: var(--radius-pill);
  background: rgba(201,138,62,0.06);
  margin-bottom: 22px;
}
.proc-block--build .proc-block__phase {
  color: var(--ink);
  border-color: var(--line-strong, var(--line));
  background: rgba(14,17,23,0.04);
}
.proc-block__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.020em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.proc-block__lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   PREFLOW - Block A (free) - 4-step lightweight flow
   ============================================================ */
.preflow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.preflow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 0;
  border-top: 1.5px dashed rgba(201,138,62,0.35);
  z-index: 0;
}

.preflow__step {
  position: relative;
  z-index: 1;
  padding-top: 0;
  text-align: left;
}
.preflow__node {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper, #fefcf8);
  border: 1.5px solid rgba(201,138,62,0.55);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--paper, #fefcf8);
}
.preflow__node span {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}
.preflow__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.preflow__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}
.preflow__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 880px) {
  .preflow { grid-template-columns: 1fr; gap: 28px; }
  .preflow::before {
    top: 22px;
    bottom: 22px;
    left: 22px;
    right: auto;
    width: 0;
    height: auto;
    border-top: none;
    border-left: 1.5px dashed rgba(201,138,62,0.35);
  }
  .preflow__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start; }
  .preflow__node { margin-bottom: 0; grid-row: 1 / span 4; }
  .preflow__label,
  .preflow__title,
  .preflow__desc { grid-column: 2; }
}

/* ============================================================
   PROCESSO - visual separator between blocks
   ============================================================ */
.proc-block--build {
  position: relative;
  padding-top: 64px;
}
.proc-block--build::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 64px;
}


/* ============================================================
   PROCESSO - overview 2 fasi (refined)
   ============================================================ */
.proc-overview {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.proc-card {
  position: relative;
  padding: 32px 34px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 250ms;
}
@media (hover: hover) and (pointer: fine) {
  .proc-card:hover {
    transform: translateY(-3px);
  }
  .proc-card--free:hover {
    box-shadow: 0 24px 52px -20px rgba(201,138,62,0.22), 0 6px 16px -6px rgba(14,17,23,0.04);
    border-color: rgba(201,138,62,0.24);
  }
  .proc-card--build:hover {
    box-shadow: 0 24px 52px -20px rgba(14,17,23,0.20), 0 6px 16px -6px rgba(14,17,23,0.06);
    border-color: rgba(14,17,23,0.18);
  }
}

.proc-card__stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}
.proc-card--free .proc-card__stripe {
  background: linear-gradient(90deg, var(--amber) 0%, rgba(201,138,62,0.18) 100%);
}
.proc-card--build .proc-card__stripe {
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14,17,23,0.18) 100%);
}

.proc-card__num {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.proc-card--free .proc-card__num {
  color: var(--amber);
  background: rgba(201,138,62,0.10);
  border: 1px solid rgba(201,138,62,0.32);
}
.proc-card--build .proc-card__num {
  color: var(--ink);
  background: rgba(14,17,23,0.05);
  border: 1px solid var(--line);
}

.proc-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 650;
  line-height: 1.10;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: pretty;
}

.proc-card__text {
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
  margin: 0 0 22px;
  text-wrap: pretty;
}

.proc-card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}
.proc-card__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.proc-card--free .proc-card__dot {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(201,138,62,0.5);
}
.proc-card--build .proc-card__dot {
  background: var(--ink);
}

/* Arrow connector */
.proc-overview__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(14,17,23,0.45);
  align-self: center;
}
.proc-overview__arrow svg {
  width: 56px;
  height: 14px;
}
.proc-overview__arrow span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(201,138,62,0.60);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .proc-overview {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .proc-overview__arrow {
    transform: rotate(90deg);
    height: 32px;
  }
  .proc-overview__arrow span { display: none; }
}

/* ============================================================
   TIMELINE - caveat centering
   ============================================================ */
.timeline__caveat {
  margin: 56px auto 0 !important;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  text-align: left;
  background: rgba(176, 69, 30, 0.07);
  border: 1px solid rgba(176, 69, 30, 0.22);
  color: rgba(176, 69, 30, 0.85);
  white-space: nowrap;
  transition: border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              background 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline__caveat:hover {
  border-color: rgba(176, 69, 30, 0.38);
  background: rgba(176, 69, 30, 0.10);
}
.timeline__caveat span { white-space: nowrap; }


/* ============================================================
   ANTI-POSITIONING - manifesto box, ink on paper
   ============================================================ */
.anti-pos {
  position: relative;
  margin: 64px auto 0;
  width: 100%;
  max-width: 1100px;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(201, 138, 62, 0.22), transparent 62%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(30, 58, 138, 0.32), transparent 62%),
    var(--ink-deep);
  color: var(--paper);
  border-radius: var(--radius-lg, 18px);
  padding: 36px 48px 32px;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -32px rgba(8, 9, 13, 0.55);
}
.anti-pos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.anti-pos::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  pointer-events: none;
}

.anti-pos__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-dark);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.anti-pos__label-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(201,138,62,0.22);
}

.anti-pos__nots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.anti-pos__nots li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-dark);
}
.anti-pos__nots li:last-child { border-bottom: 0; }

.anti-pos__x {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(176, 69, 30, 0.10);
  color: var(--warn, #B0451E);
  box-shadow: inset 0 0 0 1px rgba(176, 69, 30, 0.28);
  transform: translateY(4px);
}
.anti-pos__x svg { width: 14px; height: 14px; }

.anti-pos__not-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255,255,255,0.78);
  text-decoration: line-through;
  text-decoration-color: rgba(176, 69, 30, 0.55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.anti-pos__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong) 12%, var(--line-dark-strong) 88%, transparent);
  margin: 20px 0 18px;
  position: relative;
  z-index: 1;
}

.anti-pos__statement {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted-dark);
  margin: 0;
  text-wrap: pretty;
  position: relative;
  z-index: 1;
}
.anti-pos__claim {
  display: block;
  white-space: nowrap;
  font-size: clamp(14px, 1.35vw, 17px);
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.82);
}
.anti-pos__lede {
  color: var(--paper);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.anti-pos__coda {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--muted-dark-soft);
  text-transform: none;
}

@media (max-width: 960px) {
  .anti-pos__claim { white-space: normal; font-size: 16px; }
}
@media (max-width: 720px) {
  .anti-pos { padding: 30px 24px 28px; margin-top: 48px; border-radius: 14px; }
  .anti-pos__label { margin-bottom: 22px; }
  .anti-pos__nots li { grid-template-columns: 26px 1fr; gap: 14px; padding: 10px 0; }
  .anti-pos__not-text { font-size: 18px; }
  .anti-pos__rule { margin: 18px 0 16px; }
}


/* ============================================================
   SCOPE - Pacchetto Build (no-price feature card)
   ============================================================ */
.scope__heading {
  margin-bottom: 24px;
}
.scope__heading-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--paper);
  margin: 0 0 14px;
}
.scope__heading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}
.scope__heading-meta i {
  font-style: normal;
  color: var(--muted-dark-soft);
  font-weight: 400;
}

.scope__lede {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--muted-dark);
  margin: 0 0 28px;
  max-width: 64ch;
  text-wrap: pretty;
}
.scope__lede strong {
  color: var(--paper);
  font-weight: 600;
}

.scope__card--feature .scope__terms { margin-bottom: 0; }

.scope__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong) 8%, var(--line-dark-strong) 92%, transparent);
  margin: 32px 0 24px;
}

.scope__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scope__foot p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-dark);
}
.scope__foot p strong {
  color: var(--paper);
  font-weight: 600;
}
.scope__foot-faq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-dark-soft) !important;
}
.scope__foot-faq-arrow {
  color: var(--amber);
  font-weight: 600;
}
.scope__foot-faq a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 138, 62, 0.45);
  padding-bottom: 1px;
  transition: border-color 180ms, color 180ms;
}
.scope__foot-faq a:hover {
  border-bottom-color: var(--amber);
  color: #e0a55a;
}

@media (max-width: 720px) {
  .scope__heading-title { font-size: 34px; }
  .scope__divider { margin: 26px 0 20px; }
}


/* Sticker label on top of feature card (replaces .scope__price::before) */
.scope__card--feature::after {
  content: "> contract / scope · v2.1";
  position: absolute;
  top: 24px;
  left: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  pointer-events: none;
  z-index: 1;
}


/* ============================================================
   SCOPE - Incluso nel Build (right column checklist)
   ============================================================ */
.scope__included {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
}
.scope__included__head {
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  flex-shrink: 0;
}
.scope__included__head .annot {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.scope__included__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
  min-height: 0;
}
.scope__included__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.scope__included__list li .ok {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent-positive, #1F8A5B);
}
.scope__included__list li em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 720px) {
  .scope__included__list li { font-size: 15px; gap: 12px; grid-template-columns: 22px 1fr; }
}


/* ============================================================
   SCOPE EXTRAS - Fuori scope + Add-on opzionali
   ============================================================ */
.scope-extras {
  max-width: 1100px;
  margin: 32px auto 0;
  display: grid;
  gap: 18px;
}

/* Fuori scope - inline strip */
.scope-extras__out {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 28px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.scope-extras__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  flex-shrink: 0;
}
.scope-extras__label-x {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(176, 69, 30, 0.10);
  color: var(--warn, #B0451E);
  box-shadow: inset 0 0 0 1px rgba(176, 69, 30, 0.28);
}
.scope-extras__label-x svg { width: 12px; height: 12px; }

.scope-extras__out-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.scope-extras__out-list li {
  display: inline-flex;
  align-items: center;
  text-decoration: line-through;
  text-decoration-color: rgba(176, 69, 30, 0.4);
  text-decoration-thickness: 1px;
}
.scope-extras__out-list li:not(:last-child)::after {
  content: "·";
  margin-left: 16px;
  color: var(--line-strong, #d6d3cd);
  text-decoration: none;
  display: inline-block;
  transform: translateY(-1px);
}

/* Add-on opzionali - lighter card */
.scope-extras__addons {
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg, 16px);
  padding: 24px 28px 22px;
}
.scope-extras__addons-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.scope-extras__addons-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.scope-extras__addons-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.scope-extras__addons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.scope-extras__addons-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 12px;
}
.scope-extras__addons-plus {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(201, 138, 62, 0.10);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  margin-top: 1px;
}
.scope-extras__addons-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.scope-extras__addons-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .scope-extras__out { padding: 20px 22px; gap: 16px; flex-direction: column; align-items: flex-start; }
  .scope-extras__addons-list { grid-template-columns: 1fr; gap: 14px; }
  .scope-extras__addons { padding: 22px 22px 20px; }
}


/* ============================================================
   SCOPE v2 — centered dark contract card
   ============================================================ */

.scope-contract {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  background: var(--ink-deep);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 32px 80px -40px rgba(8,9,13,0.60),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Ambient amber glow — centered at top */
.scope-contract::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 640px; height: 280px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(201,138,62,0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid texture */
.scope-contract::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 48px);
  pointer-events: none;
  z-index: 0;
}

.scope-contract > * { position: relative; z-index: 1; }

/* Mono sticker */
.scope-contract__sticker {
  padding: 24px 36px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(201,138,62,0.68);
  display: flex;
  align-items: center;
  gap: 6px;
}
.scope-contract__sticker::before {
  content: ">";
  color: rgba(201,138,62,0.42);
  font-weight: 700;
}

/* Centered head: title + lede */
.scope-contract__head {
  padding: 28px 72px 0;
  text-align: center;
}

.scope-contract__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.032em;
  color: var(--paper);
  margin: 0 0 14px;
}

.scope-contract__lede {
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255,255,255,0.46);
  max-width: 58ch;
  margin: 0 auto;
  text-wrap: pretty;
}
.scope-contract__lede strong {
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}

/* Stats — horizontal row with separators */
.scope-contract__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.scope-contract__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0 52px;
}

.scope-contract__stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.scope-contract__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--amber);
}

.scope-contract__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.30);
}

/* Divider with centered inline label */
.scope-contract__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 48px 18px;
}
.scope-contract__divider::before,
.scope-contract__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.scope-contract__divider-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(201,138,62,0.60);
  white-space: nowrap;
}

/* Checklist — 2-col grid */
.scope-contract__checklist {
  list-style: none;
  margin: 0;
  padding: 0 48px 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.scope-contract__checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.64);
  transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.scope-contract__checklist li:nth-child(2n) {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-right: 0;
}
.scope-contract__checklist li:nth-last-child(-n+2) {
  border-bottom: 0;
  padding-bottom: 6px;
}
.scope-contract__checklist li:hover { color: rgba(255,255,255,0.90); }
.scope-contract__checklist li svg {
  width: 14px; height: 14px;
  color: #52b88a;
  flex-shrink: 0;
}

/* Footer — centered terms + note */
.scope-contract__foot {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.014);
}

.scope-contract__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.scope-contract__terms span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.038);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.scope-contract__note {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin: 0;
  max-width: 54ch;
  text-wrap: pretty;
}
.scope-contract__note strong {
  color: rgba(255,255,255,0.46);
  font-weight: 600;
}

@media (max-width: 720px) {
  .scope-contract__head { padding: 22px 28px 0; }
  .scope-contract__stats { padding: 28px 16px 24px; }
  .scope-contract__stat { padding: 0 20px; }
  .scope-contract__stat-num { font-size: 26px; }
  .scope-contract__divider { padding: 22px 28px 14px; }
  .scope-contract__checklist { grid-template-columns: 1fr; padding: 0 28px 28px; }
  .scope-contract__checklist li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .scope-contract__checklist li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 14px; }
  .scope-contract__checklist li:last-child { border-bottom: 0; }
  .scope-contract__sticker { padding: 20px 28px 0; }
  .scope-contract__foot { padding: 16px 24px 18px; }
}


/* ============================================================
   PROOF v2 - Cases grid (8 cards) + Modal
   ============================================================ */
/* ============================================================
   PROOF v3 — image card: CSS visual + blur + gradient + 4 KPIs
   ============================================================ */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .cases-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .cases-grid { gap: 14px; } }

.case {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 280ms cubic-bezier(0.16,1,0.3,1),
    box-shadow 280ms cubic-bezier(0.16,1,0.3,1),
    border-color 250ms;
}
@media (hover: hover) and (pointer: fine) {
  .case:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px -18px rgba(14,17,23,0.16);
    border-color: rgba(14,17,23,0.14);
  }
}

/* ── Visual area ──────────────────────────────────────────── */
.case__visual {
  position: relative;
  height: 300px;
  overflow: hidden;
  flex-shrink: 0;
  /* flush with card top — no gap, card overflow:hidden handles radius */
  margin-top: -1px;
  margin-left: -1px;
  margin-right: -1px;
  width: calc(100% + 2px);
}

/* CSS generative background */
.case__bg {
  position: absolute;
  inset: 0;
  transition: transform 600ms cubic-bezier(0.16,1,0.3,1);
}
.case:hover .case__bg { transform: scale(1.06); }

/* Progressive blur — only the bottom ~25% of the visual */
.case__blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 63%, rgba(0,0,0,0.6) 78%, black 92%);
  mask-image: linear-gradient(to bottom, transparent 63%, rgba(0,0,0,0.6) 78%, black 92%);
  pointer-events: none;
}

/* Gradient overlay: transparent most of the way, paper only at the very bottom */
.case__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 62%,
    rgba(250,250,247,0.0) 72%,
    rgba(250,250,247,0.45) 84%,
    rgba(250,250,247,0.88) 94%,
    var(--paper) 100%
  );
  pointer-events: none;
}

/* Title in the gradient transition zone — dark ink on near-paper */
.case__title {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

/* ── Body area ────────────────────────────────────────────── */
.case__body {
  padding: 12px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.case__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.case__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--amber);
  text-transform: uppercase;
}
.case__tag {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.35;
  max-width: 55%;
}

/* 4 KPIs in 2×2 grid */
.case__kpis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.case__kpis li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.case__kpis li:nth-child(2n) {
  padding-left: 16px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.case__kpis li:nth-last-child(-n+2) {
  border-bottom: 0;
  padding-bottom: 4px;
}
.case__kpi-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}
.case__kpi-val {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.case__kpi-val.is-qual {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.case__view {
  margin-top: auto;
  padding: 12px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  align-self: stretch;
  transition: gap 220ms cubic-bezier(0.16,1,0.3,1), color 150ms;
}
.case__view svg { width: 12px; height: 12px; transition: transform 220ms cubic-bezier(0.16,1,0.3,1); }
.case__view:hover { color: var(--amber); gap: 13px; }
.case__view:hover svg { transform: translateX(3px); }
.case__view:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

/* ── Focus-visible globale — a11y WCAG 2.4.7 ── */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__cta:focus-visible,
.nav__link:focus-visible,
.faq__btn:focus-visible,
.form-submit:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Real screenshot backgrounds per case study ── */
.case__bg--01 {
  background-image: url("casestudies/3.689 lead per un corso online.png");
  background-size: cover;
  background-position: top center;
}
.case__bg--02 {
  background-image: url("casestudies/18 preventivi per uno studio dentistico.png");
  background-size: cover;
  background-position: 50% 25%;
}
.case__bg--03 {
  background-image: url("casestudies/Consulenza formativa B2B.png");
  background-size: cover;
  background-position: top center;
}
.case__bg--04 {
  background-image: url("casestudies/Da landing a subscription_ 192 utenti paganti.png");
  background-size: cover;
  background-position: top center;
}
.case__bg--05 {
  background-image: url("casestudies/162 clienti paganti da un funnel free trial B2B.png");
  background-size: cover;
  background-position: top center;
}
.case__bg--06 {
  background-image: url("casestudies/3.874 lead per il lancio di un'app.png");
  background-size: cover;
  background-position: top center;
}
.case__bg--07 {
  background-image: url("casestudies/138 ordini per un e-commerce beauty.png");
  background-size: cover;
  background-position: top center;
}
.case__bg--08 {
  background-image: url("casestudies/Contenuti organici per costruire pubblico caldo.png");
  background-size: cover;
  background-position: top center;
}


/* ============================================================
   CASE MODAL
   ============================================================ */
.case-modal[hidden] { display: none; }
.case-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: caseModalIn 220ms ease;
}
@keyframes caseModalIn { from { opacity: 0; } to { opacity: 1; } }
.case-modal.is-closing {
  animation: caseModalOut 180ms ease forwards;
}
.case-modal.is-closing .case-modal__dialog {
  animation: caseModalSlideOut 180ms cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes caseModalOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes caseModalSlideOut {
  from { transform: translateY(0) scale(1); opacity: 1; }
  to   { transform: translateY(8px) scale(0.97); opacity: 0; }
}

.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.case-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 44px 36px;
  box-shadow: 0 40px 80px -20px rgba(8, 9, 13, 0.5);
  animation: caseModalSlide 280ms cubic-bezier(.2,.8,.2,1);
}
@keyframes caseModalSlide {
  from { transform: translateY(14px) scale(.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.case-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 17, 23, 0.04);
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 150ms, color 150ms, transform 200ms;
}
.case-modal__close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.case-modal__close svg { width: 14px; height: 14px; }

.case-modal__story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 22px;
}
.case-modal__num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.case-modal__tag {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
}
.case-modal__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 8px;
  text-wrap: balance;
}
.case-modal__subtitle {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 24px;
}
.case-modal__body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.case-modal__body p:last-child { margin-bottom: 0; }

.case-modal__metrics {
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.case-modal__metrics li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.case-modal__metrics li span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.case-modal__metrics li b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.case-modal__metrics li b.is-qual {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .case-modal__dialog { padding: 30px 26px 26px; border-radius: 14px; }
  .case-modal__metrics { grid-template-columns: 1fr; gap: 4px; }
  .case-modal__title { font-size: 24px; }
}

body.modal-open { overflow: hidden; }


/* ============================================================
   FINAL CTA - Preview intake form (v2)
   ============================================================ */
.form-req {
  color: var(--amber);
  font-weight: 600;
  margin-left: 2px;
}
.form-hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  color: var(--muted-dark-soft);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  margin-left: 4px;
}
.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 3px 8px 3px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(201, 138, 62, 0.10);
  border: 1px solid rgba(201, 138, 62, 0.32);
  border-radius: 999px;
  vertical-align: middle;
}
.form-badge svg { width: 10px; height: 10px; }

.form-card .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-card .form-field.full { grid-column: 1 / -1; }

.form-card .form-textarea {
  min-height: 70px;
  resize: vertical;
  font-family: var(--font-body);
  line-height: 1.5;
  padding: 12px 14px;
}

.form-card .form-select option {
  background: var(--ink);
  color: var(--paper);
}

.form-card .form-submit {
  margin-top: 22px;
}

/* Centering the whole CTA block vertically */
.final-cta {
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.final-cta > .container {
  width: 100%;
}

@media (max-width: 880px) {
  .final-cta { min-height: auto; padding: 80px 0; }
  .form-card .form-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   XPLORA LOGO - footer + responsive
   ============================================================ */
.footer__logo {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}
@media (max-width: 720px) {
  .footer__logo { height: 40px; }
}


/* CTA H2 - keep to exactly 2 lines */
.final-cta h2.h-section {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}
.final-cta h2.h-section > span,
.final-cta h2.h-section {
  white-space: nowrap;
}
@media (max-width: 880px) {
  .final-cta h2.h-section { font-size: clamp(26px, 6vw, 36px); white-space: normal; }
  .final-cta h2.h-section > span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .preview-mockup,
  .pv-mini,
  .pv-tile,
  .pillar,
  .audience-col,
  .scope__card,
  .anchor,
  .bao__step,
  .timeline__step {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   CRO ADDITIONS — page-cro skill
   ============================================================ */

/* -- Hero proof strip -------------------------------------- */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px auto 0;
  max-width: 480px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}
.hero-proof__item { display: flex; align-items: baseline; gap: 5px; }
.hero-proof__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.hero-proof__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-proof__sep { color: rgba(255,255,255,0.18); font-size: 13px; line-height: 1; }

/* -- Form: progress bar ------------------------------------ */
.form-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.form-progress__track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.form-progress__fill {
  height: 100%;
  width: 50%;
  background: var(--amber);
  border-radius: 99px;
  transition: width 350ms var(--ease-out);
}
.form-progress__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* -- Form: step visibility --------------------------------- */
.form-step[hidden] { display: none; }

/* -- Form: continua button --------------------------------- */
.form-next {
  width: 100%;
  height: 52px;
  background: rgba(201,138,62,0.12);
  color: var(--amber);
  border: 1.5px solid rgba(201,138,62,0.32);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-top: 20px;
  cursor: pointer;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 150ms var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-next svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) {
  .form-next:hover { background: rgba(201,138,62,0.2); border-color: rgba(201,138,62,0.55); }
}
.form-next:active { transform: scale(0.97); transition-duration: 80ms; }
.form-next:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* -- Form: torna button ------------------------------------ */
.form-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 0;
  letter-spacing: 0.04em;
  transition: color 150ms;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
@media (hover: hover) and (pointer: fine) {
  .form-back:hover { color: rgba(255,255,255,0.65); }
}
.form-back:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

/* -- Form: step 2 back-nav --------------------------------- */
.form-step__nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: -8px;
}

/* -- Form: proof line -------------------------------------- */
.form-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-proof__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.65;
  flex-shrink: 0;
}

/* -- Mid-page CTA (after cases) ---------------------------- */
.mid-cta {
  text-align: center;
  margin-top: 60px;
  padding: 36px 32px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.mid-cta__text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 24px;
  white-space: nowrap;
}
@media (max-width: 960px) { .mid-cta__text { white-space: normal; font-size: 20px; } }
.mid-cta__micro {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -- Sticky mobile CTA bar --------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-nav) - 10);
    background: rgba(14,17,23,0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255,255,255,0.09);
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.16,1,0.3,1);
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    height: 48px;
    background: var(--amber);
    color: var(--ink);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: background 150ms;
  }
  .sticky-cta__btn svg { width: 14px; height: 14px; }
  .sticky-cta__btn:active { background: #d9974a; }
  .sticky-cta__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
}

/* -- About: scarcity badge --------------------------------- */
.about__scarcity {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 7px 14px;
  background: rgba(201,138,62,0.07);
  border: 1px solid rgba(201,138,62,0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.03em;
}
.about__scarcity svg { width: 12px; height: 12px; flex-shrink: 0; }


/* ============================================================
   MOBILE OPTIMISATION — responsive polish (≤ 600px)
   Desktop design is locked. Only mobile layout/sizing here.
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero__sub {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.52;
  }
  .hero__ctas {
    margin-top: 36px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__ctas .btn {
    justify-content: center;
  }
  .hero__trust {
    margin-top: 28px;
  }
}

/* ── Section headers ─────────────────────────────────────────*/
@media (max-width: 600px) {
  .section-header {
    margin-bottom: 40px;
  }
  .section-header .lead,
  #proof .section-header .lead,
  #incluso .section-header .lead,
  #sistema .section-header .lead {
    font-size: 16px;
    margin-top: 14px;
  }
}

/* ── Timeline caveat: CRITICAL - remove nowrap overflow ──────*/
@media (max-width: 880px) {
  .timeline__caveat {
    white-space: normal;
    width: auto;
    max-width: 100%;
  }
  .timeline__caveat span {
    white-space: normal;
  }
}

/* ── BAO / Mechanism steps ───────────────────────────────────*/
@media (max-width: 480px) {
  .bao__step { padding: 22px 18px 20px; }
  .bao__step h3 { font-size: 19px; }
  .bao-disclaimer { padding: 16px 18px; }
}

/* ── Proc overview cards ─────────────────────────────────────*/
@media (max-width: 600px) {
  .proc-overview { margin-bottom: 56px; }
  .proc-card { padding: 26px 28px 24px; }
  .proc-card__title { font-size: clamp(22px, 5.5vw, 26px); }
}

/* ── Filter cards (per chi è / non è) ────────────────────────*/
@media (max-width: 600px) {
  .filter-card {
    padding: 26px 22px;
  }
  .filter-card__head {
    gap: 12px;
    padding-bottom: 18px;
  }
  .filter-card__title {
    font-size: 20px;
  }
  .filter-card__list li {
    padding: 12px 0;
    gap: 14px;
  }
  .filter-card__text { font-size: 14.5px; }
}

/* ── Scope contract ──────────────────────────────────────────*/
@media (max-width: 480px) {
  .scope-contract__stat { padding: 0 14px; }
  .scope-contract__stat-num { font-size: 24px; }
  .scope-contract__stat-label { font-size: 9px; }
  .scope-contract__stat-sep { height: 32px; }
  .scope-contract__checklist {
    padding: 0 22px 24px;
  }
  .scope-contract__foot {
    padding: 14px 22px 16px;
  }
}

/* ── Case study visual area height ──────────────────────────*/
@media (max-width: 600px) {
  .case__visual { height: 220px; }
  .case__body { padding: 10px 18px 16px; }
}

/* ── Mid-CTA card ────────────────────────────────────────────*/
@media (max-width: 480px) {
  .mid-cta { padding: 28px 22px; margin-top: 48px; }
  .mid-cta__text { font-size: 17px; }
}

/* ── FAQ ─────────────────────────────────────────────────────*/
@media (max-width: 480px) {
  .faq__btn {
    font-size: 16px;
    letter-spacing: -0.015em;
    gap: 16px;
  }
  .faq__body > div { padding-left: 0; }
}

/* ── About section ───────────────────────────────────────────*/
@media (max-width: 600px) {
  .about__sign-img { height: 60px; }
  .about__footer { margin-top: 22px; }
}

/* ── Final CTA / Form ────────────────────────────────────────*/
@media (max-width: 480px) {
  .form-card { padding: 28px 22px; }
  .final-cta { padding: 72px 0; }
}

/* ── Footer: mobile polish ───────────────────────────────────*/
@media (max-width: 767px) {
  .footer { padding: 48px 0 28px; }
  .footer__top { gap: 20px; padding-bottom: 24px; }
  .footer__brand { margin-bottom: 10px; }
  .footer__tag br { display: none; }
  .footer__tag {
    font-size: 13px;
    line-height: 1.55;
    max-width: none;
    text-wrap: pretty;
    margin-bottom: 12px;
  }
  .footer__motto { font-size: 10.5px; }
  .footer__links {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 11px 40px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 20px;
    font-size: 10px;
  }
  .footer__bottom > span:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
  }
}

/* ── Preview zigzag: tighter left offset ────────────────────*/
@media (max-width: 480px) {
  .preview-zigzag__row--left .preview-zigzag__card,
  .preview-zigzag__row--right .preview-zigzag__card {
    margin-left: 52px;
  }
  .preview-zigzag__node {
    width: 38px;
    height: 38px;
  }
  .preview-warning {
    margin-top: 72px;
    padding: 18px 20px;
    gap: 14px;
  }
}

/* ── Anti-pos: tighter on small screens ─────────────────────*/
@media (max-width: 480px) {
  .anti-pos { padding: 26px 20px 24px; }
  .anti-pos__not-text { font-size: 17px; }
}


/* ============================================================
   MOBILE POLISH v2 — premium pass
   ============================================================ */

/* ── Headlines: guarantee max 2 lines on 390px ───────────────*/
@media (max-width: 600px) {
  .h-section { font-size: 24px; letter-spacing: -0.018em; }
  .h-card    { font-size: 20px; }
  .h-hero    { font-size: clamp(25px, 6.4vw, 30px); }
}

/* ── Lead / sub-body size reduction ──────────────────────────*/
@media (max-width: 600px) {
  .lead          { font-size: 15px; line-height: 1.6; margin-top: 12px; }
  .lead--dark    { font-size: 15px; }
  .proc-card__title   { font-size: 22px; }
  .proc-card__text    { font-size: 14px; line-height: 1.55; }
  .scope-contract__title { font-size: 32px; }
  .scope-contract__lede  { font-size: 14px; line-height: 1.62; }
  .bao__step p         { font-size: 14px; line-height: 1.55; }
  .pillar p            { font-size: 14.5px; line-height: 1.55; }
  .anti-pos__statement { font-size: 14.5px; line-height: 1.55; }
  .bao-disclaimer__text { font-size: 14px; }
  .faq__body p         { font-size: 14px; line-height: 1.65; }
  .timeline__caveat    { padding: 14px 18px; font-size: 12px; }
}

/* ── Section padding tighter ─────────────────────────────────*/
@media (max-width: 600px) {
  .section        { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .section-header { margin-bottom: 36px; }
}

/* ─────────────────────────────────────────────────────────────
   BAO ARROW — fix rotate overflow bleed over cards
   Problem: rotate(90deg) visual extends beyond layout box,
   the wide ::before line visually bleeds across card edges.
   Fix: rebuild as a clean vertical CSS-only connector.
   ─────────────────────────────────────────────────────────────*/
@media (max-width: 880px) {
  .bao__arrow {
    transform: none;
    min-height: 28px;
    min-width: unset;
    padding: 0;
    height: 28px;
  }
  .bao__arrow::before {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
      transparent,
      rgba(14,17,23,0.22) 40%,
      rgba(201,138,62,0.35) 60%,
      transparent
    );
    margin: 0 auto;
  }
  .bao__arrow::after {
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    background: var(--paper);
    border-color: rgba(201,138,62,0.55);
  }
  .bao__arrow .bao__arrow-label { display: none; }
  .bao__arrow svg { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   PROC-OVERVIEW ARROW — same fix
   ─────────────────────────────────────────────────────────────*/
@media (max-width: 880px) {
  .proc-overview__arrow {
    transform: none;
    height: 30px;
    padding: 0;
    gap: 0;
  }
  .proc-overview__arrow svg  { display: none; }
  .proc-overview__arrow span { display: none; }
  .proc-overview__arrow::before {
    content: "";
    display: block;
    width: 1px;
    height: 22px;
    background: linear-gradient(to bottom,
      var(--line),
      rgba(201,138,62,0.30),
      var(--line)
    );
    margin: 0 auto;
  }
}

/* ─────────────────────────────────────────────────────────────
   TIMELINE 7 GIORNI — premium mobile redesign
   Amber spine line + amber labels + left-aligned descriptions
   ─────────────────────────────────────────────────────────────*/
@media (max-width: 880px) {
  /* Continuous amber spine running through all nodes */
  .timeline__rail {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline__rail::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(to bottom,
      rgba(201,138,62,0.60) 0%,
      rgba(201,138,62,0.28) 60%,
      rgba(201,138,62,0.0)  100%
    );
    z-index: 0;
    pointer-events: none;
  }

  /* Each step: 2-col grid, node left, content right */
  .timeline__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 0;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(14,17,23,0.07);
    position: relative;
    z-index: 1;
  }
  .timeline__step:last-child { border-bottom: none; }

  /* Node: shorter, sits in left column spanning all rows */
  .timeline__node {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 46px;
    height: 46px;
    margin: 0;
    align-self: start;
    position: relative;
    z-index: 2;
    font-size: 12px;
  }

  /* Label: amber mono, small */
  .timeline__label {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--amber);
    margin-bottom: 3px;
    font-weight: 600;
  }

  /* Title */
  .timeline__title {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    font-size: 15.5px;
    font-weight: 650;
    letter-spacing: -0.012em;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 4px;
  }

  /* Desc — fix auto-centering from desktop CSS */
  .timeline__desc {
    grid-column: 2;
    grid-row: 3;
    text-align: left;
    max-width: none;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
  }

  /* Hide decorative horizontal rail elements */
  .timeline__line      { display: none; }
  .timeline__ticks     { display: none; }
  .timeline__gate-zone { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   ABOUT — premium photo integration
   portrait crop · no white gradient (desktop parity)
   ─────────────────────────────────────────────────────────────*/
@media (max-width: 820px) {
  .about__photo {
    aspect-ratio: 3 / 4;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px -12px rgba(14,17,23,0.18);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  /* Remove white gradient — match desktop treatment */
  .about__photo::after {
    display: none;
  }
  .about__photo img {
    object-position: center top;
    object-fit: cover;
  }
  .about__body h2    { margin-bottom: 18px; }
  .about__body p     { font-size: 15px; line-height: 1.62; margin-bottom: 12px; }
  .about__footer     { margin-top: 20px; }
  .about__closer     { font-size: 13px; }
}


/* ============================================================
   MOBILE v2 — all targeted mobile-only modifications
   All rules ≤ 880px · desktop + tablet untouched
   ============================================================ */

/* 1 ── NAV MOBILE: links-only pill, no brand/cta */
.nav__links--mobile { display: none; }

@media (max-width: 880px) {
  .nav__links--desktop { display: none !important; }
  .nav__links--mobile  { display: flex !important; gap: 2px; }
  .nav__brand { display: none !important; }
  .nav__cta   { display: none !important; }
  .nav { padding: 8px 12px; justify-content: center; }
}

/* 2 ── STICKY CTA: button only, no dark bar */
@media (max-width: 767px) {
  .sticky-cta {
    background: transparent;
    border-top: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 20px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    pointer-events: none;
    align-items: flex-end;
    justify-content: center;
  }
  .sticky-cta.is-visible { pointer-events: auto; }
  .sticky-cta__btn {
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(201,138,62,0.50), 0 2px 8px rgba(0,0,0,0.16);
  }
}

/* 3 ── HERO H1: 4-line headline on mobile */
@media (max-width: 440px) {
  .hero h1 { font-size: 32px; line-height: 1.12; }
  .hero__h1-line { white-space: normal; }
}
@media (min-width: 441px) and (max-width: 600px) {
  .hero h1 { font-size: 34px; line-height: 1.12; }
  .hero__h1-line { white-space: normal; }
}

/* Hero sub: airy single paragraph */
.hero-sub-br { display: none; }
@media (max-width: 600px) {
  .hero__sub {
    font-size: 16px;
    line-height: 1.68;
    margin-top: 28px;
    max-width: 100%;
  }
  .hero-sub-br { display: none; }
}

/* 4 ── PRIMA/DOPO: show Prima first on mobile */
@media (max-width: 760px) {
  .pv-side--before { order: -1; }
  .pv-side--after  { order: 2; }
}

/* 5 ── KPI CARDS: title row 1, before → after row 2 */
@media (max-width: 767px) {
  .pv-kpis--diag { grid-template-columns: 1fr; gap: 6px; }

  .pv-kpi-card--diag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding: 14px 16px;
  }
  .pv-kpi-card--diag .pv-kpi-card__label {
    flex: 0 0 100%;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--pv-tx);
  }
  .pv-kpi-card__diag--before,
  .pv-kpi-card__diag--after {
    flex: 0 0 auto;
    font-size: 10.5px;
    padding: 3px 8px;
    white-space: nowrap;
  }
  /* Arrow injected after the before badge */
  .pv-kpi-card__diag--before::after {
    content: " →";
    color: var(--pv-tx-mut);
    text-decoration: none;
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline;
  }
}

/* 6 ── GRAPH TITLE: hierarchically prominent */
@media (max-width: 767px) {
  .pv-graph__label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pv-tx);
    letter-spacing: -0.005em;
  }
}

/* 7 ── H-SECTION +1px on specified sections */
@media (max-width: 767px) {
  #problemi .h-section,
  #audience .h-section,
  #incluso  .h-section { font-size: 31px; }
  .final-cta .h-section { font-size: 27px; }
}

/* 8 ── ZIGZAG PILLAR NUM: align with title (col 2) */
@media (max-width: 880px) {
  .preview-zigzag__card.pillar .pillar__num {
    grid-column: 2;
    margin-bottom: 6px;
  }
}

/* 9 ── BRIDGE: shorter on mobile */
@media (max-width: 767px) {
  .bridge { height: 200px; }
}

/* 10 ── BAO HEADLINE: vertical with down arrows */
.bao-headline__desktop { display: inline; }
.bao-headline__mobile  { display: none;   }

@media (max-width: 767px) {
  .bao-headline__desktop { display: none; }
  .bao-headline__mobile  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    line-height: 1.3;
  }
  .bao-arr {
    font-size: 0.7em;
    color: var(--amber);
    opacity: 0.75;
    line-height: 1;
    font-style: normal;
  }
  /* center the bao headline */
  #sistema .section-header { text-align: center; }
}

/* 11 ── SCOPE-CONTRACT STATS: tight + centered on mobile */
@media (max-width: 480px) {
  .scope-contract__stats {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 22px 8px 20px;
    gap: 0;
  }
  .scope-contract__stat {
    padding: 0 12px;
    align-items: center;
    text-align: center;
    flex: 1;
  }
  .scope-contract__stat-num {
    font-size: 22px;
    text-align: center;
  }
  .scope-contract__stat-label {
    font-size: 9px;
    text-align: center;
    white-space: nowrap;
  }
  .scope-contract__stat-sep { height: 36px; }
}

/* 12 ── CASE 08 TITLE: bright/light color on dark background */
@media (max-width: 767px) {
  .case[data-case="08"] .case__title {
    color: var(--paper);
  }
  .case[data-case="08"] .case__gradient {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 48%,
      rgba(8,9,13,0.18) 68%,
      rgba(8,9,13,0.55) 86%,
      rgba(8,9,13,0.72) 100%
    );
  }
}

/* 13 ── MID-CTA LINE BREAK: mobile only */
.m-br { display: none; }
@media (max-width: 767px) {
  .m-br { display: block; }
  .mid-cta__text { white-space: normal; font-size: 18px; }
}

/* 14 ── ABOUT: mobile eyebrow before photo */
.about__eyebrow-mobile  { display: none; }
.about__eyebrow-desktop { display: inline-block; }

@media (max-width: 820px) {
  .about__eyebrow-mobile {
    display: inline-block;
    margin-bottom: 14px;
    grid-column: 1;
  }
  /* Higher specificity to override .about__body .eyebrow rule */
  .about__body .about__eyebrow-desktop { display: none; }
  /* Shift rows down since eyebrow now occupies row 1 */
  .about__photo  { grid-row: 2; }
  .about__body   { grid-row: 3; }
  .about__footer { grid-row: 4; margin-top: 20px; }
}

/* 15 ── FINAL CTA H2: +1px (already covered by rule 7) */

/* HERO-SUB-BR desktop guard (white-space: nowrap on desktop hides br) */
@media (min-width: 921px) {
  .hero-sub-br { display: none; }
}


/* ============================================================
   MOBILE REFINEMENT — impeccable polish pass
   typography · spacing · rhythm · motion · hierarchy
   ============================================================ */

/* ── NAV PILL MOBILE: tighter, more centered ── */
@media (max-width: 880px) {
  .nav {
    padding: 6px 10px;
    gap: 0;
  }
  .nav__link {
    padding: 8px 16px;
    font-size: 13.5px;
  }
}

/* ── HERO SUB: second sentence lighter + more breathing room ── */
@media (max-width: 600px) {
  .hero__sub {
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
  }
  /* Microcopy: single-line friendly version */
  .hero__ctas-microcopy {
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }
}

/* ── HERO H1: tighter letter-spacing at mobile for impact ── */
@media (max-width: 600px) {
  .hero h1 {
    letter-spacing: -0.025em;
    line-height: 1.05;
  }
  .hero__mobile-accent-line {
    color: var(--amber);
    display: inline-block;
    font-family: "Spectral", Georgia, serif;
    font-size: 1.14em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 0.88;
  }
  .hero h1 .hero__mobile-accent-line .accent-word {
    color: inherit;
    display: inline;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
  }
}

/* ── SECTION PADDING MOBILE: consistent rhythm ── */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
}

/* ── PREVIEW MOCKUP MOBILE: reduce top margin for tighter feel ── */
@media (max-width: 600px) {
  .preview-mockup { margin-top: 44px; }
  .pv-body { padding: 16px; gap: 18px; }
}

/* ── DASHBOARD BOARD: tighter on mobile ── */
@media (max-width: 600px) {
  .pv-board { padding: 16px 16px 18px; gap: 12px; }
  .pv-board__title { font-size: 14px; }
}

/* ── GRAPH: legend inline with title ── */
@media (max-width: 600px) {
  .pv-graph__head { flex-direction: column; gap: 6px; align-items: flex-start; }
  .pv-graph__label { font-size: 13px; }
}

/* ── PILLAR CARDS MOBILE: tighter padding ── */
@media (max-width: 600px) {
  .pillar { padding: 28px 22px; }
  .pillar h3 { font-size: 20px; }
}

/* ── ZIGZAG PREVIEW: tighter margin ── */
@media (max-width: 880px) {
  .preview-zigzag__row--left .preview-zigzag__card,
  .preview-zigzag__row--right .preview-zigzag__card {
    margin-left: 56px;
  }
}

/* ── BAO HEADLINE MOBILE: reduce gap between steps ── */
@media (max-width: 767px) {
  .bao { gap: 10px; }
  .bao__step { padding: 20px 18px 18px; }
}

/* ── SISTEMA SECTION HEADER: mobile redesign ── */
/* Gerarchia: eyebrow amber → step number mono → step name grande → connettore linea → lead */
@media (max-width: 767px) {
  /* Eyebrow: amber, più visibile */
  #sistema .section-header .eyebrow {
    color: var(--amber);
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 32px;
    opacity: 1;
  }

  /* H2: step names più grandi e impattanti */
  #sistema h2.bao-headline {
    font-size: 38px;
    letter-spacing: -0.022em;
    line-height: 1.0;
  }

  /* Container steps: flex column con counter */
  .bao-headline__mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    counter-reset: bao-step;
  }

  /* Ogni step: numero amber sopra + nome grande sotto */
  .bao-step {
    counter-increment: bao-step;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  /* Numero step amber generato da CSS */
  .bao-step::before {
    content: "0" counter(bao-step);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 0.12em;
    line-height: 1;
    opacity: 0.85;
  }

  /* Connettore: nascondi ↓, disegna linea amber sottile */
  .bao-arr {
    font-size: 0 !important;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
  }
  .bao-arr::after {
    content: "";
    display: block;
    width: 1.5px;
    height: 20px;
    background: var(--amber);
    opacity: 0.38;
    border-radius: 1px;
  }

  /* Lead: respiro generoso dopo gli step */
  #sistema .section-header .lead {
    margin-top: 32px;
    font-size: 15.5px;
    line-height: 1.65;
  }

  /* Section header: allineamento centro, spazio verso il bao */
  #sistema .section-header { text-align: center; margin-bottom: 40px; }
}

/* ── SCOPE-CONTRACT MOBILE: better card padding ── */
@media (max-width: 600px) {
  .scope-contract__head { padding: 20px 20px 0; }
  .scope-contract__title { font-size: 32px; }
  .scope-contract__lede { font-size: 14px; }
  .scope-contract__checklist { padding: 0 20px 24px; }
}

/* ── CASES GRID MOBILE: single col tighter ── */
@media (max-width: 600px) {
  .cases-grid { gap: 12px; }
  .case__visual { height: 240px; }
  .case__title { font-size: 16px; bottom: 14px; left: 16px; right: 16px; }
  .case__body { padding: 10px 16px 14px; }
}

/* ── MID-CTA MOBILE: tighter box ── */
@media (max-width: 600px) {
  .mid-cta { padding: 28px 22px; margin-top: 48px; }
  .mid-cta__text { font-size: 17px; line-height: 1.4; }
}

/* ── FILTER CARDS MOBILE: tighter list items ── */
@media (max-width: 600px) {
  .filter-card__list li { padding: 11px 0; gap: 14px; }
  .filter-card__text { font-size: 14.5px; line-height: 1.52; }
}

/* ── ABOUT SECTION MOBILE: breathing room ── */
@media (max-width: 820px) {
  .about__eyebrow-mobile { font-size: 11px; }
  .about__body h2 { font-size: 26px; line-height: 1.15; }
  .about__body { margin-top: 32px; }
}

/* ── FINAL CTA MOBILE: reduce padding ── */
@media (max-width: 600px) {
  .final-cta { padding: 64px 0 80px; }
  .final-cta__inner { gap: 40px; }
}

/* ── STICKY CTA: ensure it always sits above keyboard ── */
@media (max-width: 767px) {
  .sticky-cta {
    z-index: calc(var(--z-nav) + 10);
  }
  .sticky-cta__btn {
    height: 50px;
    font-size: 15px;
    font-weight: 700;
  }
}

/* ── SCOPE-CONTRACT STATS: ensure horizontal on all mobile ── */
@media (max-width: 360px) {
  .scope-contract__stat-num { font-size: 18px; }
  .scope-contract__stat { padding: 0 8px; }
  .scope-contract__stat-label { font-size: 8px; }
}

/* Nav delayed reveal */
.nav.nav--hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none !important;
}

/* ── HERO MOBILE: proportional rhythm — 80% viewport ── */
@media (max-width: 767px) {
  .hero { padding-top: 0; padding-bottom: 0; }

  .hero__text {
    display: flex;
    flex-direction: column;
    padding-top: 72px;
    padding-bottom: 62px;
  }

  .hero__eyebrow {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 24px;
    align-self: center;
  }
  .hero__eyebrow .pulse { width: 5px; height: 5px; }

  .hero__sub { margin-top: 26px; }

  .hero__ctas { margin-top: 40px; }
  .hero__ctas-microcopy { margin-top: 16px; }
}

/* ── HERO MOBILE AURA: override con vh/vw per ancorare al top del viewport ── */
/* Su mobile dark-block è 2176px — le % diluiscono l'aura. Vh/vw la concentrano. */
@media (max-width: 767px) {
  .dark-block::before {
    background:
      radial-gradient(ellipse 130vw 42vh at 50% 0%, rgba(30, 58, 138, 0.45), transparent 68%),
      radial-gradient(ellipse 90vw 28vh at 78% 12vh, rgba(201, 138, 62, 0.36), transparent 62%),
      radial-gradient(ellipse 65vw 22vh at 16% 9vh,  rgba(30, 58, 138, 0.20), transparent 70%),
      radial-gradient(ellipse 75vw 30vh at 52% 48vh, rgba(201, 138, 62, 0.10), transparent 70%);
  }
}
