:root {
  --ink: #10282d;
  --muted: #5d7074;
  --line: #dce5e3;
  --paper: #f8faf7;
  --white: #ffffff;
  --teal: #0b6f69;
  --teal-deep: #0b2f33;
  --green: #4d9a65;
  --green-bright: #6abf4b;
  --amber: #d99b35;
  --steel: #d7dee1;
  --shadow: 0 24px 70px rgba(14, 40, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.announce {
  align-items: center;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  font-size: 13px;
  font-weight: 720;
  gap: 14px;
  justify-content: center;
  min-height: 42px;
  padding: 8px 24px;
  text-align: center;
}

.announce span {
  color: var(--green-bright);
}

.announce a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
}

.site-header {
  align-items: center;
  background: rgba(248, 250, 247, 0.94);
  border-bottom: 1px solid rgba(220, 229, 227, 0.78);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
  position: sticky;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(248, 250, 247, 0.96);
  box-shadow: 0 14px 40px rgba(14, 40, 45, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  gap: 10px;
}

.brand-mark {
  display: block;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 26px;
}

.nav a {
  color: #334a4f;
  font-size: 14px;
  font-weight: 650;
}

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

.nav-cta {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 780;
  min-height: 40px;
  padding: 0 15px;
}

.nav-cta:hover {
  background: var(--teal);
}

.hero {
  min-height: calc(100vh - 114px);
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 68% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(248, 250, 247, 0.98) 0%, rgba(248, 250, 247, 0.94) 34%, rgba(248, 250, 247, 0.56) 58%, rgba(248, 250, 247, 0.16) 84%),
    linear-gradient(0deg, rgba(16, 40, 45, 0.14), rgba(16, 40, 45, 0.03));
}

.hero-content {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 114px);
  padding: 48px 40px 50px;
  position: relative;
  width: min(700px, 100%);
}

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

.hero h1 {
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
  max-width: 690px;
}

.rotating-line {
  color: var(--green);
  display: block;
  font-size: clamp(38px, 4.2vw, 62px);
  min-height: 1.08em;
  overflow-wrap: normal;
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
}

.rotating-line.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hero-copy {
  color: #344d52;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.48;
  margin: 22px 0 0;
  max-width: 610px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 720px;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 40, 45, 0.14);
  color: #496065;
  display: inline-flex;
  font-size: 13px;
  font-weight: 680;
  gap: 6px;
  min-height: 38px;
  padding: 10px 12px;
}

.hero-proof strong {
  color: var(--teal-deep);
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 14px;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: #3f8758;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 40, 45, 0.2);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--white);
}

.signal-strip {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.84);
  display: grid;
  font-size: 13px;
  font-weight: 720;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.signal-strip span {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 72px;
  padding: 24px;
}

.section {
  padding: 94px 40px;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.proof-copy h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0;
}

.intro {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
}

.intro-text {
  color: #334a4f;
  font-size: 18px;
  line-height: 1.62;
}

.intro-text p {
  margin: 0 0 22px;
}

.hypothesis {
  background: var(--white);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.hypothesis-heading {
  margin: 0 auto;
  max-width: 950px;
  text-align: center;
}

.hypothesis-heading h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0;
}

.hypothesis-heading p:last-child {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 22px auto 0;
  max-width: 780px;
}

.equation {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  margin-top: 74px;
}

.equation-card {
  background: #f0f5f3;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  min-height: 166px;
  padding: 28px 24px;
  text-align: center;
}

.equation-card span {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 20px;
}

.equation-card h3 {
  color: var(--teal-deep);
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.equation-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
  margin: 0 auto;
  max-width: 310px;
}

.equation-card.outcome {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow: var(--shadow);
}

.equation-card.outcome span {
  color: var(--green-bright);
}

.equation-card.outcome h3,
.equation-card.outcome p {
  color: var(--white);
}

.equation-card.outcome p {
  color: rgba(255, 255, 255, 0.78);
}

.operator {
  color: var(--teal-deep);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
}

.operation-loop {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 46px;
  overflow-x: auto;
  padding-top: 20px;
  scrollbar-width: none;
}

.operation-loop::-webkit-scrollbar {
  display: none;
}

.operation-loop span {
  background: var(--paper);
  border: 1px solid var(--line);
  color: #334a4f;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 760;
  min-height: 36px;
  padding: 9px 14px;
  text-align: center;
}

.operation-loop span {
  animation: signalPulse 7.5s ease-in-out infinite;
}

.operation-loop span:nth-child(2) {
  animation-delay: 1.5s;
}

.operation-loop span:nth-child(3) {
  animation-delay: 3s;
}

.operation-loop span:nth-child(4) {
  animation-delay: 4.5s;
}

.operation-loop span:nth-child(5) {
  animation-delay: 6s;
}

@keyframes signalPulse {
  0%,
  18%,
  100% {
    background: var(--paper);
    border-color: var(--line);
    color: #334a4f;
  }

  8% {
    background: #eaf6e7;
    border-color: rgba(77, 154, 101, 0.52);
    color: var(--teal-deep);
  }
}

.labs {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
  border-bottom: 1px solid var(--line);
}

.lab-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.lab-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 278px;
  padding: 26px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lab-card:hover {
  border-color: rgba(11, 111, 105, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.lab-index {
  color: var(--teal);
  display: block;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 62px;
}

.lab-card h3,
.model-step h3 {
  font-size: 23px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.lab-card p,
.model-step p,
.proof-copy p,
.proof-list span,
.contact-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.operating-model {
  background:
    linear-gradient(180deg, rgba(215, 222, 225, 0.38), rgba(248, 250, 247, 0));
}

.model-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.model-step {
  border-right: 1px solid var(--line);
  min-height: 250px;
  padding: 26px 28px 0 0;
}

.model-step:last-child {
  border-right: 0;
}

.model-step span {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--teal);
  display: inline-flex;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  margin-bottom: 52px;
  width: 38px;
}

.proof {
  align-items: start;
  background: var(--teal-deep);
  color: var(--white);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
}

.proof .eyebrow,
.proof-copy h2 {
  color: var(--white);
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 20px;
}

.proof-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-list div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 12px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 24px 0;
}

.proof-list strong {
  color: var(--white);
  font-size: 16px;
}

.proof-list span {
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  align-items: end;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.contact-copy {
  max-width: 790px;
}

.contact-logo {
  display: block;
  height: auto;
  margin: 0 0 28px;
  max-width: min(210px, 54vw);
}

.contact-copy p {
  margin-top: 18px;
  max-width: 640px;
}

.contact .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.contact .button.secondary:hover {
  background: var(--white);
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 22px;
  }

  .announce {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    min-height: 56px;
    padding: 10px 22px;
    text-align: left;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: calc(100vh - 128px);
  }

  .hero-content {
    padding: 44px 22px 42px;
  }

  .signal-strip,
  .lab-grid,
  .model-grid,
  .intro,
  .equation,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .signal-strip span {
    min-height: 52px;
    padding: 17px 22px;
  }

  .section {
    padding: 66px 22px;
  }

  .lab-index,
  .model-step span {
    margin-bottom: 34px;
  }

  .model-step {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 0;
    padding: 24px 0;
  }

  .proof-list div {
    grid-template-columns: 1fr;
  }

  .operator {
    line-height: 1;
    text-align: center;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding: 18px 22px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .rotating-line {
    font-size: clamp(31px, 8.5vw, 38px);
  }

  .hypothesis-heading {
    text-align: left;
  }

  .equation {
    margin-top: 42px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-line,
  .operation-loop span,
  .lab-card {
    animation: none;
    transition: none;
  }
}
