/* ─────────────────────────────────────────────────
   Bynor — Sito Nuovo · Design System
   Editorial light style + Manus-style dark footer
   ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }

:root {
  --ink: #0A0A0A;
  --ink-soft: #404040;
  --muted: #737373;
  --line: #E5E5E5;
  --line-soft: #F0F0EE;
  --paper: #FAFBFB;
  --paper-2: #FAF9F8;
  --accent: #4F46E5;
  --accent-hover: #3B35AC;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --footer-bg: #0A0A0F;
  --footer-text: rgba(255, 255, 255, 0.55);
  --footer-text-strong: rgba(255, 255, 255, 0.92);
  --footer-line: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: opacity 0.28s ease;
}
/* Transizione d'uscita verso la registrazione */
body.page-leaving { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
}

h1, h2, h3, h4 {
  font-family: 'Sora', system-ui, sans-serif;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  font-weight: 600;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
img, svg { display: block; max-width: 100%; }
html { scroll-behavior: smooth; }

/* Editorial italic — Noto Serif for emphasis across the page.
   Italic glyphs read optically lighter than upright bold, so we bump weight
   by ~200 to match the surrounding text's visual density. */
em, .serif-italic {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 700;
}
/* In headings, italic accents need to feel as heavy as the upright bold around them */
.h2-display em, .h3-display em {
  font-weight: 800;
  font-size: 1.06em;
  letter-spacing: -0.03em;
}

/* Accessibility: visible focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 4px; }

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: #1E1B4B; color: white;
  padding: 12px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  z-index: 100; transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* Subtle film grain overlay */
.grain-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* ─── Typography ─── */
/* H1 sized to match landing2/.display-hero exactly */
.h1-display {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h1-display em {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.12em;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  /* Italic strokes look optically lighter than upright bold — these counter that */
}
/* On mobile, keep <br> visible: hiding it joined adjacent words without space. */

/* Utility: line break only on small screens */
.br-mobile { display: none; }
@media (max-width: 600px) {
  .br-mobile { display: inline; }
}

.h2-display {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.h3-display {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lede {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

.label-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: var(--accent);
  color: white;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.011em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.20);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(0.985); transition-duration: 0.08s; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover { border-color: var(--ink); background: white; }
.btn-secondary:active { transform: scale(0.985); transition-duration: 0.08s; }

.btn-large { padding: 16px 30px; font-size: 16px; border-radius: 12px; }
.btn-primary i, .btn-secondary i, .btn-dark-primary i, .btn-dark-outline i { line-height: 1; font-size: 15px; }
.btn-large i { font-size: 16px; }

/* Icon-box: contenitore decorativo neutro (no brand accent) per icone Phosphor.
   Imposta font-size sul box per scalare automaticamente l'icona al 50% del lato. */
.icon-box {
  aspect-ratio: 1 / 1;
  border-radius: 30%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F3F4F6;
  color: #6B7280;
}
.icon-box i { font-size: 50%; line-height: 1; }

/* CTA row con bottoni di pari dimensione (pagine di confronto) */
.cta-row-equal { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-row-equal > .btn-primary,
.cta-row-equal > .btn-secondary,
.cta-row-equal > .btn-dark-primary,
.cta-row-equal > .btn-dark-outline {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
}
@media (max-width: 640px) {
  .cta-row-equal { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-row-equal > .btn-primary,
  .cta-row-equal > .btn-secondary,
  .cta-row-equal > .btn-dark-primary,
  .cta-row-equal > .btn-dark-outline { flex: none; width: 100%; min-width: 0; max-width: none; }
}

/* Dark variants for use on dark backgrounds */
.btn-dark-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: white; color: var(--ink);
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 500; font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-dark-primary:hover { background: rgba(255,255,255,0.92); }

.btn-dark-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: transparent; color: white;
  border-radius: 10px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 500; font-size: 15px;
  line-height: 1.2;
  border: 1px solid rgba(255,255,255,0.20);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-dark-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.45); }

/* ─── Badges ─── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.badge i { color: var(--accent); }
.badge strong { color: var(--ink); font-weight: 600; }

/* ─── Layout ─── */
.section { padding: 96px 0; }
@media (max-width: 1024px) { .section { padding: 80px 0; } }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-medium { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) {
  .container, .container-narrow, .container-medium { padding: 0 16px; }
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────────
   HEADER · floating navbar — transparent then glass
   ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: calc(100% - 32px);
  max-width: 1200px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: none;
  transition:
    max-width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}
.header.scrolled {
  max-width: 820px;
  background: rgba(250, 251, 251, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}
.header .container {
  padding: 10px 16px !important;
  max-width: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-links {
  display: flex; align-items: center; gap: 40px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--ink); }

.nav-dd {
  position: relative;
}
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-dd-trigger:hover { color: var(--ink); }
.nav-dd-trigger svg { transition: transform 0.25s ease; }
.nav-dd.open .nav-dd-trigger svg { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}
.nav-dd.open .nav-dd-panel {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dd-item:hover { background: var(--paper-2); color: var(--ink); }

/* Mega-menu · Vercel-style multi-col panel with eyebrow + featured card */
.nav-dd-panel--mega {
  width: 520px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  /* Centered under its trigger, like the simple dropdowns */
  left: 50%;
  transform: translateX(-50%) translateY(8px);
}
.nav-dd-panel--mega.nav-dd-panel--3col {
  width: 700px;
  grid-template-columns: 1fr 1fr 0.85fr;
}
.nav-dd.open .nav-dd-panel--mega {
  transform: translateX(-50%) translateY(0);
}
/* ─── Product mock media (video or static screenshot inside the browser frame) ─── */
.product-mock-video,
.product-mock-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  overflow: hidden;
  line-height: 0;
}
.product-mock-video video,
.product-mock-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-mock-image img { object-position: top; }
@media (max-width: 768px) {
  .product-mock-video,
  .product-mock-image { aspect-ratio: 16 / 10; }
}

/* ─── Waitlist modal (shared) ─── */
.wl-modal-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.wl-modal-overlay.active { opacity: 1; pointer-events: auto; }
.wl-modal-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  width: 92%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.20);
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.wl-modal-overlay.active .wl-modal-box { transform: translateY(0); }
.wl-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--paper-2);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}
.wl-modal-close:hover { background: var(--ink); color: white; }
.wl-modal-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 26px;
  box-shadow: 0 10px 22px -10px rgba(79, 70, 229, 0.4);
}
.wl-modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.wl-modal-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
}
.wl-modal-context {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(79, 70, 229, 0.08);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.wl-modal-context i { font-size: 10px; }
@media (max-width: 420px) {
  .wl-modal-box { padding: 32px 22px 24px; max-width: 100%; width: 94%; border-radius: 18px; }
  .wl-modal-ico { width: 52px; height: 52px; font-size: 24px; margin-bottom: 16px; }
  .wl-modal-title { font-size: 20px; }
  .wl-modal-desc { font-size: 13.5px; margin-bottom: 18px; }
  .wl-form-input { padding: 12px 13px; font-size: 14px; }
  .wl-form-submit { padding: 13px; font-size: 14px; }
}
@media (max-width: 360px) {
  .wl-modal-box { padding: 30px 16px 22px; }
}
.wl-form-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  margin-bottom: 10px;
}
.wl-form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
  background: white;
}
.wl-form-input.error {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.04);
}
.wl-form-input.error:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.wl-form-input::placeholder { color: var(--muted); }
.wl-form-privacy {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 6px 0 0;
  text-align: left;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.wl-form-privacy input { margin-top: 2px; flex-shrink: 0; }
.wl-form-privacy a { color: var(--accent); font-weight: 600; }
.wl-form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 16px;
  letter-spacing: -0.005em;
}
.wl-form-submit:hover:not(:disabled) {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(79, 70, 229, 0.35);
}
.wl-form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.wl-form-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  display: none;
}
.wl-form-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #15803D;
}
.wl-form-msg.error {
  display: block;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  color: #B91C1C;
}
@keyframes wl-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.wl-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: wl-spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: -2px;
}

/* Thank-you panel — appears after successful submit, auto-closes the modal */
.wl-modal-main { transition: opacity 0.18s ease; }
.wl-modal-main.is-hidden { display: none; }
.wl-modal-thanks {
  display: none;
  text-align: center;
  padding: 16px 4px 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(.22,1,.36,1);
}
.wl-modal-thanks.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.wl-thanks-check {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
}
.wl-thanks-check svg { width: 100%; height: 100%; display: block; }
.wl-thanks-circle {
  stroke: #22C55E;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transform-origin: center;
  transform: rotate(-90deg);
  animation: wl-thanks-circle 0.6s cubic-bezier(.22,1,.36,1) 0.05s forwards;
}
.wl-thanks-tick {
  stroke: #22C55E;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: wl-thanks-tick 0.4s cubic-bezier(.22,1,.36,1) 0.5s forwards;
}
@keyframes wl-thanks-circle { to { stroke-dashoffset: 0; } }
@keyframes wl-thanks-tick   { to { stroke-dashoffset: 0; } }
.wl-thanks-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.wl-thanks-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 320px;
  margin: 0 auto;
}
@media (prefers-reduced-motion: reduce) {
  .wl-thanks-circle, .wl-thanks-tick { animation: none; stroke-dashoffset: 0; }
  .wl-modal-thanks { transition: opacity 0.15s ease; transform: none; }
}
@media (max-width: 480px) {
  .wl-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ─── HubSpot form embedded inside waitlist modal ─── */
.wl-hs-wrap { min-height: 240px; margin-top: 4px; }
.wl-hs-wrap .hs-form-frame { width: 100%; }
.wl-hs-wrap form.hs-form,
.wl-hs-wrap .hs-form { font-family: 'Montserrat', system-ui, sans-serif; text-align: left; }
.wl-hs-wrap .hs-form-field { margin-bottom: 10px; }
.wl-hs-wrap .hs-form-field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}
.wl-hs-wrap .hs-form-field .hs-form-required { color: var(--accent); margin-left: 2px; }
.wl-hs-wrap .hs-input,
.wl-hs-wrap input[type="text"],
.wl-hs-wrap input[type="email"],
.wl-hs-wrap input[type="tel"],
.wl-hs-wrap input[type="number"],
.wl-hs-wrap input[type="url"],
.wl-hs-wrap select,
.wl-hs-wrap textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 13px 14px !important;
  border-radius: 11px !important;
  border: 1px solid var(--line) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
  box-sizing: border-box !important;
}
.wl-hs-wrap .hs-input:focus,
.wl-hs-wrap input:focus,
.wl-hs-wrap select:focus,
.wl-hs-wrap textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
  background: white !important;
}
.wl-hs-wrap .hs-input::placeholder { color: var(--muted) !important; }
.wl-hs-wrap .legal-consent-container,
.wl-hs-wrap .hs-form-booleancheckbox-display,
.wl-hs-wrap .hs-fieldtype-booleancheckbox {
  font-size: 11.5px !important;
  color: var(--muted) !important;
  line-height: 1.45 !important;
  margin-top: 6px;
}
.wl-hs-wrap .legal-consent-container p { margin: 0 0 4px; font-size: 11.5px; }
.wl-hs-wrap .legal-consent-container a { color: var(--accent); font-weight: 600; }
.wl-hs-wrap input[type="checkbox"] { accent-color: var(--accent); margin-right: 6px; }
.wl-hs-wrap .hs-error-msgs,
.wl-hs-wrap .hs-error-msg {
  color: #B91C1C !important;
  font-size: 11.5px !important;
  margin-top: 4px;
  list-style: none;
  padding: 0;
}
.wl-hs-wrap .hs-button,
.wl-hs-wrap input[type="submit"] {
  width: 100% !important;
  padding: 14px !important;
  border-radius: 11px !important;
  background: var(--ink) !important;
  color: white !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 14px !important;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s !important;
}
.wl-hs-wrap .hs-button:hover,
.wl-hs-wrap input[type="submit"]:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(79, 70, 229, 0.35) !important;
}
.wl-hs-wrap .submitted-message {
  background: rgba(34, 197, 94, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.2) !important;
  color: #15803D !important;
  padding: 14px 16px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  text-align: center !important;
  font-weight: 500 !important;
}
.wl-hs-wrap .hs-richtext {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

/* Prossimamente column — compact list (icon + name only) */
.nav-dd-mega-col--compact .nav-dd-mega-item {
  padding: 6px 10px;
  align-items: center;
  gap: 10px;
}
.nav-dd-mega-col--compact .nav-dd-mega-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  font-size: 12px;
}
.nav-dd-mega-col--compact .nav-dd-mega-name {
  font-size: 12.5px;
  margin-bottom: 0;
}
.nav-dd-mega-col--compact .nav-dd-mega-desc { display: none; }
.nav-dd-mega-col {
  display: flex; flex-direction: column;
  gap: 2px;
}
.nav-dd-mega-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px 12px;
}
.nav-dd-mega-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nav-dd-mega-item:hover { background: var(--paper-2); }
.nav-dd-mega-ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: white;
}
.nav-dd-mega-body { flex: 1; min-width: 0; }
.nav-dd-mega-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.nav-dd-mega-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Featured CTA card on the right */
.nav-dd-mega-featured {
  position: relative;
  display: flex; flex-direction: column;
  padding: 20px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
  color: white;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-dd-mega-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.25);
}
.nav-dd-mega-featured-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
  align-self: flex-start;
}
.nav-dd-mega-featured-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: white;
  margin-bottom: 6px;
}
.nav-dd-mega-featured-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  flex: 1;
  margin-bottom: 14px;
}
.nav-dd-mega-featured-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.005em;
}
.nav-dd-mega-featured-cta i { font-size: 13px; transition: transform 0.2s ease; }
.nav-dd-mega-featured:hover .nav-dd-mega-featured-cta i { transform: translateX(2px); }

/* Resources variant — same panel but slightly narrower */
.nav-dd-panel--resources { width: 480px; }

@media (max-width: 768px) {
  .nav-dd-panel--mega { display: none !important; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-login {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.nav-login:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px;
  background: var(--accent);
  color: white;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent-hover); color: white; }
.nav-mobile-cta { border: none; cursor: pointer; font-family: inherit; width: 100%; font-size: 15px; }

/* ─── Hamburger button (animated 3 bars → X morph) ─── */
.nav-hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-hamburger:hover, .nav-hamburger:focus-visible {
  background: var(--paper-2);
  outline: none;
}
.nav-hamburger i { transition: opacity 0.15s ease; }
/* 3-bar morph (if button uses .nav-hamburger-bars structure) */
.nav-hamburger-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}
.nav-hamburger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.18s ease;
}
.nav-hamburger-bars span:nth-child(1) { top: 0; }
.nav-hamburger-bars span:nth-child(2) { top: 6px; }
.nav-hamburger-bars span:nth-child(3) { top: 12px; }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bars span:nth-child(2) { opacity: 0; transform: scaleX(0.6); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Mobile drawer · chip-grid layout (v3) ─── */
.nav-mobile {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh; /* large viewport (toolbars retracted) — copre area massima su iOS */
  background: var(--paper);
  z-index: 50;
  padding: 16px 18px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(.22,1,.36,1), opacity 0.22s ease;
  display: flex;
  flex-direction: column;
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
/* Staggered children slide-in on open */
@keyframes navMobileItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-mobile.open > .nav-mobile-top,
.nav-mobile.open > .nav-mobile-section,
.nav-mobile.open > .nav-mobile-footer {
  animation: navMobileItemIn 0.42s cubic-bezier(.22,1,.36,1) backwards;
}
.nav-mobile.open > .nav-mobile-top      { animation-delay: 0.04s; }
.nav-mobile.open > .nav-mobile-section:nth-of-type(1) { animation-delay: 0.10s; }
.nav-mobile.open > .nav-mobile-section:nth-of-type(2) { animation-delay: 0.18s; }
.nav-mobile.open > .nav-mobile-footer   { animation-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
  .nav-mobile.open > * { animation: none; }
}
/* Top bar inside drawer: logo + close */
.nav-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-logo { display: flex; align-items: center; }
.nav-mobile-logo svg { height: 22px; width: auto; display: block; }
.nav-mobile-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-mobile-close:hover { background: var(--paper-2); border-color: var(--ink); }
.nav-mobile-close i { font-size: 16px; line-height: 1; }
/* Section: title + chip cluster */
.nav-mobile-section { margin-top: 20px; }
.nav-mobile-section:first-of-type { margin-top: 8px; }
.nav-mobile-section-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 12px;
  padding: 0 2px;
  letter-spacing: -0.005em;
}
.nav-mobile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nav-mobile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.nav-mobile-chip:hover, .nav-mobile-chip:active {
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
}
.nav-mobile-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.nav-mobile-chip-badge {
  display: inline-flex; align-items: center;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.20);
  line-height: 1;
}
/* Footer: Accedi + waitlist CTA right after chips */
.nav-mobile-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-mobile-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  min-height: 50px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-mobile-login:hover { border-color: var(--ink); }
.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  min-height: 54px;
  transition: background 0.2s ease;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.20);
  width: 100%;
}
.nav-mobile-cta:hover { background: var(--accent-hover); }
.nav-mobile-cta i { font-size: 16px; line-height: 1; }
/* Hide the floating header pill while the drawer is open — drawer has its own top bar */
.header.menu-open { opacity: 0; pointer-events: none; }
/* Hide cookie FAB when the menu is open so it doesn't cover the CTAs */
body.nav-locked .cookie-fab { opacity: 0; pointer-events: none; }
/* Lock body scroll when menu is open */
body.nav-locked { overflow: hidden; touch-action: none; }
/* Compact mobile drawer so everything fits in one screen on phones */
@media (max-width: 640px) {
  .nav-mobile { padding: 12px 16px 16px; }
  .nav-mobile-top { padding: 2px 2px 12px; margin-bottom: 4px; }
  .nav-mobile-section { margin-top: 14px; }
  .nav-mobile-section:first-of-type { margin-top: 4px; }
  .nav-mobile-section-title { font-size: 12px; margin-bottom: 8px; }
  .nav-mobile-chips { gap: 6px; }
  .nav-mobile-chip { padding: 8px 13px; font-size: 13px; }
  .nav-mobile-chip-badge { font-size: 8.5px; padding: 1.5px 6px; }
  .nav-mobile-footer { margin-top: 16px; padding-top: 14px; gap: 8px; }
  .nav-mobile-login { padding: 12px; font-size: 14px; min-height: 44px; }
  .nav-mobile-cta { padding: 13px; font-size: 14.5px; min-height: 46px; }
}

/* ─── CTA close card: mobile polish (shared override) ─── */
@media (max-width: 640px) {
  .cta-close {
    padding: 40px 22px !important;
    border-radius: 18px !important;
  }
  .cta-close h2 { margin-bottom: 16px !important; font-size: clamp(24px, 6.5vw, 30px) !important; line-height: 1.15 !important; }
  .cta-close p { margin-bottom: 24px !important; font-size: 14.5px !important; line-height: 1.55 !important; }
  /* Last-child div = the buttons row (inline-styled in feature pages) */
  .cta-close > div:last-of-type {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .cta-close .btn-dark-primary,
  .cta-close .btn-dark-outline,
  .cta-close .btn-primary,
  .cta-close .btn-secondary,
  .cta-close button,
  .cta-close .btn-large {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .cta-close { padding: 36px 18px !important; }
}

/* ─── Cookie consent banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 720px;
  background: var(--ink);
  color: white;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
  z-index: 80;
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.cookie-banner-text a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 2px;
  font-weight: 600;
}
.cookie-banner-text a:hover { text-decoration-color: white; }
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cookie-btn-primary { background: white; color: var(--ink); }
.cookie-btn-primary:hover { background: rgba(255, 255, 255, 0.9); }
.cookie-btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.20);
}
.cookie-btn-secondary:hover { border-color: rgba(255, 255, 255, 0.5); color: white; background: rgba(255, 255, 255, 0.04); }
.cookie-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: none;
  padding: 10px 12px;
}
.cookie-btn-ghost:hover { color: white; text-decoration: underline; }
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    bottom: 12px;
    gap: 14px;
    font-size: 13px;
  }
  .cookie-banner-actions { width: 100%; justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 12px 14px; }
  .cookie-btn-ghost { flex: 0 0 auto; padding: 12px 10px; }
}

/* ─── Cookie preferences modal ─── */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.cookie-modal-overlay.active { opacity: 1; pointer-events: auto; }
.cookie-modal {
  background: white;
  border-radius: 20px;
  width: 92%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 26px 22px;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.22);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.cookie-modal-overlay.active .cookie-modal { transform: translateY(0); }
.cookie-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}
.cookie-modal-close:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.cookie-modal-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.cookie-modal-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 18px;
}
.cookie-modal-desc a { color: var(--accent); font-weight: 600; }
.cookie-cat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: white;
  transition: border-color 0.2s ease;
}
.cookie-cat:hover { border-color: var(--ink-soft); }
.cookie-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.cookie-cat-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.cookie-cat-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-cat-locked {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  background: var(--paper-2);
  border-radius: 100px;
  flex-shrink: 0;
}
/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px; height: 22px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0;
}
.cookie-toggle-slider {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--accent); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }
.cookie-toggle input:focus-visible + .cookie-toggle-slider { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.20); }
.cookie-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  line-height: 1.2;
}
.cookie-modal-actions button:hover { border-color: var(--ink); background: var(--paper-2); }
.cookie-modal-actions .cookie-btn-save {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  flex: 2;
}
.cookie-modal-actions .cookie-btn-save:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (max-width: 480px) {
  .cookie-modal { padding: 24px 20px 18px; }
  .cookie-modal-actions { flex-direction: column; }
  .cookie-modal-actions button { width: 100%; flex: none; }
}
/* Tiny re-opener button (bottom-left, post-decision) */
.cookie-fab {
  position: fixed;
  bottom: 16px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid transparent;
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 70;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28);
  font-family: inherit;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.cookie-fab.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-fab:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.34);
}
.cookie-fab svg { width: 18px; height: auto; display: block; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  /* On mobile: hide "Accedi" (it goes inside the drawer), keep "Lista d'attesa" CTA visible */
  .nav-login { display: none; }
  .nav-cta { display: inline-flex; padding: 8px 14px; font-size: 13px; }
  .nav-actions { margin-left: auto; margin-right: 8px; gap: 6px; }
  .nav-hamburger { display: flex; }
  .header.scrolled { max-width: calc(100% - 32px); }
  /* When menu is open, hide the floating header pill so the drawer fills cleanly */
  .header.menu-open {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
}
/* Very narrow phones: shorten the CTA further */
@media (max-width: 380px) {
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }
}

/* ─────────────────────────────────────────────────
   FOOTER · Manus-style dark, multi-column
   ───────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 40px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.footer-tagline {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--footer-text-strong);
  margin-bottom: 64px;
  max-width: 600px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 24px;
  margin-bottom: 48px;
}
.footer-col-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--footer-text-strong);
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}
.footer-col-links {
  display: flex; flex-direction: column;
  gap: 12px;
}
.footer-col-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--footer-text);
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.footer-col-links a:hover { color: var(--footer-text-strong); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--footer-line);
}
.footer-bottom-left {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--footer-text-strong);
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.footer-meta {
  font-size: 12px;
  color: var(--footer-text);
}
.footer-socials {
  display: flex; gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-text);
  font-size: 14px;
  transition: all 0.2s ease;
}
.footer-socials a:hover {
  color: var(--footer-text-strong);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .site-footer { padding: 64px 0 32px; }
  .footer-tagline { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col-title { margin-bottom: 14px; }
  .footer-col-links { gap: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ─────────────────────────────────────────────────
   FORM ELEMENTS · shared
   ───────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Montserrat', system-ui, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: white;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.form-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}
.form-input::placeholder { color: var(--muted); }
.form-textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.form-field { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ─── Card ─── */
.card-soft {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.card-soft:hover { border-color: var(--ink-soft); }

/* Numbered marker */
.num-marker {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ─────────────────────────────────────────────────
   COMPARATOR PAGES (Bynor vs X) · shared layout
   ───────────────────────────────────────────────── */

/* Page hero — smaller than landing hero */
.page-hero {
  padding: 200px 0 80px;
  position: relative;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(10, 10, 10, 0.10) 0.8px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

/* Versus badge */
.vs-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 12px 8px 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}
.vs-badge-vs {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  font-size: 13px;
}
.vs-badge-logo {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.vs-badge-logo--bynor { background: var(--ink); color: white; }

/* Snapshot section · 2 cards side by side with vs separator */
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 56px;
}
@media (max-width: 768px) {
  .snapshot-grid { grid-template-columns: 1fr; gap: 16px; }
}
.snapshot-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s ease;
}
.snapshot-card:hover { border-color: var(--ink-soft); }
.snapshot-card--bynor { background: var(--ink); color: white; border-color: var(--ink); }
.snapshot-card--bynor:hover { border-color: var(--ink); }
.snapshot-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.snapshot-card--bynor .snapshot-tag { color: rgba(255,255,255,0.5); }
.snapshot-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.snapshot-card--bynor .snapshot-name { color: white; }
.snapshot-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.snapshot-card--bynor .snapshot-text { color: rgba(255,255,255,0.75); }
.snapshot-vs {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  color: var(--accent);
  width: 56px;
}
@media (max-width: 768px) {
  .snapshot-vs {
    transform: rotate(90deg);
    width: 100%;
    height: 32px;
  }
}

/* Comparison table */
.compare-table-wrap {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  padding: 18px 18px;
  text-align: left;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.compare-table thead th.col-bynor {
  color: var(--accent);
  background: rgba(79, 70, 229, 0.04);
}
.compare-table thead th.col-feature { color: var(--ink); }
.compare-table tbody td {
  padding: 16px 18px;
  vertical-align: top;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td.feature-name {
  font-weight: 600;
  color: var(--ink);
  width: 32%;
}
.compare-table tbody td.col-bynor {
  background: rgba(79, 70, 229, 0.025);
  color: var(--ink);
}
.compare-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  vertical-align: middle;
}
.compare-mark--check { background: rgba(34, 197, 94, 0.12); color: #15803D; }
.compare-mark--partial { background: rgba(245, 158, 11, 0.14); color: #B45309; }
.compare-mark--cross { background: rgba(239, 68, 68, 0.10); color: #DC2626; }
@media (max-width: 640px) {
  .compare-table thead th, .compare-table tbody td { padding: 12px 12px; font-size: 12px; }
  .compare-table tbody td.feature-name { width: 42%; }
}

/* Pros/cons grid · 2 cards side by side */
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 768px) { .proscons-grid { grid-template-columns: 1fr; } }
.proscons-card {
  border-radius: 14px;
  padding: 28px 26px;
  border: 1px solid;
}
.proscons-card--pros {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.18);
}
.proscons-card--cons {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.16);
}
.proscons-card h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.proscons-card--pros h4 { color: #15803D; }
.proscons-card--cons h4 { color: #B91C1C; }
.proscons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.proscons-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.proscons-list li strong { color: var(--ink); font-weight: 600; }
.proscons-list li::before {
  position: absolute;
  left: 0; top: 0;
  font-weight: 800;
  font-size: 14px;
}
.proscons-card--pros .proscons-list li::before { content: '+'; color: #15803D; }
.proscons-card--cons .proscons-list li::before { content: '−'; color: #DC2626; }

/* When-to-choose section · 2 cards */
.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 768px) { .choose-grid { grid-template-columns: 1fr; } }
.choose-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s ease;
}
.choose-card:hover { border-color: var(--ink-soft); }
.choose-card--bynor {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.choose-card--bynor:hover { border-color: var(--ink); }
.choose-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
  margin-bottom: 18px;
}
.choose-card--bynor .choose-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}
.choose-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--ink);
}
.choose-card--bynor .choose-title { color: white; }
.choose-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.choose-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.choose-list li strong { color: var(--ink); font-weight: 600; }
.choose-card--bynor .choose-list li { color: rgba(255, 255, 255, 0.8); }
.choose-card--bynor .choose-list li strong { color: white; }
.choose-list li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.choose-card--bynor .choose-list li::before { color: #A5B4FC; }

/* ─── VS conclusion: pricing note + verdict, side-by-side ─── */
.vs-conclusion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
@media (max-width: 820px) {
  .vs-conclusion { grid-template-columns: 1fr; gap: 14px; }
}

/* Left: pricing note — clean white card with icon header */
.vs-note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.vs-note-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.vs-note-ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.vs-note-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.vs-note p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.vs-note p:last-child { margin-bottom: 0; }
.vs-note strong { color: var(--ink); font-weight: 600; }

/* Right: verdict — dark card, trophy gold accent */
.vs-verdict {
  position: relative;
  background: var(--ink);
  color: white;
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
}
.vs-verdict::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 0.8px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.vs-verdict-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vs-verdict-ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(251, 191, 36, 0.14);
  color: #FBBF24;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.vs-verdict-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FBBF24;
}
.vs-verdict-quote {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: white;
  margin: 0 0 14px;
}
.vs-verdict-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.vs-verdict-body strong { color: white; font-weight: 600; }

/* Other comparators row at bottom */
.other-comparators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 960px) { .other-comparators { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .other-comparators { grid-template-columns: 1fr; } }
.other-comparator {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.other-comparator:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateX(2px);
}
.other-comparator i { font-size: 14px; color: var(--accent); }

/* ─────────────────────────────────────────────────
   PRODUCT MOCK · feature pages
   Browser-style frame + dense product UI mocks
   ───────────────────────────────────────────────── */
.product-mock-section {
  padding: 8px 0 16px;
  background: var(--paper);
}
/* The section right after the mock (feature blocks) trims its top so the
   total spacing between video/screenshot and the next heading stays compact */
.product-mock-section + .section { padding-top: 56px; }
@media (max-width: 768px) {
  .product-mock-section + .section { padding-top: 40px; }
}
.product-mock-frame {
  max-width: 980px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 80px -28px rgba(15, 23, 42, 0.22),
              0 12px 28px -10px rgba(79, 70, 229, 0.10);
  overflow: hidden;
}
.product-mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #FAFAFA;
}
.product-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #E5E5E5; }
.product-mock-dot.r { background: #FF5F57; }
.product-mock-dot.y { background: #FEBC2E; }
.product-mock-dot.g { background: #28C840; }
.product-mock-url {
  margin-left: 14px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.product-mock-url i { font-size: 11px; color: var(--muted); }
.product-mock-body {
  background: var(--paper);
  min-height: 460px;
  display: grid;
  grid-template-columns: 200px 1fr;
}
@media (max-width: 760px) {
  .product-mock-body { grid-template-columns: 60px 1fr; min-height: 380px; }
  .product-mock-frame { border-radius: 12px; }
}

/* App sidebar (shared across all feature mocks) */
.mock-side {
  padding: 20px 14px;
  background: white;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.mock-side-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  padding: 4px 10px 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.mock-side-brand-logo {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 11px;
}
.mock-side-section {
  font-size: 9px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 12px 10px 6px;
}
.mock-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
  cursor: default;
}
.mock-side-item i { font-size: 14px; color: var(--muted); width: 14px; }
.mock-side-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.mock-side-item.active i { color: var(--accent); }
@media (max-width: 760px) {
  .mock-side { padding: 16px 8px; }
  .mock-side-brand span, .mock-side-section, .mock-side-item span { display: none; }
  .mock-side-item { justify-content: center; }
  .mock-side-brand { justify-content: center; padding: 4px 0 14px; }
}

/* Main column */
.mock-main {
  padding: 20px 26px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.mock-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.mock-topbar-left { display: flex; flex-direction: column; gap: 3px; }
.mock-topbar-tt {
  font-family: 'Sora', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.mock-topbar-meta { font-size: 11px; color: var(--muted); }
.mock-topbar-right { display: flex; align-items: center; gap: 8px; }
.mock-chip {
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
}
.mock-chip.live {
  background: rgba(16,185,129,0.12); color: #10B981;
  display: inline-flex; align-items: center; gap: 4px;
}
.mock-chip.live::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}

/* KPI grid (Dashboard / Analytics) */
.mock-kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 760px) { .mock-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.mock-kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.mock-kpi-name {
  font-size: 10px; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.mock-kpi-val {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em; line-height: 1;
}
.mock-kpi-d {
  font-size: 11px; font-weight: 600; color: #10B981;
  display: inline-flex; align-items: center; gap: 3px;
}
.mock-kpi-d.down { color: #EF4444; }

/* Big chart card */
.mock-chart-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.mock-chart-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mock-chart-tt {
  font-family: 'Sora', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.mock-chart-tabs { display: flex; gap: 4px; }
.mock-chart-tab {
  font-size: 10px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  color: var(--muted);
}
.mock-chart-tab.active { background: var(--paper-2); color: var(--ink); }
.mock-chart-svg {
  width: 100%; height: 110px; display: block;
}

/* AI suggestion row */
.mock-ai-card {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(79,70,229,0.02));
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.mock-ai-ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px;
}
.mock-ai-body { flex: 1; }
.mock-ai-tt {
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.mock-ai-pill {
  font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 100px;
  background: var(--accent); color: white;
}
.mock-ai-desc {
  font-size: 12px; color: var(--ink-soft);
  line-height: 1.45;
}
.mock-ai-actions { display: flex; gap: 8px; margin-top: 10px; }
.mock-ai-btn {
  font-size: 10.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 6px;
  background: var(--accent); color: white;
}
.mock-ai-btn.alt { background: white; color: var(--ink); border: 1px solid var(--line); }

/* ─── Generic content cards (used by Piano, Report, etc.) ─── */
.mock-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.mock-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mock-card-tt {
  font-family: 'Sora', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}

/* List rows (Piano editoriale, Report, etc.) */
.mock-list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}
.mock-list-row + .mock-list-row { margin-top: 6px; }
.mock-thumb {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #818CF8, #4F46E5);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px;
}
.mock-thumb.coral { background: linear-gradient(135deg, #FB7185, #EC4899); }
.mock-thumb.amber { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.mock-thumb.mint { background: linear-gradient(135deg, #34D399, #10B981); }
.mock-thumb.sky { background: linear-gradient(135deg, #38BDF8, #0EA5E9); }
.mock-list-body { flex: 1; min-width: 0; }
.mock-list-tt {
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.mock-list-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mock-pill {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  flex-shrink: 0;
}
.mock-pill.draft { background: rgba(245,158,11,0.12); color: #D97706; }
.mock-pill.done { background: rgba(16,185,129,0.12); color: #10B981; }
.mock-pill.neutral { background: var(--paper-2); color: var(--muted); }

/* Channel pills */
.mock-channel {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: 13px;
  flex-shrink: 0;
}
.mock-channel.ig { background: linear-gradient(135deg, #FB7185, #C026D3); }
.mock-channel.tt { background: #0A0A0A; }
.mock-channel.yt { background: #EF4444; }
.mock-channel.fb { background: #2563EB; }

/* Calendar week view (Calendario) */
.mock-cal-week {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.mock-cal-grid {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  gap: 4px;
}
.mock-cal-time {
  font-size: 9px; color: var(--muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
}
.mock-cal-day-h {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 4px; text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.mock-cal-day-h.today { color: var(--accent); }
.mock-cal-cell {
  height: 36px; border-radius: 5px;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}
.mock-cal-event {
  position: absolute; inset: 3px;
  border-radius: 4px; padding: 4px 6px;
  font-size: 9.5px; font-weight: 700;
  display: flex; align-items: center;
  letter-spacing: -0.01em;
}
.mock-cal-event.purple { background: rgba(79,70,229,0.16); color: var(--accent); }
.mock-cal-event.coral { background: rgba(244,63,94,0.14); color: #F43F5E; }
.mock-cal-event.mint { background: rgba(16,185,129,0.16); color: #10B981; }
.mock-cal-event.amber { background: rgba(245,158,11,0.18); color: #D97706; }

/* Inbox split layout */
.mock-inbox-split {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}
@media (max-width: 760px) { .mock-inbox-split { grid-template-columns: 1fr; } }
.mock-inbox-list {
  border-right: 1px solid var(--line);
  padding: 10px;
  background: var(--paper);
}
.mock-inbox-conv {
  display: flex; gap: 10px; padding: 10px;
  border-radius: 8px;
  margin-bottom: 2px;
}
.mock-inbox-conv.active { background: white; box-shadow: 0 0 0 1px var(--line); }
.mock-inbox-av-sm {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.mock-inbox-conv-body { flex: 1; min-width: 0; }
.mock-inbox-conv-name {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 5px;
}
.mock-inbox-conv-text {
  font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.mock-inbox-conv-badge {
  font-size: 9px; font-weight: 700; color: white;
  background: var(--accent);
  width: 16px; height: 16px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.mock-inbox-thread {
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mock-thread-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
}
.mock-thread-head-name {
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.mock-thread-head-meta { font-size: 11px; color: var(--muted); }
.mock-bubble {
  max-width: 78%;
  padding: 9px 13px;
  font-size: 12px; line-height: 1.4;
  letter-spacing: -0.005em;
}
.mock-bubble.them {
  background: var(--paper-2); color: var(--ink);
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
}
.mock-bubble.me {
  background: var(--accent); color: white;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
}
.mock-reply-suggest {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(79,70,229,0.06);
  border: 1px dashed rgba(79,70,229,0.3);
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.mock-reply-suggest strong {
  color: var(--accent); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.05em; font-weight: 700;
  display: flex; align-items: center; gap: 4px; margin-bottom: 4px;
}

/* AI Chat (AI Control Center) */
.mock-chat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.mock-chat-user {
  align-self: flex-end;
  max-width: 70%;
  background: var(--paper-2);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  color: var(--ink);
}
.mock-chat-ai {
  display: flex; gap: 12px; align-items: flex-start;
}
.mock-chat-ai-ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px;
}
.mock-chat-ai-body {
  flex: 1; font-size: 13px; line-height: 1.55;
  color: var(--ink-soft); padding-top: 4px;
}
.mock-chat-ideas {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.mock-chat-idea {
  font-size: 11.5px; padding: 6px 11px; border-radius: 8px;
  background: white; color: var(--accent);
  border: 1px solid rgba(79,70,229,0.18);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.mock-chat-input {
  margin-top: 4px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12.5px;
}
.mock-chat-input i { font-size: 16px; color: var(--accent); }

/* Brand tone meter */
.mock-tone-list { display: flex; flex-direction: column; gap: 12px; }
.mock-tone-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  align-items: center; gap: 12px;
}
.mock-tone-label {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.mock-tone-bar {
  height: 8px; border-radius: 100px;
  background: var(--paper-2);
  position: relative; overflow: hidden;
}
.mock-tone-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent), #818CF8);
  border-radius: 100px;
}
.mock-tone-val {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-align: right;
}

/* Brand connected channels */
.mock-channels-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.mock-ch-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.mock-ch-name { font-size: 12.5px; font-weight: 600; color: var(--ink); flex: 1; }
.mock-ch-handle { font-size: 11px; color: var(--muted); margin-top: 1px; }
.mock-ch-status {
  font-size: 10px; font-weight: 700; color: #10B981;
  display: inline-flex; align-items: center; gap: 4px;
}

/* Report PDF preview */
.mock-pdf-preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  aspect-ratio: 1/1.05;
}
.mock-pdf-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.mock-pdf-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--ink);
}
.mock-pdf-brand-logo {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--accent);
}
.mock-pdf-meta { font-size: 10px; color: var(--muted); }
.mock-pdf-h2 {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 18px; color: var(--ink); letter-spacing: -0.025em;
}
.mock-pdf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-pdf-stat {
  background: var(--paper); padding: 10px;
  border-radius: 8px;
}
.mock-pdf-stat-val {
  font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.025em;
}
.mock-pdf-stat-name {
  font-size: 9px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 2px;
}
.mock-pdf-bars-area {
  flex: 1; background: var(--paper);
  border-radius: 8px; padding: 10px;
  display: flex; align-items: flex-end; gap: 8px;
}
.mock-pdf-bars-area span {
  flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: 0.85;
}

/* Two-column main (Report list + preview) */
.mock-cols-2 {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 14px;
}
@media (max-width: 760px) { .mock-cols-2 { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────
   LEGAL PAGES · privacy, terms, cookie
   ───────────────────────────────────────────────── */

.legal-page {
  background: var(--paper);
  padding: 132px 0 96px;
  position: relative;
}
@media (max-width: 768px) { .legal-page { padding: 100px 0 64px; } }

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .legal-wrap { padding: 0 18px; }
  .legal-header { margin-bottom: 36px; padding-bottom: 24px; }
  .legal-content section + section { margin-top: 32px; }
  .legal-content p, .legal-content li { font-size: 14.5px; line-height: 1.65; }
  .legal-part { margin: 40px 0 12px; padding-top: 24px; }
  .legal-content table { font-size: 12.5px; }
  .legal-content thead th, .legal-content tbody td { padding: 10px 10px; }
}
@media (max-width: 480px) {
  .legal-content table { font-size: 12px; }
  .legal-content thead th, .legal-content tbody td { padding: 8px 8px; word-break: break-word; }
}
.legal-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 18px;
}
.legal-title em {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.legal-meta {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.legal-meta strong { color: var(--ink); font-weight: 600; }

.legal-content section + section {
  margin-top: 48px;
}
.legal-part {
  display: block;
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  margin: 64px 0 12px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
  scroll-margin-top: 100px;
}
.legal-content h3 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 28px 0 12px;
}
.legal-content p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content em {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.legal-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(79, 70, 229, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.legal-content a:hover {
  border-bottom-color: var(--accent);
}
.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin: 14px 0;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.legal-content li strong { color: var(--ink); font-weight: 600; }
.legal-content ul.legal-no-bullet {
  list-style: none;
  padding-left: 0;
}
.legal-content ul.legal-no-bullet li { margin-bottom: 4px; }
.legal-content code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper-2);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.legal-content thead th {
  background: var(--paper-2);
  padding: 12px 14px;
  text-align: left;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.legal-content tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.legal-content tbody tr:last-child td { border-bottom: none; }
.legal-content tbody td strong { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
  .legal-content thead th,
  .legal-content tbody td {
    padding: 10px 10px;
    font-size: 12.5px;
  }
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}
.legal-content .legal-callout {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}



/* ─────────────────────────────────────────────────
   AUDIT FLOW · 3 step lead-gen
   ───────────────────────────────────────────────── */

.audit-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(10, 10, 10, 0.10) 0.8px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
}
.audit-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 22%;
  background: linear-gradient(to bottom, rgba(250, 250, 249, 0) 0%, var(--paper) 100%);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) { .audit-hero { padding: 130px 0 56px; } }

.audit-hero-inner {
  position: relative; z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Progress stepper · 1/2/3 */
.audit-progress {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.005em;
  font-weight: 500;
}
.audit-progress-dots { display: flex; gap: 6px; }
.audit-progress-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}
.audit-progress-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}
.audit-progress-dot.done {
  background: var(--accent);
}
.audit-progress-label { font-weight: 600; color: var(--ink); }

/* Audit form */
.audit-form {
  display: flex; flex-direction: column;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}
.audit-input-wrap {
  position: relative;
}
.audit-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.audit-input::placeholder { color: var(--muted); }
.audit-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}
.audit-input.has-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}
.audit-input-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
}
.audit-input:focus ~ .audit-input-icon,
.audit-input-wrap:focus-within .audit-input-icon { color: var(--ink); }
.audit-error {
  font-size: 12.5px;
  color: #DC2626;
  margin: -4px 0 0 4px;
  display: none;
}
.audit-error.visible { display: block; }
.audit-microcopy {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.audit-microcopy i { color: #15803D; font-size: 14px; }
.audit-toast {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  display: none;
  border: 1px solid;
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.18);
  color: #B91C1C;
}
.audit-toast.visible { display: block; }
.audit-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: audit-spin 0.8s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}
@keyframes audit-spin { to { transform: rotate(360deg); } }

/* "Cosa trovi nel report" grid */
.audit-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 1024px) { .audit-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audit-features { grid-template-columns: 1fr; } }
.audit-feat {
  background: white;
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.2s ease;
}
.audit-feat:hover { background: var(--paper-2); }
.audit-feat-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 18px;
}
.audit-feat h3 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.3;
}
.audit-feat p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Tool vs Bynor comparison */
.audit-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}
@media (max-width: 640px) { .audit-compare { grid-template-columns: 1fr; } }
.audit-compare-col {
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
}
.audit-compare-col--bynor {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.audit-compare-head {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.audit-compare-col--bynor .audit-compare-head {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.audit-compare-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.audit-compare-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 10px;
}
.audit-compare-col--bynor .audit-compare-list li { color: rgba(255, 255, 255, 0.78); }
.audit-compare-list li i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 14px;
}
.audit-compare-list li.bad i { color: var(--muted); }
.audit-compare-list li.good i { color: #86EFAC; }

/* ── Step 2 · IG connect card ─────────────────── */
.connect-card {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.05);
}
@media (max-width: 640px) {
  .connect-card { padding: 36px 24px; border-radius: 18px; }
}
.connect-ig-icon {
  width: 76px; height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, #FFDC80 0%, #E1306C 35%, #833AB4 65%, #5851DB 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 36px;
  box-shadow: 0 16px 32px rgba(225, 48, 108, 0.28);
}
.connect-btn-ig {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #FD1D1D 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  width: 100%;
  max-width: 360px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.2s ease;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.28);
  -webkit-tap-highlight-color: transparent;
}
.connect-btn-ig:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(225, 48, 108, 0.35);
}
.connect-btn-ig:active { transform: scale(0.99); }
.connect-btn-ig:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.connect-note {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 24px;
}
.connect-note i { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.connect-note strong { color: var(--ink); font-weight: 600; }

.connect-perms {
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
  margin-top: 28px;
}
.connect-perm {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.connect-perm i { color: #15803D; font-size: 14px; flex-shrink: 0; }

/* Recap chip (email captured in step 1) */
.recap-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.recap-chip strong { color: var(--ink); font-weight: 600; }
.recap-chip i { color: var(--accent); font-size: 14px; }

/* ── Step 3 · Grazie page ─────────────────────── */
.thank-check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.06));
  border: 1.5px solid rgba(34, 197, 94, 0.32);
  display: flex; align-items: center; justify-content: center;
  color: #15803D;
  font-size: 38px;
  margin: 0 auto 28px;
  animation: thank-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes thank-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.timeline {
  display: flex; flex-direction: column;
  max-width: 540px; margin: 0 auto;
  gap: 10px;
}
.timeline-step {
  display: flex; gap: 16px;
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}
.timeline-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.timeline-content { flex: 1; }
.timeline-time {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.timeline-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.thank-social-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-top: 24px;
}
.thank-social {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.thank-social:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.thank-social i { color: var(--accent); font-size: 15px; }

/* ─────────────────────────────────────────────────
   CTA CLOSE · shared dark CTA block
   ───────────────────────────────────────────────── */
.cta-close {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-close::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0.8px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
  pointer-events: none;
}
.cta-close > * { position: relative; z-index: 1; }
.cta-close h2 { color: white; margin-bottom: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-close p { color: rgba(255, 255, 255, 0.70); font-size: 17px; line-height: 1.6; margin-bottom: 32px; max-width: 580px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .cta-close { padding: 48px 22px; border-radius: 18px; }
  .cta-close p { font-size: 15px; }
}

/* ─────────────────────────────────────────────────
   MOBILE OPTIMIZATIONS · global polish for ≤768px
   Covers all pages: tighter spacing, readable text,
   tap-friendly targets, no horizontal overflow.
   ───────────────────────────────────────────────── */

/* iOS Safari: prevent input zoom on focus (font ≥16px) */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Tighter sections + container padding on phones */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .container, .container-narrow, .container-medium { padding: 0 18px; }
}
@media (max-width: 420px) {
  .section { padding: 48px 0; }
  .container, .container-narrow, .container-medium { padding: 0 14px; }
}

/* Buttons: tap targets, wrap-safe */
@media (max-width: 640px) {
  .btn-primary, .btn-secondary,
  .btn-dark-primary, .btn-dark-outline {
    padding: 14px 20px;
    font-size: 14.5px;
    min-height: 48px;
    justify-content: center;
  }
  .btn-large {
    padding: 16px 22px;
    font-size: 15.5px;
  }
  /* Hero / CTA rows: stack full-width on small phones (same as .cta-row-equal) */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-secondary {
    width: 100%;
    max-width: none;
  }
}

/* Header / nav mobile drawer polish */
@media (max-width: 768px) {
  .header { top: 12px; width: calc(100% - 24px); }
  /* Vecchia max-height: calc(100vh - 120px) rimossa — il drawer ora copre tutto
     lo schermo (l'header viene nascosto con .header.menu-open). */
  .nav-mobile a {
    padding: 12px 14px;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-mobile a[style*="padding-left:24px"] {
    min-height: 40px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .nav-mobile-cta {
    padding: 14px !important;
    font-size: 15px !important;
    min-height: 48px;
  }
  .nav-hamburger { width: 40px; height: 40px; }
}

/* Headings: mobile sizing (standardized scale across all pages) */
@media (max-width: 768px) {
  .h1-display { font-size: clamp(2.2rem, 8vw, 2.9rem); line-height: 1.08; }
  .h2-display { font-size: clamp(1.8rem, 5.5vw, 2.2rem); line-height: 1.15; }
  .h3-display { font-size: clamp(1.2rem, 3.5vw, 1.4rem); line-height: 1.25; }
}
@media (max-width: 480px) {
  .h1-display { font-size: clamp(2.1rem, 8.5vw, 2.6rem); letter-spacing: -0.035em; }
  .h2-display { font-size: clamp(1.7rem, 6vw, 2rem); }
  .h3-display { font-size: clamp(1.15rem, 4vw, 1.35rem); }
  .lede { font-size: 15px; line-height: 1.55; }
}
@media (max-width: 375px) {
  .h1-display { font-size: clamp(1.95rem, 8vw, 2.3rem); }
  .h2-display { font-size: clamp(1.55rem, 6vw, 1.85rem); }
}
@media (max-width: 320px) {
  .h1-display { font-size: 1.85rem; }
  .h2-display { font-size: 1.45rem; }
}

/* Tables: tablet keeps horizontal scroll; phone uses a compact table that fits */
@media (max-width: 900px) and (min-width: 641px) {
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 640px; }
  .pricing-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pricing-compare-table { min-width: 700px; }
}

/* Phone (≤640px): shrink padding + font so the regular table fits without scroll */
@media (max-width: 640px) {
  .compare-table-wrap, .pricing-compare-wrap { overflow: visible; }
  .compare-table, .pricing-compare-table { min-width: 0; width: 100%; table-layout: fixed; }
  /* Headers */
  .compare-table thead th,
  .pricing-compare-table thead th {
    padding: 10px 4px !important;
    font-size: 10px !important;
    letter-spacing: 0.04em;
  }
  /* Body cells */
  .compare-table tbody td,
  .pricing-compare-table tbody td {
    padding: 10px 4px !important;
    font-size: 11px !important;
    line-height: 1.35;
    word-break: break-word;
  }
  /* Feature-name (first col) — narrower so right cells have more room to breathe */
  .compare-table .feature-name { width: 36%; font-size: 11.5px !important; font-weight: 600; padding-left: 6px !important; }
  /* Bynor + competitor columns share the remaining 64% */
  .compare-table .col-bynor,
  .compare-table thead th:not(.col-feature):not(.col-bynor) { width: 32%; text-align: center; }
  /* Pricing: 4 cols (label + 3 plans) — same logic, shrink label */
  .pricing-compare-table tbody tr td:first-child { width: 34%; font-size: 11.5px !important; font-weight: 500; padding-left: 6px !important; text-align: left; }
  .pricing-compare-table tbody tr td:not(:first-child) { width: 22%; text-align: center; }
  /* Compact checkmarks */
  .compare-mark { width: 18px !important; height: 18px !important; font-size: 10px !important; }
  /* Category divider rows in pricing — compact */
  .pricing-compare-cat-row td { padding: 14px 8px 6px !important; }
  .pricing-compare-cat { font-size: 10px !important; padding: 3px 8px !important; }
}
@media (max-width: 380px) {
  .compare-table tbody td,
  .pricing-compare-table tbody td {
    padding: 8px 3px !important;
    font-size: 10.5px !important;
  }
}

/* Footer: bottom row stacks cleanly */
@media (max-width: 480px) {
  .site-footer { padding: 56px 0 32px; }
  .footer-tagline { font-size: clamp(28px, 8vw, 36px); margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-col-title { margin-bottom: 14px; }
  .footer-col-links { gap: 10px; }
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Page hero (comparator/feature/legal) — tighter on phone */
@media (max-width: 640px) {
  .page-hero { padding: 130px 0 56px; }
  .vs-badge { font-size: 12px; gap: 10px; padding: 6px 10px 6px 6px; }
  .vs-badge-logo { width: 24px; height: 24px; }
}

/* Comparator: snapshot vs separator vertical */
@media (max-width: 768px) {
  .snapshot-card { padding: 26px 22px; }
  .snapshot-name { font-size: 19px; }
  .snapshot-text { font-size: 14.5px; }
}

/* Pros/cons + choose cards padding shrink */
@media (max-width: 640px) {
  .proscons-card, .choose-card { padding: 24px 20px; }
  .verdict-callout { padding: 32px 22px; }
  .pricing-callout { padding: 24px 20px; }
}

/* Product mock — make readable on phones, hide busy sidebar text */
@media (max-width: 640px) {
  .product-mock-section { padding: 4px 0 56px; }
  .product-mock-body { min-height: 340px; }
  .mock-main { padding: 16px 14px 18px; gap: 14px; }
  .mock-topbar-tt { font-size: 14px; }
  .mock-topbar-meta { font-size: 10.5px; }
  .mock-kpi { padding: 10px 12px; }
  .mock-kpi-val { font-size: 18px; }
  .mock-chart-card { padding: 12px 14px; }
  .mock-chart-svg { height: 90px; }
  .mock-card { padding: 14px 14px; }
  .mock-bubble { font-size: 12px; max-width: 88%; }
  .mock-inbox-list { padding: 8px; }
  .mock-inbox-conv { padding: 8px; gap: 8px; }
  .mock-inbox-thread { padding: 14px 12px; }
  .mock-pdf-preview { padding: 16px; gap: 10px; }
  .mock-pdf-h2 { font-size: 16px; }
  .mock-pdf-stat-val { font-size: 15px; }
  .mock-tone-row { grid-template-columns: 80px 1fr 32px; gap: 10px; }
  .mock-tone-label { font-size: 11px; }
  .mock-channels-grid { grid-template-columns: 1fr; }
  .mock-cal-grid { grid-template-columns: 38px repeat(5, 1fr); gap: 3px; }
  .mock-cal-cell { height: 28px; }
  .mock-cal-event { font-size: 8.5px; }
  .mock-cal-day-h { font-size: 9px; }
  .mock-cal-time { font-size: 8px; }
}

/* Form fields shared */
@media (max-width: 640px) {
  .form-input { padding: 14px 14px; }
  .audit-input { padding: 14px 14px 14px 42px; font-size: 16px; }
  .audit-form { gap: 12px; }
}

/* Legal pages: better reading on phone */
@media (max-width: 480px) {
  .legal-wrap { padding: 0 18px; }
  .legal-header { margin-bottom: 40px; padding-bottom: 24px; }
  .legal-content section + section { margin-top: 36px; }
  .legal-content p, .legal-content li { font-size: 15px; line-height: 1.7; }
  .legal-content table { font-size: 13px; }
  .legal-content thead th, .legal-content tbody td { padding: 10px 8px; }
}

/* Audit/connect flow */
@media (max-width: 480px) {
  .connect-card { padding: 32px 20px; border-radius: 18px; }
  .connect-ig-icon { width: 64px; height: 64px; font-size: 30px; border-radius: 18px; margin-bottom: 20px; }
  .connect-btn-ig { padding: 15px 24px; font-size: 14.5px; }
  .audit-progress { font-size: 11.5px; padding: 5px 12px; }
  .audit-microcopy { font-size: 12px; gap: 8px; }
  .timeline-step { padding: 18px 18px; gap: 12px; }
  .timeline-num { width: 32px; height: 32px; font-size: 14px; }
  .timeline-title { font-size: 14px; }
  .timeline-desc { font-size: 13px; }
  .thank-check { width: 64px; height: 64px; font-size: 30px; margin-bottom: 22px; }
}

/* Reduce horizontal overflow from background patterns/glow elements */
@media (max-width: 768px) {
  body { -webkit-text-size-adjust: 100%; }
  main, header, footer { max-width: 100%; }
}
