/* taste-skill: preserve redesign. DESIGN_VARIANCE 6 / MOTION_INTENSITY 4 / VISUAL_DENSITY 3.
   Colors mirror YingjiPalette in Yingji/Views/MonochromeStyle.swift; native light champagne and dark lavender. Native CSS, no runtime.
   Radius scale: controls 999px, screenshot stages 28px, screenshots 22px.
   Layers: page content 0, header 10, keyboard skip link 100. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --ink: #242124;
  --muted: #636363;
  --accent: #8a5616;
  --line: #dcdcdc;
  --soft: #eeeeee;
  --stage: #f5f5f5;
  --stage-tinted: linear-gradient(35deg, #fff1dc33, #f5e2c21f, #ffedd22e), #f5f5f5;
  --button-ink: #4a3111;
  --gradient: linear-gradient(45deg, #ffeec2, #f8ce86, #e9a94e);
  --button-edge: #e8b93c;
  --selection: #f8ce86;
  --shadow: 0 22px 50px -28px rgb(0 0 0 / 12%);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--selection); color: var(--button-ink); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
/* Native wrapping keeps long CJK paragraphs inexpensive to lay out. */
img { max-width: 100%; display: block; }
.wrap, .header-inner, .site-footer { width: min(100% - 112px, 1168px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 20px; z-index: 100; padding: 10px 18px; background: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { height: 96px; position: relative; z-index: 10; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 16px; white-space: nowrap; font: 27px var(--serif); letter-spacing: .12em; }
.brand span { font: 400 10px var(--sans); letter-spacing: .24em; color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-contact { gap: 12px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 72px; align-items: center; padding-block: 88px 100px; }
.hero-copy { padding-block: 20px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 500; letter-spacing: .08em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 4.45vw, 64px); line-height: 1.3; letter-spacing: -.045em; font-weight: 600; }
.hero h1 span { display: block; }
.hero h1 .hero-ending { color: var(--accent); }
.hero-description { max-width: 27em; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.95; }
.hero-actions { margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px; gap: 28px; background: var(--gradient); color: var(--button-ink); border: 1px solid var(--button-edge); border-radius: 999px; font-size: 14px; font-weight: 500; transition: transform .2s, background .2s; }
.button:hover { background: var(--gradient); color: var(--button-ink); transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.hero-shot { display: grid; place-items: center; padding: 50px 42px; min-width: 0; background: var(--stage-tinted); border-radius: 28px; }
.hero-shot img, .shot-row img { height: auto; border: 1px solid var(--line); border-radius: 22px; background: #ffffff; box-shadow: var(--shadow); }
.hero-shot img { width: 100%; max-width: 372px; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.4; letter-spacing: -.025em; font-weight: 550; }
.shots { padding-block: 66px 82px; border-top: 1px solid var(--line); }
.shots > h2 { margin-bottom: 46px; }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 66px 32px; }
.shot-row { grid-column: span 7; min-width: 0; display: flex; flex-direction: column; }
.shot-row:nth-child(2), .shot-row:nth-child(3) { grid-column: span 5; }
.shot-copy { padding: 0 4px 26px; }
.shot-copy h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.5; font-weight: 550; letter-spacing: -.02em; }
.shot-copy p { color: var(--muted); line-height: 1.9; font-size: 15px; max-width: 35em; }
.shot-row figure { display: grid; place-items: center; padding: 32px; height: 438px; margin-top: auto; background: var(--stage); border-radius: 28px; }
.shot-row:nth-child(2) figure, .shot-row:nth-child(4) figure { background: var(--stage-tinted); }
.shot-row img { width: auto; max-height: 374px; max-width: 100%; object-fit: contain; }
.shots-note { margin-top: 28px; color: var(--muted); font-size: 12px; text-align: right; }
.privacy-section { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; padding-block: 78px 86px; border-top: 1px solid var(--line); }
.privacy-section h2 { max-width: 9em; }
.privacy-copy { padding-top: 4px; }
.privacy-copy p { color: var(--muted); line-height: 2; }
.privacy-copy p + p { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; margin-top: 20px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: 14px; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 44px 52px; border-top: 1px solid var(--line); }
.contact-section h2 { font-size: 25px; }
.contact-email { display: inline-flex; align-items: center; gap: 30px; min-height: 44px; font-size: 16px; overflow-wrap: anywhere; }
.site-footer { padding-block: 30px 28px; border-top: 1px solid var(--line); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom { margin-top: 24px; font-size: 12px; color: var(--muted); }
.site-footer .brand { font-size: 23px; }
/* A finite introduction and progressive section reveals. Unsupported browsers keep content visible. */
@keyframes yj-rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: yj-rise .7s cubic-bezier(.2,.7,.3,1) both; }
  .hero-shot.rise { animation-delay: .1s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: yj-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 65%; }
  }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --ink: #f5f5f5; --muted: #b5b5b5; --accent: #d8b8ff; --line: #383838; --soft: #292929; --stage: #191919; --stage-tinted: linear-gradient(35deg, #59395a33, #45305e26, #59395a2e), #191919; --button-ink: #3f2263; --gradient: linear-gradient(45deg, #fff4bf, #ffbefb, #dc95ff); --button-edge: #fff4bf; --selection: #ffbefb; --shadow: 0 22px 50px -28px rgb(0 0 0 / 55%); }
  .hero-shot img, .shot-row img { border-color: #303030; }
}
@media (max-width: 1024px) {
  .wrap, .header-inner, .site-footer { width: calc(100% - 64px); }
  .hero { gap: 40px; padding-block: 68px 76px; }
  .hero-shot { padding: 36px 28px; }
  .hero-description { font-size: 16px; }
  .feature-grid { gap: 52px 24px; }
  .shot-row figure { padding: 24px; height: 386px; }
  .shot-row img { max-height: 338px; }
  .privacy-section { gap: 48px; }
}
@media (max-width: 767px) {
  .wrap, .header-inner, .site-footer { width: calc(100% - 40px); }
  .site-header { height: 78px; }
  .brand { font-size: 25px; gap: 11px; }
  .site-header nav { gap: 24px; font-size: 13px; }
  .site-header .nav-contact { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 56px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 12px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(36px, 8.8vw, 52px); line-height: 1.32; letter-spacing: -.035em; }
  .hero-description { max-width: 32em; margin-top: 22px; font-size: 16px; line-height: 1.9; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 48px; padding: 10px 22px; }
  .hero-shot { padding: 30px 28px; }
  .hero-shot img { max-width: 320px; }
  h2 { font-size: 28px; }
  .shots { padding-block: 44px 52px; }
  .shots > h2 { margin-bottom: 34px; }
  .feature-grid { grid-template-columns: minmax(0,1fr); gap: 42px; }
  .shot-row, .shot-row:nth-child(2), .shot-row:nth-child(3) { grid-column: auto; }
  .shot-copy { padding: 0 0 22px; }
  .shot-copy h3 { font-size: 21px; margin-bottom: 10px; }
  .shot-copy p { font-size: 15px; max-width: none; }
  .shot-row figure { height: auto; padding: 28px; }
  .shot-row img { max-height: 410px; max-width: 100%; }
  .shots-note { text-align: left; margin-top: 24px; }
  .privacy-section { grid-template-columns: minmax(0,1fr); padding-block: 48px 52px; gap: 24px; }
  .privacy-section h2 { max-width: none; }
  .privacy-copy { padding: 0; }
  .contact-section { display: block; padding-block: 34px 40px; }
  .contact-section h2 { font-size: 23px; }
  .contact-email { margin-top: 12px; font-size: 14px; gap: 16px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { gap: 26px; font-size: 12px; }
  .footer-bottom { margin-top: 16px; }
}
@media (max-width: 359px) {
  .brand span { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-shot, .shot-row figure { padding: 22px; }
  .footer-links { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { --bg: #ffffff; --ink: #242124; --muted: #636363; --stage: #f5f5f5; --stage-tinted: linear-gradient(35deg, #fff1dc33, #f5e2c21f, #ffedd22e), #f5f5f5; }
  .site-header, .site-footer, .skip, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .hero, .privacy-section { padding-block: 30px; }
  .shot-row { break-inside: avoid; }
  .reveal, .rise { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── 常见问题 ────────────────────────────────────────────────────
   给审核和新用户看的一组问答。用原生 <details>：站点的 CSP 禁脚本，
   任何 JS 折叠都跑不起来；而 details 自带展开收起和无障碍语义。 */
.faq-section { padding-block: clamp(72px, 10vw, 128px); }
.faq-section h2 { margin: 6px 0 0; }
.qa-list {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.qa-item { border-bottom: 1px solid var(--line); }
.qa-item summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  transition: color .18s ease;
}
.qa-item summary::-webkit-details-marker { display: none; }
/* 加减号自己画：靠字体的三角在两端对不齐，而且各浏览器长得不一样。 */
.qa-item summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-weight: 400;
  font-size: 1.35em;
  line-height: 1;
  color: var(--muted);
  transition: transform .18s ease, color .18s ease;
}
.qa-item[open] summary::after { content: "−"; color: var(--accent); }
.qa-item summary:hover { color: var(--accent); }
.qa-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
.qa-answer {
  padding: 0 0 22px;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.85;
}
.qa-answer p { margin: 0; }
.qa-answer b { color: var(--ink); font-weight: 600; }
.qa-answer a { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .qa-item summary, .qa-item summary::after { transition: none; }
}
