:root {
  color-scheme: light;
  --ink: #15233b;
  --muted: #4d5e77;
  --line: #dce4f2;
  --blue: #243fb9;
  font: 100%/1.65 "Instrument Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #6789ff; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.header { position: sticky; z-index: 2; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.head-row, .foot-row, .brand, nav, .actions { display: flex; align-items: center; }
.head-row { justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { gap: 8px; font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand span { color: var(--muted); font-size: 1rem; }
nav { gap: clamp(12px, 3vw, 32px); color: var(--muted); }
nav a:hover, .footer a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; border-radius: 9px; padding: 12px 19px; background: #d8e3ff; color: #172759; font-weight: 750; white-space: nowrap; }
.button:hover { background: #bfcfff; }
.button.small { background: var(--blue); color: white; padding: 8px 14px; font-size: .94rem; }
.button.small:hover { background: #192e91; }
.button.ghost { border: 1px solid #6980b2; color: #eef3ff; background: transparent; }
.button.ghost:hover { background: #263b69; }
.hero { color: #f5f8ff; background: radial-gradient(ellipse at 76% 21%, #2b4b8a, transparent 60%), #101e39; padding: clamp(52px, 8vw, 94px) 0 0; }
.hero-copy { text-align: center; max-width: 740px; margin: auto; }
.eyebrow { color: var(--blue); font-size: .94rem; font-weight: 750; }
.hero .eyebrow { color: #bcd2ff; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.11; letter-spacing: -.055em; margin-top: 10px; }
.lead { color: #d5e2ff; font-size: clamp(1rem, 2vw, 1.16rem); margin: 20px auto; max-width: 40rem; }
.actions { justify-content: center; flex-wrap: wrap; gap: 12px; }
.preview { margin: clamp(34px, 6vw, 65px) auto 0; background: #f0f4ff; color: var(--ink); max-width: 960px; border: 1px solid #788ebb; border-bottom: 0; border-radius: 17px 17px 0 0; overflow: hidden; box-shadow: 0 24px 75px #0004; }
.preview-chrome { background: #20365f; color: #e9f0ff; padding: 11px 18px; display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; }
.dots { color: #b4c8ff; letter-spacing: .15em; }
.preview-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 16px; padding: clamp(12px, 3vw, 26px); }
.project, .result { background: white; border: 1px solid var(--line); border-radius: 11px; padding: clamp(14px, 3vw, 24px); }
.preview-label { color: var(--blue); font-weight: 750; font-size: .87rem; }
.project h2 { font-size: 1.6rem; }
.project p, .note, .file span { color: var(--muted); }
.file { margin-top: 10px; padding: 7px 11px; background: #f1f5ff; border-radius: 6px; }
.file span { display: block; font-size: .86rem; }
.result h3 { font-size: 1.25rem; margin-bottom: 8px; }
.row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.row span { color: var(--muted); }
.note { margin-top: 8px; font-size: .9rem; }
.section { padding-block: clamp(46px, 7vw, 90px); scroll-margin-top: 72px; }
.section h2 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); line-height: 1.18; letter-spacing: -.04em; margin: 9px 0 12px; }
.section-intro, .scene p, .cards p, details p { color: var(--muted); }
.scene-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 14px; }
.scene-tabs button { padding: 8px 16px; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.scene-tabs [aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.scene, .faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); }
.scene { background: #eef3ff; border-radius: 14px; padding: clamp(19px, 4vw, 36px); align-items: center; }
.scene[hidden] { display: none; }
.scene h3 { font-size: 1.38rem; margin-bottom: 6px; }
.scene-sample { padding: 17px 19px; background: white; border-radius: 9px; border: 1px solid var(--line); }
.scene-sample p { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.workflow { background: #f1f5fe; scroll-margin-top: 72px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.cards article { padding: 21px; border-radius: 10px; background: white; border: 1px solid var(--line); }
.cards p { margin-top: 6px; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 750; cursor: pointer; }
details p { margin-top: 6px; }
.footer { background: #101e39; color: #e8efff; padding-block: 25px; }
.foot-row { flex-wrap: wrap; gap: 14px 24px; }
.foot-row span { margin-right: auto; font-weight: 750; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .head-row { min-height: 60px; gap: 8px; }
  nav { display: none; }
  .preview-grid, .scene, .cards, .faq { grid-template-columns: 1fr; }
  .preview-chrome { padding-inline: 10px; }
}
