﻿:root {
  --cream: #fffdf4;
  --cream-2: #fff8e6;
  --ink: #121212;
  --muted: #57534a;
  --blue: #2f9cf4;
  --blue-soft: #d9efff;
  --yellow: #ffd23f;
  --yellow-soft: #fff2b8;
  --red: #ff5a5f;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block; height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

.shell {
  width: min(1140px, calc(100% - 56px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 96px;
}

/* 顶栏 */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 2px solid var(--ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.head-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.head-nav a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.head-nav a:hover,
.head-nav a[aria-current="true"] {
  border-color: var(--blue);
  color: var(--blue);
}

.head-cta {
  flex: 0 0 auto;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.head-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--blue);
}

/* 首屏 */

.hero {
  position: relative;
  padding: 72px 0 66px;
  background: var(--cream-2);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 18, 18, 0.1) 1.1px, transparent 1.3px);
  background-size: 20px 20px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.bubble {
  display: inline-block;
  padding: 6px 16px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.5rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.mark {
  position: relative;
  padding: 0 4px;
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 94%, transparent 94%);
}

.lede {
  margin-top: 24px;
  max-width: 32em;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}

.btn-primary {
  padding: 13px 26px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-ghost {
  padding: 10px 20px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-ghost:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero-frame {
  position: relative;
  justify-self: end;
  width: min(360px, 100%);
  padding: 14px 14px 16px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(1.2deg);
}

.hero-frame img {
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 10px;
}

.hero-frame figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px dashed #c9c2ad;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-sticker {
  position: absolute;
  top: -18px;
  left: -16px;
  z-index: 2;
  padding: 6px 14px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  transform: rotate(-7deg);
}

/* 通用板块 */

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 38px;
}

.tag {
  display: inline-block;
  padding: 2px 12px;
  margin-bottom: 16px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

/* 分类 */

.cat-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.cat-item {
  padding: 28px 26px;
  border-right: 3px solid var(--ink);
}

.cat-item:last-child {
  border-right: 0;
}

.cat-item h3 {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.cat-item h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 5px;
  margin-top: 8px;
  background: var(--blue);
  border-radius: 3px;
}

.cat-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* 页面面板 */

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.panel {
  position: relative;
  padding: 26px 26px 28px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.panel-no {
  position: absolute;
  top: -16px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.panel h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.panel p {
  font-size: 14px;
  color: var(--muted);
}

/* 截图 */

.screenshot-panel {
  padding: 34px 32px 26px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
}

.screenshot-panel .section-head {
  margin-bottom: 26px;
}

.shot-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
}

.shot-strip figure {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
}

.shot-strip img {
  width: 200px;
  height: auto;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(18, 18, 18, 0.18);
}

/* 画板流程 */

.board-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.board-flow li {
  position: relative;
  padding: 26px 24px 28px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
}

.board-flow li::after {
  content: "→";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}

.board-flow li:last-child::after {
  content: none;
}

.board-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  background: var(--blue);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.board-flow h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.board-flow p {
  font-size: 13.8px;
  color: var(--muted);
}

/* 壁纸 */

.wp-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wp-card {
  padding: 24px 24px 26px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--blue);
}

.wp-letter {
  display: inline-block;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.wp-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.wp-card p {
  font-size: 13.8px;
  color: var(--muted);
}

/* 问答 */

.faq details {
  margin-bottom: 14px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}

.faq details[open] {
  background: var(--yellow-soft);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 50px 16px 20px;
  font-size: 15px;
  font-weight: 800;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 14px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 20px 20px;
  max-width: 54em;
  font-size: 14px;
  color: var(--muted);
}

/* 下载 */

.download {
  padding: 78px 0 82px;
  background: var(--yellow);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.download .tag {
  background: #fff;
}

.download-head {
  max-width: 620px;
  margin-bottom: 34px;
}

.download-head p {
  margin-top: 14px;
  font-size: 14.5px;
  color: #4a4436;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.dl-card {
  padding: 24px 22px 26px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dl-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.dl-label {
  display: inline-block;
  padding: 1px 9px;
  margin-bottom: 10px;
  background: var(--blue-soft);
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.dl-card strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.dl-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* 页脚 */

.site-foot {
  padding: 26px 0 30px;
  background: var(--ink);
  color: #f1ecdf;
}

.foot-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 30px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand img {
  border-radius: 8px;
}

.foot-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.foot-brand strong {
  font-size: 14px;
  font-weight: 800;
}

.foot-brand small {
  font-size: 11px;
  color: #b8b19f;
}

.foot-nav {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: #d5cebd;
}

.foot-nav a:hover {
  color: var(--yellow);
}

.foot-copy {
  margin-left: auto;
  font-size: 12px;
  color: #b8b19f;
}

/* 404 */

.error-page {
  padding: 90px 0 100px;
  min-height: 56vh;
}

.error-panel {
  max-width: 640px;
  padding: 40px 36px 44px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 10px 10px 0 var(--ink);
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.error-panel h1 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
}

.error-text {
  margin-top: 14px;
  color: var(--muted);
}

.error-panel .btn-primary {
  display: inline-block;
  margin-top: 28px;
}

/* 响应式 */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr 300px;
    gap: 36px;
  }

  .hero-frame {
    justify-self: end;
    width: min(300px, 100%);
  }

  .board-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .board-flow li::after {
    content: none;
  }

  .wp-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-frame {
    justify-self: center;
    width: min(360px, 100%);
  }
}

@media (max-width: 840px) {
  .head-nav {
    display: none;
  }

  .head-cta {
    margin-left: auto;
  }

  .cat-board {
    grid-template-columns: 1fr;
  }

  .cat-item {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .cat-item:last-child {
    border-bottom: 0;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .foot-copy {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 36px);
  }

  .head-inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 14.5px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .head-cta {
    padding: 8px 12px;
    font-size: 12px;
    box-shadow: 3px 3px 0 var(--blue);
  }

  .hero {
    padding: 48px 0 52px;
  }

  .bubble {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .lede {
    font-size: 14.5px;
  }

  .hero-frame {
    width: min(330px, 100%);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .section {
    padding: 54px 0;
  }

  .screenshot-panel {
    padding: 22px 18px 18px;
  }

  .shot-strip figure,
  .shot-strip img {
    width: 164px;
  }

  .download {
    padding: 56px 0 60px;
  }

  .error-panel {
    padding: 28px 22px 32px;
  }
}
