:root {
  --ink: #061116;
  --graphite: #071116;
  --graphite-2: #0b1b22;
  --graphite-3: #102931;
  --paper: #f5fbfc;
  --paper-2: #eaf5f6;
  --line: rgba(114, 243, 255, 0.18);
  --line-dark: rgba(6, 17, 22, 0.12);
  --teal: #28d8d8;
  --cyan: #7cf2ff;
  --blue: #4aa3ff;
  --green: #62f29a;
  --amber: #ffbc4a;
  --text-soft: #b9ccd1;
  --text-muted: #5e737a;
  --white: #f7fdff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 16, 22, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(40, 216, 216, 0.32);
}

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

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

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--amber));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 16px auto -88px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(124, 242, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 17, 22, 0.78);
  color: var(--white);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  transition:
    height 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.site-header.is-compact {
  height: 62px;
  border-color: rgba(124, 242, 255, 0.3);
  background: rgba(7, 17, 22, 0.9);
}

.brand,
.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img,
.site-footer img {
  width: 38px;
  height: 38px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.main-nav a,
.site-footer a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-action {
  border: 1px solid rgba(124, 242, 255, 0.35);
  color: var(--cyan);
}

.section-dark,
.section-light {
  position: relative;
  overflow: hidden;
}

.section-dark {
  background:
    linear-gradient(rgba(124, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 242, 255, 0.05) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 20%, rgba(40, 216, 216, 0.16), transparent 40%),
    linear-gradient(140deg, #071116 0%, #09202a 52%, #061116 100%);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto;
  color: var(--white);
}

.section-light {
  background:
    linear-gradient(rgba(6, 17, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 17, 22, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper), #ffffff);
  background-size:
    46px 46px,
    46px 46px,
    auto;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 0 16%, rgba(124, 242, 255, 0.1) 16% 16.2%, transparent 16.2% 100%),
    linear-gradient(128deg, transparent 0 56%, rgba(255, 188, 74, 0.11) 56% 56.2%, transparent 56.2% 100%);
  opacity: 0.65;
  animation: gridShift 12s linear infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 54px;
  padding: 136px max(24px, calc((100vw - 1180px) / 2)) 76px;
}

.hero-copy,
.hero-visual,
.intro-band > *,
.section-heading,
.cockpit > *,
.parent-band > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.product-label,
.card-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-logo {
  width: 320px;
  margin: 24px 0 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

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

h1 {
  margin-bottom: 12px;
  font-size: 5.2rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.36rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-promise {
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 2.08rem;
  font-weight: 850;
  line-height: 1.08;
}

.hero-text,
.section-heading p,
.cockpit-text p,
.parent-panel p {
  max-width: 690px;
  color: var(--text-soft);
  font-size: 1.13rem;
  line-height: 1.7;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #061116;
  box-shadow: 0 18px 45px rgba(40, 216, 216, 0.28);
}

.button-secondary {
  border: 1px solid rgba(124, 242, 255, 0.32);
  color: var(--white);
}

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

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0;
}

.signal-row div,
.feature-card,
.product-card,
.step,
.capability,
.parent-signals div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.signal-row div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.signal-row dt,
.parent-signals span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.signal-row dd {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 850;
}

.dashboard-shell {
  position: relative;
  min-height: 640px;
  padding: 24px;
  border: 1px solid rgba(124, 242, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(16, 41, 49, 0.78), rgba(7, 17, 22, 0.84)),
    linear-gradient(90deg, rgba(124, 242, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 30px 30px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(40, 216, 216, 0.14);
  border-radius: var(--radius);
}

.dash-top,
.score-card,
.chart-card,
.task-card,
.mini-panel {
  border: 1px solid rgba(124, 242, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 15, 20, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.status-dot {
  color: var(--green);
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(98, 242, 154, 0.8);
}

.score-card {
  display: grid;
  grid-template-columns: 1fr 128px;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 24px;
}

.score-card strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 4.4rem;
  line-height: 1;
}

.score-card strong::after {
  content: "%";
  color: var(--cyan);
  font-size: 2rem;
}

.donut {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #071116 0 47%, transparent 48%),
    conic-gradient(var(--cyan) 0 310deg, rgba(124, 242, 255, 0.13) 310deg 360deg);
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.donut span {
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(124, 242, 255, 0.4);
  border-radius: 50%;
}

.chart-card,
.task-card {
  margin-top: 18px;
  padding: 22px;
}

.bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 132px;
  margin-top: 18px;
}

.bars i {
  display: block;
  height: var(--h);
  min-height: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(40, 216, 216, 0.12));
  animation: barRise 900ms ease both;
}

.bars i:nth-child(2) {
  animation-delay: 120ms;
}

.bars i:nth-child(3) {
  animation-delay: 240ms;
}

.bars i:nth-child(4) {
  animation-delay: 360ms;
}

.bars i:nth-child(5) {
  background: linear-gradient(180deg, var(--amber), rgba(255, 188, 74, 0.12));
  animation-delay: 480ms;
}

.task-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.task-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
}

.task-card li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.mini-panel {
  position: absolute;
  right: 24px;
  width: 260px;
  padding: 18px;
}

.mini-panel b {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.4rem;
}

.mini-panel span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.panel-a {
  top: 260px;
  transform: translateX(36px);
}

.panel-b {
  bottom: 30px;
  transform: translateX(10px);
}

.intro-band,
.products,
.workflow,
.cockpit,
.capability-section,
.parent-band,
.pathways {
  padding: 84px max(24px, calc((100vw - 1180px) / 2));
}

.intro-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.intro-copy h2,
.section-light h2 {
  color: var(--ink);
}

.intro-copy .section-kicker,
.section-light .section-kicker {
  color: #078c9a;
}

.intro-cards,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.capability {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line-dark);
  box-shadow: 0 16px 42px rgba(6, 17, 22, 0.08);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: #078c9a;
  font-weight: 850;
}

.feature-card p,
.capability p,
.step p,
.product-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.62;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-dark .section-heading p,
.section-dark .product-card p,
.section-dark .step p {
  color: var(--text-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.product-card {
  min-height: 330px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.product-card:hover,
.feature-card:hover,
.capability:hover,
.step:hover {
  transform: translateY(-4px);
}

.product-primary {
  background:
    linear-gradient(135deg, rgba(40, 216, 216, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.product-card h3 {
  margin-top: 18px;
  font-size: 2.6rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li,
.exam-pill {
  border: 1px solid rgba(124, 242, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(124, 242, 255, 0.1);
  color: var(--cyan);
  font-weight: 800;
}

.chip-list li {
  padding: 10px 12px;
  font-size: 0.92rem;
}

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

.step {
  min-height: 250px;
  padding: 24px;
  border-color: var(--line-dark);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(6, 17, 22, 0.08);
}

.step span {
  display: inline-flex;
  margin-bottom: 64px;
  color: #078c9a;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cockpit {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 44px;
  align-items: center;
}

.image-frame {
  padding: 10px;
  border: 1px solid rgba(124, 242, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.image-frame img {
  border-radius: calc(var(--radius) - 2px);
}

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

.parent-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: stretch;
}

.parent-panel,
.parent-signals {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.parent-panel {
  padding: 34px;
}

.parent-signals {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.parent-signals div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(7, 17, 22, 0.55);
}

.parent-signals strong {
  color: var(--cyan);
}

.exam-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.exam-pill {
  padding: 16px 22px;
  border-color: rgba(6, 17, 22, 0.12);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(6, 17, 22, 0.07);
}

.exam-pill.primary {
  border-color: rgba(40, 216, 216, 0.34);
  background: linear-gradient(135deg, rgba(40, 216, 216, 0.18), #ffffff);
  color: #067784;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  background: #040b0f;
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
}

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

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

@keyframes gridShift {
  from {
    background-position:
      0 0,
      0 0;
  }
  to {
    background-position:
      42px 0,
      -42px 0;
  }
}

@keyframes barRise {
  from {
    height: 12px;
    opacity: 0.2;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(124, 242, 255, 0);
  }
  50% {
    box-shadow: 0 0 42px rgba(124, 242, 255, 0.28);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    height: auto;
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .intro-band,
  .product-grid,
  .workflow-track,
  .cockpit,
  .capability-grid,
  .parent-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 124px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .dashboard-shell {
    min-height: 590px;
  }

  .mini-panel {
    position: static;
    width: auto;
    margin-top: 18px;
    transform: none;
  }

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

  .workflow-track {
    gap: 12px;
  }

  .step {
    min-height: 0;
  }

  .step span {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 10px 12px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero,
  .intro-band,
  .products,
  .workflow,
  .cockpit,
  .capability-section,
  .parent-band,
  .pathways {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-logo {
    width: 250px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-promise {
    font-size: 1.68rem;
  }

  .hero-text,
  .section-heading p,
  .cockpit-text p,
  .parent-panel p {
    font-size: 1rem;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    min-height: 0;
    padding: 16px;
  }

  .score-card {
    grid-template-columns: 1fr;
  }

  .score-card strong {
    font-size: 3.4rem;
  }

  .donut {
    width: 108px;
    height: 108px;
  }

  .product-card,
  .parent-panel {
    padding: 24px;
  }

  .product-card h3 {
    font-size: 2rem;
  }

  .parent-signals div {
    display: grid;
    gap: 8px;
  }

  .site-footer {
    gap: 14px;
  }
}

@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;
  }
}
