:root {
  --ink: #071522;
  --ink-soft: #17385b;
  --green: #16a34a;
  --green-strong: #0b7a3a;
  --mint: #ddfbe8;
  --paper: #ffffff;
  --surface: #f4f8f6;
  --surface-strong: #e8f1ed;
  --line: #d5e2dc;
  --gold: #f3b84a;
  --text: #182a36;
  --muted: #586b75;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(213, 226, 220, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 650;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.contact-link:focus-visible,
.legal-content a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.38);
  outline-offset: 4px;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: center;
  padding: 86px 6vw 92px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.92), rgba(7, 21, 34, 0.58) 48%, rgba(7, 21, 34, 0.1)),
    url("/assets/zai-hero-study.png") center / cover no-repeat;
  color: var(--paper);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 34, 0.08), rgba(7, 21, 34, 0.72));
  pointer-events: none;
}

.hero__content {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--mint);
}

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

h1 {
  margin-bottom: 24px;
  color: inherit;
  font-size: 4.35rem;
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.12;
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero p {
  width: min(620px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

.button--primary:hover {
  background: var(--green-strong);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: 84px 6vw;
}

.section__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section--light {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.section--dark h2,
.section--dark h3 {
  color: var(--paper);
}

.section--image {
  background: var(--surface);
}

.section--contact {
  background: var(--surface-strong);
}

.two-column,
.product-layout,
.contact-band,
.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.visual-story {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
}

.copy-block p:last-child,
.section-heading p:last-child,
.legal-content article p:last-child {
  margin-bottom: 0;
}

.facts {
  width: min(1160px, 100%);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.facts article,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.facts span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.facts strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

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

.feature-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.feature-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 850;
}

.pipeline-figure,
.story-figure {
  margin: 0;
}

.pipeline-figure img,
.story-figure img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.pipeline-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green-strong);
  font-size: 1.2rem;
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 6vw;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 900px;
}

.site-footer strong,
.site-footer a {
  color: var(--paper);
}

.site-footer a {
  font-weight: 750;
  text-decoration: none;
}

.legal-hero {
  padding: 90px 6vw 72px;
  background: var(--ink);
  color: var(--paper);
}

.legal-hero h1 {
  max-width: 780px;
  font-size: 3.5rem;
}

.legal-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}

.legal-hero span {
  display: inline-block;
  margin-top: 12px;
  color: var(--mint);
  font-weight: 750;
}

.legal-content {
  width: min(900px, calc(100% - 12vw));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.legal-content article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.legal-content ul {
  margin: 0;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--green-strong);
  font-weight: 750;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 68svh;
    padding-top: 74px;
    background-position: 56% center;
  }

  .hero p {
    font-size: 1.08rem;
  }

  .two-column,
  .product-layout,
  .contact-band,
  .visual-story,
  .facts,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    font-size: 0.94rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .button {
    width: 100%;
  }

  .hero {
    padding-bottom: 70px;
  }

  .legal-hero h1 {
    font-size: 2.5rem;
  }
}
