@charset "UTF-8";
/* =========================================================
   衣模 YIMU — 站点样式
   1. 设计变量   2. 基础与排版   3. 通用组件
   4. 首页       5. 工作台       6. 定价       7. 响应式
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --canvas: #f5efe4;
  --canvas-deep: #ece3d4;
  --paper: #fcfaf5;
  --ink: #24211c;
  --ink-soft: #5b544a;
  --muted: #8b8172;
  --line: #e2d7c5;
  --line-strong: #cfc0aa;
  --accent: #6e5334;
  --accent-soft: #c9b79c;
  --ok: #4b5f4c;
  --danger: #8c4a3a;

  --ff-sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --ff-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --ff-num: Georgia, "Times New Roman", "Songti SC", serif;

  --r-s: 2px;
  --r-m: 4px;
  --shadow-soft: 0 18px 50px -30px rgba(48, 38, 24, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础与排版 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.28;
  margin: 0;
  letter-spacing: 0.015em;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0;
}

strong {
  font-weight: 600;
}

.num {
  font-family: var(--ff-num);
  font-variant-numeric: lining-nums tabular-nums;
}

.lead {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
  max-width: 34em;
}

.small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 3. 通用组件 ---------- */
.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--accent);
}

.brand__name {
  font-family: var(--ff-serif);
  font-size: 17px;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand__en {
  font-family: var(--ff-num);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  padding-left: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-s);
  font-family: var(--ff-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--ink);
  color: #f8f4ea;
  border-color: var(--ink);
}

.btn--primary:hover {
  background: #3a332b;
  border-color: #3a332b;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn--wide {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn:disabled:active {
  transform: none;
}

.btn__arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section {
  padding: 56px 0;
}

.section--tight {
  padding: 40px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.section-head__index {
  font-family: var(--ff-num);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.7);
  line-height: 1.6;
}

.tag--ok {
  border-color: #b9c6b8;
  color: var(--ok);
  background: #eef2ea;
}

.tag--warn {
  border-color: #e0c9a8;
  color: #7d5a2a;
  background: #fbf2e2;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
}

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  margin-top: 8px;
}

.site-footer__grid {
  display: grid;
  gap: 18px;
}

.site-footer__brand {
  font-family: var(--ff-serif);
  font-size: 17px;
  letter-spacing: 0.14em;
}

.site-footer p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
  max-width: 46em;
}

/* toast */
.toast-host {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 420px;
}

.toast {
  width: 100%;
  background: #2b261f;
  color: #f6f1e6;
  border-radius: var(--r-m);
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.6);
  animation: toast-in 0.22s var(--ease) both;
}

.toast--err {
  background: #4a2f26;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 4. 首页 ---------- */
.hero {
  padding: 34px 0 20px;
}

.hero__grid {
  display: grid;
  gap: 26px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.hero__kicker {
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.32;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 1px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero__fact b {
  font-family: var(--ff-num);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}

.hero__fact span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* 对比滑尺 */
.compare {
  position: relative;
  border: 1px solid var(--line);
  background: var(--canvas-deep);
  border-radius: var(--r-s);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  max-height: 560px;
  width: 100%;
  margin: 0 auto;
  --pos: 50%;
  touch-action: pan-y;
}

.compare__base,
.compare__reveal {
  position: absolute;
  inset: 0;
}

.compare__base img,
.compare__reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  pointer-events: none;
  user-select: none;
}

.compare__reveal {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare__label {
  position: absolute;
  top: 10px;
  z-index: 3;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #fbf7ee;
  background: rgba(36, 33, 28, 0.66);
  border-radius: var(--r-s);
  padding: 3px 8px;
  pointer-events: none;
  line-height: 1.6;
}

.compare__label--a {
  left: 10px;
}

.compare__label--b {
  right: 10px;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  background: rgba(255, 252, 245, 0.9);
  box-shadow: 0 0 0 1px rgba(48, 38, 24, 0.18);
  z-index: 4;
  pointer-events: none;
}

.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(252, 250, 245, 0.96);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.compare__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 100%;
}

.compare__hint {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 三步 */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.step__num {
  font-family: var(--ff-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  font-family: var(--ff-sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}

.step p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

/* 案例 */
.case {
  display: grid;
  gap: 18px;
}

.case__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case__frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--r-s);
  overflow: hidden;
}

.case__frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
}

.case__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  background: var(--paper);
}

.case__cap b {
  font-family: var(--ff-num);
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.case__notes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.case__note {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
}

.case__note dt {
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 12.5px;
}

.case__note dd {
  margin: 0;
  color: var(--ink-soft);
}

/* 能力 */
.caps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cap {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  min-width: 0;
}

.cap__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cap__head h3 {
  font-family: var(--ff-sans);
  font-size: 15.5px;
  font-weight: 600;
}

.cap__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap__terms span {
  font-size: 11.5px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
  padding: 2px 8px;
  border-radius: var(--r-s);
  line-height: 1.7;
}

.cap p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* 报价预告 */
.teaser {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
  border-radius: var(--r-s);
}

.teaser__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.teaser__row:last-child {
  border-bottom: 0;
}

.teaser__row b {
  font-family: var(--ff-num);
  font-weight: 400;
  font-size: 17px;
  white-space: nowrap;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--ff-num);
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 56em;
}

/* 深色收尾 */
.cta-block {
  background: var(--ink);
  color: #f3ece0;
  border-radius: var(--r-m);
  padding: 32px 22px;
  display: grid;
  gap: 16px;
}

.cta-block h2 {
  color: #f7f1e5;
  font-size: 24px;
}

.cta-block p {
  color: #c8bda9;
  font-size: 13.5px;
  max-width: 40em;
  line-height: 1.85;
}

.cta-block .btn--primary {
  background: #f3ece0;
  color: var(--ink);
  border-color: #f3ece0;
  align-self: start;
}

.cta-block .btn--primary:hover {
  background: #fffdf7;
}

.cta-block .btn--ghost {
  color: #e7dfd0;
  border-color: #5b5147;
}

.cta-block .btn--ghost:hover {
  border-color: #a89880;
  background: transparent;
}

/* ---------- 5. 工作台 ---------- */
.studio-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line);
}

.studio-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.studio-head h1 {
  font-size: 26px;
}

.studio-head__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.panel__title {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel__body {
  padding: 16px;
}

.studio-grid {
  display: grid;
  gap: 16px;
  padding: 20px 0 0;
}

/* 上传 */
.dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  min-height: 168px;
  padding: 22px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-s);
  background: rgba(255, 253, 248, 0.6);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--accent);
  background: #fffdf7;
}

.dropzone.is-over {
  border-style: solid;
}

.dropzone__glyph {
  width: 30px;
  height: 30px;
  color: var(--accent-soft);
}

.dropzone__title {
  font-size: 14px;
  font-weight: 600;
}

.dropzone__note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 32em;
}

.dropzone__input {
  display: none;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.thumb {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--canvas-deep);
  aspect-ratio: 3 / 4;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb__tag {
  position: absolute;
  left: 4px;
  top: 4px;
  font-size: 10px;
  letter-spacing: 0.06em;
  background: rgba(36, 33, 28, 0.72);
  color: #fbf6ec;
  padding: 1px 6px;
  border-radius: var(--r-s);
  line-height: 1.7;
}

.thumb__del,
.thumb__main {
  position: absolute;
  bottom: 4px;
  border: 1px solid var(--line);
  background: rgba(252, 250, 245, 0.94);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1;
  padding: 5px 7px;
  border-radius: var(--r-s);
  cursor: pointer;
  min-height: 24px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.thumb__del {
  right: 4px;
}

.thumb__main {
  left: 4px;
}

.thumb__del:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.thumb__main:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* 表单 */
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  min-width: 0;
}

.field:last-child {
  margin-bottom: 0;
}

.field__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field__label b {
  font-weight: 600;
  color: var(--ink);
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seg button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.6);
  border-radius: var(--r-s);
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.seg button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.seg button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #f7f2e7;
}

/* 结果 */
.result-pane {
  display: grid;
  gap: 12px;
  align-content: start;
}

.empty {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 34px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r-s);
  background: rgba(255, 253, 248, 0.5);
  min-height: 300px;
}

.empty__glyph {
  width: 34px;
  height: 34px;
  color: var(--accent-soft);
}

.empty p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 24em;
}

.results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result {
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--canvas-deep);
  position: relative;
}

.result img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 18%;
}

.result__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.result__bar a,
.result__bar button {
  font-size: 11.5px;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
}

.result__bar a:hover,
.result__bar button:hover {
  color: var(--ink);
}

.progress {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--paper);
}

.progress__bar {
  height: 3px;
  background: var(--canvas-deep);
  border-radius: 2px;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.progress__text {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.progress__text b {
  font-family: var(--ff-num);
  font-weight: 400;
  color: var(--ink-soft);
}

/* 提示词预览 */
.prompt {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}

.prompt summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--ink-soft);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}

.prompt summary::-webkit-details-marker {
  display: none;
}

.prompt summary::after {
  content: "+";
  font-family: var(--ff-num);
  color: var(--accent);
  font-size: 15px;
}

.prompt[open] summary::after {
  content: "−";
}

.prompt__text {
  margin: 8px 0 0;
  padding: 12px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  font-family: var(--ff-sans);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* 开发者面板 */
.devpanel {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--paper);
}

.devpanel summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}

.devpanel summary::-webkit-details-marker {
  display: none;
}

.devpanel summary::after {
  content: "配置";
  font-family: var(--ff-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.devpanel[open] summary::after {
  content: "收起";
}

.devpanel__body {
  padding: 0 16px 16px;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.text-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: var(--r-s);
  font-size: 13px;
  line-height: 1.6;
}

.text-input::placeholder {
  color: #a99f90;
}

.studio-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: #fbf2e2;
  border: 1px solid #e6d3b3;
  border-radius: var(--r-s);
  font-size: 12px;
  line-height: 1.75;
  color: #6f5226;
}

.studio-note--plain {
  background: var(--canvas);
  border-color: var(--line);
  color: var(--muted);
}

/* ---------- 6. 定价 ---------- */
.tiers {
  display: grid;
  gap: 14px;
}

.tier {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--r-s);
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.tier--focus {
  border-color: var(--ink);
  box-shadow: 0 22px 50px -34px rgba(48, 38, 24, 0.6);
}

.tier__name {
  font-family: var(--ff-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ff-num);
}

.tier__price b {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.tier__price span {
  font-size: 12px;
  color: var(--muted);
}

.tier__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.tier__list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 8px;
}

.tier__list svg {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: var(--ok);
}

.tier__cta {
  margin-top: 2px;
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  table-layout: fixed;
}

.matrix th,
.matrix td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  word-break: break-word;
}

.matrix th {
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
  background: rgba(236, 227, 212, 0.4);
}

.matrix td {
  color: var(--ink-soft);
}

.matrix .col-key {
  width: 30%;
}

.matrix .col-val {
  width: 26%;
}

.matrix .col-note {
  width: 44%;
}

/* ---------- 7. 响应式 ---------- */
@media (min-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .case__pair {
    gap: 14px;
  }

  .cta-block {
    padding: 38px 32px;
  }
}

@media (min-width: 860px) {
  .wrap {
    padding: 0 32px;
  }

  .site-header__inner {
    min-height: 70px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding: 52px 0 26px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 46px;
    align-items: center;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.34;
  }

  .section {
    padding: 76px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }

  .step {
    padding: 22px 24px 26px 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    border-right: 0;
  }

  .case {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }

  .caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap {
    padding: 24px 26px 24px 0;
    border-right: 1px solid var(--line);
  }

  .cap:nth-child(2n) {
    padding-right: 0;
    padding-left: 26px;
    border-right: 0;
  }

  .cap:last-child {
    border-bottom: 1px solid var(--line);
  }

  .studio-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas:
      "upload result"
      "config result";
    gap: 18px;
  }

  .studio-grid__upload {
    grid-area: upload;
  }

  .studio-grid__config {
    grid-area: config;
  }

  .studio-grid__result {
    grid-area: result;
    position: sticky;
    top: 86px;
  }

  .studio-head {
    padding: 34px 0 20px;
  }

  .studio-head h1 {
    font-size: 32px;
  }

  .tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .teaser {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: start;
    padding: 26px;
  }

  .pricing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: end;
  }

  .cta-block {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 44px 40px;
    gap: 28px;
  }

  .cta-block__actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
}

@media (min-width: 1080px) {
  .hero h1 {
    font-size: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
