:root {
  color: #24123f;
  background: #efefef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: #24123f;
  background:
    radial-gradient(circle at 18% 8%, rgba(214, 163, 58, 0.18), transparent 26%),
    linear-gradient(180deg, #efefef 0%, #f4efff 46%, #efefef 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.np-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.np-top {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(36, 18, 63, 0.62), rgba(36, 18, 63, 0.14)),
    url("/nodo/site-assets/hero-team.jpg") center 38% / cover no-repeat;
}

.np-top__inner {
  display: flex;
  width: min(1216px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.np-brand small {
  display: block;
  color: #f5d889;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.np-brand strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 0.94;
}

.np-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.np-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.np-nav a[aria-current="page"],
.np-nav a:hover {
  border-color: #d6a33a;
  background: #d6a33a;
  color: #1f1234;
}

.np-hero,
.np-section,
.np-final {
  width: min(1216px, calc(100% - 40px));
  margin: 28px auto 0;
}

.np-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 20px;
  align-items: stretch;
}

.np-panel,
.np-card,
.np-final {
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 70px rgba(36, 18, 63, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(28px) saturate(1.18);
  -webkit-backdrop-filter: blur(28px) saturate(1.18);
}

.np-panel {
  padding: clamp(24px, 5vw, 56px);
}

.np-kicker,
.np-card span {
  display: inline-flex;
  margin: 0 0 18px;
  border-radius: 999px;
  background: rgba(214, 163, 58, 0.13);
  padding: 7px 12px;
  color: #7c5916;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  overflow-wrap: anywhere;
  color: #24123f;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 850px;
  color: #24123f;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: #24123f;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

p,
li {
  color: #655a72;
  font-size: 1.03rem;
  line-height: 1.72;
}

.np-panel > p {
  max-width: 780px;
  margin-top: 22px;
}

.np-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.np-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 18, 63, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 780;
}

.np-btn--gold {
  background: #d6a33a;
  color: #1f1234;
  box-shadow: 0 14px 34px rgba(214, 163, 58, 0.28);
}

.np-btn--light {
  background: rgba(255, 255, 255, 0.72);
  color: #24123f;
}

.np-side {
  display: grid;
  align-content: end;
  padding: 22px;
}

.np-side strong {
  display: block;
  color: #24123f;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.04;
}

.np-side ul,
.np-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.np-side li,
.np-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
}

.np-side li::before,
.np-list li::before {
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: #d6a33a;
  content: "";
}

.np-section {
  padding: clamp(34px, 6vw, 82px) 0 0;
}

.np-section__head p {
  max-width: 820px;
  margin-top: 18px;
}

.np-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.np-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.np-card {
  min-height: 230px;
  padding: 24px;
}

.np-card p {
  margin-top: 16px;
}

.np-image-card {
  overflow: hidden;
  padding: 0;
}

.np-image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.np-image-card div {
  padding: 22px;
}

.np-final {
  display: flex;
  margin-bottom: 46px;
  padding: clamp(24px, 4vw, 44px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.np-final h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
}

.np-footer {
  width: min(1216px, calc(100% - 40px));
  margin: 0 auto 34px;
  color: #655a72;
  font-size: 13px;
}

.np-footer a {
  color: #7c5916;
  font-weight: 760;
}

@media (max-width: 980px) {
  .np-top__inner,
  .np-final {
    align-items: flex-start;
    flex-direction: column;
  }

  .np-nav {
    justify-content: flex-start;
  }

  .np-hero,
  .np-grid,
  .np-grid--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .np-top,
  .np-hero,
  .np-section,
  .np-final,
  .np-footer {
    width: calc(100% - 24px);
  }

  .np-top {
    min-height: auto;
    margin: 12px auto 0;
    border-radius: 8px;
  }

  .np-top__inner,
  .np-panel,
  .np-card,
  .np-side {
    padding: 20px;
  }

  .np-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }
}

/* Shared Lavori24 theme, used by the React app and every static Nodo page. */
:root {
  --np-page: #efefef;
  --np-page-soft: #f4efff;
  --np-ink: #24123f;
  --np-muted: #655a72;
  --np-card: rgba(255, 255, 255, 0.62);
  --np-card-strong: rgba(255, 255, 255, 0.88);
  --np-border: rgba(255, 255, 255, 0.64);
  --np-line: rgba(36, 18, 63, 0.12);
  --np-gold: #d6a33a;
  --np-gold-hi: #f2c85e;
  --np-gold-deep: #7c5916;
  --np-purple: #7b3ff2;
  --np-dark: #160b27;
  --np-shadow: 0 18px 70px rgba(36, 18, 63, 0.12);
}

html[data-suite-theme="dark"] {
  --np-page: #0c0714;
  --np-page-soft: #171024;
  --np-ink: #f8f4ff;
  --np-muted: rgba(245, 239, 255, 0.74);
  --np-card: rgba(26, 16, 42, 0.72);
  --np-card-strong: rgba(26, 16, 42, 0.9);
  --np-border: rgba(255, 255, 255, 0.12);
  --np-line: rgba(255, 255, 255, 0.12);
  --np-gold: #d6a33a;
  --np-gold-hi: #f4d47a;
  --np-gold-deep: #f4d47a;
  --np-purple: #a98cff;
  --np-dark: #f8f4ff;
  --np-shadow: 0 24px 86px rgba(0, 0, 0, 0.44);
}

html[data-suite-theme],
body[data-suite-theme] {
  min-height: 100%;
  background: var(--np-page);
  color: var(--np-ink);
}

body[data-suite-theme] {
  background:
    radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--np-gold) 22%, transparent), transparent 26%),
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--np-purple) 18%, transparent), transparent 32%),
    linear-gradient(180deg, var(--np-page) 0%, var(--np-page-soft) 46%, var(--np-page) 100%);
}

body[data-suite-theme] .np-top {
  color: var(--np-ink);
  background:
    radial-gradient(circle at 16% 18%, color-mix(in srgb, var(--np-gold) 28%, transparent), transparent 26%),
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--np-purple) 24%, transparent), transparent 34%),
    linear-gradient(135deg, var(--np-card-strong), color-mix(in srgb, var(--np-page-soft) 72%, transparent));
  border: 1px solid var(--np-border);
  box-shadow: var(--np-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
}

body[data-suite-theme] .np-brand small,
body[data-suite-theme] .np-kicker,
body[data-suite-theme] .np-card span {
  color: var(--np-gold-deep);
}

body[data-suite-theme] .np-brand strong,
body[data-suite-theme] h1,
body[data-suite-theme] h2,
body[data-suite-theme] h3,
body[data-suite-theme] .np-side strong {
  color: var(--np-ink);
}

body[data-suite-theme] p,
body[data-suite-theme] li,
body[data-suite-theme] .np-footer {
  color: var(--np-muted);
}

body[data-suite-theme] .np-nav a,
body[data-suite-theme] .np-btn--light,
body[data-suite-theme] .np-theme-toggle {
  border-color: var(--np-line);
  background: color-mix(in srgb, var(--np-card-strong) 72%, transparent);
  color: var(--np-ink);
}

body[data-suite-theme] .np-nav a[aria-current="page"],
body[data-suite-theme] .np-nav a:hover,
body[data-suite-theme] .np-btn--gold {
  border-color: var(--np-gold);
  background: var(--np-gold);
  color: #1f1234;
}

body[data-suite-theme] .np-panel,
body[data-suite-theme] .np-card,
body[data-suite-theme] .np-final {
  border-color: var(--np-border);
  background: var(--np-card);
  box-shadow: var(--np-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

body[data-suite-theme] .np-kicker,
body[data-suite-theme] .np-card span {
  background: color-mix(in srgb, var(--np-gold) 14%, transparent);
}

body[data-suite-theme] .np-side li::before,
body[data-suite-theme] .np-list li::before {
  background: var(--np-gold);
}

body[data-suite-theme] .np-footer a {
  color: var(--np-gold-deep);
}

.np-theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--np-line);
  border-radius: 999px;
  padding: 0 13px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.np-theme-toggle__orb {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--np-dark);
  color: var(--np-page);
  font-size: 10px;
  line-height: 1;
}

.np-theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--np-gold) 55%, transparent);
  outline-offset: 3px;
}

.np-copyright-line {
  margin-top: 12px;
  border-top: 1px solid var(--np-line);
  padding-top: 12px;
  color: var(--np-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .np-theme-toggle {
    min-height: 42px;
  }
}

@media (max-width: 560px) {
  .np-theme-toggle {
    width: 100%;
  }
}
