/* 颜色取自图标：靛蓝做文字和按钮，青绿只用来划线（mark）。 */
:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --ink: #161834;
  --ink2: #4d5070;
  --muted: #74778f;
  --line: rgba(22, 24, 52, 0.1);
  --accent: #3b3fd8;
  --mark: #7de3d1;
  --mark-ink: #0e1a2b;
  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1020;
    --surface: #181a30;
    --ink: #eceefa;
    --ink2: #a9acc6;
    --muted: #8285a2;
    --line: rgba(236, 238, 250, 0.1);
    --accent: #9fa2ff;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-text-size-adjust: 100%;
}
header,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶栏 */
header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
nav {
  display: flex;
  gap: 24px;
}
nav a {
  color: var(--ink2);
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms var(--ease);
}
nav a:hover,
nav a[aria-current] {
  color: var(--ink);
}
nav a[aria-current] {
  font-weight: 500;
}

/* 正文 */
a {
  color: var(--ink);
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms var(--ease);
}
a:hover {
  text-decoration-color: var(--ink);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
main {
  padding-top: 48px;
}
h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h2 {
  margin: 40px 0 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
p,
ul,
ol {
  margin: 12px 0;
}
ul,
ol {
  padding-left: 22px;
}
li + li {
  margin-top: 6px;
}
.meta {
  color: var(--muted);
  font-size: 14px;
}
mark {
  padding: 0 4px;
  border-radius: 2px;
  background: var(--mark);
  color: var(--mark-ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
section + section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
footer {
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer a {
  color: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    filter 150ms var(--ease),
    transform 150ms var(--ease);
}
@media (prefers-color-scheme: dark) {
  .button {
    color: #0f1020;
  }
}
.button:hover {
  filter: brightness(1.08);
}
.button:active {
  transform: scale(0.98);
}
.button.quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 24px;
}
.note {
  color: var(--muted);
  font-size: 14px;
}

/* 首页：左边文字，右边一张真实的手表界面 */
.hero {
  display: grid;
  grid-template-columns: 1fr 208px;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
}
.lede {
  margin: 16px 0 0;
  color: var(--ink2);
  font-size: 18px;
  line-height: 1.6;
}
.watch {
  width: 208px;
  padding: 14px;
  border-radius: 56px;
  background: #050507;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 48px -24px rgba(22, 24, 52, 0.45);
}
.watch img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.steps h2 {
  margin: 0 0 4px;
  font-size: 16px;
}
.steps p {
  margin: 0;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.6;
}
kbd {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit;
  font-size: 0.92em;
}

@media (max-width: 720px) {
  header,
  main,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  h1 {
    font-size: 28px;
  }
  header {
    gap: 12px;
  }
  nav {
    gap: 14px;
  }
  .brand {
    font-size: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .watch {
    width: 176px;
    border-radius: 48px;
  }
  .watch img {
    border-radius: 34px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}
