:root {
  --ink: #141619;
  --ink-soft: #384047;
  --paper: #f6f8f4;
  --panel: #ffffff;
  --line: #dfe5dc;
  --line-strong: #c9d3c8;
  --green: #2f7f6f;
  --green-dark: #174f45;
  --coral: #e0634f;
  --violet: #6556c8;
  --mustard: #d7a928;
  --shadow: 0 22px 70px rgba(20, 22, 25, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(20, 22, 25, .42);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: .4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 78px;
  color: #fff;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, .86), rgba(10, 12, 14, .50) 44%, rgba(10, 12, 14, .18)),
    linear-gradient(0deg, rgba(10, 12, 14, .74), rgba(10, 12, 14, .08) 42%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow {
  color: #aee4d6;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.72;
  color: rgba(255, 255, 255, .82);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.btn.primary {
  background: #fff;
  color: var(--ink);
}

.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .10);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-head.compact {
  max-width: 760px;
}

.section-kicker {
  color: var(--green);
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.featured-test {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-test h3 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
}

.featured-test p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.75;
}

.status-pill,
.card-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.status-pill.live {
  color: #0c3d33;
  background: #aee4d6;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.metric-row span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  font-size: 13px;
}

.metric-row strong {
  color: #fff;
}

.test-launch {
  display: inline-grid;
  place-items: center;
  min-width: 136px;
  min-height: 48px;
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

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

.test-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.test-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  transition: transform .18s ease, border-color .18s ease;
}

.test-card h3 {
  margin: 0;
  font-size: 21px;
}

.test-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 14px;
}

.card-tag {
  color: #fff;
  background: var(--coral);
}

.card-tag.green {
  background: var(--green);
}

.card-tag.violet {
  background: var(--violet);
}

.card-tag.dark {
  background: var(--ink);
}

.test-card.muted {
  background: #eef2ec;
}

.method-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.method-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.method-num {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.method-item h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.method-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.roadmap-section {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.roadmap-list {
  display: grid;
  gap: 10px;
}

.roadmap-list div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roadmap-list strong {
  color: var(--green-dark);
}

.roadmap-list span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, .68);
  background: var(--ink);
  font-size: 13px;
}

@media (max-width: 900px) {
  .ticker,
  .test-grid,
  .method-grid,
  .roadmap-section {
    grid-template-columns: 1fr 1fr;
  }

  .featured-test {
    grid-template-columns: 1fr;
  }

  .test-launch {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: 58px;
  }

  .nav-links {
    display: none;
  }

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

  .hero {
    min-height: 86vh;
    padding: 92px 20px 54px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 12, 14, .86), rgba(10, 12, 14, .38)),
      linear-gradient(0deg, rgba(10, 12, 14, .76), rgba(10, 12, 14, .08) 50%);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .ticker,
  .test-grid,
  .method-grid,
  .roadmap-section {
    grid-template-columns: 1fr;
  }

  .ticker span {
    min-height: 52px;
  }

  .roadmap-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
