:root {
  color-scheme: light;
  --paper: #fff;
  --canvas: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #515157;
  --line: #d9d9df;
  --blue: #1263ca;
  --blue-hover: #0c53af;
  --gutter: clamp(1.25rem, 4.2vw, 3.75rem);
  --radius: 1.5rem;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

a:focus-visible, input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

p, h1, h2, h3, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(100% - 2 * var(--gutter), 71rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  padding: .55rem .95rem;
  transform: translateY(-160%);
  border-radius: .5rem;
  background: var(--blue);
  color: var(--paper);
}

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

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #e8e8eb;
  background: #fbfbfd;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4rem;
  min-height: 3.6rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  width: fit-content;
  white-space: nowrap;
  color: var(--ink);
  font-size: 1.275rem;
  font-weight: 700;
  letter-spacing: -.045em;
  text-decoration: none;
}

.mark {
  width: 1.12rem;
  aspect-ratio: 1;
  flex: none;
  background: currentColor;
  clip-path: polygon(50% 0%, 60% 39%, 100% 50%, 60% 61%, 50% 100%, 40% 61%, 0% 50%, 40% 39%);
}

.wordmark-cn {
  margin-left: .25rem;
  color: var(--muted);
  font-size: .81rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3.3vw, 3.15rem);
  color: var(--muted);
  font-size: .925rem;
}

.nav a, .locale { text-decoration: none; }
.nav a:hover, .locale:hover { color: var(--blue); }

.locale {
  justify-self: end;
  display: grid;
  min-width: 2.7rem;
  min-height: 2.35rem;
  padding: .3rem .7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  padding-block: clamp(2.85rem, 5.8vw, 5.7rem) clamp(2.1rem, 4.7vw, 4rem);
  background: var(--canvas);
  text-align: center;
}

h1, h2 { text-wrap: balance; }

h1 {
  font-size: clamp(2.65rem, 5.55vw, 5.25rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -.067em;
}

h1 span { display: block; }

html[lang="zh-CN"] h1 {
  font-size: clamp(2.3rem, 5.1vw, 4.65rem);
  line-height: 1.11;
  letter-spacing: -.053em;
}

.hero-description {
  max-width: 38rem;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.2vw, 1.54rem);
  line-height: 1.4;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.actions, .research-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .65rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: .94rem;
  font-weight: 590;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.primary { color: var(--paper); background: var(--blue); }
.primary:hover { background: var(--blue-hover); }

.secondary { border-color: var(--blue); color: var(--blue); }
.secondary:hover { color: var(--paper); background: var(--blue); }

.hero-image {
  height: clamp(15rem, 32vw, 27rem);
  margin-top: clamp(1.85rem, 3.7vw, 3.2rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: #0a0d0d;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
}

.section {
  padding-block: clamp(4rem, 8vw, 7.75rem);
  scroll-margin-top: .5rem;
}

.section-alt { background: var(--canvas); }

.eyebrow {
  margin-bottom: .6rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .018em;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 670;
  line-height: 1.045;
  letter-spacing: -.055em;
}

html[lang="zh-CN"] h2 { line-height: 1.13; letter-spacing: -.04em; }

h3 {
  font-size: clamp(1.18rem, 2.05vw, 1.5rem);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -.025em;
}

.section h2 + p {
  margin-top: 1.16rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.64;
  text-wrap: pretty;
}

.section-intro {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(2.2rem, 6.75vw, 6.2rem);
}

.research-copy h2 { text-wrap: pretty; }

.research-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.95rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.research-stats dt {
  font-size: clamp(1.95rem, 4.15vw, 3rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.06em;
}

.research-stats dd {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}

.research-links { justify-content: flex-start; gap: 1.4rem; }

.text-link {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 550;
  text-decoration-color: #87afe0;
  text-underline-offset: .235em;
}

.text-link:hover { text-decoration-color: currentColor; }

.scenario {
  min-width: 0;
  border-radius: var(--radius);
  background: var(--canvas);
}

.scenario-body { padding: clamp(1.35rem, 4vw, 3rem); }

.scenario-request {
  display: grid;
  gap: .18rem;
  margin-top: 1.1rem;
}

.scenario-request span, .case-options legend {
  color: var(--muted);
  font-size: .875rem;
}

.case-options {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  min-width: 0;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.case-options legend { margin-bottom: .5rem; padding: 0; }

.case-options label {
  position: relative;
  cursor: pointer;
}

.case-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.case-options label span {
  display: block;
  min-height: 2.38rem;
  padding: .425rem .85rem;
  border: 1px solid #c9c9d0;
  border-radius: 99px;
  background: var(--paper);
  font-size: .875rem;
}

.case-options label:hover span { border-color: var(--blue); }

.case-options input:checked + span {
  border-color: #92b6e9;
  background: #e3efff;
  color: #144982;
  font-weight: 650;
}

.outcome {
  min-height: 6.55rem;
  margin-top: 1.05rem;
  padding: .95rem 1.05rem;
  border: 1px solid #e2e2e9;
  border-radius: .76rem;
  background: var(--paper);
  color: var(--muted);
  font-size: .925rem;
  line-height: 1.53;
}

.outcome-title { margin-bottom: .28rem; color: var(--ink); font-weight: 650; }

.evaluation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.5rem);
  margin-top: clamp(2.1rem, 4.7vw, 3.75rem);
}

.evaluation-row {
  padding: clamp(1.4rem, 3.3vw, 2.6rem);
  border-radius: var(--radius);
  background: var(--paper);
}

.evaluation-row p { margin-top: .6rem; color: var(--muted); }
.evaluation-row .evaluation-question { margin-top: .9rem; color: var(--ink); font-weight: 550; }

.section-dark {
  --ink: #f9f9fb;
  --muted: #b7b7c0;
  --blue: #a7c9fc;
  background: #171719;
  color: var(--ink);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 3.4rem 0 0;
  padding: 0;
  list-style: none;
}

.roadmap li {
  border-top: 1px solid #57575f;
  padding-top: 1.35rem;
}

.roadmap .roadmap-current { border-color: var(--blue); }

.roadmap .stage {
  margin-bottom: .52rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}

.roadmap-current .stage { color: var(--blue); }
.roadmap h3 { margin-bottom: .55rem; }
.roadmap li > p:last-child { color: var(--muted); }

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
  text-align: center;
}

.contact p { max-width: 37rem; margin-inline: auto; }

.site-footer {
  border-top: 1px solid #e7e7eb;
  background: var(--canvas);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 62rem) {
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: .3rem; padding-top: .7rem; }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: .6rem;
    padding-block: .32rem .6rem;
  }
  .nav a { padding-block: .27rem; }
  .hero-image { border-radius: 1.05rem; }
  .research-grid, .evaluation-list { grid-template-columns: 1fr; }
}

@media (max-width: 26rem) {
  .roadmap { grid-template-columns: 1fr; }
}

@keyframes hero-rise {
  from { opacity: .26; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes crux-drift {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-image {
    animation: hero-rise .76s cubic-bezier(.2, .72, .27, 1) both;
  }

  .hero-description { animation-delay: .07s; }
  .hero .actions { animation-delay: .14s; }
  .hero-image { animation-delay: .19s; }

  [data-reveal-state] {
    transition: opacity .6s ease, transform .75s cubic-bezier(.2, .72, .27, 1);
  }

  [data-reveal-state="waiting"]:not(:focus-within) {
    opacity: 0;
    transform: translateY(22px);
  }

  @supports (animation-timeline: view()) and (animation-range: entry 0% exit 100%) {
    .hero-image img {
      animation: crux-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

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

