:root {
  color-scheme: light;
  --ink: #142d47;
  --muted: #50647a;
  --blue: #12579a;
  --line: #d8e2ea;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, dl, dd, ul { margin: 0; }
body { background: #fff; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #c85530; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 4; left: 1rem; top: -6rem; background: white; padding: .6rem 1rem; }
.skip:focus { top: .5rem; }
.wrap { width: min(1180px, 88%); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid #dbe4ec; }
.bar, .foot { display: flex; align-items: center; }
.bar { min-height: 4.6rem; gap: 3.4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand strong { font-size: 1.43rem; letter-spacing: .04em; }
.brand img { display: block; }
nav { display: flex; gap: 2.1rem; align-items: center; }
nav a, .header-action, .back { font-size: .93rem; }
nav a:hover, .back:hover, .secondary:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .3em; }
.header-action { margin-left: auto; padding: .34rem 1.05rem; border: 1px solid #bdcddc; border-radius: .5rem; }
.header-action:hover { background: #f0f6fb; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #e0eff9; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("./assets/mountain-wind.webp") center center / cover no-repeat; }
.hero-inner { padding-block: clamp(4.5rem, 6.3vw, 6.4rem) clamp(6rem, 8vw, 9rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .89rem; font-weight: 650; letter-spacing: .09em; color: var(--blue); }
.eyebrow i { width: 1.6rem; height: 2px; background: currentColor; }
h1 { font-size: clamp(3.45rem, 5.05vw, 5.2rem); line-height: 1.15; letter-spacing: -.058em; margin: 1.2rem 0; font-weight: 800; }
h1 span { color: var(--blue); }
.intro { max-width: 36rem; font-size: clamp(1rem, 1.2vw, 1.14rem); color: #30465b; line-height: 1.95; }
.intro a { text-decoration: underline; text-decoration-color: #86a6c0; text-underline-offset: .23em; }
.intro a:hover { color: var(--blue); }
.actions { display: flex; align-items: center; gap: 1.65rem; margin-top: 1.8rem; }
.button { background: #164f87; color: #fff; font-weight: 650; padding: .68rem 1.45rem; border-radius: .48rem; box-shadow: 0 3px 9px #163c591a; }
.button:hover { background: #103d6f; }
.secondary { font-weight: 600; color: #224665; }
.section { padding-block: clamp(3.8rem, 5.3vw, 5.7rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.95rem); line-height: 1.35; letter-spacing: -.045em; margin: .65rem 0; }
.lead, .stage-copy p, .formats p, details p { color: var(--muted); line-height: 1.85; }
.studio { margin-top: 2rem; border: 1px solid #cfdce6; border-radius: 1rem; overflow: hidden; }
.studio-controls { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 2rem; border-bottom: 1px solid var(--line); }
.example-label { font-weight: 700; }
.example-label small { margin-left: .35rem; color: var(--muted); font-weight: 400; }
.steps { display: flex; gap: .2rem; padding: .2rem; border-radius: .55rem; background: #edf2f6; }
.steps a { padding: .35rem .95rem; border-radius: .4rem; font-size: .9rem; }
.steps a:hover { color: var(--blue); }
.steps [aria-selected="true"] { background: white; box-shadow: 0 1px 4px #0e314221; color: var(--blue); font-weight: 650; }
.stage { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7%; padding: clamp(1.5rem, 3.4vw, 3.2rem); min-height: 21rem; background: linear-gradient(110deg, #f7fafd, #eaf2f8); }
.stage + .stage { border-top: 1px solid var(--line); }
.stage-copy h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.45; margin-bottom: .65rem; }
.example { background: #fff; padding: 1.3rem 1.6rem; border: 1px solid #d6e1eb; border-radius: .75rem; box-shadow: 0 6px 24px #25415c0b; }
.who { font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: .65rem; }
.chat .who { text-align: right; }
.bubble { border-radius: .65rem .2rem .65rem .65rem; background: #e4effb; padding: .65rem .9rem; margin-left: 1.7rem; }
.reply { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1.05rem; }
.reply b { font-size: .9rem; }
.reply p, dd { color: #43596e; }
.plan dl { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1rem; }
dt { color: var(--blue); font-weight: 600; }
.shelf h4 { font-size: 1.25rem; }
.shelf ul { list-style: none; padding: 0; }
.shelf li { display: flex; align-items: center; gap: .8rem; margin-top: .8rem; }
.book { width: 1.8rem; height: 2.5rem; border-radius: 2px 4px 4px 2px; border-left: 4px solid #0002; }
.earth { background: #b8915c; } .sea { background: #6093ad; }
.shelf small { display: block; color: var(--muted); }
.shelf em { margin-left: auto; font-size: .88rem; font-style: normal; color: var(--blue); }
.delivery { background: #f2f6f9; }
.platforms { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.platforms li { padding: .24rem .8rem; border: 1px solid #cbdcea; border-radius: .45rem; color: #234f75; font-size: .93rem; }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.1rem; }
.formats article { padding-inline: 2.1rem; border-left: 1px solid #cddbe6; }
.formats article:first-child { padding-left: 0; border: 0; } .formats article:last-child { padding-right: 0; }
.icon { display: block; position: relative; width: 1.65rem; height: 1.45rem; color: var(--blue); margin-bottom: 1.2rem; }
.monitor { border: 2px solid currentColor; border-radius: .22rem; height: 1.2rem; margin-bottom: 1.45rem; }
.monitor::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -.4rem; border-bottom: 2px solid; }
.package { border: 2px solid; border-top: 0; height: .75rem; margin-top: .7rem; font: bold 1.55rem/.13 sans-serif; text-align: center; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.grid i { border: 2px solid; border-radius: 2px; }
.formats h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.case-section { background: #f2f6f9; }
.screens { padding-top: 0; }
.screens-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: 1.8rem; }
.screens figure { margin: 0; min-width: 0; }
.screen-preview { display: flex; align-items: flex-start; justify-content: center; aspect-ratio: 1 / 1.04; overflow: hidden; position: relative; padding-top: 7%; border-radius: .9rem; cursor: zoom-in; }
.screen-preview img { width: 79%; height: auto; border: 4px solid #fff; border-radius: 1rem; box-shadow: 0 .6rem 1.7rem #152d482b; }
.screen-apps { background: linear-gradient(145deg,#e9f3f4,#bbd4d9); }
.screen-creation { background: linear-gradient(145deg,#edf1fc,#c4cce7); }
.screen-delivery { background: linear-gradient(145deg,#f6eee4,#dfd0bc); }
.screen-preview::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 1.4rem; background: linear-gradient(transparent,#263c4d12); }
.screens figcaption { padding: .9rem .15rem 0; }
.screens figcaption h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.screens figcaption p { color: var(--muted); }
.screen-viewer { max-width: 94vw; max-height: 96vh; max-height: 96dvh; padding: .65rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); }
.screen-viewer::backdrop { background: #102335cf; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 .2rem .5rem; gap: 2rem; }
.viewer-bar button { font: inherit; color: var(--blue); background: #edf3f9; border: 0; border-radius: .35rem; padding: .3rem .8rem; cursor: pointer; }
.viewer-bar button:focus-visible { outline: 2px solid var(--blue); }
.full-screen-image { display: block; width: auto; max-width: 86vw; max-height: 80vh; max-height: 80dvh; margin: auto; }
@media (max-width: 640px) {
  .screens-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .screen-preview { aspect-ratio: 1.2; }
  .screen-preview img { width: min(72%, 18rem); }
}
.case-section + .delivery { background: #fff; }
.case-grid, .download-grid { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.case-card { background: white; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; }
.case-art { display: grid; place-items: center; min-height: 12rem; padding: 1.25rem; }
.ledger-art { background: #dfede6; color: #25473c; }
.stock-art { background: #f2e8d9; color: #624a32; }
.board-art { background: #deeaf8; color: #2b4a70; }
.sample-window { width: min(100%, 15rem); background: #ffffffea; box-shadow: 0 .4rem 1.15rem #233b5514; padding: 1rem; border-radius: .5rem; }
.sample-caption { font-size: .84rem; font-weight: 650; margin-bottom: .45rem; }
.receipt { max-width: 12.5rem; transform: rotate(-3deg); }
.receipt > b { display: block; font-size: 1.45rem; line-height: 1.3; padding-bottom: .45rem; border-bottom: 1px dashed #b1c8bc; }
.receipt-line, .stock-row { display: flex; justify-content: space-between; font-size: .84rem; padding-top: .23rem; }
.stock-row + .stock-row { border-top: 1px solid #ece5dc; margin-top: .2rem; }
.low-stock { color: #984619; }
.board { width: min(100%, 17rem); }
.board-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.board-columns div { background: #edf2f7; padding: .4rem .23rem .75rem; border-top: 2px solid #849cb5; border-radius: .2rem; text-align: center; font-size: .75rem; }
.board-columns div:nth-child(2) { border-color: #4784c0; }
.board-columns div:last-child { border-color: #699980; }
.board-columns span { display: block; padding: .23rem .1rem; background: white; margin-top: .4rem; border-radius: .2rem; }
.case-body { padding: 1.25rem; }
.level { font-size: .88rem; color: var(--blue); }
.case-body h3 { font-size: 1.4rem; margin: .2rem 0 .45rem; }
.case-body > p, .download-grid p { color: var(--muted); }
.case-body details { border: 0; border-top: 1px solid var(--line); margin-top: .9rem; }
.case-body summary { padding: .75rem 0 0; color: var(--blue); font-size: .93rem; }
.case-body details p { margin-top: .5rem; padding: 0; }
.download-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.download-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.download-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: 1.35rem; background: #f3f7fb; border-radius: .7rem; }
.download-grid h3 { font-size: 1.4rem; }
.download-grid p { font-size: .93rem; margin: .25rem 0 1.2rem; }
.download-link { margin-top: auto; border-radius: .4rem; background: #164f87; color: white; font-weight: 600; padding: .45rem 1rem; }
.download-link:hover { background: #103d6f; }
@media (max-width: 940px) {
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { gap: .75rem; } .case-art { padding: .75rem; } .case-body { padding: 1rem; }
}
@media (max-width: 740px) {
  .case-grid { grid-template-columns: 1fr; gap: 1rem; }
  .case-card { display: grid; grid-template-columns: minmax(9rem, .8fr) 1.4fr; }
}
@media (max-width: 500px) {
  .case-card { display: block; } .case-art { min-height: 11rem; }
  .download-grid { grid-template-columns: 1fr; gap: .65rem; }
  .download-grid article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem .5rem; padding: 1rem; }
  .download-grid p { grid-column: 1; margin: 0; }
  .download-link { grid-column: 2; grid-row: 1 / 3; margin: 0; }
}
.faq { display: grid; grid-template-columns: 1fr 1.65fr; gap: 4rem; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; padding: 1.15rem .15rem; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 1.15rem; }
footer { border-top: 1px solid var(--line); }
.foot { min-height: 5.3rem; gap: 1.25rem; }
.foot .brand strong { font-size: 1.15rem; }
.foot > span { color: var(--muted); font-size: .88rem; }
.back { margin-left: auto; }
@media (max-width: 780px) {
  .bar { gap: 2rem; } nav { gap: 1.3rem; }
  .hero::before { background-position: 62% bottom; }
  .hero { background: #e7f2fa; } .hero-inner { padding-block: 3.7rem 8.5rem; }
  .stage { grid-template-columns: 1fr; gap: 1.4rem; }
  .formats article { padding-inline: 1.2rem; } .faq { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media (max-width: 640px) {
  .wrap { width: 89%; }
  .bar { min-height: 3.8rem; gap: .65rem; justify-content: space-between; }
  .bar .brand img { width: 1.9rem; height: 1.9rem; } .brand { gap: .35rem; } .brand strong { font-size: 1.13rem; }
  nav { gap: clamp(.5rem, 2.7vw, 1rem); } nav a { font-size: .875rem; } .header-action { display: none; }
  .hero { background: #edf3f5; }
  .hero::before { background-size: auto 100%; background-position: 83% bottom; height: 13.4rem; top: auto; mask-image: linear-gradient(transparent, #000 29%); }
  .hero-inner { padding-block: 2.8rem 12.1rem; }
  h1 { font-size: clamp(2.85rem, 10vw, 3.75rem); margin-block: .8rem; }
  .intro { line-height: 1.85; } .desktop { display: none; } .actions { gap: 1.2rem; margin-top: 1.25rem; }
  .section { padding-block: 3rem; } h2 { font-size: 1.8rem; } .studio { margin-top: 1.4rem; }
  .studio-controls { flex-direction: column; align-items: stretch; padding: 1rem; gap: .7rem; } .steps a { flex: 1; text-align: center; padding-inline: .2rem; }
  .stage { padding: 1.1rem; } .example { padding: 1rem; } .bubble { margin-left: .6rem; }
  .formats { grid-template-columns: 1fr; gap: 1.3rem; margin-top: 1.5rem; }
  .formats article, .formats article:first-child { border: 0; border-top: 1px solid #cddbe6; padding: 1.3rem 0 0; }
  .icon { margin-bottom: .75rem; }
  .foot { gap: .6rem; } .foot > span { font-size: .8rem; } .back { font-size: .875rem; }
}
