:root {
  --ink: #071a20;
  --ink-soft: #14323a;
  --paper: #f3f0e8;
  --paper-bright: #faf8f2;
  --teal: #08a4ad;
  --teal-light: #6fd5d7;
  --coral: #ff765f;
  --line: rgba(7, 26, 32, 0.15);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: white;
  background: var(--teal);
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: auto;
}

.header-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link span {
  color: var(--teal);
  margin-left: 4px;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 74px 0 94px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(8, 164, 173, 0.12);
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(54px, 6.3vw, 92px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

h1 em {
  display: block;
  color: var(--teal);
  font-style: normal;
}

.hero-intro {
  max-width: 610px;
  margin: 34px 0 0;
  color: #365159;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 39px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--teal);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--teal);
}

.text-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  color: var(--coral);
  margin-left: 5px;
}

.compiler-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(111, 213, 215, 0.26);
  border-radius: 6px;
  color: white;
  background: var(--ink);
  box-shadow: 18px 18px 0 rgba(8, 164, 173, 0.16);
}

.idea-section,
.vision-section,
.proof-section,
.waitlist-section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.idea-section {
  padding: 136px 0 150px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 10vw, 150px);
  border-top: 1px solid var(--line);
}

.section-number {
  margin: 0 0 28px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.section-heading h2,
.vision-section h2,
.proof-section h2,
.waitlist-section h2 {
  margin: 0;
  font-size: clamp(39px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.idea-content > p {
  max-width: 650px;
  color: #4a6268;
  font-size: 16px;
  line-height: 1.75;
}

.idea-content .lead {
  margin-top: 2px;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.principles {
  margin-top: 65px;
  border-top: 1px solid var(--line);
}

.principles article {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 54px minmax(150px, 0.8fr) 1.2fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.principles span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
}

.principles h3,
.principles p {
  margin: 0;
}

.principles h3 {
  font-size: 16px;
  letter-spacing: -0.025em;
}

.principles p {
  color: #5a7075;
  font-size: 13px;
  line-height: 1.65;
}

.vision-section {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  padding: 120px clamp(24px, 5.2vw, 66px) 128px;
  color: white;
  background: var(--ink);
  overflow: hidden;
}

.vision-section::after {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(111, 213, 215, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(111, 213, 215, 0.025), 0 0 0 120px rgba(111, 213, 215, 0.02);
  content: "";
}

.vision-kicker {
  margin-bottom: 30px;
  color: var(--teal-light);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-section h2 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  font-size: clamp(48px, 6vw, 82px);
}

.vision-section h2 em {
  color: var(--teal-light);
  font-style: normal;
}

.vision-intro {
  position: relative;
  z-index: 1;
  max-width: 630px;
  margin: 58px 0 0 auto;
  color: #abc0c5;
  font-size: 18px;
  line-height: 1.72;
}

.agent-sequence {
  position: relative;
  z-index: 1;
  margin: 76px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.agent-sequence li {
  min-height: 190px;
  padding: 23px 28px 24px 0;
  border-top: 1px solid rgba(111, 213, 215, 0.18);
  border-bottom: 1px solid rgba(111, 213, 215, 0.18);
}

.agent-sequence li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(111, 213, 215, 0.18);
}

.agent-sequence li > span {
  display: block;
  margin-bottom: 46px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.agent-sequence strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  letter-spacing: -0.015em;
}

.agent-sequence p {
  max-width: 220px;
  margin: 0;
  color: #8ca5ab;
  font-size: 13px;
  line-height: 1.6;
}

.proof-section {
  padding: 135px 0;
  display: grid;
  grid-template-columns: 0.5fr 1.2fr 0.55fr;
  gap: 55px;
  align-items: start;
}

.proof-section h2 {
  max-width: 660px;
  font-size: clamp(38px, 4vw, 58px);
}

.proof-section > div > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #4b646a;
  font-size: 16px;
  line-height: 1.75;
}

.proof-status {
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-status small,
.proof-status strong {
  display: block;
}

.proof-status small {
  margin-bottom: 4px;
  color: #71858a;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.proof-status strong {
  font-size: 13px;
}

.waitlist-section {
  width: 100%;
  max-width: none;
  padding: 120px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(55px, 10vw, 160px);
  color: white;
  background: var(--teal);
}

.section-number.light {
  color: #d5ffff;
}

.waitlist-section h2 {
  font-size: clamp(50px, 6vw, 82px);
}

.waitlist-copy > p {
  max-width: 560px;
  margin: 7px 0 38px;
  font-size: 18px;
  line-height: 1.65;
}

.waitlist-form label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-row {
  display: flex;
}

.form-row input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 3px 0 0 3px;
  color: var(--ink);
  background: var(--paper-bright);
  font: 15px var(--sans);
  outline: none;
}

.form-row input:focus {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.form-row button {
  min-width: 170px;
  border: 0;
  border-radius: 0 3px 3px 0;
  color: white;
  background: var(--ink);
  cursor: pointer;
  font: 700 13px var(--sans);
}

.form-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-row button span {
  margin-left: 5px;
  color: var(--teal-light);
}

.form-note,
.form-status {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.form-note {
  color: #d9ffff;
}

.form-status {
  min-height: 15px;
  color: white;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

footer {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #64797e;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-brand {
  justify-self: start;
  color: var(--ink);
  font-family: var(--sans);
}

footer > p:last-child {
  justify-self: end;
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(111, 213, 215, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 213, 215, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.task-card,
.model-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(111, 213, 215, 0.35);
  background: rgba(13, 44, 52, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.task-card {
  top: 72px;
  left: 9%;
  width: 66%;
  padding: 24px 26px 27px;
}

.card-label {
  color: var(--teal-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.task-card p {
  margin: 15px 0 0;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.35;
}

.task-card strong {
  color: white;
  font-weight: 600;
}

.compile-path {
  position: absolute;
  z-index: 1;
  top: 245px;
  right: 15%;
  width: 57%;
  height: 92px;
}

.path-line {
  position: absolute;
  top: 44px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--coral), transparent);
}

.path-node {
  position: absolute;
  top: 38px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--teal-light);
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.5s infinite ease-in-out;
}

.node-one { left: 14%; }
.node-two { left: 49%; animation-delay: 0.45s; border-color: var(--teal); }
.node-three { left: 84%; animation-delay: 0.9s; border-color: var(--coral); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 213, 215, 0); transform: scale(0.9); }
  45% { box-shadow: 0 0 0 8px rgba(111, 213, 215, 0.1); transform: scale(1.1); }
}

.model-card {
  top: 340px;
  right: 8%;
  width: 72%;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.model-card p {
  margin: 8px 0 4px;
  font-family: var(--mono);
  font-size: 15px;
}

.model-card small {
  color: #9db1b6;
  font-family: var(--mono);
  font-size: 10px;
}

.model-cube {
  width: 62px;
  height: 62px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--teal);
  flex: 0 0 auto;
}

.model-cube span {
  background: rgba(111, 213, 215, 0.18);
}

.model-cube span:nth-child(2),
.model-cube span:nth-child(3) {
  background: var(--teal);
}

.stage-caption {
  position: absolute;
  right: 8%;
  bottom: 35px;
  left: 8%;
  display: flex;
  align-items: center;
  color: #718a91;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stage-caption i {
  height: 1px;
  margin: 0 12px;
  background: rgba(111, 213, 215, 0.2);
  flex: 1;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .compiler-stage {
    min-height: 550px;
  }

  .idea-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

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

  .agent-sequence li:nth-child(3) {
    border-left: 0;
  }

  .agent-sequence li:nth-child(n + 3) {
    border-top: 0;
  }

  .proof-section {
    grid-template-columns: 1fr 1.5fr;
  }

  .proof-status {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    height: 76px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 76px;
    gap: 56px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .compiler-stage {
    min-height: 500px;
    box-shadow: 9px 9px 0 rgba(8, 164, 173, 0.16);
  }

  .task-card {
    top: 50px;
    width: 78%;
  }

  .compile-path {
    top: 215px;
  }

  .model-card {
    top: 305px;
    width: 83%;
  }

  .idea-section,
  .proof-section {
    width: min(100% - 32px, 1180px);
    padding: 90px 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .principles article {
    grid-template-columns: 38px 1fr;
  }

  .principles p {
    grid-column: 2;
  }

  .vision-section {
    width: 100%;
    padding: 90px 20px;
  }

  .vision-intro {
    margin-top: 42px;
  }

  .agent-sequence {
    margin-top: 54px;
    grid-template-columns: 1fr;
  }

  .agent-sequence li,
  .agent-sequence li + li {
    min-height: 0;
    padding: 22px 0;
    border-top: 1px solid rgba(111, 213, 215, 0.18);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .agent-sequence li:last-child {
    border-bottom: 1px solid rgba(111, 213, 215, 0.18);
  }

  .agent-sequence li > span {
    margin-bottom: 18px;
  }

  .proof-status {
    grid-column: 1;
  }

  .waitlist-section {
    padding: 90px 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 9px;
  }

  .form-row input,
  .form-row button {
    width: 100%;
    min-height: 56px;
    border-radius: 3px;
  }

  footer {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  footer > p,
  footer > p:last-child {
    margin: 0;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .path-node { animation: none; }
}
