:root {
  --paper: #f4f6fb;
  --white: #ffffff;
  --ink: #101217;
  --muted: #626978;
  --line: #cbd1dd;
  --blue: #2448ff;
  --blue-dark: #1028b8;
  --orange: #ff5c35;
  --yellow: #f7e65e;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main > section,
footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  padding: 0 3.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.brand-mark circle {
  fill: var(--orange);
  stroke: var(--orange);
}

nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.25rem);
}

nav a,
.text-link {
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.button-small {
  min-height: 42px;
  padding: 0.68rem 1rem;
  justify-self: end;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-primary:hover {
  box-shadow: 3px 3px 0 var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--orange);
}

.hero {
  min-height: 720px;
  padding: clamp(4.5rem, 8vw, 8rem) 3.5vw clamp(5rem, 8vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.hero-copy,
.learning-demo {
  min-width: 0;
}

.kicker,
.section-index {
  margin: 0 0 1.75rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgb(255 92 53 / 13%);
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(4.6rem, 8.6vw, 8.1rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
  font-weight: 720;
}

.hero-lede {
  max-width: 600px;
  margin: 2.5rem 0 0;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
}

.text-link span {
  display: inline-block;
  margin-left: 0.35rem;
}

.hero-note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.learning-demo {
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 14px 14px 0 var(--yellow), 15px 15px 0 var(--ink);
}

.demo-topbar,
.record-header {
  min-height: 36px;
  padding-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 750;
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.demo-status i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #12a564;
  box-shadow: 0 0 0 4px rgb(18 165 100 / 12%);
}

.signal-stack {
  padding: 1rem 0;
  display: grid;
  gap: 0.5rem;
}

.signal {
  min-height: 68px;
  padding: 0.75rem 0.9rem;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  opacity: 0.52;
  transition: opacity 350ms ease, border-color 350ms ease, transform 350ms ease;
}

.signal-active {
  border-color: var(--blue);
  opacity: 1;
  transform: translateX(-6px);
}

.signal-type {
  color: var(--blue-dark);
  font-size: 0.66rem;
  font-weight: 800;
}

.signal p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.synthesis-line {
  height: 18px;
  display: grid;
  place-items: center;
}

.synthesis-line span {
  width: 1px;
  height: 18px;
  display: block;
  background: var(--blue);
}

.next-action {
  padding: clamp(1.2rem, 2.2vw, 2rem);
  color: var(--white);
  background: var(--blue);
}

.next-action-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  font-weight: 750;
}

.next-action h2 {
  margin: 1.3rem 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.next-action > p {
  max-width: 440px;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.78rem;
  line-height: 1.5;
}

.experiment-meta {
  margin-top: 1.5rem;
  padding-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 28%);
  font-size: 0.65rem;
  line-height: 1.35;
}

.experiment-meta b {
  margin-bottom: 0.2rem;
  display: block;
  color: rgb(255 255 255 / 58%);
}

.demo-caption {
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 750;
}

.truth-section {
  padding: clamp(5rem, 9vw, 9rem) 3.5vw;
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 0.8fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 6rem);
  color: var(--white);
  background: var(--ink);
}

.truth-section .section-index {
  color: var(--orange);
}

.truth-section h2,
.section-heading h2,
.definition-heading h2,
.memory-copy h2,
.founder-copy h2,
.application-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.3vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.definition-section {
  padding: clamp(5rem, 9vw, 9rem) 3.5vw;
  background: var(--yellow);
}

.definition-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.85fr;
  gap: clamp(2rem, 5vw, 6rem);
}

.definition-heading > div > p {
  max-width: 720px;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.6;
}

.definition-grid {
  margin-top: clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.definition-grid article {
  min-height: 330px;
  padding: 1.5rem clamp(1.25rem, 2.5vw, 2.5rem) 1.5rem 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgb(16 18 23 / 35%);
}

.definition-grid article + article {
  padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
}

.definition-grid article:last-child {
  border-right: 0;
}

.definition-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.definition-grid h3 {
  max-width: 350px;
  margin: 3rem 0 1rem;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.definition-grid article > p {
  max-width: 360px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.definition-grid .definition-output {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(16 18 23 / 35%);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.truth-consequence {
  max-width: 720px;
  margin: 2.5rem 0 0;
  color: var(--orange);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.25;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.truth-detail {
  margin: 0;
  color: #afb4c0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.loop-section {
  padding: clamp(5rem, 9vw, 9rem) 3.5vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 2fr;
  gap: 4vw;
}

.loop-track {
  margin-top: clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
}

.loop-step {
  position: relative;
  min-height: 270px;
  padding: 1.3rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
}

.loop-step::before {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -6px;
  left: 0;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.loop-step::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.loop-step + .loop-step {
  padding-left: 1.5rem;
}

.loop-step span {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.loop-step p {
  max-width: 210px;
  margin: 5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.loop-step-last {
  border-right: 0;
  color: var(--white);
  background: var(--blue);
}

.loop-step-last::before {
  background: var(--orange);
}

.loop-step-last::after {
  display: none;
}

.loop-step-last p {
  color: rgb(255 255 255 / 72%);
}

.memory-section {
  padding: clamp(5rem, 9vw, 9rem) 3.5vw;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(4rem, 10vw, 10rem);
  background: #e8ecf5;
}

.memory-copy > p:not(.section-index) {
  max-width: 540px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.evidence-record {
  align-self: center;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--blue);
}

.evidence-record dl {
  margin: 0;
}

.evidence-record dl > div {
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.evidence-record dl > div:last-child {
  border-bottom: 0;
}

.evidence-record dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.evidence-record dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.belief-update dd {
  display: grid;
  gap: 0.75rem;
}

.belief-update s {
  color: #8b91a0;
}

.belief-update strong {
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.founder-section {
  padding: clamp(5rem, 9vw, 9rem) 3.5vw;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(3rem, 8vw, 9rem);
}

.founder-copy h2 {
  max-width: 760px;
}

.fit-list {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  font-weight: 660;
  letter-spacing: -0.025em;
}

.fit-list span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
}

.application-section {
  padding: clamp(5rem, 8vw, 8rem) 7vw;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(480px, 1.18fr);
  align-items: start;
  gap: clamp(4rem, 8vw, 8rem);
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.application-copy {
  position: sticky;
  top: 2rem;
}

.application-copy .section-index {
  color: var(--yellow);
}

.application-copy > p:not(.section-index) {
  max-width: 580px;
  margin: 2rem 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1.02rem;
  line-height: 1.6;
}

.application-expectation {
  max-width: 560px;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 38%);
}

.application-expectation strong {
  font-size: 0.78rem;
}

.application-expectation p {
  margin: 0.75rem 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.86rem;
  line-height: 1.55;
}

.application-form {
  padding: clamp(1.5rem, 3.6vw, 3.25rem);
  color: var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--yellow);
}

.form-heading {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.form-heading > p {
  margin: 0 0 1.2rem;
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.form-heading h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.form-heading > span {
  max-width: 580px;
  margin-top: 1rem;
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.application-form > label,
.form-row label {
  margin-bottom: 1.15rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.73rem;
  font-weight: 760;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid #aeb5c2;
  border-radius: 2px;
  color: var(--ink);
  background: #fafbfe;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.application-form input,
.application-form select {
  min-height: 50px;
  padding: 0 0.85rem;
}

.application-form textarea {
  min-height: 112px;
  padding: 0.85rem;
  resize: vertical;
  line-height: 1.45;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgb(36 72 255 / 16%);
}

.application-form ::placeholder {
  color: #8b92a0;
}

.application-form .consent-label {
  margin: 0.5rem 0 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.consent-label input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0.05rem 0 0;
  accent-color: var(--blue);
}

.button-form {
  width: 100%;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
  cursor: pointer;
}

.button-form:hover {
  box-shadow: 2px 2px 0 var(--orange);
}

.form-note,
.form-status {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.form-status:not(:empty) {
  color: var(--blue-dark);
  font-weight: 750;
}

footer {
  min-height: 112px;
  padding: 1.5rem 3.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: #aeb4c1;
  background: var(--ink);
  font-size: 0.7rem;
}

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

.brand-footer {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .learning-demo {
    max-width: 700px;
  }

  .truth-section {
    grid-template-columns: 0.42fr 1.58fr;
  }

  .definition-heading {
    grid-template-columns: 0.42fr 1.58fr;
  }

  .truth-detail {
    grid-column: 2;
    max-width: 560px;
  }

  .loop-track {
    grid-template-columns: repeat(2, 1fr);
    border-top: 0;
  }

  .loop-step {
    min-height: 220px;
    border-top: 1px solid var(--ink);
  }

  .memory-section,
  .founder-section,
  .application-section {
    grid-template-columns: 1fr;
  }

  .application-copy {
    position: static;
    max-width: 760px;
  }

  .memory-copy {
    max-width: 760px;
  }

  .evidence-record {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding-inline: 1.25rem;
  }

  .button-small {
    min-height: 38px;
    padding: 0.55rem 0.72rem;
    font-size: 0.7rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .hero,
  .truth-section,
  .loop-section,
  .memory-section,
  .founder-section,
  .definition-section,
  .application-section {
    padding-inline: 1.25rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
    gap: 4.5rem;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 4.5rem);
  }

  .hero-lede {
    margin-top: 2rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .learning-demo {
    padding: 0.7rem;
    box-shadow: 8px 8px 0 var(--yellow), 9px 9px 0 var(--ink);
  }

  .signal {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .next-action {
    padding: 1.2rem;
  }

  .next-action h2 {
    font-size: 1.8rem;
  }

  .experiment-meta {
    grid-template-columns: 1fr;
  }

  .demo-caption span:nth-child(2) {
    display: none;
  }

  .truth-section,
  .section-heading,
  .definition-heading {
    grid-template-columns: 1fr;
  }

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

  .definition-grid article,
  .definition-grid article + article {
    min-height: 250px;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid rgb(16 18 23 / 35%);
  }

  .definition-grid article:last-child {
    border-bottom: 0;
  }

  .truth-detail {
    grid-column: auto;
  }

  .loop-track {
    grid-template-columns: 1fr;
  }

  .loop-step,
  .loop-step + .loop-step {
    min-height: 160px;
    padding: 1.25rem;
    border-right: 0;
  }

  .loop-step p {
    margin-top: 2.5rem;
  }

  .loop-step::after {
    display: none;
  }

  .evidence-record dl > div {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .record-header span:last-child {
    display: none;
  }

  .application-section {
    min-height: auto;
  }

  .application-form {
    padding: 1.25rem;
    box-shadow: 7px 7px 0 var(--yellow);
  }

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

  footer {
    padding: 2rem 1.25rem;
    grid-template-columns: 1fr auto;
  }

  footer p:nth-of-type(1) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
