:root {
  --ink: #18212f;
  --muted: #5d6979;
  --line: #d8dee8;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #dff4ef;
  --blue: #1d4ed8;
  --gold: #b7791f;
  --shadow: 0 18px 45px rgba(24, 33, 47, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

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

.nav-cta {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: white !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: 680px;
  padding: 86px 5vw 52px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.92)),
    url("assets/bio-ai-workflow.png");
  background-size: cover;
  background-position: center;
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

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

.button.secondary:hover {
  border-color: var(--accent);
}

.hero-visual {
  min-width: 0;
}

.workflow-card,
.card,
.memo,
.demo-panel,
.boundary {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.workflow-card {
  padding: 22px;
}

.workflow-top,
.memo-header,
.demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workflow-top {
  margin-bottom: 16px;
  font-weight: 800;
}

.status {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
}

.workflow-step {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.workflow-step strong,
.workflow-step span {
  display: block;
}

.workflow-step span {
  color: var(--muted);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.signal-grid span {
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip div {
  padding: 24px 5vw;
  background: white;
}

.strip strong,
.strip span {
  display: block;
}

.strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 76px 5vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card p,
.card li,
.demo-panel,
.memo p,
.boundary p,
.split p {
  color: var(--muted);
}

.card ul {
  margin: 18px 0 0;
  padding-left: 19px;
}

.card li {
  margin-bottom: 7px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 38px;
  align-items: center;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8ea;
  color: #5d4215 !important;
}

.demo-panel {
  padding: 20px;
}

.demo-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.demo-row:last-child {
  border-bottom: 0;
}

.demo-row span {
  color: var(--muted);
}

.demo-row strong {
  color: var(--ink);
  text-align: right;
}

.memo {
  padding: 26px;
  max-width: 980px;
}

.memo-header {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.memo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.memo-grid div {
  padding: 14px;
  border-radius: 8px;
  background: var(--wash);
}

.memo-grid strong,
.memo-grid span {
  display: block;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.page-hero {
  padding: 82px 5vw 48px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.work-list {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

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

.work-item .meta {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memo-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.boundary {
  padding: 24px;
  border-top: 5px solid var(--accent);
}

.cta {
  justify-content: space-between;
  margin: 20px 5vw 76px;
  padding: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.cta h2 {
  margin: 0;
  color: white;
}

.cta .eyebrow {
  color: #8dd8cf;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 5vw;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .cards.three,
  .strip,
  .memo-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .demo-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-row strong {
    text-align: left;
  }
}
