/* =====================================================================
   EasyCom · Studio AI — landing redesign
   Direzione: editorial light-luxury, palette calda (camel/terracotta/amber)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* palette — warm light luxury */
  --cream:        oklch(98.2% 0.008 80);
  --sand:         oklch(95.5% 0.014 78);
  --sand-deep:    oklch(91% 0.02 76);
  --ink:          oklch(22% 0.018 60);
  --ink-soft:     oklch(40% 0.02 60);
  --muted:        oklch(48% 0.018 62);   /* darkened for AA contrast on sand/cream */
  --line:         oklch(88% 0.016 75);

  --terracotta:   oklch(63% 0.14 42);
  --terracotta-d: oklch(55% 0.15 40);
  --amber:        oklch(78% 0.13 72);
  --forest:       oklch(48% 0.07 150);

  --surface:      var(--cream);
  --surface-2:    #fff;
  --on-accent:    oklch(98% 0.01 80);

  /* typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-xs:    0.78rem;
  --text-sm:    0.9rem;
  --text-base:  clamp(1rem, 0.96rem + 0.25vw, 1.1rem);
  --text-lg:    clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --text-xl:    clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --text-2xl:   clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --text-hero:  clamp(2.4rem, 1.1rem + 6.4vw, 7rem);

  /* spacing */
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter:        clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --max:           1240px;

  /* shape & motion */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px oklch(20% 0.02 60 / 0.06), 0 4px 14px oklch(20% 0.02 60 / 0.06);
  --shadow-md: 0 8px 30px oklch(20% 0.03 50 / 0.10);
  --shadow-lg: 0 24px 60px oklch(20% 0.04 45 / 0.16);
  --dur: 280ms;
  --dur-fast: 160ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2.5px solid var(--terracotta-d); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }

/* subtle paper grain atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracotta-d);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.6; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--text-2xl); margin: 0.7rem 0 0.6rem; }
.section-head p { color: var(--ink-soft); font-size: var(--text-lg); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: var(--text-sm);
  padding: 0.85em 1.5em; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
}
.btn-primary { background: var(--ink); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--terracotta-d); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--surface-2); }
.btn-lg { padding: 1.05em 1.9em; font-size: var(--text-base); }
/* hint compositor only when motion is imminent */
.btn:hover, .btn:focus-visible { will-change: transform; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: oklch(98.2% 0.008 80 / 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur);
}
.site-header.scrolled { border-color: var(--line); background: oklch(98.2% 0.008 80 / 0.92); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.brand { display: flex; align-items: baseline; gap: 0.5rem; font-weight: 700; letter-spacing: -0.02em; }
.brand b { font-family: var(--font-display); font-weight: 600; }
.brand .chip {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terracotta-d); border: 1px solid var(--terracotta); border-radius: var(--r-pill); padding: 0.15em 0.6em;
}
.nav-links { display: flex; gap: 1.6rem; list-style: none; padding: 0; margin: 0; font-size: var(--text-sm); font-weight: 500; }
.nav-links a { color: var(--ink-soft); position: relative; padding: 0.2em 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--terracotta); transition: width var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.nav-cta-mobile { display: none; }   /* voci CTA mostrate solo nel menu mobile */

/* hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur-fast); }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  /* barra pulita: niente CTA, solo logo + hamburger */
  .nav-cta .btn-ghost, .nav-cta .btn-primary { display: none; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    flex-direction: column; gap: 0.15rem; width: min(20rem, 84vw);
    background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    border-radius: var(--r-md); padding: 0.7rem;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 0.7em 0.7em; border-radius: 10px; color: var(--ink); }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--sand); }
  /* CTA dentro il menu a tendina */
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile a { display: block; }
  .nav-cta-mobile.cta-sep { margin-top: 0.5rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
  .nav-cta-mobile.cta-primary a { text-align: center; background: var(--ink); color: var(--on-accent); border-radius: var(--r-pill); padding: 0.8em 1em; margin-top: 0.35rem; font-weight: 600; }
  .nav-cta-mobile.cta-primary a:hover { background: var(--terracotta-d); color: var(--on-accent); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 4vw, 5rem) 0 var(--space-section); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--text-hero); margin: 1.2rem 0; overflow-wrap: break-word; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--terracotta-d); }
.hero-sub { font-size: var(--text-lg); color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 2rem 0 1.8rem; }
.badges { display: flex; gap: clamp(0.9rem, 1.8vw, 1.6rem); flex-wrap: nowrap; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.badge { flex: 1 1 0; min-width: 0; }
.badge b { font-family: var(--font-display); font-size: var(--text-xl); display: block; line-height: 1; }
.badge span { font-size: var(--text-sm); color: var(--ink-soft); }
/* badge su una riga da tablet in su; vanno a capo solo su mobile stretto */
@media (max-width: 480px) { .badges { flex-wrap: wrap; } .badge { flex: 1 1 100%; } }

/* hero collage — layered, asymmetric */
.hero-visual { position: relative; aspect-ratio: 4 / 5; }
.hero-visual .card { position: absolute; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-visual .card img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .c1 { inset: 0 22% 16% 0; z-index: 2; }
.hero-visual .c2 { width: 46%; aspect-ratio: 3/4; right: 0; top: 8%; z-index: 3; border: 5px solid var(--surface); }
.hero-visual .c3 { width: 38%; aspect-ratio: 1; right: 8%; bottom: 0; z-index: 4; border: 5px solid var(--surface); }
.hero-visual .tag {
  position: absolute; z-index: 5; bottom: 6%; left: -4%;
  background: var(--surface-2); box-shadow: var(--shadow-md); border-radius: var(--r-pill);
  padding: 0.5em 1em; font-size: var(--text-xs); font-weight: 600; display: flex; align-items: center; gap: 0.5rem;
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* su mobile: prima la colonna visual, poi il testo */
  .hero-visual { order: -1; aspect-ratio: 5/4; max-width: 520px; margin-inline: auto; width: 100%; }
  /* re-tune insets for the inverted (wide) box so the bordered cards stay separated */
  .hero-visual .c1 { inset: 0 30% 22% 0; }
  .hero-visual .c2 { width: 42%; top: 4%; right: 0; border-width: 4px; }
  .hero-visual .c3 { width: 32%; right: 6%; bottom: 0; border-width: 4px; }
}
@media (max-width: 560px) { .hero h1 br { display: none; } }

/* ---------- Trust bar ---------- */
.trust { padding: 1.6rem 0 2.4rem; }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.6rem; justify-content: center; text-align: center; }
.trust p { color: var(--muted); font-size: var(--text-sm); }
.trust .marks { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; }
.trust .marks li { font-weight: 700; letter-spacing: -0.01em; color: var(--ink-soft); opacity: 0.75; }

/* ---------- Section frame ---------- */
section[id] { scroll-margin-top: 80px; }
.section { padding: var(--space-section) 0; }
.section.alt { background: linear-gradient(180deg, var(--sand), var(--cream)); }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.ba-item { margin: 0; }
.ba-item figcaption { text-align: center; margin-top: 0.7rem; font-weight: 600; font-size: var(--text-sm); color: var(--ink-soft); }
.ba {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  user-select: none; touch-action: pan-y; cursor: ew-resize;
}
@media (max-width: 820px) { .ba-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .ba-label {
  position: absolute; top: 1rem; z-index: 4; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.35em 0.8em; border-radius: var(--r-pill); backdrop-filter: blur(6px);
}
.ba .lbl-before { left: 1rem; background: oklch(22% 0.02 60 / 0.7); color: #fff; }
.ba .lbl-after { right: 1rem; background: oklch(98% 0.01 80 / 0.82); color: var(--ink); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; z-index: 5; box-shadow: 0 0 0 1px oklch(20% 0.02 60 / 0.1); }
.ba .handle {
  position: absolute; top: 50%; left: var(--pos, 50%); z-index: 6;
  width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--surface-2); box-shadow: var(--shadow-md); display: grid; place-items: center;
  color: var(--ink); font-size: 1rem;
}
.ba-caption { text-align: center; margin-top: 1rem; color: var(--muted); font-size: var(--text-sm); }

/* ---------- Formats (bento) ---------- */
.fmt-group { margin-top: clamp(2rem, 4vw, 3.2rem); }
.fmt-group > h3 { font-size: var(--text-xl); display: flex; align-items: center; gap: 0.7rem; }
.fmt-group > h3 .pill {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25em 0.7em; border-radius: var(--r-pill);
}
.pill.simple { background: var(--sand-deep); color: var(--ink-soft); }
.pill.adv { background: var(--terracotta); color: var(--ink); }
.fmt-group > p { color: var(--muted); margin: 0.3rem 0 1.3rem; }
.bento, .bento.three { display: grid; gap: clamp(0.8rem, 1.6vw, 1.1rem); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fmt {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--sand);
  box-shadow: var(--shadow-sm); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fmt:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fmt img, .fmt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform var(--dur) var(--ease); }
.fmt:hover img, .fmt:hover video { transform: scale(1.04); }
.fmt::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 38%, oklch(20% 0.02 60 / 0.72)); }
.fmt .meta { position: relative; z-index: 2; padding: 1rem 1.1rem; color: #fff; }
.fmt .meta b { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; }
.fmt .meta span { font-size: var(--text-xs); opacity: 0.85; }
.fmt .vbadge {
  position: absolute; z-index: 3; top: 0.8rem; left: 0.8rem; font-size: var(--text-xs); font-weight: 700;
  background: oklch(98% 0.01 80 / 0.9); color: var(--ink); padding: 0.25em 0.6em; border-radius: var(--r-pill);
  display: flex; align-items: center; gap: 0.35rem;
}
.fmt.wide { grid-column: auto; }
@media (max-width: 440px) { .bento, .bento.three { grid-template-columns: 1fr; } }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.cat { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat .thumbs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 3/2; }
.cat .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cat .thumbs img:first-child { grid-row: span 2; }
.cat .body { padding: 1.2rem 1.3rem 1.5rem; }
.cat .body h3 { font-size: var(--text-lg); }
.cat .body p { color: var(--ink-soft); font-size: var(--text-sm); margin-top: 0.4rem; }
.cats-foot { text-align: center; color: var(--muted); margin-top: 1.6rem; font-size: var(--text-sm); }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: s; }
.step { counter-increment: s; }
.step .n { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--terracotta-d); display: block; }
.step .n::before { content: "0" counter(s); }
.step h3 { font-size: var(--text-lg); margin: 0.5rem 0 0.4rem; }
.step p { color: var(--ink-soft); font-size: var(--text-sm); }
.step { padding-top: 1.2rem; border-top: 2px solid var(--line); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- Why / features ---------- */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.feat { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.6rem; transition: border-color var(--dur), transform var(--dur) var(--ease); }
.feat:hover { transform: translateY(-3px); border-color: var(--terracotta); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 0.8rem; color: var(--terracotta-d); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: var(--text-lg); }
.feat p { color: var(--ink-soft); font-size: var(--text-sm); margin-top: 0.4rem; }
@media (max-width: 700px) { .feats { grid-template-columns: 1fr; } }

/* ---------- How AI works ---------- */
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ai-points { list-style: none; padding: 0; display: grid; gap: 1rem; }
.ai-points li { padding-left: 2rem; position: relative; color: var(--ink-soft); }
.ai-points li strong { color: var(--ink); }
.ai-points li::before { content: "→"; position: absolute; left: 0; color: var(--terracotta-d); font-weight: 700; }
.ai-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.ai-media video, .ai-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .ai-split { grid-template-columns: 1fr; } .ai-media { max-width: 420px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.quote { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.35; }
.quote figcaption { margin-top: 1rem; font-size: var(--text-sm); color: var(--muted); font-weight: 600; }
.quote figcaption cite { font-style: normal; }
.quote.placeholder { border-style: dashed; opacity: 0.92; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); align-items: stretch; }
.price { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price.feature { background: var(--ink); color: var(--on-accent); border-color: var(--ink); }
.price.feature .amt, .price.feature h3 { color: var(--on-accent); }
.price .tagx { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-d); }
.price.feature .tagx { color: var(--amber); }
.price h3 { font-size: var(--text-lg); margin: 0.5rem 0; }
.price .amt { font-family: var(--font-display); font-size: var(--text-2xl); }
.price .amt small { font-size: var(--text-sm); color: var(--muted); font-family: var(--font-body); }
.price.feature .amt small { color: oklch(90% 0.01 80 / 0.75); }
.price p { font-size: var(--text-sm); color: var(--ink-soft); margin: 0.6rem 0 1.2rem; }
.price.feature p { color: oklch(92% 0.01 80 / 0.85); }
.price .btn { margin-top: auto; justify-content: center; }
.price.feature .btn-primary { background: var(--terracotta-d); }
.price-note { text-align: center; margin-top: 1.4rem; color: var(--muted); font-size: var(--text-sm); }
@media (max-width: 820px) { .prices { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Privacy strip ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.privacy ul { list-style: none; padding: 0; display: grid; gap: 0.8rem; }
.privacy li { padding-left: 1.8rem; position: relative; color: var(--ink-soft); }
.privacy li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
@media (max-width: 760px) { .privacy { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0; font-weight: 600; font-size: var(--text-lg);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; transition: transform var(--dur) var(--ease); color: var(--terracotta-d); font-size: 1.3rem; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 44rem; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final-card {
  background: radial-gradient(120% 120% at 50% -10%, oklch(63% 0.14 42 / 0.16), transparent 60%), var(--ink);
  color: var(--on-accent); border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  position: relative; overflow: hidden;
}
.final-card h2 { font-size: var(--text-2xl); color: #fff; }
.final-card p { color: oklch(92% 0.01 80 / 0.85); max-width: 38rem; margin: 1rem auto 2rem; font-size: var(--text-lg); }
.final-card .hero-cta { justify-content: center; }
.final-card .btn-ghost { color: #fff; border-color: oklch(98% 0.01 80 / 0.3); }
.final-card .btn-ghost:hover { background: oklch(98% 0.01 80 / 0.1); border-color: #fff; }
.final-card .btn-primary { background: var(--terracotta-d); }
.final-card .btn-primary:hover { background: var(--amber); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer .tagline { font-family: var(--font-display); font-size: var(--text-lg); }
.site-footer a { color: var(--ink-soft); } .site-footer a:hover { color: var(--terracotta-d); }
.site-footer .legal { color: var(--muted); font-size: var(--text-sm); }

/* ---------- Motion toggle (WCAG 2.2.2 Pause, Stop, Hide) ---------- */
.motion-toggle {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  font: inherit; font-size: var(--text-xs); font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6em 1em; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow-md);
}
.motion-toggle:hover { border-color: var(--ink); }
.motion-toggle[hidden] { display: none; }

/* ---------- Connettore automatico (fascia scura) ---------- */
.connector-band {
  background: radial-gradient(120% 120% at 82% -20%, oklch(63% 0.14 42 / 0.20), transparent 55%), var(--ink);
  color: var(--on-accent);
}
.connector-band .eyebrow { color: var(--amber); }
.connector-band .eyebrow::before { background: var(--amber); }
.connector-band h2 { color: #fff; }
.connector-band .section-head p { color: oklch(92% 0.01 80 / 0.85); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.flow-step { position: relative; }
.flow-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--amber); color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.9rem;
}
.flow-step h3 { font-size: var(--text-lg); color: #fff; margin-bottom: 0.4rem; }
.flow-step p { color: oklch(90% 0.01 80 / 0.78); font-size: var(--text-sm); }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; top: 0.5rem; right: calc(-0.5 * clamp(1.2rem, 2.5vw, 2.4rem) - 0.45rem);
  color: var(--amber); font-weight: 700; font-size: 1.2rem;
}
.connector-foot { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.flow-badge {
  font-size: var(--text-sm); font-weight: 600; color: #fff;
  background: oklch(98% 0.01 80 / 0.08); border: 1px solid oklch(98% 0.01 80 / 0.2);
  border-radius: var(--r-pill); padding: 0.45em 1.1em;
}
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 1.3rem; }
  .flow-step:not(:last-child)::after { display: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
