:root {
  --fondo: #ffffff;
  --inchiostro: #0a0a0b;
  --grigio: #6b6b73;
  --spento: #a1a1aa;
  --linea: rgba(10, 10, 11, 0.08);
  --pillola: #f4f4f5;
  --accento: #4f46e5;
  --accento-due: #0ea5e9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; overflow: hidden; }

body {
  background: var(--fondo);
  color: var(--inchiostro);
  font-family: "Mona Sans Variable", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 16px;
}

/* a faint glow behind the headline, so the white is not flat */
.stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(720px, 120vw);
  height: min(360px, 60vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.07), rgba(14, 165, 233, 0.04) 55%, transparent);
  pointer-events: none;
}

.hero {
  position: relative;
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 2.6vh, 22px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--linea);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04), 0 6px 18px -10px rgba(10, 10, 11, 0.18);
  color: var(--inchiostro);
  text-decoration: none;
  font-size: clamp(11px, 1.6vh, 13px);
  font-weight: 500;
  will-change: transform, filter, opacity;
}
.pill__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--inchiostro);
  color: #fff;
  font-weight: 600;
  font-size: 0.92em;
}
.pill__text { color: var(--grigio); }
.pill__arrow {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--grigio);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@media (hover: hover) {
  .pill:hover .pill__arrow { transform: translateX(2px); }
}

.title {
  font-size: clamp(28px, min(8.6vw, 9.6vh), 72px);
  line-height: 1.04;
  font-weight: 640;
  font-stretch: 104%;
  letter-spacing: -0.035em;
}
.title__line { display: block; white-space: nowrap; }
.word {
  display: inline-block;
  will-change: transform, filter, opacity;
}
.word__inner {
  display: inline-block;
  padding: 0 0.12em 0.08em;
  margin: 0 -0.12em -0.08em;
}
.word--key .word__inner {
  background-image: linear-gradient(100deg, var(--inchiostro) 0%, var(--inchiostro) 36%, var(--accento) 46%, var(--accento-due) 54%, var(--inchiostro) 64%, var(--inchiostro) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  max-width: 34em;
  color: var(--grigio);
  font-size: clamp(13px, min(3.6vw, 2.4vh), 18px);
  line-height: 1.5;
  will-change: transform, filter, opacity;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(36px, 5.6vh, 44px);
  padding: 0 clamp(14px, 2.4vh, 20px);
  border-radius: 999px;
  font-size: clamp(13px, 1.9vh, 15px);
  font-weight: 560;
  text-decoration: none;
  overflow: hidden;
  will-change: transform;
}
.btn--primary {
  background: var(--inchiostro);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 8px 22px -10px rgba(10, 10, 11, 0.55);
}
.btn--ghost {
  background: #fff;
  color: var(--inchiostro);
  border: 1px solid var(--linea);
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
}
.btn__arrow {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
}
.btn__label, .btn__arrow { position: relative; }
.btn.is-over.btn--primary { background: #232327; }
.btn.is-over.btn--ghost { background: #fafafa; }

.logos {
  margin-top: clamp(4px, 2vh, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.logos__lead {
  font-size: clamp(11px, 1.5vh, 12px);
  color: var(--spento);
  letter-spacing: 0.01em;
}
.logos__row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8e8e96;
  font-size: clamp(12px, 1.8vh, 15px);
  font-weight: 640;
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
.logo svg { width: 15px; height: 15px; fill: currentColor; }
.logo .logo__hole { fill: var(--fondo); }

.cursore {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  fill: #0a0a0b;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 520px) {
  .logo--extra { display: none; }
}
@media (max-height: 460px) {
  .logos__lead { display: none; }
}
