:root {
  --navy-950: #041929;
  --navy-900: #06263c;
  --brand-800: #044674;
  --brand-600: #446c9c;
  --steel-500: #8c949c;
  --stone-400: #b4adad;
  --mist-100: #f4f7f8;
  --paper: #ffffff;
  --ink: #112637;
  --muted: #65717b;
  --cyan: #28d8ef;
  --line: rgba(17, 38, 55, 0.12);
  --shadow: 0 24px 70px rgba(4, 25, 41, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(4, 25, 41, 0.9), rgba(4, 25, 41, 0.44) 72%, transparent);
}

.brand,
.nav-links,
.hero-proof,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 0.98rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(40, 216, 239, 0.44);
  background: rgba(40, 216, 239, 0.12);
  color: var(--paper);
  font-size: 0.78rem;
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(40, 216, 239, 0.2);
}

.nav-links {
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  color: var(--paper);
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 142px clamp(20px, 6vw, 84px) 70px;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-950);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Screen blend so cyan only ADDS light — never darkens. Over the bright
     photo on the right, the photo overpowers; over the dark navy gradient
     on the left, the constellation reads cleanly behind the headline. */
  mix-blend-mode: screen;
  opacity: 0.65;
  /* Soft mask so the constellation fades out before reaching Scott's face. */
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 40%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0) 88%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.9) 40%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0) 88%
  );
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 25, 41, 0.96) 0%, rgba(4, 25, 41, 0.88) 36%, rgba(4, 25, 41, 0.52) 68%, rgba(4, 25, 41, 0.22) 100%),
    linear-gradient(180deg, rgba(4, 25, 41, 0.1), rgba(4, 25, 41, 0.86)),
    url("./assets/scott-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 6vw, 84px);
  right: clamp(20px, 6vw, 84px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(40, 216, 239, 0.6), rgba(255, 255, 255, 0.08), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

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

.hero .eyebrow,
.final-cta .eyebrow {
  color: var(--cyan);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  font-weight: 800;
  color: var(--navy-950);
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-950);
}

.hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--navy-950);
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 18px 42px rgba(40, 216, 239, 0.18);
}

.final-cta .button-primary {
  color: var(--paper);
  background: var(--brand-800);
}

.button-secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(4, 25, 41, 0.38);
  font-size: 0.86rem;
  font-weight: 700;
}

.quote-band {
  padding: 34px clamp(20px, 6vw, 84px);
  color: var(--paper);
  background: var(--brand-800);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.quote-band blockquote {
  margin: 0;
  max-width: 900px;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.32;
  font-weight: 800;
}

.quote-band p {
  margin: 0;
  max-width: 250px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 84px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.two-column,
.managed-grid,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
}

.rich-text p,
.section-heading p,
.managed-grid p,
.final-cta p,
.faq-list p,
.pillar p,
.outcomes-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.rich-text p:first-child {
  margin-top: 0;
}

.trust-viz {
  position: relative;
  width: 100%;
  height: 320px;
  margin-top: 32px;
  display: grid;
  place-items: center;
}

.trust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.trust-handshake {
  position: relative;
  z-index: 1;
  width: 170px;
  height: 170px;
  color: var(--brand-800);
  pointer-events: none;
  /* Soft drop shadow so the sparks behind feel like they're actually
     coming from where the hands meet, not floating in front. */
  filter: drop-shadow(0 4px 14px rgba(4, 70, 116, 0.18));
}

.section-problem {
  background: var(--paper);
}

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

.section-heading {
  max-width: 870px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 820px;
}

.section-heading p {
  max-width: 740px;
}

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

.outcomes-grid article,
.fit-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(4, 25, 41, 0.06);
}

.outcomes-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brand-600);
  font-weight: 800;
}

.section-pillars {
  background: var(--paper);
}

.pillar-list {
  display: grid;
  gap: 14px;
}

.pillar {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(68, 108, 156, 0.08), rgba(255, 255, 255, 0));
}

.pillar-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  color: var(--paper);
  background: var(--brand-800);
  font-weight: 800;
}

.section-managed {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(4, 70, 116, 0.96), rgba(4, 25, 41, 0.98)),
    var(--navy-900);
}

.section-managed h2,
.section-managed h3 {
  color: var(--paper);
}

.section-managed p {
  color: rgba(255, 255, 255, 0.74);
}

.metric-panel {
  display: grid;
  gap: 12px;
}

.metric-panel[hidden] {
  display: none;
}

.metric-panel div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-panel span {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

/* --- Pipeline Visualizer ----------------------------------------------- */

.pipeline-viz {
  position: relative;
  min-height: 440px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(4, 25, 41, 0.55), rgba(4, 25, 41, 0.15));
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 70px rgba(4, 25, 41, 0.32);
}

.pipeline-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.pipeline-stages {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center;
  gap: 12px;
  margin: 0;
  padding: 24px 18px;
  list-style: none;
  pointer-events: none;
}

.pipeline-stages li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(4, 25, 41, 0.35);
  backdrop-filter: blur(6px);
}

.pipeline-stages span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pipeline-stages strong {
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .pipeline-viz {
    min-height: 460px;
  }

  .pipeline-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }
}

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

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

.fit-grid ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.fit-grid li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.fit-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-600);
}

.section-faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

summary {
  cursor: pointer;
  color: var(--navy-950);
  font-size: 1.05rem;
  font-weight: 800;
}

summary::marker {
  color: var(--brand-600);
}

.final-cta {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8)),
    url("./assets/scott-hero.png") right center / cover no-repeat;
}

.final-inner {
  max-width: 760px;
}

.final-inner h2 {
  max-width: 720px;
}

.final-inner p {
  max-width: 620px;
  margin-bottom: 28px;
}

@media (max-width: 960px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(4, 25, 41, 0.97), rgba(4, 25, 41, 0.78)),
      linear-gradient(180deg, rgba(4, 25, 41, 0.2), rgba(4, 25, 41, 0.9)),
      url("./assets/scott-hero.png") 64% center / cover no-repeat;
  }

  .quote-band,
  .two-column,
  .managed-grid,
  .faq-layout,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .quote-band p {
    max-width: none;
  }

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

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

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 112px 18px 54px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .button {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }

  .section,
  .final-cta {
    padding: 66px 18px;
  }

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

  .pillar {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .final-cta {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9)),
      url("./assets/scott-hero.png") 70% center / cover no-repeat;
  }
}
