@font-face {
  font-family: Inter;
  src: url("./inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08090b;
  --text: #f4f2ed;
  --muted: #a2a6ae;
  --red: #ff5347;
  --line: rgb(244 242 237 / 18%);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
:lang(en) > [data-zh], :lang(zh-CN) > [data-en] { display: none; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
.shell { width: min(calc(100% - 5rem), 76rem); margin-inline: auto; }

.hero { position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 43rem;
  background:
    linear-gradient(0deg, var(--bg), transparent 52%),
    linear-gradient(90deg, var(--bg) 2%, rgb(8 9 11 / 90%) 32%, rgb(8 9 11 / 26%) 75%),
    url("./hero-robot.webp") right 36% / cover no-repeat;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: .65rem; font-size: 1.15rem; font-weight: 740; letter-spacing: -.045em; }
.language {
  border: 1px solid var(--line);
  border-radius: 100px;
  color: inherit;
  background: var(--bg);
  font: inherit;
  min-height: 44px;
  min-width: 76px;
  padding: 0 .9rem;
  cursor: pointer;
}
.language:hover { border-color: var(--text); }
.intro { min-height: 36rem; display: grid; align-items: center; padding-block: 3rem 4rem; }
.intro-copy { max-width: 42rem; }
.eyebrow, .step-number { color: var(--red); font: 600 .78rem/1.5 ui-monospace, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin-top: 1rem; font-size: clamp(2.75rem, 5.4vw, 5rem); font-weight: 720; line-height: 1.04; letter-spacing: -.065em; text-wrap: balance; }
.summary { margin-top: 1.4rem; max-width: 32rem; color: #d4d5d8; font-size: 1.05rem; line-height: 1.65; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.75rem;
  min-height: 52px;
  padding: .75rem 1.1rem;
  border-radius: 4px;
  background: var(--red);
  color: var(--bg);
  font-weight: 720;
  text-decoration: none;
}
.cta:hover { background: #ff786e; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.85rem); letter-spacing: -.045em; line-height: 1.15; }
.workflow { border-top: 1px solid var(--line); padding-block: 2.4rem 3.5rem; }
.steps { list-style: none; padding: 0; margin: 1.7rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { border-top: 1px solid var(--line); padding: 1.15rem 1.4rem 0 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.steps h3 { margin: .65rem 0 .5rem; font-size: 1.15rem; letter-spacing: -.02em; }
.steps p, .team p { color: var(--muted); line-height: 1.65; }
.team { border-top: 1px solid var(--line); padding-block: 2.4rem 3.5rem; display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.team p + p { margin-top: .4rem; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { letter-spacing: -.015em; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 2.5rem); }
  .topbar { min-height: 64px; }
  .hero::before {
    height: 35rem;
    background:
      linear-gradient(0deg, var(--bg) 6%, rgb(8 9 11 / 72%) 44%, rgb(8 9 11 / 12%) 75%, var(--bg)),
      url("./hero-robot.webp") 59% top / cover no-repeat;
  }
  .intro { min-height: auto; padding-block: 10rem 2.8rem; }
  h1 { font-size: clamp(2.25rem, 9.2vw, 3.8rem); text-wrap: initial; }
  .summary { font-size: 1rem; margin-top: 1rem; }
  .steps, .team { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding: 1rem 0; }
  .workflow { padding-bottom: 1.3rem; }
}
