:root {
  color-scheme: light;
  --ink: #25223b;
  --muted: #55556c;
  --accent: #6735b5;
  --line: #e5e0f0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f5f4fa; line-height: 1.75; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; border: 0; border-radius: 10px; background: var(--accent); color: white; padding: 11px 20px; font-weight: 700; display: inline-block; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #ad6dff; outline-offset: 3px; }
.shell { width: min(1320px, calc(100% - 48px)); margin: auto; }
header { background: white; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 23px; font-weight: 800; color: #35205a; line-height: 1.3; }
.brand small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { color: var(--ink); font-size: 14px; font-weight: 650; }
.hero { margin-top: 24px; display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; border-radius: 24px; background: linear-gradient(120deg,#fff,#e8e0ff); border: 1px solid var(--line); }
.hero-copy { padding: clamp(24px,4vw,55px); }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.eyebrow { color: #6941a5; font-size: 12px; font-weight: 750; letter-spacing: .1em; }
h1 { font-size: clamp(27px,3.1vw,44px); line-height: 1.25; margin: 14px 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(22px,2vw,28px); line-height: 1.4; margin: 8px 0; }
h3 { line-height: 1.45; margin: 8px 0; }
p { color: var(--muted); margin: 10px 0 16px; }
.subtitle { font-size: 20px; color: var(--accent); font-weight: 700; }
.heading { margin: 32px 0 17px; }
.tips { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.tip,.resource,.panel { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 24px; }
.num { display: inline-grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: #efe8ff; color: var(--accent); font-size: 19px; font-weight: 800; }
.tip strong { font-size: 14px; color: var(--accent); }
.tip p,.resource p { font-size: 14px; margin-bottom: 0; }
.workspace { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 26px; }
form label { display: block; margin: 10px 0 5px; font-weight: 600; }
input:not([type=checkbox]),select { width: 100%; border: 1px solid #cfc7df; border-radius: 8px; background: #fcfbff; padding: 10px; color: var(--ink); min-width: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form button { margin-top: 16px; }
output { display: block; background: #f1edf9; padding: 14px; border-radius: 9px; margin: 15px 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.actions button { background: #eee8fb; color: #4e2587; }
.checklist label { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; }
#progress { font-weight: 700; color: var(--accent); }
.faq { margin: 28px 0 40px; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 650; }
footer { background: #2e2345; color: white; padding: 25px 0; }
footer p,footer a { color: #e0d8ed; }
.skip { position: absolute; left: 10px; top: -100px; background: white; padding: 10px; }
.skip:focus { top: 10px; z-index: 5; }
[hidden] { display: none !important; }
@media (max-width: 950px) {
  .bar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .tips { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { grid-template-columns: 1fr 1fr; }
  .workspace { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 28px); }
  nav { gap: 10px 17px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: auto; aspect-ratio: 1.85; }
  .tips,.fields { grid-template-columns: 1fr; }
  .tip,.resource,.panel { padding: 18px; }
  .hero-copy { padding: 23px; }
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.command-grid code {
  display: block;
  padding: 10px;
  background: #f1edf9;
  border-radius: 8px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button, .example, .secondary {
  background: #eee8fb;
  color: #4e2587;
  font-size: 14px;
  padding: 8px 12px;
}
.example { margin-top: 12px; }
.exact { display: flex; align-items: center; gap: 8px; }
.hero-copy, .panel, .resource { min-width: 0; }
@media (max-width: 950px) {
  .command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .command-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
