:root {
  --navy: #062b55;
  --navy-2: #083b72;
  --blue: #0f7fc4;
  --cyan: #2fc7df;
  --ice: #eff8fc;
  --white: #ffffff;
  --ink: #102133;
  --muted: #5b6f82;
  --line: rgba(13, 64, 112, 0.13);
  --shadow: 0 18px 45px rgba(5, 34, 64, 0.12);
  --shadow-soft: 0 12px 30px rgba(5, 34, 64, 0.08);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(8, 59, 114, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(5, 34, 64, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 38%, var(--cyan) 0 17%, transparent 18%),
    linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 8px 20px rgba(15, 127, 196, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  color: #29465f;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 12px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: rgba(47, 199, 223, 0.14);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-light {
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(47, 199, 223, 0.2), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f3fbff 42%, #e9f7fe 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wave {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 160px;
  border: 1px solid rgba(15, 127, 196, 0.18);
  border-color: rgba(15, 127, 196, 0.18) transparent transparent;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.wave-one {
  top: 18%;
}

.wave-two {
  bottom: 12%;
  transform: rotate(3deg);
}

.hero-grid,
.split-grid,
.demo-grid,
.contact-grid,
.evidence-layout {
  display: grid;
  align-items: center;
  gap: 56px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.hero-copy,
.section-copy,
.section-heading {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
}

.eyebrow.light {
  color: #bff5ff;
}

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

h1 {
  color: var(--navy);
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h3 {
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: var(--blue);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
}

.hero-text,
.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 13px 22px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 30px rgba(15, 127, 196, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 38px rgba(15, 127, 196, 0.34);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 28px rgba(5, 34, 64, 0.08);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.signal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-badges span {
  border: 1px solid rgba(15, 127, 196, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #29465f;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 12px;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.monitor-card,
.contact-card,
.lead-form,
.feature-card,
.differential-card,
.application-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.monitor-card {
  padding: 18px;
  box-shadow: var(--shadow);
}

.monitor-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.live-dot {
  position: relative;
  color: #0b8b9e;
  padding-left: 16px;
}

.live-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(47, 199, 223, 0.18);
  transform: translateY(-50%);
}

.image-frame {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 43, 85, 0.95), rgba(15, 127, 196, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
}

.image-frame-hero {
  min-height: 390px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-frame img.is-missing {
  display: none;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.84);
  padding: 28px;
  text-align: center;
}

.fallback-device {
  width: min(220px, 58%);
  aspect-ratio: 0.68;
  border: 10px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(47, 199, 223, 0.35), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 26px 50px rgba(0, 0, 0, 0.2);
}

.fallback-line {
  position: absolute;
  bottom: 92px;
  width: 62%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.fallback-line.short {
  bottom: 72px;
  width: 38%;
}

.image-fallback.catalog {
  align-content: center;
  gap: 4px;
  text-transform: uppercase;
}

.image-fallback.catalog span {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 800;
}

.image-fallback.catalog strong {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1;
}

.image-fallback.catalog small {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.vital-strip {
  padding-top: 16px;
}

.vital-strip svg {
  width: 100%;
  height: 90px;
  border-radius: var(--radius);
  background: #f4fbfe;
}

.vital-strip path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 720;
  animation: drawLine 4s ease-in-out infinite;
}

.feature-grid,
.application-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}

.feature-card {
  min-height: 210px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.differential-card:hover,
.application-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card p,
.differential-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(47, 199, 223, 0.25), rgba(15, 127, 196, 0.15)),
    var(--ice);
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.icon.wave-icon::after,
.icon.pulse::after {
  inset: 19px 8px auto;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: var(--blue);
  box-shadow: 8px -8px 0 -1px var(--cyan), 16px 7px 0 -1px var(--blue);
}

.icon.nodes::after {
  box-shadow: -8px 8px 0 -1px var(--cyan), 8px -8px 0 -1px var(--cyan);
}

.icon.score::after {
  border-radius: 3px;
  transform: rotate(45deg);
}

.icon.chart::after {
  inset: auto 10px 10px;
  width: 5px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 9px -8px 0 var(--cyan), 18px -3px 0 var(--blue);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.differential-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.differential-card {
  min-height: 390px;
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.differential-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 199, 223, 0.4), transparent 32%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
}

.differential-card.featured h3,
.differential-card.featured p {
  color: var(--white);
}

.card-number {
  display: inline-flex;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-blue,
.section-demo {
  color: var(--white);
  background:
    radial-gradient(circle at 22% 20%, rgba(47, 199, 223, 0.24), transparent 28%),
    linear-gradient(140deg, var(--navy), #052345 72%);
}

.section-blue h2,
.section-blue h3,
.section-demo h2 {
  color: var(--white);
}

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

.timeline::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 199, 223, 0.78), transparent);
}

.timeline article {
  position: relative;
  padding: 74px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.timeline span {
  position: absolute;
  top: 18px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 5px 10px;
}

.timeline p,
.protocol-note,
.section-demo p {
  color: rgba(255, 255, 255, 0.78);
}

.protocol-note {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

.application-grid {
  grid-template-columns: repeat(4, 1fr);
}

.application-card {
  display: flex;
  align-items: center;
  min-height: 126px;
  color: var(--navy);
  font-weight: 800;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.evidence-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.callout {
  display: inline-flex;
  border-left: 3px solid var(--cyan);
  color: var(--navy);
  margin-top: 14px;
  padding-left: 16px;
}

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

.evidence-grid span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f5fbfe);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-weight: 800;
  padding: 24px;
}

.demo-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.lead-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  padding: 28px;
  background: rgba(255, 255, 255, 0.97);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.full,
.lead-form .full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(8, 59, 114, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: 0;
  transition: border 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 199, 223, 0.16);
}

textarea {
  resize: vertical;
}

.form-status {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.contact-grid {
  grid-template-columns: 1fr 0.8fr;
}

.contact-card {
  padding: 30px;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.contact-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 4px 0 0;
}

dd a {
  color: var(--blue);
}

.site-footer {
  background: #041e3b;
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.45fr 1fr;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

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

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

@keyframes drawLine {
  0% {
    stroke-dashoffset: 720;
  }
  45%,
  100% {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1024px) {
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-grid,
  .split-grid,
  .demo-grid,
  .contact-grid,
  .evidence-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .differential-grid,
  .timeline,
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 42px);
  }

  h1 {
    font-size: clamp(2.35rem, 16vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

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

  .signal-badges span {
    flex: 1 1 150px;
    text-align: center;
  }

  .feature-grid,
  .differential-grid,
  .timeline,
  .application-grid,
  .evidence-grid,
  .lead-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .image-frame,
  .image-frame-hero {
    min-height: 290px;
  }

  .timeline::before {
    display: none;
  }

  .application-card,
  .feature-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
