:root {
  --navy-950: #06172c;
  --navy-900: #071f3c;
  --navy-800: #0b2c54;
  --navy-700: #123f73;
  --blue-500: #2f7bd9;
  --cyan-400: #31c5d8;
  --green-400: #4dd6a4;
  --white: #ffffff;
  --mist: #f4f8fc;
  --line: #d9e4ef;
  --ink: #102033;
  --muted: #5b6c7f;
  --shadow: 0 22px 60px rgba(6, 23, 44, 0.18);
  --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);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 228, 239, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(6, 23, 44, 0.1);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
  border-radius: var(--radius);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--navy-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--mist);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(49, 197, 216, 0.22), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 64%, #0a274b);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 56px;
  align-items: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 8vw, 5.9rem);
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-lede {
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 800;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.section-light .button-primary,
.contact .button-primary {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 40px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.hero-metrics dt {
  font-size: 1.4rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.hero-panel {
  position: relative;
  min-height: 560px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-bar,
.insight-stack article {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(6, 23, 44, 0.62);
}

.status-bar span,
.insight-stack span {
  color: rgba(255, 255, 255, 0.74);
}

.signal-map {
  position: relative;
  height: 300px;
  margin: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.signal {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 10px rgba(77, 214, 164, 0.12);
}

.signal-one {
  left: 16%;
  top: 28%;
}

.signal-two {
  right: 20%;
  top: 20%;
}

.signal-three {
  left: 44%;
  bottom: 22%;
}

.signal-four {
  right: 28%;
  bottom: 34%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 10px rgba(49, 197, 216, 0.12);
}

.insight-stack {
  display: grid;
  gap: 12px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading-inverse,
.section-heading-inverse p:not(.eyebrow) {
  color: var(--white);
}

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

.module-card,
.screenshot-card,
.pilot-steps article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.module-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 123, 217, 0.34);
  box-shadow: 0 18px 40px rgba(6, 23, 44, 0.09);
}

.module-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius);
  font-weight: 800;
}

.module-card p,
.screenshot-card p,
.pilot p,
.pilot-steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

#gallery,
.pilot,
.footer {
  color: var(--white);
  background: var(--navy-950);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.screenshot-card {
  padding: 18px;
  color: var(--ink);
}

.screenshot-card.large {
  grid-row: span 2;
}

.screenshot-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--navy-800);
  border: 1px dashed #9bb2c8;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 123, 217, 0.12), rgba(49, 197, 216, 0.1)),
    var(--mist);
  text-align: center;
  font-weight: 800;
}

.large .screenshot-placeholder {
  min-height: 500px;
}

.industry-layout,
.pilot-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

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

.industry-list span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
}

.pilot-grid {
  align-items: center;
}

.pilot h2,
.pilot p {
  color: var(--white);
}

.pilot p {
  color: rgba(255, 255, 255, 0.76);
}

.pilot-steps {
  display: grid;
  gap: 14px;
}

.pilot-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  padding: 22px;
  color: var(--ink);
}

.pilot-steps span {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: span 2;
  place-items: center;
  color: var(--white);
  background: var(--blue-500);
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--navy-900);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  box-shadow: 0 20px 48px rgba(6, 23, 44, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #c9d7e5;
  border-radius: var(--radius);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-500);
  outline: 3px solid rgba(47, 123, 217, 0.16);
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer .brand,
.footer-brand small,
.footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

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

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

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

@media (max-width: 920px) {
  .hero-grid,
  .industry-layout,
  .pilot-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 480px;
  }

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

  .screenshot-card.large {
    grid-row: auto;
  }

  .large .screenshot-placeholder {
    min-height: 300px;
  }
}

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

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 13px 8px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-actions,
  .hero-metrics,
  .industry-list {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 420px;
  }

  .signal-map {
    height: 220px;
  }

  .module-grid,
  .industry-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 3rem;
  }

  .status-bar,
  .insight-stack article {
    display: grid;
  }

  .hero-panel,
  .contact-form,
  .module-card {
    padding: 20px;
  }
}
