:root {
  --bg: #110a0c;
  --bg-alt: #130d0e;
  --panel: rgba(255, 251, 246, 0.88);
  --surface-light: #f4f4f4;
  --surface-light-2: #ebe8e8;
  --accent: #c60673;
  --accent-warm: #ff199c;
  --accent-hover: #ff199c;
  --accent-deep: #63043a;
  --text: #ffffff;
  --text-dark: #151515;
  --text-dark-soft: #333333;
  --text-light: #ffffff;
  --text-light-soft: #f4f4f4;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(21, 21, 21, 0.08);
  --radius: 30px;
  --max-width: 1768px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "DM Sans", sans-serif;
  color: var(--text-light);
  background:
    radial-gradient(circle at top right, rgba(198, 6, 115, 0.18), transparent 22%),
    radial-gradient(circle at 18% 22%, rgba(255, 25, 156, 0.08), transparent 16%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(17, 10, 12, 0.2), rgba(17, 10, 12, 0.65)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--text-light);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent-deep) 100%);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 64px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-weight: 700;
}

.brand-copy span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-pill {
  min-height: 36px;
  min-width: 48px;
  padding: 0.4rem 0.8rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.lang-pill.is-active {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}

[data-lang] {
  display: inline;
}

body[data-current-lang="it"] [data-lang="en"],
body[data-current-lang="en"] [data-lang="it"] {
  display: none !important;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-light);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
  min-height: 980px;
  padding: 120px 0 48px;
}

.hero-copy,
.hero-panel,
.section,
.contact-panel {
  position: relative;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--text-light-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 100;
}

.hero-text,
.section-heading p:last-child,
.thesis-grid p,
.platform-card p,
.entity-card p,
.timeline-row p,
.pipeline-card p,
.scenario-card p,
.contact-panel p:last-of-type {
  line-height: 1.65;
}

.hero-text {
  max-width: 58ch;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.4rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
}

.hero-panel,
.section,
.contact-panel {
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-panel {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(198, 6, 115, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 25, 156, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #171011 0%, #0f090b 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-tile,
.insight-card,
.platform-card,
.entity-card,
.timeline-card,
.pipeline-card,
.chart-card,
.scenario-card,
.funding-summary,
.allocation-card {
  padding: 1.35rem;
  border-radius: var(--radius);
}

.metric-tile {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.metric-tile span,
.signal-label,
.entity-topline,
.allocation-row span,
.timeline-row span,
.bar-column span {
  font-size: 0.9rem;
}

.metric-tile span,
.metric-tile p,
.signal-label {
  color: rgba(255, 255, 255, 0.7);
}

.metric-tile strong {
  display: block;
  margin: 0.6rem 0 0.35rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
}

.metric-tile p {
  margin: 0;
}

.signal-panel {
  margin-top: 14px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.signal-track {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 124px;
  margin: 1rem 0 0.7rem;
}

.signal-track span {
  flex: 1;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent-deep) 100%);
  opacity: 0.92;
  height: var(--value);
}

.signal-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-light);
  font-weight: 700;
}

.section {
  margin-top: 26px;
  padding: 42px 38px;
}

.section-light {
  color: var(--text-dark);
  background: var(--surface-light);
}

.section-light .eyebrow {
  color: var(--accent);
}

.section-light .section-heading p:last-child,
.section-light .thesis-grid p,
.section-light .platform-card p,
.section-light .entity-card p,
.section-light .timeline-row p,
.section-light .pipeline-card p,
.section-light .scenario-card p,
.section-light .contact-panel p:last-of-type {
  color: var(--text-dark-soft);
}

.section-light .insight-card,
.section-light .platform-card,
.section-light .entity-card,
.section-light .timeline-card,
.section-light .pipeline-card,
.section-light .chart-card,
.section-light .scenario-card,
.section-light .funding-summary,
.section-light .allocation-card {
  border: 1px solid var(--line-light);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-light-2) 100%);
}

.section-dark {
  color: var(--text-light);
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at top right, rgba(198, 6, 115, 0.16), transparent 26%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.section-dark .eyebrow {
  color: var(--text-light-soft);
}

.section-dark .section-heading p:last-child,
.section-dark .thesis-grid p,
.section-dark .platform-card p,
.section-dark .entity-card p,
.section-dark .timeline-row p,
.section-dark .pipeline-card p,
.section-dark .scenario-card p,
.section-dark .contact-panel p:last-of-type {
  color: rgba(255, 255, 255, 0.78);
}

.section-dark .insight-card,
.section-dark .platform-card,
.section-dark .entity-card,
.section-dark .timeline-card,
.section-dark .pipeline-card,
.section-dark .chart-card,
.section-dark .scenario-card,
.section-dark .funding-summary,
.section-dark .allocation-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 100;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.thesis-grid,
.platform-grid,
.entity-grid,
.funding-grid,
.traction-layout,
.financial-layout {
  display: grid;
  gap: 16px;
}

.thesis-grid,
.platform-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entity-grid,
.funding-grid,
.traction-layout,
.financial-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-tag {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(198, 6, 115, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-dark .platform-tag,
.hero-highlights li {
  box-shadow: inset 0 0 0 1px rgba(255, 25, 156, 0.06);
}

.entity-topline,
.allocation-row,
.timeline-row,
.pipeline-metrics,
.contact-actions {
  display: flex;
}

.entity-topline,
.allocation-row {
  justify-content: space-between;
  gap: 1rem;
}

.entity-card ul,
.funding-summary ul,
.scenario-list {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.1rem;
}

.clients {
  margin-bottom: 0;
}

.timeline-card {
  display: grid;
  gap: 1.2rem;
}

.timeline-row {
  gap: 1rem;
  align-items: flex-start;
}

.timeline-row span {
  min-width: 58px;
  padding-top: 3px;
  font-weight: 700;
}

.timeline-row strong,
.pipeline-metrics strong,
.scenario-list strong,
.allocation-row strong {
  font-size: 1.2rem;
}

.timeline-row p {
  margin: 0.35rem 0 0;
}

.pipeline-card {
  display: grid;
  gap: 1rem;
}

.pipeline-metrics {
  gap: 14px;
  flex-wrap: wrap;
}

.pipeline-metrics div {
  flex: 1 1 160px;
  padding: 1rem;
  border-radius: 20px;
}

.section-light .pipeline-metrics div {
  background: rgba(21, 21, 21, 0.04);
}

.section-dark .pipeline-metrics div {
  background: rgba(255, 255, 255, 0.05);
}

.pipeline-metrics span {
  display: block;
  font-size: 0.9rem;
}

.chart-card,
.scenario-card {
  min-height: 100%;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 1.3rem;
}

.bar-column {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.bar-shell {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 96px;
  height: 210px;
  padding: 10px;
  border-radius: 24px;
}

.section-light .bar-shell {
  background: rgba(21, 21, 21, 0.06);
}

.section-dark .bar-shell {
  background: rgba(255, 255, 255, 0.06);
}

.bar-shell i {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent-deep) 100%);
}

.scenario-list {
  padding: 0;
  list-style: none;
}

.scenario-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
}

.section-light .scenario-list li,
.section-light .allocation-row {
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
}

.section-dark .scenario-list li,
.section-dark .allocation-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.allocation-card {
  display: grid;
  gap: 1rem;
}

.allocation-row {
  align-items: center;
  padding: 0.9rem 0;
}

.contact-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 34px;
}

.contact-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

@media (max-width: 1120px) {
  .hero,
  .thesis-grid,
  .platform-grid,
  .entity-grid,
  .funding-grid,
  .traction-layout,
  .financial-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 740px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    top: 8px;
    padding: 14px;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .hero {
    min-height: 300px;
    padding-top: 64px;
  }

  .hero-grid,
  .bar-chart {
    grid-template-columns: 1fr 1fr;
  }

  .section,
  .contact-panel {
    padding: 22px;
  }

  .signal-foot,
  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-text {
    font-size: 1.1rem;
  }
}
