:root {
  color-scheme: dark;
  --ink: #f7fafc;
  --muted: #b9c4cd;
  --soft: #d8f6ff;
  --cyan: #35d6e8;
  --amber: #f4b95f;
  --green: #7bd88f;
  --navy: #081118;
  --coal: #101820;
  --panel: rgba(12, 24, 31, 0.74);
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--navy);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 68px);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header,
.hero,
.intro,
.solutions,
.band,
.proof,
.contact,
.site-footer {
  isolation: isolate;
}

.hero,
.intro,
.solutions,
.band,
.proof,
.contact,
.site-footer {
  position: relative;
}

.home-template-free-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.home-template-free-layer .dynamic-block {
  pointer-events: auto;
}

.site-header .home-template-free-layer {
  z-index: 3;
}

.site-header > .brand,
.site-header > .nav-toggle,
.site-header > .site-nav {
  position: relative;
  z-index: 2;
}

.site-header.is-scrolled,
.site-header.nav-active {
  border-color: var(--line);
  background: rgba(8, 17, 24, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.03rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(53, 214, 232, 0.42);
  background: linear-gradient(135deg, rgba(53, 214, 232, 0.18), rgba(244, 185, 95, 0.16));
  border-radius: 8px;
  color: var(--soft);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.site-nav {
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-portal {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(53, 214, 232, 0.34);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 370px);
  gap: 36px;
  padding: 146px clamp(20px, 5vw, 68px) 54px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 24, 0.96) 0%, rgba(8, 17, 24, 0.72) 42%, rgba(8, 17, 24, 0.32) 100%),
    linear-gradient(180deg, rgba(8, 17, 24, 0.18) 0%, rgba(8, 17, 24, 0.72) 100%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--cyan);
  color: #061016;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

.section {
  padding: 92px clamp(20px, 5vw, 68px);
}

.intro {
  background: #f5f8f8;
  color: #111a20;
}

.intro .section-kicker,
.proof .section-kicker {
  color: #08778a;
}

.intro-grid,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(32px, 8vw, 100px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.proof h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro p,
.proof-copy p,
.contact p {
  color: #3e4c55;
  font-size: 1.1rem;
  line-height: 1.75;
}

.solutions {
  background: #101820;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 38px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card,
.stat-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.solution-card {
  min-height: 290px;
  padding: 24px;
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid rgba(53, 214, 232, 0.34);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.83rem;
  font-weight: 800;
}

.solution-card h3,
.timeline-item h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.solution-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.62;
}

.band {
  background: #dbe8e8;
  color: #101820;
}

.process .section-kicker {
  color: #08778a;
}

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

.timeline-item {
  padding-top: 22px;
  border-top: 2px solid rgba(8, 119, 138, 0.42);
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 28px;
  color: #08778a;
  font-weight: 800;
}

.timeline-item p {
  color: #42515a;
}

.proof {
  background: #f5f8f8;
  color: #101820;
}

.proof-stats {
  display: grid;
  gap: 16px;
}

.stat-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-color: rgba(8, 119, 138, 0.18);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
}

.stat-block strong {
  color: #08778a;
  font-size: 2.35rem;
}

.stat-block span {
  color: #3e4c55;
  line-height: 1.55;
}

.contact {
  padding: 94px clamp(20px, 5vw, 68px);
  background:
    linear-gradient(135deg, rgba(53, 214, 232, 0.13), transparent 36%),
    #101820;
}

.contact-inner {
  max-width: 780px;
}

.contact p {
  color: var(--soft);
  max-width: 650px;
  margin: 22px 0 30px;
}

.dynamic-page-main {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(53, 214, 232, 0.12), transparent 34%),
    var(--navy);
}

.dynamic-page-overlay,
.dynamic-background-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dynamic-page-sections {
  position: relative;
  z-index: 1;
}

.dynamic-page-shell {
  min-height: 100vh;
  padding: 112px clamp(20px, 5vw, 68px) 64px;
}

.dynamic-home-shell {
  padding: 0;
}

.dynamic-page-canvas {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 17, 24, 0.96) 0%, rgba(8, 17, 24, 0.72) 52%, rgba(8, 17, 24, 0.44) 100%),
    linear-gradient(180deg, rgba(8, 17, 24, 0.18), rgba(8, 17, 24, 0.72)),
    url("/assets/novasynq-hero.png") center top / cover,
    #081118;
  box-shadow: var(--shadow);
}

.dynamic-home-canvas {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #081118;
}

.dynamic-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

.dynamic-section-light {
  color: var(--ink);
}

.dynamic-section-dark {
  color: #111a20;
}

.dynamic-section-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - clamp(40px, 10vw, 136px)));
  margin: 0 auto;
}

.dynamic-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.dynamic-block {
  position: absolute;
  overflow: hidden;
}

.dynamic-block-text {
  overflow-wrap: anywhere;
}

.dynamic-block-link {
  text-decoration: none;
}

.dynamic-block-image {
  margin: 0;
}

.dynamic-block-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.dynamic-block-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.dynamic-block-shape {
  pointer-events: none;
}

.dynamic-block-dropdown {
  overflow: visible;
}

.dynamic-dropdown-trigger {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.dynamic-dropdown-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 24, 0.96);
  box-shadow: var(--shadow);
}

.dynamic-block-dropdown:hover .dynamic-dropdown-menu,
.dynamic-block-dropdown:focus-within .dynamic-dropdown-menu {
  display: grid;
  gap: 6px;
}

.dynamic-dropdown-menu a,
.dynamic-dropdown-menu button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dynamic-dropdown-menu a:hover,
.dynamic-dropdown-menu button:hover {
  background: rgba(53, 214, 232, 0.14);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 68px);
  border-top: 1px solid var(--line);
  background: #081118;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 128px;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .intro-grid,
  .proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    position: relative;
    z-index: 30;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(8, 17, 24, 0.96);
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-header.nav-active .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-bottom: 36px;
  }

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

  .hero-actions,
  .button {
    width: 100%;
  }

  .solution-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 26px;
  }

  .stat-block {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .dynamic-page-canvas {
    min-height: 1200px !important;
  }

  .dynamic-section-inner {
    width: calc(100% - 40px);
  }

  .dynamic-block-text {
    font-size: clamp(0.9rem, 4vw, 1.5rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
