:root {
  color-scheme: dark;
  --ink: #f3f6f4;
  --muted: #aeb9b6;
  --paper: #0d1112;
  --panel: #171d1f;
  --line: #2b3537;
  --teal: #2ab4a6;
  --teal-dark: #168f82;
  --charcoal: #080b0c;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
}

* {
  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;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  color: #ffffff;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 17, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ink);
  padding-block: 12px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  min-width: 40px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.78rem;
}

.brand-sep {
  opacity: 0.4;
  font-weight: 400;
}

.brand-product {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px 40px 92px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(
      90deg,
      rgba(8, 11, 12, 0.97) 0%,
      rgba(8, 11, 12, 0.86) 44%,
      rgba(8, 11, 12, 0.54) 80%
    ),
    url("/assets/hero-neutral-ai.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 3.85rem;
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 0;
  font-size: 2.4rem;
  line-height: 1.14;
  letter-spacing: 0;
}

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

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 32px;
  color: rgba(243, 246, 244, 0.84);
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions,
.form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(243, 246, 244, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

/* ---- generic section scaffolding ---- */

section {
  padding: 92px 40px;
}

.section-grid,
.section-head,
.timeline,
.card-grid,
.contact-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 74px;
  align-items: start;
}

.band {
  background: #0a0f10;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.prose {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 720;
}

.prose em {
  color: var(--ink);
  font-style: normal;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
}

.prose-punch {
  margin-top: 22px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.45;
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-foot {
  width: min(1160px, 100%);
  margin: 44px auto 0;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 600;
}

/* ---- flow visualization ---- */

.viz-stage {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.viz-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* region brackets */
.viz-region rect {
  fill: rgba(255, 255, 255, 0.015);
  stroke: rgba(255, 255, 255, 0.09);
  stroke-dasharray: 4 6;
}
.viz-region-label {
  fill: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* wires */
.viz-wire {
  stroke: rgba(42, 180, 166, 0.22);
  stroke-width: 1.6;
}
.viz-wire--tap {
  stroke: rgba(42, 180, 166, 0.16);
  stroke-dasharray: 3 6;
}
.viz-wire--learn {
  stroke: rgba(243, 246, 244, 0.16);
  stroke-dasharray: 3 6;
}

/* employees */
.viz-emp circle {
  fill: var(--charcoal);
  stroke: var(--teal);
  stroke-width: 1.6;
}
.viz-emp use {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* providers */
.viz-prov circle {
  fill: var(--charcoal);
  stroke: var(--muted);
  stroke-width: 1.6;
}
.viz-prov-label {
  fill: var(--ink);
  font-size: 20px;
  font-weight: 700;
}

/* gateway */
.viz-gate rect {
  stroke: var(--teal);
  stroke-width: 1.8;
}
.viz-gate-label {
  fill: var(--teal);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* store + learning node */
.viz-store path {
  fill: rgba(42, 180, 166, 0.08);
  stroke: var(--teal);
  stroke-width: 1.6;
}
.viz-store ellipse {
  fill: var(--charcoal);
  stroke: var(--teal);
  stroke-width: 1.6;
}
.viz-learn-node rect {
  fill: rgba(42, 180, 166, 0.1);
  stroke: var(--teal);
  stroke-width: 1.4;
}
.viz-node-label {
  fill: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.viz-node-label--on {
  fill: var(--ink);
}

/* animated particles */
.viz-dot {
  fill: var(--teal);
}
.viz-dot--tap {
  fill: #7fe3d8;
}
.viz-dot--learn {
  fill: #f3f6f4;
}
#viz-particles circle {
  pointer-events: none;
}

@media (max-width: 880px) {
  .viz-stage {
    padding: 16px;
  }
  .viz-region-label,
  .viz-node-label,
  .viz-gate-label {
    font-size: 17px;
  }
}

/* ---- timeline (solution) ---- */

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

.timeline-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
  background: var(--panel);
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
}

.timeline-when {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

/* ---- info cards (why now / incumbents) ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
  background: var(--panel);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.info-card .stat {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 2.6rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---- this is for you if ---- */

.foryou-grid {
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}

.fit-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  background: var(--panel);
}

.fit-card h3 {
  margin-bottom: 8px;
}

.fit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.fit-num {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 2.5rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---- team: stats + avatars ---- */

.stat-row {
  width: min(1160px, 100%);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.stat-block {
  padding-left: 20px;
  border-left: 2px solid var(--teal);
}

.stat-num {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 2.7rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
}

.avatar-row {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.avatar-item {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 132px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--teal);
}

.avatar svg {
  width: 52px;
  height: 52px;
}

.avatar-role {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

/* ---- contact ---- */

.contact-section {
  background: #090d0e;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: 64px;
  align-items: start;
}

.contact-intro p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.checklist {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 680;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #151719;
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
textarea:focus {
  border-color: #79dfd1;
  box-shadow: 0 0 0 3px rgba(121, 223, 209, 0.2);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #89eadf;
}

.form-status.is-error {
  color: #ffb49f;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  background: #0a0e0f;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 760;
  color: var(--ink);
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 980px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .site-header {
    padding: 14px 22px;
  }

  .brand-name {
    display: none;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 84vh;
    padding: 120px 22px 64px;
    background:
      linear-gradient(
        180deg,
        rgba(8, 11, 12, 0.95) 0%,
        rgba(8, 11, 12, 0.88) 50%,
        rgba(8, 11, 12, 0.66) 100%
      ),
      url("/assets/hero-neutral-ai.jpg") center right / cover no-repeat;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  section {
    padding: 64px 22px;
  }

  .section-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .avatar-row {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 88vh;
    padding-top: 156px;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.7rem;
  }

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

  .hero-actions,
  .form-footer,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 20px;
  }
}

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