:root {
  --ink: #101316;
  --ink-soft: #171b1f;
  --surface: #1f2327;
  --surface-raised: #292e33;
  --line: #3a4148;
  --line-soft: #2e343a;
  --text: #f1f5f7;
  --muted: #aeb8bf;
  --blue: #61b7ed;
  --blue-light: #bfe5f8;
  --blue-deep: #1e627f;
  --amber: #e6b94f;
  --green: #35c46a;
  --red: #ef6262;
  --shell: min(1180px, calc(100% - 48px));
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

section[id] {
  scroll-margin-top: 76px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--ink);
  font-weight: 700;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 76px;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(16, 19, 22, 0.94);
  border-color: var(--line-soft);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: var(--shell);
  margin-inline: auto;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}

.brand img {
  border-radius: 6px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid var(--blue);
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease;
}

.header-login:hover,
.header-login:focus-visible {
  border-color: var(--blue);
  color: var(--blue-light);
}

.header-login svg {
  width: 16px;
  height: 16px;
}

/* L'etichetta deve restare su UNA riga: in inglese "Sign in" e "Sign up"
   andavano a capo (due righe nel pulsante) appena l'header era un po' stretto.
   Vale anche per le stesse voci dentro il menu di mobile. */
.header-login,
.header-register,
.main-nav .nav-login,
.main-nav .nav-register {
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Header compatto tra tablet e scrivania: le etichette restano su una riga
   senza allargare la pagina (sotto i 760 px il menu prende il posto dei
   pulsanti, come prima). */
@media (max-width: 1400px) {
  .nav-shell { gap: 26px; }
  .main-nav { gap: 22px; }
}

@media (max-width: 1180px) {
  .nav-shell { gap: 20px; }
  .main-nav { gap: 18px; }
}

@media (max-width: 1000px) {
  .nav-shell { gap: 14px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 13px; }
  .header-login,
  .header-register { padding: 9px 12px; font-size: 13px; }
}

/* La voce di menu è il punto di accesso su mobile (lì l'header-cta è nascosto). */
.main-nav .nav-login {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  height: calc(100svh - 30px);
  min-height: 680px;
  max-height: 900px;
  overflow: hidden;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--blue);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  border-left: 32vw solid transparent;
  border-right: 1px solid var(--line);
  box-shadow: 72px 0 0 transparent, 73px 0 0 var(--line-soft), 144px 0 0 transparent, 145px 0 0 var(--line-soft), 216px 0 0 transparent, 217px 0 0 var(--line-soft), 288px 0 0 transparent, 289px 0 0 var(--line-soft), 360px 0 0 transparent, 361px 0 0 var(--line-soft), 432px 0 0 transparent, 433px 0 0 var(--line-soft), 504px 0 0 transparent, 505px 0 0 var(--line-soft), 576px 0 0 transparent, 577px 0 0 var(--line-soft);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  padding-top: clamp(112px, 16vh, 156px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow,
.section-index,
.availability {
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.hero-mark {
  width: 72px;
  height: 72px;
  margin-top: 28px;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.hero h1 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
}

.hero-lead strong {
  color: var(--blue);
  font-weight: 600;
}

.hero-copy {
  width: min(520px, 47vw);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
  /* Anche i pulsanti delle card (es. "App Store") restano su una riga. */
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #07151b;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--blue-light);
  background: var(--blue-light);
}

.button-quiet {
  color: var(--text);
  background: rgba(16, 19, 22, 0.6);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--muted);
  background: var(--surface);
}

.platform-line {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  color: #89949b;
  font-size: 12px;
  font-weight: 600;
}

.platform-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-line svg {
  width: 15px;
  height: 15px;
}

.platform-line .fa-brands,
.platform-line .fa-solid {
  font-size: 15px;
  line-height: 1;
}

.mixer-scene {
  position: absolute;
  z-index: 2;
  top: 112px;
  left: calc(50% + 120px);
  width: min(820px, 58vw);
  transform: perspective(1100px) rotateY(-8deg) rotateX(2deg);
  transform-origin: center left;
  filter: drop-shadow(-30px 36px 50px rgba(0, 0, 0, 0.44));
}

.mixer-window {
  overflow: hidden;
  border: 1px solid #454c52;
  border-radius: 8px;
  background: #202428;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.window-bar,
.timeline,
.transport {
  display: flex;
  align-items: center;
}

.window-bar {
  height: 58px;
  padding-inline: 16px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #191d20;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd3d8;
  font-size: 12px;
  font-weight: 700;
}

.window-brand img {
  border-radius: 4px;
}

.window-actions {
  display: flex;
  gap: 7px;
}

.window-actions span {
  width: 9px;
  height: 9px;
  border: 1px solid #59636a;
  border-radius: 50%;
}

.timeline {
  height: 62px;
  padding: 0 14px;
  gap: 12px;
  color: #aeb8bf;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 11px;
}

.timeline-track {
  position: relative;
  height: 3px;
  flex: 1;
  background: #485159;
}

.timeline-track::before,
.timeline-track i {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 21%;
  background: var(--blue);
}

.timeline-track i::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-light);
}

.stem-row {
  position: relative;
  min-height: 74px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 105px 1fr 104px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.stem-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--track-color);
}

.stem-row strong {
  font-family: var(--display);
  font-size: 13px;
}

.stem-vocal { --track-color: #63b9ee; }
.stem-drums { --track-color: #e6b94f; }
.stem-bass { --track-color: #e1786f; }
.stem-guitar { --track-color: #7bc795; }
.stem-piano { --track-color: #b99ae0; }
.stem-other { --track-color: #8fb0c4; }

.waveform {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  opacity: 0.86;
}

.waveform i {
  width: 3px;
  min-width: 3px;
  height: calc(var(--height) * 1%);
  max-height: 44px;
  min-height: 3px;
  background: var(--track-color);
}

.track-controls {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.track-controls span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #4a535a;
  color: #aab4ba;
  font-size: 9px;
  font-weight: 700;
}

.track-controls span.active {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.track-controls .eq-dot {
  position: relative;
  border-color: var(--blue-deep);
  color: var(--blue-light);
}

.transport {
  height: 58px;
  padding: 0 16px;
  gap: 22px;
  justify-content: flex-end;
  color: #929da4;
  font-size: 11px;
}

.transport b {
  margin-left: 5px;
  color: var(--text);
}

.transport-time {
  margin-right: auto;
  font-family: var(--display);
}

.play-control {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--ink);
  border-radius: 50%;
}

.play-control svg {
  width: 15px;
}

.signal-strip {
  height: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--blue);
  color: #07151b;
}

.signal-inner {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.signal-inner i {
  width: 3px;
  height: 18px;
  background: #1a536b;
}

.signal-inner strong {
  padding: 8px 16px;
  border: 1px solid #1a536b;
  font-size: 12px;
  text-transform: uppercase;
}

.feature-band,
.workflow-band,
.download-band {
  padding: 120px 0;
}

.feature-band {
  background: #f1f4f5;
  color: #14181b;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: end;
}

.section-heading .section-index {
  grid-column: 1 / -1;
}

.section-heading h2,
.workflow-heading h2,
.continuity-content h2,
.download-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 0.98;
}

.section-heading h2 span {
  color: var(--blue-deep);
}

.section-heading > p:last-child {
  margin: 0;
  color: #59636a;
  font-size: 17px;
}

.feature-layout {
  margin-top: 76px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.eq-visual {
  border: 1px solid #424b51;
  border-radius: 8px;
  background: #171a1d;
  color: var(--text);
  box-shadow: 24px 28px 0 #dce2e5;
}

.eq-head {
  height: 54px;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #343a3f;
  font-size: 11px;
  font-weight: 700;
}

.eq-head b {
  color: var(--amber);
}

.eq-chart {
  position: relative;
  height: 290px;
  margin: 18px;
  overflow: hidden;
  background: #101214;
}

.eq-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#2b3034 1px, transparent 1px), linear-gradient(90deg, #2b3034 1px, transparent 1px);
  background-size: 11.11% 25%;
}

.eq-chart::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: #596168;
}

.eq-curve {
  position: absolute;
  z-index: 2;
  top: 41%;
  left: -4%;
  width: 108%;
  height: 36px;
  border-top: 4px solid var(--amber);
  border-radius: 48% 52% 0 0;
  transform: rotate(-2deg) skewX(-11deg);
}

.eq-chart i {
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  width: 11px;
  height: 11px;
  border: 3px solid #101214;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--amber);
}

.eq-labels {
  margin: -8px 12px 14px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  color: #89939a;
  font-size: 9px;
  text-align: center;
}

.feature-list article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  border-top: 1px solid #c9d0d4;
}

.feature-list article:last-child {
  border-bottom: 1px solid #c9d0d4;
}

.feature-number {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.feature-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
}

.feature-list p {
  margin: 8px 0 0;
  color: #626c72;
}

.workflow-band {
  background: var(--ink);
}

.workflow-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.workflow-heading h2 {
  max-width: 750px;
  text-align: right;
}

.workflow-list {
  margin: 80px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list li {
  position: relative;
  min-height: 340px;
  padding: 40px 34px;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list li > span {
  position: absolute;
  top: 30px;
  right: 28px;
  color: #596168;
  font-family: var(--display);
  font-size: 12px;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-deep);
  color: var(--blue);
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.workflow-list h3 {
  margin: 70px 0 12px;
  font-family: var(--display);
  font-size: 29px;
}

.workflow-list p {
  margin: 0;
  color: var(--muted);
}

.continuity-band {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #172d37;
  border-block: 1px solid #28556b;
}

.continuity-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(460px, 56%) 1fr;
  padding-block: 60px;
}

.continuity-content > * {
  grid-column: 1;
}

.continuity-content h2 {
  margin-top: 16px;
  max-width: 640px;
  font-size: clamp(42px, 4.4vw, 58px);
}

.continuity-content > p:not(.section-index) {
  margin: 28px 0 0;
  max-width: 590px;
  color: #bed1da;
  font-size: 17px;
}

.continuity-content ul {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
  color: #e4f0f5;
  font-weight: 600;
}

.continuity-content li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.continuity-content li svg {
  width: 18px;
  color: var(--blue);
}

.continuity-content .offline-feature {
  margin-top: 6px;
  padding-top: 18px;
  align-items: flex-start;
  border-top: 1px solid #3a6171;
}

.continuity-content .offline-feature svg {
  width: 24px;
  height: 24px;
  color: var(--amber);
}

.offline-feature span {
  display: grid;
  gap: 4px;
}

.offline-feature strong {
  color: #fff;
  font-size: 20px;
}

.offline-feature small {
  color: #bed1da;
  font-size: 14px;
  font-weight: 400;
}

.continuity-art {
  position: absolute;
  top: 7%;
  right: 5%;
  bottom: 7%;
  width: 36%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.76;
  transform: rotate(-6deg);
}

.continuity-art span {
  width: 9%;
  height: var(--bar-height, 40%);
  background: var(--blue);
  box-shadow: 0 0 44px rgba(97, 183, 237, 0.22);
}

.continuity-art span:nth-child(1),
.continuity-art span:nth-child(7) { --bar-height: 22%; }
.continuity-art span:nth-child(2),
.continuity-art span:nth-child(6) { --bar-height: 42%; }
.continuity-art span:nth-child(3),
.continuity-art span:nth-child(5) { --bar-height: 64%; }
.continuity-art span:nth-child(4) { --bar-height: 84%; }
.continuity-art span:nth-child(even) { transform: translateY(12%); }

.tour-band {
  padding: 120px 0;
  background: var(--ink);
}

.tour-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 24px;
  align-items: stretch;
  justify-items: center;
}

.tour-card {
  margin: 0;
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-soft);
}

.tour-media {
  border-bottom: 1px solid var(--line);
  background: #0b0e11;
  line-height: 0;
}

.tour-media video,
.tour-media img {
  display: block;
  width: 100%;
  height: auto;
}

.tour-body {
  padding: 24px 26px 28px;
}

.tour-label {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tour-body h3 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.15;
}

.tour-body p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.tour-facts {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.tour-facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tour-facts svg {
  width: 15px;
  height: 15px;
  color: var(--blue-light);
}

/* Sezione "Client web": schermate dimostrative del client nel browser. */
.web-band {
  padding: 120px 0;
}

.web-shots {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: 24px;
}

.web-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-soft);
}

.web-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  background: #14171a;
}

.web-shot figcaption {
  padding: 18px 22px 20px;
}

.web-shot figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
}

.web-shot figcaption span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.web-facts {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 14px 26px;
  color: var(--muted);
  font-size: 14.5px;
}

.web-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.web-facts svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--blue-light);
}

.web-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.web-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-band {
  background: #eef2f3;
  color: #14181b;
}

.download-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.download-heading h2 {
  margin-top: 16px;
}

.download-heading > p {
  margin: 0;
  color: #5b656b;
  font-size: 17px;
}

.download-grid {
  margin-top: 56px;
  display: grid;
  /* Tutti i client su una sola riga: le card restano compatte in altezza. */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #c6ced2;
  border-radius: 8px;
  background: #f8fafb;
}

.android-card {
  background: #172d37;
  border-color: #28556b;
  color: var(--text);
}

.mac-card {
  background: linear-gradient(160deg, #f8fafb 0%, #e7eef1 100%);
}

.linux-card {
  background: #20262b;
  border-color: #3c444b;
  color: var(--text);
}

/* Card iOS: accento chiaro come macOS, ma con una punta di azzurro in più. */
.ios-card {
  background: linear-gradient(160deg, #f8fafb 0%, #e6eff5 100%);
}

.ios-card .platform-icon {
  color: var(--blue-deep);
}

.platform-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #aeb9bf;
  color: var(--blue-deep);
}

.android-card .platform-icon {
  border-color: #3d697d;
  color: var(--blue);
}

.linux-card .platform-icon {
  border-color: #4a545c;
  color: var(--blue-light);
}

.platform-icon svg {
  width: 19px;
  height: 19px;
}

.platform-icon .fa-brands,
.platform-icon .fa-solid {
  font-size: 19px;
  line-height: 1;
}

.button .fa-brands,
.button .fa-solid {
  font-size: 17px;
  line-height: 1;
}

.download-card h3 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
}

.download-card > p:not(.availability) {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #606b71;
}

.android-card > p:not(.availability) {
  color: #b8cad3;
}

.linux-card > p:not(.availability) {
  color: #b5bfc7;
}

.download-card dl {
  margin: 16px 0 18px;
  display: grid;
  gap: 8px;
}

.download-card dl div {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  border-top: 1px solid #d2d8db;
}

.android-card dl div {
  border-color: #315365;
}

.linux-card dl div {
  border-color: #3a444c;
}

.download-card dt {
  color: #768188;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-card dd {
  margin: 0;
  font-weight: 700;
}

.download-card .availability {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

@media (max-width: 1180px) {
  .download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .download-grid { grid-template-columns: minmax(0, 1fr); }
  padding: 12px 12px;
  font-size: 13.5px;
  justify-content: center;
  text-align: center;
}

.play-button {
  border-color: var(--text);
  background: var(--text);
  color: #12222a;
}

.play-button:hover,
.play-button:focus-visible {
  border-color: var(--blue-light);
  background: var(--blue-light);
}

.linux-card .button-quiet {
  border-color: #55606a;
  background: #262d33;
}

.linux-card .button-quiet:hover,
.linux-card .button-quiet:focus-visible {
  border-color: var(--blue);
  background: #2c343b;
}

.placeholder-note {
  margin: 18px 0 0;
  color: #707a80;
  font-size: 12px;
  text-align: center;
}

.video-band {
  padding: 120px 0;
  background: #f1f4f5;
  color: #14181b;
}

.video-layout {
  margin-top: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  align-items: center;
}

.video-frame {
  margin: 0;
  border: 1px solid #424b51;
  border-radius: 8px;
  overflow: hidden;
  background: #171a1d;
  color: var(--text);
  box-shadow: 24px 28px 0 #dce2e5;
}

.video-chrome {
  height: 44px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #343a3f;
  font-size: 11px;
  font-weight: 700;
}

.video-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d474d;
}

.video-chrome em {
  margin-left: 6px;
  font-style: normal;
  color: var(--muted);
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 95% at 72% 12%, rgba(97, 183, 237, 0.38), transparent 58%),
    radial-gradient(90% 80% at 12% 88%, rgba(230, 185, 79, 0.22), transparent 62%),
    linear-gradient(160deg, #1c2228 0%, #12171c 58%, #0b0e11 100%);
}

.video-stage::before {
  content: "";
  position: absolute;
  inset: -18% 42% 26% 8%;
  background: linear-gradient(104deg, rgba(191, 229, 248, 0.28), transparent 62%);
  transform: rotate(-8deg);
}

.video-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: repeating-linear-gradient(90deg, rgba(9, 12, 15, 0.55) 0 16px, rgba(9, 12, 15, 0.15) 16px 32px);
}

.video-play {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 229, 248, 0.65);
  border-radius: 50%;
  background: rgba(11, 14, 17, 0.62);
  color: var(--blue-light);
}

.video-play svg {
  width: 24px;
  height: 24px;
}

.video-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  padding: 4px 10px;
  border: 1px solid rgba(191, 229, 248, 0.45);
  border-radius: 2px;
  color: var(--blue-light);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.video-progress {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 14px;
  left: 16px;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.video-progress i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--blue);
}

.video-caption {
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #343a3f;
  color: var(--muted);
  font-size: 12px;
}

.video-caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.video-caption svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.video-points {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  list-style: none;
}

.video-points li {
  padding-top: 20px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  border-top: 1px solid #d2d8db;
}

.video-points svg {
  width: 24px;
  height: 24px;
  color: var(--blue-deep);
}

.video-points strong {
  font-family: var(--display);
  font-size: 19px;
}

.video-points p {
  margin: 6px 0 0;
  color: #5b656b;
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease var(--reveal-delay), transform 520ms ease var(--reveal-delay);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding: 46px 0;
  background: #0c0e10;
  border-top: 1px solid var(--line-soft);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 44px;
}

.footer-shell > p {
  grid-column: 1;
  margin: 12px 0 0;
  color: #7f8a91;
  font-size: 13px;
}

.footer-shell nav {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.footer-shell small {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: #687279;
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 820px); }

  .hero-content { padding-top: 110px; }
  .hero-copy { width: min(470px, 65vw); }
  .mixer-scene {
    top: 180px;
    left: 58%;
    width: 720px;
    opacity: 0.45;
  }
  .hero-content::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 76px 34% 40px -20px;
    background: rgba(23, 27, 31, 0.86);
  }

  .feature-layout { grid-template-columns: 1fr; }
  .eq-visual { max-width: 720px; }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-layout { grid-template-columns: 1fr; gap: 48px; }
  .video-frame { max-width: 720px; }
  .continuity-content { grid-template-columns: minmax(420px, 58%) 1fr; }
  .continuity-art { right: 3%; width: 32%; }

  /* Piè di pagina: i link vanno a capo su più righe invece di spingere la
     pagina oltre il bordo (erano la causa dello scorrimento orizzontale
     tra 760 e 1000 px). Sotto i 760 px la barra dei link è già nascosta. */
  .footer-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px 40px;
  }
  .footer-shell nav {
    grid-column: 1;
    grid-row: auto;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .footer-shell small {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 28px); }

  section[id] { scroll-margin-top: 66px; }

  .site-header { height: 66px; }
  .nav-shell { gap: 14px; }
  .brand { font-size: 18px; }
  .brand img { width: 38px; height: 38px; }
  .header-cta { display: none; }
  .header-login { display: none; }
  .main-nav .nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-light);
  }
  .menu-toggle {
    margin-left: auto;
    display: grid;
    place-items: center;
  }
  .main-nav {
    position: fixed;
    inset: 66px 0 auto;
    padding: 24px 22px 34px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #14181b;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 42px;
    display: flex;
    flex-direction: column;
  }
  .hero-grid { opacity: 0.1; }
  .hero-content { order: 1; height: auto; padding-top: 88px; }
  .hero-content::after { inset: 62px -12px 24px -12px; }
  .hero-mark { width: 52px; height: 52px; margin-top: 18px; }
  .hero h1 { margin-top: 7px; font-size: clamp(48px, 16vw, 68px); }
  .hero-lead { margin-top: 10px; font-size: 26px; }
  .hero-copy { width: min(100%, 480px); margin-top: 16px; font-size: 15px; }
  .hero-actions { margin-top: 22px; flex-wrap: wrap; }
  .button { min-height: 44px; padding-inline: 16px; font-size: 14px; }
  .platform-line { margin-top: 18px; gap: 12px; flex-wrap: wrap; }
  .platform-line span:last-child { display: none; }
  /* Sul telefono la finestra del mixer non è più una decorazione sbiadita:
     diventa una card leggibile sotto il testo, con gli elementi compattati. */
  .mixer-scene {
    position: static;
    order: 2;
    width: var(--shell);
    margin: 30px auto 0;
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45));
  }
  .window-bar { height: 44px; padding-inline: 12px; }
  .window-brand { font-size: 11px; }
  .window-brand img { width: 22px; height: 22px; }
  .timeline { height: 44px; gap: 9px; font-size: 10px; }
  .stem-row {
    min-height: 50px;
    padding: 8px 12px;
    grid-template-columns: 74px 1fr 74px;
    gap: 8px;
  }
  .stem-row strong { font-size: 11px; }
  .waveform { height: 32px; gap: 1px; }
  .waveform i { width: 2px; min-width: 2px; max-height: 28px; }
  .track-controls { gap: 4px; }
  .track-controls span { width: 20px; height: 20px; font-size: 8px; }
  .transport { height: 44px; padding-inline: 12px; gap: 10px; font-size: 10px; }
  .play-control { width: 26px; height: 26px; }

  .signal-strip { height: 58px; }
  .signal-inner { justify-content: flex-start; gap: 18px; padding-left: 18px; }
  .signal-inner span:nth-last-child(-n+2),
  .signal-inner i:nth-last-child(-n+3) { display: none; }

  .feature-band,
  .workflow-band,
  .video-band,
  .download-band { padding: 82px 0; }
  .video-layout { margin-top: 48px; gap: 36px; }
  .video-caption { flex-direction: column; gap: 6px; }
  .section-heading,
  .download-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2,
  .workflow-heading h2,
  .continuity-content h2,
  .download-heading h2 { font-size: 42px; }
  .section-heading > p:last-child,
  .download-heading > p { font-size: 16px; }
  .feature-layout { margin-top: 48px; gap: 56px; }
  .eq-visual { box-shadow: 10px 12px 0 #dce2e5; }
  .eq-chart { height: 210px; margin: 10px; }
  .eq-labels { margin-inline: 5px; font-size: 7px; }
  .feature-list article { grid-template-columns: 38px 1fr; }
  .feature-list h3 { font-size: 20px; }

  .workflow-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .workflow-heading h2 { text-align: left; }
  .workflow-list { margin-top: 48px; grid-template-columns: 1fr; }
  .workflow-list li { min-height: 0; padding: 30px 24px 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-list li:last-child { border-bottom: 0; }
  .workflow-list h3 { margin-top: 28px; }

  .continuity-band { min-height: 650px; padding: 78px 0; align-items: flex-start; }
  .continuity-content { display: block; padding-block: 0; }
  .continuity-content > p:not(.section-index) { max-width: 560px; }
  .continuity-art { top: auto; right: -8%; bottom: -90px; width: 72%; height: 330px; opacity: 0.35; }

  .download-grid { margin-top: 48px; grid-template-columns: 1fr; }
  .download-card { min-height: 460px; padding: 28px; }
  .platform-icon { margin-bottom: 30px; }

  .footer-shell { grid-template-columns: 1fr auto; gap: 16px; }
  .footer-shell nav { display: none; }
  .footer-shell small { grid-column: 2; }
}

@media (max-width: 430px) {
  .eyebrow { font-size: 10px; }
  .hero-lead { font-size: 23px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .hero-actions .button { width: 100%; }
  .platform-line { justify-content: center; width: 100%; }
  .signal-inner strong { display: none; }
  .download-card dl div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .download-card dd { text-align: left; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-shell small { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.tour-media {
  position: relative;
}

.demo-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(191, 229, 248, 0.72);
  border-radius: 4px;
  background: rgba(11, 14, 17, 0.82);
  color: var(--blue-light);
  font: 600 13px var(--display);
  cursor: pointer;
}

.demo-play:hover,
.demo-play:focus-visible {
  background: rgba(31, 45, 53, 0.94);
  color: #fff;
}

.demo-play svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ *
 *  Registrazione, pagine legali e avviso cookie.
 * ------------------------------------------------------------------ */

/* Pulsante "Registrati": gemello di Accedi, con accento sul blu del brand.
   Su desktop vive nell'header, su mobile nella voce di menu (come Accedi). */
.header-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(97, 183, 237, 0.55);
  background: rgba(97, 183, 237, 0.12);
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.header-register:hover,
.header-register:focus-visible {
  border-color: var(--blue);
  background: rgba(97, 183, 237, 0.2);
  color: #dff0fb;
}

.header-register svg {
  width: 16px;
  height: 16px;
}

.main-nav .nav-register {
  display: none;
}

/* L'attributo hidden deve sempre nascondere: le regole display: flex/grid più
   specifiche lo scavalcherebbero (stesso pitfall già risolto in admin.css —
   senza questa regola l'avviso cookie non si chiudeva con "Ho capito"). */
[hidden] {
  display: none !important;
}

/* Avviso cookie: barra discreta e richiudibile, mostrata una volta sola. */
.cookie-notice {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(780px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
}

.cookie-notice p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.cookie-notice p a {
  color: var(--blue-light);
  text-decoration: underline;
}

.cookie-notice-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-notice .button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13.5px;
}

/* Pagine legali (Termini di servizio e Cookie Policy): stessa pelle del sito. */
.legal-body {
  min-height: 100vh;
  background: var(--ink);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
  padding: 0 24px;
  background: rgba(16, 19, 22, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.legal-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
}

.legal-header nav a {
  color: var(--muted);
}

.legal-header nav a:hover,
.legal-header nav a:focus-visible {
  color: var(--text);
}

.legal-header nav a.is-accent {
  color: var(--blue-light);
  font-weight: 600;
}

.legal-main {
  width: min(100% - 36px, 860px);
  margin: 0 auto;
  padding: 42px 0 76px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
}

.legal-card .section-index {
  margin: 0 0 6px;
}

.legal-card h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 34px;
}

.legal-updated {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.legal-section {
  margin-top: 26px;
}

.legal-section h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 19px;
}

.legal-section h3 {
  margin: 18px 0 6px;
  font-size: 15px;
}

.legal-section p,
.legal-section li {
  color: #c6cdd2;
  font-size: 14.5px;
  line-height: 1.65;
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-action {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.legal-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-footer {
  padding: 26px 0 46px;
  border-top: 1px solid var(--line-soft);
  color: #687279;
  font-size: 13px;
}

.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: min(100% - 36px, 860px);
  margin: 0 auto;
}

.legal-footer nav {
  display: flex;
  gap: 16px;
}

.legal-footer a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .header-register {
    display: none;
  }
  .main-nav .nav-register {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-light);
  }
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-notice-actions {
    justify-content: flex-end;
  }
  .legal-card {
    padding: 22px;
  }
  .legal-card h1 {
    font-size: 27px;
  }
  /* Header legale: su telefono i link vanno a capo su una seconda riga invece
     di allargare la pagina (prima causavano lo scorrimento orizzontale). */
  .legal-header {
    height: auto;
    flex-wrap: wrap;
    row-gap: 4px;
    padding: 10px 16px;
  }
  .legal-header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
  }
  .legal-main {
    width: min(100% - 24px, 860px);
    padding-top: 28px;
  }
}

/* Lingua (italiano / inglese / francese) --------------------------------- */

/* La pagina resta nascosta per il tempo del rilevamento (max 1,5 s), cosi'
   non si vede il cambio di lingua al primo accesso. La lingua non ha un
   selettore: la sceglie il rilevamento a ogni visita. */
html.i18n-loading body {
  visibility: hidden;
}