:root {
  --navy: #0b1a3a;
  --navy-deep: #061028;
  --navy-soft: #1a2d55;
  --cyan: #2ec4b6;
  --cyan-bright: #3de0d0;
  --cyan-glow: rgba(46, 196, 182, 0.35);
  --ink: #0f172a;
  --muted: #5b657a;
  --line: rgba(11, 26, 58, 0.12);
  --surface: #f4f6f9;
  --white: #fbfcfe;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(46, 196, 182, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(11, 26, 58, 0.06), transparent 50%),
    linear-gradient(180deg, #eef2f7 0%, var(--surface) 35%, #e8edf4 100%);
}

.circuit-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(11, 26, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 26, 58, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(244, 246, 249, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 252, 254, 0.9);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.header-logo {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.wordmark-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.wordmark-name span {
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--navy-soft);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--navy);
  margin-inline: auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.25rem, 4vh, 2.5rem) 0 clamp(2.5rem, 6vh, 3.5rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -55%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow), transparent 68%);
  filter: blur(8px);
  animation: pulse-glow 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(96vw, 720px);
  margin: 0 auto 0.5rem;
  animation: logo-rise 1.1s var(--ease) both;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0 clamp(1.25rem, 4vw, 3rem) 0.85rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  animation: fade-up 0.9s var(--ease) 0.2s both;
}

.hero-lede {
  position: relative;
  z-index: 1;
  margin: 0 clamp(1.25rem, 4vw, 3rem) 1.75rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--muted);
  animation: fade-up 0.9s var(--ease) 0.35s both;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  animation: fade-up 0.9s var(--ease) 0.5s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #1aa89c 100%);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(46, 196, 182, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(46, 196, 182, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(11, 26, 58, 0.22);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(11, 26, 58, 0.04);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 1rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-copy {
  margin: 0;
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.section-copy em {
  font-style: normal;
  color: var(--navy-soft);
  font-weight: 500;
}

/* Audience */
.audience-list {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.audience-item {
  padding: 1.75rem 1.5rem 0.5rem 0;
  border-right: 1px solid var(--line);
}

.audience-item:last-child {
  border-right: none;
  padding-right: 0;
}

.audience-item:not(:first-child) {
  padding-left: 1.75rem;
}

.audience-item h3,
.cap h3,
.compare-col h3,
.value-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.audience-item p,
.cap p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Pain points */
.pain-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.pain-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) 1fr;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.pain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.pain-list strong {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.01em;
}

.result-line {
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-soft);
}

/* Feature strip */
.feature-strip {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-item {
  padding: 1.5rem 1.25rem 0.25rem 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:not(:first-child) {
  padding-left: 1.25rem;
}

.feature-item strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
}

.feature-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.tagline {
  margin: 2.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* Flow steps */
.flow-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: flow;
  border-top: 1px solid var(--line);
}

.flow-steps li {
  counter-increment: flow;
  padding: 1.5rem 1.25rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

.flow-steps li:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

.flow-steps li:nth-child(3n + 1) {
  padding-left: 0;
}

.flow-steps li:not(:nth-child(3n + 1)) {
  padding-left: 1.25rem;
}

.flow-steps li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.flow-steps strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.1rem;
}

.flow-steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Capabilities */
.cap-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.cap {
  padding: 1.75rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.cap:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

.cap:not(:nth-child(3n + 1)) {
  padding-left: 1.5rem;
}

/* Compare */
.compare-table {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.compare-col {
  padding: 1.75rem 0;
}

.compare-col.before {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.compare-col.after {
  padding-left: 2rem;
}

.compare-col ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.compare-col li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.compare-col.after li {
  color: var(--navy-soft);
}

/* Security */
.security-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}

.security-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.05rem;
  padding-left: 1.5rem;
  position: relative;
}

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
}

.security-list li:last-child {
  border-bottom: 1px solid var(--line);
}

/* Value */
.value-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.plain-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.plain-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

/* Pilot / contact */
.pilot {
  padding-bottom: clamp(5rem, 12vh, 8rem);
}

.contact-panel {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 80% 80% at 90% 10%, rgba(46, 196, 182, 0.18), transparent 50%),
    linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel .eyebrow {
  color: var(--cyan-bright);
}

.contact-panel .section-title {
  color: #fff;
  max-width: 16ch;
}

.contact-panel .section-copy {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
}

.pilot-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
}

.pilot-steps li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.pilot-steps strong {
  display: block;
  font-family: var(--font-display);
  color: var(--cyan-bright);
  margin-bottom: 0.15rem;
}

.pilot-outcome {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  max-width: 36rem;
}

.contact-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.contact-panel .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 2.25rem;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer > p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

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

/* Animations */
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -55%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -55%) scale(1.08);
  }
}

@keyframes logo-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .audience-list,
  .feature-strip,
  .cap-grid,
  .flow-steps,
  .compare-table,
  .value-grid,
  .pilot-steps {
    grid-template-columns: 1fr;
  }

  .audience-item,
  .audience-item:not(:first-child),
  .feature-item,
  .feature-item:not(:first-child),
  .cap,
  .cap:not(:nth-child(3n + 1)),
  .flow-steps li,
  .flow-steps li:not(:nth-child(3n + 1)) {
    padding: 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .audience-item:last-child,
  .feature-item:last-child {
    border-bottom: none;
  }

  .compare-col.before,
  .compare-col.after {
    padding: 1.5rem 0;
    border-right: none;
  }

  .compare-col.before {
    border-bottom: 1px solid var(--line);
  }

  .pain-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(251, 252, 254, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none !important;
  }

  .hero-logo {
    width: min(100vw, 480px);
  }

  .hero-title {
    max-width: 14ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-glow,
  .hero-logo,
  .hero-title,
  .hero-lede,
  .hero-actions {
    animation: none;
  }

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