/* ============================================================
   AURA — Quantum Intelligence
   Foglio di stile unico. Nessuna risorsa esterna: font, script
   e immagini stanno tutti sul sito.
   ============================================================ */

/* ── Font locali ─────────────────────────────────────────── */
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: "Mono";
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Gettoni ─────────────────────────────────────────────── */
:root {
  --d-bg: #07080c;
  --d-bg2: #0e0f15;
  --d-fg: #ffffff;
  --d-dim: rgba(255, 255, 255, 0.56);
  --d-dim2: rgba(255, 255, 255, 0.3);
  --d-line: rgba(255, 255, 255, 0.08);
  --d-line2: rgba(255, 255, 255, 0.15);
  --d-card: rgba(255, 255, 255, 0.035);
  --d-cardbd: rgba(255, 255, 255, 0.09);

  --l-bg: #f2f0f6;
  --l-bg2: #e8e5ef;
  --l-fg: #0c0b12;
  --l-dim: rgba(12, 11, 18, 0.62);
  --l-dim2: rgba(12, 11, 18, 0.38);
  --l-line: rgba(12, 11, 18, 0.1);
  --l-line2: rgba(12, 11, 18, 0.17);
  --l-card: #ffffff;
  --l-cardbd: rgba(12, 11, 18, 0.08);

  --lilac: #c2a8ff;
  --cyan: #6fd8ff;
  --ink: #6a4ee0;
  --ink2: #0d84c6;
  --grad-d: linear-gradient(120deg, #c2a8ff 0%, #6fd8ff 100%);
  --grad-l: linear-gradient(120deg, #6a4ee0 0%, #0d84c6 100%);

  --bg: var(--d-bg);
  --bg2: var(--d-bg2);
  --fg: var(--d-fg);
  --dim: var(--d-dim);
  --dim2: var(--d-dim2);
  --line: var(--d-line);
  --line2: var(--d-line2);
  --card: var(--d-card);
  --cardbd: var(--d-cardbd);
  --grad: var(--grad-d);
  --acc: var(--lilac);

  --sans: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --mono: "Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

/* ── Base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--d-bg);
  color: var(--d-fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
::selection {
  background: rgba(194, 168, 255, 0.35);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.gr {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mono {
  font-family: var(--mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Sezioni chiare e scure ──────────────────────────────── */
.sec--dark {
  --bg: var(--d-bg);
  --bg2: var(--d-bg2);
  --fg: var(--d-fg);
  --dim: var(--d-dim);
  --dim2: var(--d-dim2);
  --line: var(--d-line);
  --line2: var(--d-line2);
  --card: var(--d-card);
  --cardbd: var(--d-cardbd);
  --grad: var(--grad-d);
  --acc: var(--lilac);
  background: var(--bg);
  color: var(--fg);
}
.sec--light {
  --bg: var(--l-bg);
  --bg2: var(--l-bg2);
  --fg: var(--l-fg);
  --dim: var(--l-dim);
  --dim2: var(--l-dim2);
  --line: var(--l-line);
  --line2: var(--l-line2);
  --card: var(--l-card);
  --cardbd: var(--l-cardbd);
  --grad: var(--grad-l);
  --acc: var(--ink);
  background: var(--bg);
  color: var(--fg);
}
/* Il passaggio fra una sezione e l'altra: un foglio che sale */
.sheet {
  position: relative;
  z-index: 1;
  margin-top: -34px;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  box-shadow: 0 -30px 70px -34px rgba(0, 0, 0, 0.65);
}
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(560px, 62%);
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  background: linear-gradient(90deg, transparent, var(--lilac) 30%, var(--cyan) 70%, transparent);
  opacity: 0.8;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}
.sheet.in::before {
  transform: translateX(-50%) scaleX(1);
}
.sec-pad {
  padding: clamp(96px, 12vw, 168px) 0 clamp(88px, 11vw, 150px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.h2 {
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 .serif {
  font-size: 1.08em;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--dim);
}
.sec-head {
  max-width: 900px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

/* ── Pulsanti ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-p {
  background: #fff;
  color: #07080c;
}
.btn-p:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 44px rgba(194, 168, 255, 0.28);
}
.btn-g {
  background: transparent;
  color: var(--fg);
  border-color: var(--line2);
}
.btn-g:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-grad {
  background: var(--grad-d);
  color: #07080c;
}
.btn-grad:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 44px rgba(111, 216, 255, 0.25);
}

/* ── Navigazione ─────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  height: 64px;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
#nav.scrolled {
  background: rgba(7, 8, 12, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.logo-mark {
  width: 22px;
  height: 22px;
  flex: none;
}
.logo small {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.current {
  color: #fff;
}
.nav-links a.current::after {
  content: "";
  display: block;
  height: 1.5px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--grad-d);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang a,
.lang span {
  padding: 5px 10px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s, background 0.3s;
}
.lang span[aria-current] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.lang a:hover {
  color: #fff;
}
.nav-cta {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s, border-color 0.3s;
}
.nav-cta:hover {
  border-color: rgba(194, 168, 255, 0.4);
  background: rgba(194, 168, 255, 0.12);
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.32s var(--ease);
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
#drawer {
  position: fixed;
  inset: 64px 0 auto;
  z-index: 790;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px 26px;
  background: rgba(7, 8, 12, 0.96);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, transform 0.28s var(--ease), visibility 0s 0.28s;
}
#drawer.open {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s, transform 0.28s var(--ease), visibility 0s;
}
#drawer a {
  padding: 15px 2px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
#drawer a.drawer-cta {
  margin-top: 14px;
  border: 0;
  border-radius: 100px;
  padding: 15px 22px;
  text-align: center;
  background: var(--grad-d);
  color: #07080c;
}

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px 0 clamp(64px, 9vh, 110px);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 72% 42%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(40% 50% at 82% 60%, rgba(111, 216, 255, 0.1), transparent 70%),
    var(--d-bg);
}
.hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-fx.on {
  opacity: 1;
}
.hero-rings {
  position: absolute;
  z-index: -1;
  right: -22%;
  top: 8%;
  width: min(120vw, 820px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.hero-fx.on ~ .hero-rings {
  display: none;
}
.hero-inner {
  position: relative;
  width: 100%;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(111, 216, 255, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(111, 216, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(111, 216, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(111, 216, 255, 0);
  }
}
.hero-h1 {
  margin: 30px 0 34px;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.055em;
}
.hero-h1 .l1 {
  display: block;
  font-size: clamp(104px, 17vw, 250px);
}
.hero-h1 .l2 {
  display: block;
  margin-top: 0.12em;
  padding-bottom: 0.08em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 80px);
  letter-spacing: -0.015em;
  line-height: 1;
}
.rv {
  display: block;
  overflow: hidden;
}
.rv > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.rv.d1 > span {
  animation-delay: 0.12s;
}
.rv.d2 > span {
  animation-delay: 0.26s;
}
@keyframes rise {
  to {
    transform: none;
  }
}
.hero-sub {
  max-width: 40ch;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  animation: fade 1s 0.55s var(--ease) forwards;
}
.hero-sub strong {
  color: #fff;
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
  opacity: 0;
  animation: fade 1s 0.75s var(--ease) forwards;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-meta {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  opacity: 0;
  animation: fade 1s 1s var(--ease) forwards;
}
.hero-meta .mono {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-meta b {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--sans);
  font-size: 13px;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-d);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

/* ── La domanda ──────────────────────────────────────────── */
.q-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.q-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 32px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--cardbd);
  box-shadow: 0 1px 0 rgba(12, 11, 18, 0.03), 0 24px 60px -40px rgba(40, 20, 90, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.q-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(12, 11, 18, 0.03), 0 34px 70px -40px rgba(40, 20, 90, 0.45);
}
.q-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--acc);
  letter-spacing: 0.06em;
}
.q-ico {
  width: 54px;
  height: 54px;
  margin: 10px 0 0;
}
.q-card h3 {
  margin-top: 30px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.q-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--dim);
}
.q-note {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 28px;
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 900px;
}
.q-note::before {
  content: "";
  border-radius: 4px;
  background: var(--grad);
}
.q-note p {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.q-note p span {
  color: var(--dim);
  font-weight: 600;
}

/* ── Frase che si accende ────────────────────────────────── */
.say {
  position: relative;
  z-index: 1;
  min-height: 190svh;
}
.say-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: 0 var(--pad);
}
.say-box {
  text-align: center;
}
.say-text {
  max-width: 19ch;
  margin: 0 auto;
  font-size: clamp(32px, 5.2vw, 76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.say-w {
  color: rgba(255, 255, 255, 0.13);
  transition: color 0.25s linear;
}
.say-w.lit {
  color: #fff;
}
.say-w.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.1em;
}
.say-w.accent.lit {
  background: var(--grad-d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.say-by {
  margin-top: 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transition: opacity 0.6s;
}
.say-by.lit {
  opacity: 1;
}

/* ── Principi ────────────────────────────────────────────── */
#principles {
  background: #0d0e13;
}
.pr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.pr-list {
  display: flex;
  flex-direction: column;
}
.pr-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 20px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 20px 4px 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.35s;
}
.pr-item:first-child {
  border-top: 1px solid var(--line);
}
.pr-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--grad-d);
  transform: translateY(-50%);
  transition: height 0.4s var(--ease);
}
.pr-item .n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.pr-item .t {
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.pr-item .a {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.pr-item:hover,
.pr-item[aria-selected="true"] {
  color: #fff;
}
.pr-item[aria-selected="true"]::before {
  height: 60%;
}
.pr-item[aria-selected="true"] .n {
  color: var(--lilac);
}
.pr-item[aria-selected="true"] .a {
  opacity: 1;
  transform: none;
}
.pr-panels {
  position: sticky;
  top: 96px;
}
.pr-panel {
  padding: clamp(28px, 3vw, 42px);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(194, 168, 255, 0.07), rgba(111, 216, 255, 0.025) 50%, rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pr-panel[hidden] {
  display: none;
}
.pr-panel.enter {
  animation: panelIn 0.55s var(--ease);
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.pr-head .mono {
  font-size: 12px;
  color: var(--lilac);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dim);
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status--on {
  color: #7be8c4;
  border-color: rgba(123, 232, 196, 0.32);
}
.status--build {
  color: #ffd08a;
  border-color: rgba(255, 208, 138, 0.3);
}
.status--rule {
  color: var(--lilac);
  border-color: rgba(194, 168, 255, 0.34);
}
.status--next {
  color: var(--dim);
}
.pr-panel h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.pr-panel > p {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}
.pr-panel ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pr-panel li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.pr-panel li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
}

/* ── Percorso ────────────────────────────────────────────── */
.steps {
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: clamp(80px, 11vw, 150px) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(30px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.step-n {
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.step h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.step p {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dim);
}
.step p em {
  font-style: normal;
  color: var(--fg);
  font-weight: 600;
}
.sec--light .status--now {
  color: var(--ink);
  border-color: rgba(106, 78, 224, 0.35);
  background: rgba(106, 78, 224, 0.06);
}
.sec--light .status--next {
  color: var(--l-dim);
}
.apps {
  margin-top: clamp(72px, 9vw, 120px);
}
.apps-title {
  margin-bottom: 28px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.app {
  padding: 28px 26px 30px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--cardbd);
}
.app .mono {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
}
.app h4 {
  margin: 16px 0 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.app p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
}

/* ── Team ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.person {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--cardbd);
}
.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 30px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background:
    radial-gradient(circle at 50% 30%, rgba(194, 168, 255, 0.16), transparent 70%) padding-box,
    linear-gradient(#101119, #101119) padding-box,
    var(--grad-d) border-box;
}
.person h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.person .role {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lilac);
}
.person p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
}
.person--open {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.person--open .avatar {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.3);
}
.person--open a {
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}
.person--open a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Contatti ────────────────────────────────────────────── */
#contact {
  border-top: 1px solid var(--d-line);
}
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.contact-side .lead {
  margin-top: 0;
}
.who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.who span {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.contact-mail:hover {
  border-color: var(--cyan);
}
.contact-mail svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}
.form-card {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px -50px rgba(124, 92, 255, 0.4);
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.field label i {
  font-style: normal;
  color: var(--lilac);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field select option {
  background: #14151c;
  color: #fff;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(194, 168, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}
.field.bad input,
.field.bad select,
.field.bad textarea {
  border-color: rgba(255, 128, 128, 0.7);
}
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 6px 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #a98cff;
}
.check a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.check.bad {
  color: #ffb4b4;
}
.form-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
.form-foot {
  margin-top: 16px;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}
.hp {
  position: absolute;
  left: -9999px;
}

/* ── Piè di pagina ───────────────────────────────────────── */
.site-footer {
  padding: clamp(64px, 8vw, 100px) 0 36px;
  background: #050609;
  border-top: 1px solid var(--d-line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p {
  max-width: 36ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.foot-col h4 {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
}
.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.3s;
}
.foot-col a:hover {
  color: #fff;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--d-line);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.36);
}
.foot-bottom a:hover {
  color: #fff;
}
.foot-word {
  margin-top: clamp(40px, 6vw, 72px);
  font-size: clamp(90px, 22vw, 330px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

/* ── Pagine di servizio ──────────────────────────────────── */
.page {
  min-height: 100svh;
  padding: 150px 0 110px;
}
.page .h2 {
  font-size: clamp(42px, 6vw, 80px);
}
.prose {
  max-width: 72ch;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}
.prose h3 {
  margin: 40px 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.prose p + p {
  margin-top: 14px;
}
.prose ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
}
.prose li + li {
  margin-top: 6px;
}
.prose a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .upd {
  margin-top: 48px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.center-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 120px var(--pad) 80px;
  text-align: center;
}
.center-page .lead {
  margin-left: auto;
  margin-right: auto;
}
.center-page .btn {
  margin-top: 40px;
}
.center-rings {
  width: 120px;
  height: 120px;
  margin: 0 auto 36px;
}

/* ── Rivelazioni allo scorrimento ────────────────────────── */
[data-rv] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-rv].in {
  opacity: 1;
  transform: none;
}
.no-js [data-rv] {
  opacity: 1;
  transform: none;
}

/* ── Adattamento ─────────────────────────────────────────── */
.drawer-lang {
  display: none;
}
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
}
@media (max-width: 960px) {
  .q-grid,
  .apps-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .pr-split {
    grid-template-columns: 1fr;
  }
  .pr-list {
    display: none;
  }
  .pr-panels {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .pr-panel[hidden] {
    display: block;
  }
  .contact-split {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .hero-meta {
    display: none;
  }
}
@media (max-width: 640px) {
  .row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .step .status {
    justify-self: start;
    order: -1;
  }
  .step-n {
    font-size: 40px;
  }
  .lang {
    display: none;
  }
  .drawer-lang {
    display: block;
  }
  .sheet {
    margin-top: -26px;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
  }
  .hero-ctas .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  [data-rv] {
    opacity: 1;
    transform: none;
  }
  .say {
    min-height: 0;
  }
  .say-inner {
    position: static;
    height: auto;
    padding: 120px var(--pad);
  }
  .say-w {
    color: #fff;
  }
}
