:root {
  color-scheme: dark;
  --bg: #090d0b;
  --surface: #111915;
  --line: #29342e;
  --text: #f2f5ee;
  --muted: #aebdb3;
  --green: #acdfb9;
  --gold: #e7c075;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 700; letter-spacing: .28em; text-decoration: none; }
.brand img { border-radius: 9px; }
nav, .actions, footer { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
nav a, footer a { font-size: .875rem; color: var(--muted); text-decoration: none; }
nav a:hover, footer a:hover { color: var(--text); }
.language { border-left: 1px solid var(--line); padding-left: 20px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; align-items: center; gap: 48px; padding-block: 64px; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 650; letter-spacing: .12em; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 570; letter-spacing: -.045em; text-wrap: balance; }
h1 { max-width: 12ch; margin-block: 20px; font-size: clamp(3.2rem, 6vw, 5.65rem); line-height: 1.02; }
h1 span { display: block; color: var(--green); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.1; }
:lang(zh) h1, :lang(zh) h2 { letter-spacing: -.055em; }
p, li { line-height: 1.7; }
.lede { max-width: 37ch; font-size: 1.09rem; color: var(--muted); }
.actions { margin-top: 28px; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 19px; border-radius: 40px; background: var(--green); color: #0e2216; font-weight: 700; text-decoration: none; min-height: 48px; }
.button:hover { background: #c3efcc; }
.text-link { color: var(--green); font-weight: 600; }
.platform { margin-top: 19px; color: var(--muted); font-size: .83rem; }
figure { margin: 0; }
.showcase { min-height: 500px; display: grid; place-items: center; position: relative; padding: 24px 15px 15px; }
.screens { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; }
.phone { width: min(45%, 212px); background: #040605; border: 4px solid #3a4640; border-radius: 28px; overflow: hidden; }
.phone img { width: 100%; height: auto; }
.phone + .phone { width: min(39%, 177px); border-radius: 24px; }
figcaption { margin-top: 15px; color: #bbcabf; font-size: .76rem; text-align: center; }
.section { padding-block: 68px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.section .eyebrow { margin-bottom: 14px; }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.card h3 { margin-bottom: 9px; font-size: 1.12rem; }
.card p, .card ol, .intro, details p { color: var(--muted); }
.card .marker { width: 32px; display: block; height: 2px; background: var(--green); margin-bottom: 19px; }
.card:first-child .marker { background: var(--gold); }
.setup { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.setup-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 24px;
  padding: clamp(22px, 3.5vw, 36px);
}
.setup-card .eyebrow { margin-top: 0; color: var(--green); }
.setup-action { border-top: 1px solid var(--line); padding-top: 20px; }
.setup-action p { font-size: .93rem; }
.setup-action p + p { margin-top: 7px; }
.claude-install-details > :not(summary) { color: var(--text); }
.install-steps { margin: 14px 0 0; padding-inline-start: 1.25em; font-size: .93rem; }
.install-steps li + li { margin-top: 7px; }
.install-details { margin-top: 15px; padding: 0; border: 0; color: var(--green); font-size: .875rem; }
.install-details pre, .install-prompt-fallback {
  margin: 10px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.copy-install { --copy-icon-bg: var(--green); border: 0; font: inherit; font-weight: 700; cursor: pointer; }
[data-copy-target][hidden], .copy-status:empty { display: none; }
:where(.install-details pre, .install-prompt-fallback, [data-copy-target], .install-details summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.setup-action .copy-status { margin-top: 8px; color: var(--green); font-size: .875rem; }
.setup h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
.setup p { margin-top: 14px; }
details { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
summary { cursor: pointer; font-weight: 650; }
code { overflow-wrap: anywhere; color: var(--green); font-size: .85rem; }
.question { padding: 18px 22px; margin-top: 22px; border-left: 2px solid var(--gold); background: var(--surface); border-radius: 0 14px 14px 0; }
.question-label { display: block; color: var(--muted); font-size: .875rem; }
.question-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.question-row p { font-size: 1.05rem; }
.copy-question {
  --copy-icon-bg: var(--surface);
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}
.copy-question:hover { color: #d6f6dd; }
.copy-icon { position: relative; display: block; flex-shrink: 0; width: 18px; height: 18px; }
.copy-icon::before, .copy-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 12px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}
.copy-icon::before { top: 0; left: 0; opacity: .65; }
.copy-icon::after { right: 0; bottom: 0; background: var(--copy-icon-bg, var(--bg)); }
.question .copy-status { margin-top: 5px; color: var(--green); font-size: .875rem; }
.copy-install:hover { --copy-icon-bg: #c3efcc; }
[data-copy-target].is-copied .copy-icon::before { content: none; }
[data-copy-target].is-copied .copy-icon::after {
  width: 8px;
  height: 15px;
  top: 0;
  left: 5px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  transform: rotate(45deg);
}
.copy-status.is-confirmation, .setup-action .copy-status.is-confirmation {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.intro { margin-top: 14px; max-width: 66ch; }
footer { min-height: 95px; padding-block: 22px; border-top: 1px solid var(--line); }
footer .brand { margin-right: auto; color: var(--text); }
@media (min-width: 761px) and (max-width: 950px) {
  .setup { grid-template-columns: 1fr; }
  .setup-card { grid-template-rows: auto auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  header { min-height: 64px; }
  nav, footer { gap: 12px; }
  .language { padding-left: 12px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .showcase { min-height: auto; }
  .section { padding-block: 44px; }
  .columns, .setup { grid-template-columns: 1fr; }
  .setup-card { grid-template-rows: auto auto; grid-row: auto; row-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.scenarios { margin-top: 34px; }
.scenario {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 6vw, 76px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.scenario:nth-child(even) .scenario-copy { grid-column: 2; grid-row: 1; }
.scenario:nth-child(even) .scenario-art { grid-column: 1; grid-row: 1; }
.scenario-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  font-weight: 570;
  letter-spacing: -.045em;
}
.scenario-copy p { max-width: 44ch; color: var(--muted); }
.scenario-art {
  display: grid;
  place-items: center;
}
.scenario-art img {
  width: min(100%, 350px);
  height: auto;
  border-radius: 15px;
}
.scenario-art-insight img { width: min(100%, 420px); }
.scenario-art .question {
  width: 100%;
  margin: 0;
  border: 1px solid #43564a;
  border-radius: 15px;
}
.scenario-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.scenario-links a { color: var(--green); font-weight: 650; }
@media (max-width: 680px) {
  .scenarios { margin-top: 24px; }
  .scenario { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 22px; }
  .scenario:nth-child(even) .scenario-copy, .scenario:nth-child(even) .scenario-art { grid-area: auto; }
  .scenario-art .question { padding: 13px; }
}
