:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: rgba(18, 18, 18, 0.78);
  --panel-strong: #111;
  --line: rgba(255, 255, 255, 0.14);
  --line-bright: rgba(255, 255, 255, 0.32);
  --text: #f5f2eb;
  --muted: #b8b2a8;
  --soft: #ded6ca;
  --accent: #d7ff4f;
  --accent-2: #ff6b4a;
  --ink: #080808;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.9) 45%, rgba(0,0,0,.55) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 0%, rgba(215, 255, 79, 0.12), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(255, 107, 74, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8,8,8,.62), #080808 78%);
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
}

.brand.small .brand-mark {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  opacity: .84;
  transition: opacity .2s ease, color .2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.nav-cta {
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(68px, 9vw, 118px) clamp(18px, 6vw, 86px) 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  color: var(--text);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede,
.section p,
.service-card p,
.process-step p,
.proof-card p,
.founder-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lede {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover,
.service-card:hover {
  transform: translateY(-3px);
}

.primary {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 14px 40px rgba(215, 255, 79, .15);
}

.secondary {
  color: var(--text);
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, .04);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.industry-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--soft);
  background: rgba(255,255,255,.035);
  font-size: 13px;
  font-weight: 700;
}

.hero-system,
.proof-card,
.founder-card,
.contact-form {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-system {
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px);
  min-height: 540px;
  position: relative;
  overflow: hidden;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .54;
}

.system-top,
.flow,
.signal-panel {
  position: relative;
  z-index: 1;
}

.system-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 rgba(215, 255, 79, .42);
  animation: pulse 1.8s infinite;
}

.flow {
  display: grid;
  gap: 16px;
  margin: 42px 0;
}

.flow-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(8,8,8,.72);
  color: var(--soft);
  font-weight: 800;
}

.flow-node.active,
.flow-node.accent {
  color: var(--text);
  border-color: rgba(215, 255, 79, .55);
}

.flow-node.accent {
  border-color: rgba(255, 107, 74, .7);
}

.flow-line {
  width: 2px;
  height: 24px;
  margin-left: 22px;
  background: linear-gradient(var(--accent), transparent);
}

.signal-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.signal-panel div,
.result-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.045);
}

.signal-panel strong,
.result-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 26px;
}

.signal-panel span,
.result-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: 86px clamp(18px, 6vw, 86px);
}

.section.compact {
  max-width: 980px;
}

.section.compact h2,
.industries h2 {
  max-width: 900px;
}

.section.compact p {
  max-width: 860px;
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 0;
}

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

.service-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(16,16,16,.78);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.service-card:hover {
  border-color: rgba(215,255,79,.5);
  background: rgba(22,22,18,.92);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 900;
}

.service-card button {
  margin-top: auto;
  border: 0;
  color: var(--accent);
  background: transparent;
  padding: 0;
  font-weight: 800;
  cursor: pointer;
}

.proof {
  padding-top: 32px;
}

.proof-card {
  border-radius: 8px;
  padding: clamp(24px, 5vw, 54px);
}

.proof-card p {
  max-width: 900px;
  font-size: 18px;
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.proof-grid-section {
  padding-top: 20px;
}

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

.mini-proof {
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(16,16,16,.72);
}

.mini-proof span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 900;
}

.mini-proof p {
  color: var(--muted);
  line-height: 1.65;
}

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

.process-step {
  border-top: 1px solid var(--line-bright);
  padding-top: 22px;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  border-radius: 8px;
  padding: clamp(24px, 5vw, 50px);
}

.founder-photo-wrap {
  position: relative;
  width: min(220px, 100%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(215,255,79,.45);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255,255,255,.035);
  font-size: 40px;
  font-weight: 900;
}

.founder-photo:not([hidden]) + .founder-mark {
  display: none;
}

.inline-link {
  color: var(--accent);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--soft);
  font-weight: 700;
}

.contact-points a {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 18px;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--text);
  background: rgba(0,0,0,.42);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 86px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-panel {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: #101010;
  box-shadow: var(--shadow);
}

.modal-close {
  float: right;
  margin: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.modal-content {
  padding: 34px;
}

.modal-content h2 {
  margin-right: 96px;
  font-size: clamp(30px, 4vw, 48px);
}

.diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0;
}

.diagram-step {
  position: relative;
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.04);
}

.diagram-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 13px;
  height: 1px;
  background: var(--accent);
}

.diagram-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
}

.modal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--soft);
  background: rgba(0,0,0,.28);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.delay-1 {
  transition-delay: .12s;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(215, 255, 79, .45); }
  70% { box-shadow: 0 0 0 14px rgba(215, 255, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(215, 255, 79, 0); }
}

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

@media (max-width: 980px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-system {
    min-height: auto;
  }

  .service-grid,
  .proof-grid,
  .process-grid,
  .result-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .contact-copy {
    position: static;
  }

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

  .diagram-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    inset: 75px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: rgba(12,12,12,.96);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  .service-grid,
  .proof-grid,
  .process-grid,
  .result-strip,
  .signal-panel,
  .modal-list,
  .diagram {
    grid-template-columns: 1fr;
  }

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

  .founder-photo-wrap {
    width: min(100%, 280px);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-content {
    padding: 24px 18px;
  }
}
