/* beets. — home. Nero, la sfumatura del logo (arancio → bianco → blu) e i font dell'app:
   Space Grotesk per titoli e testi, Geist Mono per etichette, orari e numeri. */
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #000;
  --panel: #0a0a0a;
  --card: #0f0f0f;
  --raised: #161616;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #fff;
  --muted: #8d8d8d;
  --dim: #5c5c5c;
  --brand: #ff4000;
  --blue: #3c50a5;
  --gradient: linear-gradient(90deg, #ff4000 0%, #f2f2f2 50%, #3c50a5 100%);
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 60px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button, summary { cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Tipografia ───────────────────────────────────────────────────────── */
.label, .kicker, .mini, .rowlabel__side, .tabs, .panel__head, .panel__foot, .graph__label, .node figcaption,
.meetmap__head, .meetmap__coords, .footer__bottom, .footer__cols h2, .contact__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.label::before { content: ""; width: 6px; height: 6px; background: var(--brand); }
.label--brand { color: var(--brand); }
.label--brand::before { display: none; }
.kicker { color: var(--brand); margin-bottom: 14px; }
.muted { color: var(--muted); }
.h-section { font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -0.035em; }
.h-big { font-size: clamp(38px, 4.6vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; }
.h-display { font-size: clamp(42px, 6.4vw, 92px); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 60px; align-items: end; margin-bottom: 48px; }
.split > p { max-width: 420px; justify-self: end; text-align: right; font-size: 15px; }
.rowlabel { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; margin-bottom: 40px; border-top: 1px solid var(--line); }

/* ── Bottoni e badge ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px;
  font: 500 13px/1 var(--mono); letter-spacing: 0.03em;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--small { height: 40px; padding: 0 18px; font-size: 12px; }
.btn--dark { background: #151515; border: 1px solid var(--line); }
.btn--dark:hover { background: #1f1f1f; }
.btn--ghost:hover { color: var(--muted); }
.btn--line { border: 1px solid var(--line-strong); }
.btn--line:hover { border-color: #fff; }
.btn--plan { width: 100%; height: 44px; background: #1a1a1a; }
.btn--plan:hover { background: #242424; }
.btn--brand { background: var(--gradient); color: #140600; }
.btn--brand:hover { background: var(--gradient); filter: brightness(1.05); }
/* "Scarica l'app": scuro, con la sfumatura del logo nel bordo di 2 px e il testo bianco. */
.btn--app { background: linear-gradient(#0f0f0f, #0f0f0f) padding-box, linear-gradient(90deg, #ff4000 0%, #ffffff 50%, #3c50a5 100%) border-box; color: #fff; border: 2px solid transparent; border-radius: 10px; font: 600 17px/1 var(--sans); letter-spacing: -0.01em; text-transform: none; transition: filter 0.25s var(--ease), transform 0.25s var(--ease); }
.btn--app:hover { background: linear-gradient(#1a1a1a, #1a1a1a) padding-box, linear-gradient(90deg, #ff4000 0%, #ffffff 50%, #3c50a5 100%) border-box; color: #fff; }
.btn--app.btn--small { height: 44px; padding: 0 18px 0 14px; font-size: 15px; gap: 8px; }
.btn--app svg { flex: none; }
.link-arrow { display: inline-flex; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: 13px; }
.link-arrow:hover { border-color: var(--brand); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store img { height: 52px; width: 175px; object-fit: contain; transition: transform 0.25s var(--ease); }
.store:hover img { transform: translateY(-2px); }

/* ── Barra in alto ────────────────────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.top__start { display: flex; align-items: center; gap: 28px; }
.wordmark img { width: 92px; height: auto; }
/* Lingua: un menu a tendina con il mappamondo e la freccia. */
.lang { position: relative; display: inline-block; margin-top: 28px; color: #fff; }
.lang select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 42px 0 44px; border: 0; border-radius: 12px; background: #1f222b; color: #fff; font: 500 16px/1 var(--sans); cursor: pointer; }
.lang select:hover { background: #272a35; }
.lang select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lang option { background: #1f222b; color: #fff; }
.lang svg { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.lang__globe { left: 15px; }
.lang__chev { right: 14px; }
.top__nav { display: flex; gap: 26px; font: 700 15px var(--sans); letter-spacing: -0.01em; }
.top__nav a { color: #d6d6d6; transition: color 0.2s; }
.top__nav a:hover { color: #fff; }

/* ── Apertura ─────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; padding: 120px 0 0; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__glow i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 1; animation: drift 18s ease-in-out infinite alternate; }
.hero__glow i:nth-child(1) { width: 62vw; height: 90vh; left: -12vw; top: -6vh; background: radial-gradient(closest-side, #ff4000, rgba(255, 64, 0, 0.55) 55%, transparent); }
.hero__glow i:nth-child(2) { width: 30vw; height: 95vh; left: 26vw; top: -14vh; background: radial-gradient(closest-side, #fff6f0, rgba(255, 236, 226, 0.5) 50%, transparent); animation-duration: 22s; }
.hero__glow i:nth-child(3) { width: 46vw; height: 95vh; left: 40vw; top: -4vh; background: radial-gradient(closest-side, #4a63d0, rgba(60, 80, 165, 0.55) 55%, transparent); animation-duration: 26s; }
.hero__glow .liquid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow.is-liquid i { display: none; }
/* Col liquido niente velo nero: solo una sfumatura in basso verso la sezione dopo. */
.hero__glow.is-liquid::after { background: linear-gradient(transparent 80%, #000); }
.hero__glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 75% at 40% 38%, transparent 35%, #000 90%), linear-gradient(transparent 72%, #000); }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(4vw, 3vh, 0) rotate(14deg) scale(1.12); }
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 40px; min-height: calc(100svh - 120px); }
.hero__copy { padding-bottom: 14vh; }
/* Grandezza e spessore dello slogan in fondo, ma in bianco. */
.hero__title { font-size: clamp(44px, 8vw, 128px); font-weight: 500; line-height: 0.9; letter-spacing: -0.06em; max-width: 12ch; color: #fff; }
.hero__lead { max-width: 440px; margin: 34px 0 32px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.glyph, .glyph.w { display: inline-flex; vertical-align: middle; position: relative; top: -0.08em; }
.glyph--people img { display: inline-block; }
.glyph--people img { width: 0.62em; height: 0.62em; border-radius: 50%; background: #fff; border: 2px solid #000; margin-left: -0.16em; }
.glyph--people img:first-child { margin-left: 0; }
.glyph--pin, .glyph--date { width: 0.86em; height: 0.56em; border-radius: 999px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); }
.glyph--pin::before, .glyph--date::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0.3em; height: 0.3em; background: #fff; }
.glyph--pin::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat; background: var(--brand); }
.glyph--date::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M9 16l2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M9 16l2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero__phone { align-self: center; justify-self: center; width: min(100%, 360px); margin-bottom: 4vh; }

/* Titolo: le parole arrivano una alla volta dalla sfocatura */
[data-split] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(0.25em); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.is-ready [data-split] .w { opacity: 1; filter: none; transform: none; }

/* ── Frase iniziale e numeri ─────────────────────────────────────────── */
.intro { padding: 120px 0 60px; }
.intro__text { font-size: clamp(26px, 3.1vw, 44px); line-height: 1.18; letter-spacing: -0.035em; max-width: 26ch; }
[data-scrub] .w { color: rgba(255, 255, 255, 0.18); transition: color 0.3s; }
[data-scrub] .w.is-lit { color: #fff; }
.intro__cta { display: flex; gap: 14px; margin: 44px 0 90px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.stat:not(:first-child) { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat dt { font-size: clamp(44px, 5vw, 76px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.stat dd { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ── Come funziona (fisso mentre si scorre) ──────────────────────────── */
.how { position: relative; height: 400vh; }
.how__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 30px; }
.how__grid { display: grid; grid-template-columns: 1fr minmax(250px, 320px) 1fr; gap: 50px; align-items: center; }
.how__texts, .how__sides { position: relative; min-height: 300px; }
.how__step, .how__side { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.how__step.is-active, .how__side.is-active { opacity: 1; transform: none; pointer-events: auto; }
.how__step h2 { font-size: clamp(34px, 3.8vw, 56px); font-weight: 400; line-height: 1.04; letter-spacing: -0.04em; max-width: 9ch; }
.how__side p { color: var(--muted); font-size: 14px; max-width: 280px; margin-bottom: 22px; }
.device { position: relative; aspect-ratio: 1286 / 2632; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.75)); }
.device img { width: 100%; height: 100%; }
.how__phone img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); }
.how__phone img.is-active { opacity: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.radar { position: relative; width: min(100%, 300px); aspect-ratio: 1.6; overflow: hidden; }
.radar__ring { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%, -50%); }
.radar__ring + .radar__ring { width: 45%; }
.radar__sweep { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, rgba(255, 64, 0, 0.25), transparent 25%); animation: spin 4s linear infinite; }
.radar__dot { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 64, 0, 0.18); }
.radar__me { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff; }
.radar__label { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 10px var(--mono); letter-spacing: 0.1em; color: var(--dim); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.tags { display: grid; gap: 8px; padding: 20px; width: min(100%, 300px); }
.tags strong { font-weight: 500; font-size: 18px; margin-bottom: 10px; }
.tags__dots { display: flex; gap: 8px; }
.tags__dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); position: relative; }
.tags__dots i::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--brand); }
.ticket { padding: 6px 20px; width: min(100%, 300px); }
.ticket div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ticket div:last-child { border: 0; }
.ticket dt { color: var(--muted); font: 11px var(--mono); letter-spacing: 0.05em; }
.live { display: grid; justify-items: center; gap: 10px; padding: 26px; width: min(100%, 300px); margin-bottom: 22px; }
.live strong { font-size: 30px; font-weight: 400; letter-spacing: -0.03em; }
.live__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(255, 64, 0, 0.2); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(255, 64, 0, 0); } }
.tabs { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tabs li { padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); transition: color 0.3s, border-color 0.3s; }
.tabs li.is-active { color: #fff; border-color: var(--brand); }
.tabs--small { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }

/* ── Quattro schede ───────────────────────────────────────────────────── */
.features { padding: 140px 0 60px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.feature { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px; background: var(--panel); transition: background 0.3s; }
.feature:hover { background: #111; }
.feature h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; max-width: 12ch; }
.feature p { margin-top: auto; color: var(--muted); font-size: 13px; }
.feature .link-arrow { margin-top: 18px; align-self: flex-start; font: 11px var(--mono); }
.dots { position: absolute; top: 28px; right: 26px; width: 10px; height: 10px; background: radial-gradient(circle, var(--brand) 1.5px, transparent 2px) 0 0 / 5px 5px; animation: blink 2.4s steps(3) infinite; }
.feature:nth-child(2) .dots { animation-delay: -0.8s; }
.feature:nth-child(3) .dots { animation-delay: -1.6s; background-image: radial-gradient(circle, var(--blue) 1.5px, transparent 2px); }
@keyframes blink { 50% { opacity: 0.25; } }

/* ── Tre passi ────────────────────────────────────────────────────────── */
.steps { position: relative; height: 300vh; }
.steps__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 30px; }
.steps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.steps__texts { position: relative; }
.steps__texts .label { margin-bottom: 26px; }
.steps__step { display: none; }
.steps__step.is-active { display: block; animation: rise 0.6s var(--ease); }
.steps__step h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; max-width: 12ch; }
.steps__step p { margin-top: 18px; color: var(--muted); max-width: 360px; font-size: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.panel { position: relative; aspect-ratio: 1.15; border: 1px solid var(--line); background: var(--panel); border-radius: 4px; overflow: hidden; }
.panel__head { position: absolute; inset: 16px 18px auto; display: flex; justify-content: space-between; z-index: 2; }
.panel__count { color: var(--brand); }
.panel__scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.97); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.panel__scene.is-active { opacity: 1; transform: none; }
.panel__foot { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; text-transform: none; letter-spacing: 0; }
.orbit-radar { position: relative; width: 82%; aspect-ratio: 1.3; }
.orbit-radar .cross::before, .orbit-radar .cross::after { content: ""; position: absolute; background: var(--line); }
.orbit-radar .cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.orbit-radar .cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.orbit-radar .ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); transform: translate(-50%, -50%); }
.orbit-radar .r1 { width: 26%; border-color: rgba(255, 64, 0, 0.7); }
.orbit-radar .r2 { width: 52%; }
.orbit-radar .r3 { width: 78%; }
.orbit-radar .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--brand); font-size: 22px; }
.ava, .node img, .pair img, .table img, .who img, .request__people img, .nearby__ring img {
  /* I disegni non sono quadrati (viewBox diverse): senza un quadrato fisso il cerchio diventa un ovale e il volto si schiaccia. */
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  /* Bordo con la sfumatura di beets (come i ritratti del team): il fondo bianco resta dentro. */
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #ff4000, #ffffff, #3c50a5) border-box;
}
.orbit-radar .ava { position: absolute; left: var(--x); top: var(--y); width: 15%; transform: translate(-50%, -50%); animation: bob 5s ease-in-out infinite; }
.orbit-radar .ava:nth-of-type(2n) { animation-delay: -2s; }
@keyframes bob { 50% { transform: translate(-50%, -58%); } }
.request { width: 68%; padding: 24px; background: #121212; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
.request__people { display: flex; justify-content: center; margin-bottom: 12px; }
.request__people img { width: 46px; margin: 0 -5px; }
.request__title { text-align: center; font-size: 18px; margin-bottom: 14px; }
.request dl div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.request dt { color: var(--muted); }
.request__send { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 14px; padding: 0 14px; border-radius: 10px; background: linear-gradient(90deg, #ff4000 0%, #ffffff 50%, #3c50a5 100%); color: #140600; font: 600 16px/1 var(--sans); letter-spacing: -0.01em; }
.request__send [aria-hidden] { display: none; }
.table { position: relative; width: 62%; aspect-ratio: 1.4; }
.table__top { position: absolute; inset: 22%; display: grid; place-items: center; border-radius: 50%; background: #1a1a1a; border: 1px solid var(--line-strong); color: var(--brand); font-size: 20px; }
.table img { position: absolute; left: 50%; top: 50%; width: 16%; transform: rotate(var(--a)) translate(0, -265%) rotate(calc(-1 * var(--a))); margin: -8% 0 0 -8%; }

/* ── Persone: la rete ─────────────────────────────────────────────────── */
.people { padding: 140px 0 60px; }
.graph { position: relative; aspect-ratio: 2 / 1.2; border: 1px solid var(--line); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, var(--panel); background-blend-mode: normal; }
.graph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, var(--panel) 75%); }
.graph__label { position: absolute; left: 16px; top: 14px; z-index: 1; }
.graph__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Linee tratteggiate dal centro agli interessi: spessore e trattini in pixel dello schermo
   (non-scaling-stroke), poi compaiono quando la sezione entra nella pagina. */
.graph__lines line { stroke: rgba(255, 64, 0, 0.75); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 1.2s var(--ease); }
.graph.is-in .graph__lines line { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .graph__lines line { opacity: 1; transition: none; } }
.graph__center { position: absolute; left: 50%; top: 50%; width: min(28%, 220px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; font-size: 15px; border-radius: 50%; border: 1px solid var(--brand); background: rgba(10, 10, 10, 0.9); box-shadow: 0 0 60px rgba(255, 64, 0, 0.15); }
.pair { display: flex; }
.pair img { width: 40px; margin: 0 -4px; }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; }
.node img { width: clamp(44px, 5vw, 66px); transition: transform 0.4s var(--ease); }
.node:hover img { transform: scale(1.08); }
.node figcaption { text-transform: none; letter-spacing: 0; font-size: 12px; }
.people__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; font-size: 13px; }

/* ── Settori ──────────────────────────────────────────────────────────── */
.sectors { padding: 140px 0 60px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* Due giri uguali che scorrono di metà: lo spazio sta dopo ogni parola (non tra le parole), così
   le due metà sono lunghe uguali e il ripartire non si vede. */
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span { padding-right: 70px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: 0.02em; color: #e8e8e8; white-space: nowrap; }
.marquee__track span.is-dim { color: var(--dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Tre modi: parti da quello che vuoi fare ─────────────────────────── */
.modes { padding: 140px 0 60px; }
.modes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.mode { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; height: 540px; padding: 30px; border-radius: 28px; background: var(--card); }
.mode q { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; quotes: "«" "»"; }
:lang(en) .mode q { quotes: "“" "”"; }
.mode p { margin: 0; max-width: 330px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.mode__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--brand); text-decoration: none; }
.mode__go:hover { color: #ff6a33; }
/* Il telefono segue il testo e sporge dal fondo: con testi lunghi scende, non li copre. */
.mode img { position: relative; align-self: center; flex: none; width: 250px; height: auto; margin: auto 0 -210px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7)); }

/* ── Giorno, ora e luogo ──────────────────────────────────────────────── */
.place { padding: 140px 0 60px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.place__copy .label { margin-bottom: 20px; }
.place__copy .muted { margin: 26px 0 30px; font-size: 14px; max-width: 380px; }
.place__list div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.place__list dt { font: 11px var(--mono); color: var(--muted); }
.meetmap { position: relative; aspect-ratio: 1.45; border: 1px solid var(--line); background: #070707; overflow: hidden; border-radius: 4px; }
.meetmap__head { position: absolute; inset: 14px 16px auto; display: flex; justify-content: space-between; z-index: 2; }
.meetmap__head span { display: inline-flex; align-items: center; gap: 8px; }
.ok { width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; }
.meetmap__streets, .meetmap__routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.meetmap__streets path { fill: none; stroke: #262626; stroke-width: 6; }
.meetmap__streets path.main { stroke: #3a3a3a; stroke-width: 10; }
.meetmap__streets rect { fill: #121212; stroke: #1e1e1e; }
.meetmap__routes path { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 6 8; stroke-dashoffset: 300; animation: route 6s linear infinite; }
@keyframes route { to { stroke-dashoffset: 0; } }
.who { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; }
.who img { width: clamp(38px, 4vw, 52px); border-radius: 12px; }
.who em { font: normal 9px var(--mono); padding: 3px 6px; background: #000; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.pin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 34px; transform: translate(-50%, -100%); background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0a12 12 0 0 0-12 12c0 9 12 20 12 20s12-11 12-20A12 12 0 0 0 12 0Zm0 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0a12 12 0 0 0-12 12c0 9 12 20 12 20s12-11 12-20A12 12 0 0 0 12 0Zm0 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10Z'/%3E%3C/svg%3E") center/contain no-repeat; filter: drop-shadow(0 0 20px rgba(255, 64, 0, 0.8)); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -112%); } }
.meetmap__card { position: absolute; right: 4%; bottom: 7%; display: grid; gap: 6px; padding: 14px 16px; min-width: 200px; background: rgba(12, 12, 12, 0.92); border: 1px solid var(--line); border-radius: 6px; }
.meetmap__card strong { font-size: 18px; font-weight: 400; }
.meetmap__coords { position: absolute; right: 16px; top: 44px; text-align: right; color: var(--dim); }
.place__note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }

/* ── Vicino a te ──────────────────────────────────────────────────────── */
/* Le persone in orbita escono dal cerchio: la sezione è alta abbastanza da contenerle, sta sopra
   le sezioni vicine e taglia solo in orizzontale (niente scorrimento laterale sul telefono). */
.nearby { --orbit: min(90vw, 760px); position: relative; z-index: 2; display: grid; place-items: center; min-height: max(90vh, calc(var(--orbit) + 240px)); padding: 120px var(--gutter); overflow-x: clip; overflow-y: visible; text-align: center; }
.nearby__orbit { position: absolute; left: 50%; top: 50%; width: var(--orbit); aspect-ratio: 1; transform: translate(-50%, -50%); }
.nearby__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); animation: orbit 60s linear infinite; }
.nearby__ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid var(--line); }
.nearby__ring img { position: absolute; left: 50%; top: 50%; width: 64px; margin: -32px; border-radius: 16px; transform: rotate(var(--a)) translateY(calc(var(--orbit) / -2)) rotate(calc(-1 * var(--a))); }
.nearby__ring img { z-index: 1; animation: counter 60s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter { from { transform: rotate(var(--a)) translateY(calc(var(--orbit) / -2)) rotate(calc(-1 * var(--a))); } to { transform: rotate(var(--a)) translateY(calc(var(--orbit) / -2)) rotate(calc(-1 * var(--a) - 360deg)); } }
.nearby__copy { position: relative; max-width: 460px; display: grid; justify-items: center; gap: 20px; }
.nearby__copy .muted { font-size: 14px; max-width: 340px; }

/* ── Domande ──────────────────────────────────────────────────────────── */
/* Titolo grande al centro, sotto le domande a tutta larghezza. */
.faq { padding: 140px 0 60px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.faq .h-section { font-size: clamp(44px, 8vw, 128px); font-weight: 500; line-height: 0.9; letter-spacing: -0.06em; text-align: center; }
.faq__list { width: 100%; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 16px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details { overflow: hidden; }
.faq__list p { padding: 0 40px 22px 0; color: var(--muted); font-size: 14px; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.faq__list details:not([open]) p, .faq__list details.is-closing p { opacity: 0; transform: translateY(-6px); }

/* ── Contatti ─────────────────────────────────────────────────────────── */
.contact { padding: 120px 0 80px; display: grid; gap: 30px; justify-items: start; border-top: 1px solid var(--line); margin-top: 80px; }
.contact__kicker { line-height: 1.6; }
.contact__title { font-size: clamp(44px, 7.4vw, 120px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.95; }
.contact__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ease); }
.contact__title a:hover { background-size: 100% 2px; }
.contact__arrow { color: var(--brand); display: inline-block; transition: transform 0.4s var(--ease); }
.contact__title a:hover .contact__arrow { transform: translate(6px, -6px); }

/* ── Squadra ──────────────────────────────────────────────────────────── */
.team { padding: 120px 0 80px; }
/* Chi siamo: le due foto sovrapposte al centro, il titolo e cosa fa ciascuno. */
.team__card { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 56px 80px; border-radius: 36px; background: var(--card); text-align: center; }
.team__pair { display: flex; }
/* Il bordo sfumato del logo, come le foto nell'app, con uno stacco scuro prima della foto. */
.team__pair img { width: 180px; height: 180px; padding: 5px; border: 5px solid transparent; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, #ff4000, #ffffff, #3c50a5) border-box; }
.team__pair img + img { margin-left: -56px; }
.team__title { max-width: 900px; font-size: clamp(38px, 4.6vw, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.team__people { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; width: 100%; max-width: 900px; padding-top: 30px; border-top: 1px solid var(--line); }
.team__person h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.team__role { margin: 6px 0 10px; font-size: 15px; color: var(--brand); }
.team__person .muted { font-size: 17px; line-height: 1.55; }

/* ── Scarica ──────────────────────────────────────────────────────────── */
.download { position: relative; overflow: hidden; isolation: isolate; padding: 110px 0 0; }
.hero__glow--soft i { opacity: 0.8; }
.download__grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 40px; align-items: end; }
.download__grid > div:first-child { padding-bottom: 110px; }
.download .label { margin-bottom: 18px; }
/* Lo stesso spessore del titolo in apertura e dello slogan in fondo. */
.download .h-section { font-weight: 500; }
.download__text { margin: 24px 0 30px; max-width: 420px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.download__soon { margin-top: 14px; font: 12px var(--mono); color: rgba(255, 255, 255, 0.7); }
.download__phone { width: min(100%, 320px); justify-self: center; align-self: start; margin-bottom: -40%; }
.download__grid { align-items: start; }

/* ── Piede ────────────────────────────────────────────────────────────── */
.footer { position: relative; padding: 70px 0 30px; border-top: 1px solid var(--line); background: #000; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer__cols div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer__cols h2 { margin-bottom: 4px; font-weight: 400; }
.footer__cols a { color: #cfcfcf; }
.footer__cols a:hover { color: #fff; }
.footer__motto { margin: 0 0 60px; font-size: clamp(48px, 9vw, 150px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ── Comparsa allo scorrimento ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Telefono e tablet ────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .top { grid-template-columns: 1fr auto; }
  .top__nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 20px; }
  .hero__phone { width: min(78%, 330px); margin: 10px auto 40px; }
  .split, .place, .download__grid { grid-template-columns: 1fr; }
  .split > p { justify-self: start; text-align: left; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .modes__grid { grid-template-columns: 1fr; }
  .mode { height: 500px; }
  .how { height: auto; }
  .how__sticky { position: static; }
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__phone { display: none; }
  .how__texts, .how__sides { display: contents; }
  .how__step, .how__side { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .how__step { margin-top: 60px; }
  .how__step::after { content: ""; display: block; width: min(72vw, 300px); aspect-ratio: 1286 / 2632; margin: 30px 0; background: var(--shot) center/contain no-repeat; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)); }
  .how__step:nth-child(1) { --shot: url("assets/app/mock-map.webp?v=6"); }
  .how__step:nth-child(2) { --shot: url("assets/app/mock-profile.webp?v=6"); }
  .how__step:nth-child(3) { --shot: url("assets/app/mock-proposal.webp?v=6"); }
  .how__step:nth-child(4) { --shot: url("assets/app/mock-arrivals.webp?v=6"); }
  .how__grid { display: flex; flex-direction: column; }
  .how__step:nth-child(1) { order: 1; } .how__side:nth-child(1) { order: 2; }
  .how__step:nth-child(2) { order: 3; } .how__side:nth-child(2) { order: 4; }
  .how__step:nth-child(3) { order: 5; } .how__side:nth-child(3) { order: 6; }
  .how__step:nth-child(4) { order: 7; } .how__side:nth-child(4) { order: 8; }
  .tabs { display: none; }
  .steps { height: auto; }
  .steps__sticky { position: static; }
  .steps__grid { grid-template-columns: 1fr; }
  .steps__step { display: block; margin-bottom: 0; }
  /* Ogni scena sotto il suo passo (home.js le sposta): sempre visibile, niente dissolvenza. */
  .panel--inline { margin: 22px 0 44px; }
  .panel--inline .panel__scene { position: relative; inset: auto; opacity: 1; transform: none; transition: none; min-height: 0; aspect-ratio: 1.15; }
  .graph { aspect-ratio: 0.9; }
  .graph__lines { display: none; }
  .team__card { padding: 36px 22px; }
  .team__pair img { width: 120px; height: 120px; }
  .team__pair img + img { margin-left: -36px; }
  .team__people { grid-template-columns: 1fr; gap: 30px; }
  .download__grid > div:first-child { padding-bottom: 20px; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature { min-height: 200px; }
  .intro__cta { flex-direction: column; align-items: stretch; }
  .top__start { gap: 14px; }
  .wordmark img { width: 78px; }
  .top .btn--small { padding: 0 14px; }
  .people__foot { flex-direction: column; align-items: flex-start; }
  .meetmap { aspect-ratio: 0.9; }
  .meetmap__card { left: 4%; right: 4%; min-width: 0; }
  /* Sul telefono il cerchio sta sopra il testo, intero e più piccolo: le persone si vedono
     tutte e non coprono le parole. */
  .nearby { --orbit: 70vw; display: flex; flex-direction: column; align-items: center; gap: 70px; min-height: 0; padding: 90px var(--gutter) 80px; }
  .nearby__orbit { position: relative; left: auto; top: auto; transform: none; flex: none; }
  .nearby__ring img { width: 46px; margin: -23px; }
  .graph__center { width: 46%; gap: 6px; font-size: 13px; }
  .graph__center .pair img { width: 30px; }
  .meetmap__coords { display: none; }
  .footer__cols { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-split] .w { opacity: 1; filter: none; transform: none; }
  [data-scrub] .w { color: #fff; }
  html { scroll-behavior: auto; }
}
