:root {
  --ink: #151515;
  --ink-soft: #303032;
  --paper: #f6f7f2;
  --paper-2: #ecefe7;
  --line: rgba(21, 21, 21, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #626463;
  --lime: #c8ff4d;
  --mint: #5ee5b7;
  --coral: #ff715b;
  --blue: #4d83ff;
  --yellow: #ffd166;
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

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

body.is-loading {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #101011;
  color: #f7f8f2;
  transition:
    opacity 500ms ease,
    visibility 500ms ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 76px;
  height: 76px;
  position: relative;
}

.loader-mark::before,
.loader-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.loader-mark::before {
  animation: loaderSpin 1.4s linear infinite;
  border-top-color: var(--lime);
}

.loader-mark::after {
  inset: 14px;
  animation: loaderSpin 1.1s linear infinite reverse;
  border-right-color: var(--coral);
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 18px 24px;
  color: #fff;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    padding 240ms ease;
}

.nav.is-scrolled {
  padding: 12px 24px;
  background: rgba(246, 247, 242, 0.88);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #101011;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  opacity: 0.82;
  transition: opacity 180ms ease;
}

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

.nav-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.nav-action svg {
  width: 16px;
  height: 16px;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #101011;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(16, 16, 17, 0.98) 0%,
      rgba(16, 16, 17, 0.82) 36%,
      rgba(16, 16, 17, 0.22) 78%,
      rgba(16, 16, 17, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(16, 16, 17, 0.88) 0%, rgba(16, 16, 17, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 170px 24px 48px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 72px;
}

.hero-main {
  width: min(780px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--lime);
  box-shadow:
    18px 0 0 var(--coral),
    36px 0 0 var(--blue);
}

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

h1 {
  margin-top: 28px;
  font-size: 76px;
  line-height: 0.94;
  font-weight: 900;
  max-width: 760px;
}

.hero-lede {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
  line-height: 1.55;
  max-width: 690px;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 850;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--lime);
  color: #101011;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.proof-item {
  min-height: 108px;
  padding: 20px 18px;
  border-right: 1px solid var(--line-dark);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-kpi {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.proof-label {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}

section {
  position: relative;
}

.section {
  padding: 112px 24px;
}

.section.tight {
  padding: 88px 24px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 52px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.section-kicker svg {
  width: 16px;
  height: 16px;
  color: var(--coral);
}

h2 {
  margin-top: 16px;
  font-size: 50px;
  line-height: 1;
  font-weight: 900;
  max-width: 650px;
}

.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 620px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
}

.problem-card {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.problem-card:last-child {
  border-right: 0;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #151515;
  color: #fff;
}

.card-icon.mint {
  background: #114438;
  color: var(--mint);
}

.card-icon.coral {
  background: #4d1913;
  color: var(--coral);
}

.card-icon.blue {
  background: #142553;
  color: var(--blue);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.problem-card h3 {
  margin-top: 42px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.problem-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.dark-band {
  background: #151515;
  color: #fff;
  overflow: hidden;
}

.dark-band .section-copy,
.dark-band .section-kicker {
  color: rgba(255, 255, 255, 0.66);
}

.dark-band .section-kicker svg {
  color: var(--lime);
}

.compiler-stage {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: stretch;
}

.trace-panel {
  position: sticky;
  top: 92px;
  min-height: 520px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 18px;
  background: #0f0f10;
  overflow: hidden;
}

.trace-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.trace-dots {
  display: flex;
  gap: 7px;
}

.trace-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--lime);
}

.trace-dots span:nth-child(2) {
  background: var(--yellow);
}

.trace-dots span:nth-child(3) {
  background: var(--coral);
}

.trace-flow {
  position: relative;
  padding: 26px 0 0;
}

.trace-line {
  position: absolute;
  left: 21px;
  top: 38px;
  bottom: 24px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.trace-node {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 10px 0;
}

.node-dot {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #202022;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--lime);
  z-index: 1;
}

.node-dot svg {
  width: 18px;
  height: 18px;
}

.node-title {
  font-size: 14px;
  font-weight: 850;
}

.node-meta {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.node-cost {
  min-width: 78px;
  text-align: right;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 850;
}

.flow-steps {
  display: grid;
  gap: 14px;
}

.flow-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.step-number {
  height: 56px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #101011;
  font-weight: 950;
  font-size: 18px;
}

.flow-step h3 {
  font-size: 23px;
  font-weight: 900;
}

.flow-step p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
}

.output-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.code-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101011;
  color: #f5f6ef;
  overflow: hidden;
  min-height: 470px;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 750;
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  font:
    13px/1.75 "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
}

.token-lime {
  color: var(--lime);
}

.token-coral {
  color: var(--coral);
}

.token-blue {
  color: #8fb0ff;
}

.deliverables {
  display: grid;
  gap: 12px;
}

.deliverable {
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
}

.deliverable svg {
  width: 22px;
  height: 22px;
}

.deliverable-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #151515;
  color: var(--lime);
}

.deliverable h3 {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.deliverable p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.security-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.security-item {
  min-height: 230px;
  padding: 26px;
  background: var(--paper);
}

.security-item h3 {
  margin-top: 34px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
}

.security-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.metric-band {
  padding: 46px 24px;
  background: var(--ink);
  color: #fff;
}

.metric-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric {
  min-height: 154px;
  padding: 26px;
  background: #151515;
}

.metric strong {
  display: block;
  font-size: 40px;
  line-height: 1;
  font-weight: 950;
}

.metric span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.integration {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.36);
  text-align: center;
}

.integration:nth-child(6n) {
  border-right: 0;
}

.integration:nth-last-child(-n + 6) {
  border-bottom: 0;
}

.cta {
  padding: 96px 24px;
  background: #f6f7f2;
}

.cta-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151515;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--lime),
    var(--coral),
    var(--blue),
    var(--yellow)
  );
}

.cta h2 {
  font-size: 42px;
  max-width: 780px;
}

.cta p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.55;
  max-width: 720px;
}

.footer {
  padding: 32px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 650;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .section-heading,
  .compiler-stage,
  .output-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .trace-panel {
    position: relative;
    top: auto;
  }

  .hero-proof,
  .metric-row,
  .security-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2),
  .metric:nth-child(2) {
    border-right: 0;
  }

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

  .problem-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-card:last-child {
    border-bottom: 0;
  }

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

  .integration:nth-child(6n) {
    border-right: 1px solid var(--line);
  }

  .integration:nth-child(3n) {
    border-right: 0;
  }

  .integration:nth-last-child(-n + 6) {
    border-bottom: 1px solid var(--line);
  }

  .integration:nth-last-child(-n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
  }

  .nav.is-scrolled {
    padding: 10px 16px;
  }

  .hero-content {
    padding: 132px 18px 34px;
    gap: 44px;
  }

  h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-lede {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .metric-row,
  .security-layout,
  .integrations {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .metric,
  .security-item,
  .integration {
    border-right: 0;
  }

  .section {
    padding: 78px 18px;
  }

  .section.tight {
    padding: 64px 18px;
  }

  h2 {
    font-size: 34px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 36px;
  }

  .section-copy {
    font-size: 16px;
  }

  .flow-step {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 64px;
  }

  .trace-node {
    grid-template-columns: 44px 1fr;
  }

  .node-cost {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

  .cta-panel {
    padding: 30px 22px 38px;
  }

  .cta h2 {
    font-size: 32px;
  }

  pre {
    font-size: 12px;
    padding: 18px;
  }
}
