:root {
  --ink: #232924;
  --green: #23382f;
  --green-soft: #315545;
  --paper: #fffdf8;
  --canvas: #f3ede2;
  --canvas-deep: #e9dfd0;
  --brown: #8a6548;
  --brown-soft: #b29477;
  --muted: #746e65;
  --line: #ddd2c2;
  --shadow: 0 32px 80px rgba(53, 45, 36, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { align-items: center; display: flex; height: 78px; justify-content: space-between; margin: auto; max-width: 1180px; padding: 0 28px; }
.brand { align-items: center; display: flex; font-weight: 700; gap: 12px; letter-spacing: .02em; }
.brand-mark { align-items: center; background: var(--green); border-radius: 13px 13px 13px 4px; color: #fff9ef; display: flex; font-family: "Kaiti SC", "Songti SC", serif; font-size: 21px; height: 40px; justify-content: center; width: 40px; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 14px; transition: color .18s ease; }
nav a:hover { color: var(--green); }

.hero { align-items: center; display: grid; gap: 72px; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); margin: 0 auto; max-width: 1180px; min-height: 690px; padding: 64px 28px 110px; }
.eyebrow, .section-kicker { color: var(--brown); font-size: 12px; font-weight: 750; letter-spacing: .28em; margin: 0; }
h1 { font-family: "Songti SC", "STSong", serif; font-size: clamp(52px, 5.5vw, 72px); letter-spacing: -.045em; line-height: 1.15; margin: 22px 0 28px; }
h1 em { color: var(--green-soft); font-style: normal; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.9; margin: 0; max-width: 620px; }
.actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 25px; }
.primary, .secondary { border-radius: 999px; display: inline-block; font-size: 15px; padding: 15px 25px; }
.primary { background: var(--green); box-shadow: 0 12px 28px rgba(35, 56, 47, .16); color: white; }
.secondary { border: 1px solid #b9ad9e; transition: background .18s ease, border-color .18s ease; }
.secondary:hover { background: rgba(255, 253, 248, .7); border-color: var(--brown); }
.status { align-items: center; color: var(--muted); display: flex; font-size: 13px; gap: 9px; margin: 0; }
.status-dot { background: #4c9568; border-radius: 50%; box-shadow: 0 0 0 5px rgba(76, 149, 104, .12); height: 8px; width: 8px; }
.status-dot.offline { background: #b96659; box-shadow: 0 0 0 5px rgba(185, 102, 89, .12); }

.signature-studio { background: var(--paper); border: 1px solid rgba(138, 101, 72, .13); border-radius: 28px; box-shadow: var(--shadow); padding: 24px; position: relative; transform: rotate(1.2deg); }
.signature-studio::before { border: 1px solid rgba(138, 101, 72, .17); border-radius: 28px; content: ""; inset: -11px 14px 12px -11px; pointer-events: none; position: absolute; transform: rotate(-2.4deg); z-index: -1; }
.studio-head { align-items: center; color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; }
.ai-badge { background: var(--green); border-radius: 999px; color: #fff; font-size: 10px; letter-spacing: .08em; padding: 6px 10px; }
.signature-sheet { align-items: center; background: linear-gradient(145deg, #fdf9f1, #f6eee1); border: 1px solid #e8ddcd; border-radius: 18px; display: flex; flex-direction: column; height: 245px; justify-content: center; margin: 18px 0; overflow: hidden; position: relative; }
.signature-sheet::after { background: linear-gradient(90deg, transparent, rgba(138, 101, 72, .18), transparent); bottom: 58px; content: ""; height: 1px; position: absolute; width: 70%; }
.signature-name { color: #27372f; font-family: "STKaiti", "Kaiti SC", "Songti SC", serif; font-size: 76px; letter-spacing: -.14em; margin: 0 12px 10px 0; transform: rotate(-7deg) skewX(-7deg); }
.signature-caption { bottom: 22px; color: #9a8877; font-size: 11px; letter-spacing: .08em; position: absolute; }
.style-strip { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.style-option { background: #f6f0e6; border: 1px solid transparent; border-radius: 13px; color: var(--green); cursor: pointer; padding: 11px 8px; transition: border-color .18s ease, transform .18s ease; }
.style-option:hover { transform: translateY(-1px); }
.style-option.active { border-color: var(--brown-soft); }
.style-option b { display: block; font-family: "Kaiti SC", serif; font-size: 22px; font-weight: 500; }
.style-option span { color: var(--muted); display: block; font-size: 10px; margin-top: 4px; }
.neatness-preview { background: #f6f0e6; border-radius: 14px; margin-top: 12px; padding: 14px 16px; }
.neatness-preview > div:first-child, .scale-labels { align-items: center; display: flex; justify-content: space-between; }
.neatness-preview span { color: var(--muted); font-size: 11px; }
.neatness-preview b { color: var(--brown); font-size: 11px; }
.neatness-track { background: #ddd2c3; border-radius: 999px; height: 5px; margin: 12px 0 7px; overflow: visible; }
.neatness-track i { background: var(--green); border-radius: inherit; display: block; height: 100%; position: relative; width: 58%; }
.neatness-track i::after { background: var(--paper); border: 3px solid var(--green); border-radius: 50%; content: ""; height: 10px; position: absolute; right: -7px; top: -5px; width: 10px; }

.section { margin: auto; max-width: 1180px; padding: 100px 28px; }
.section h2 { font-family: "Songti SC", "STSong", serif; font-size: clamp(36px, 4vw, 46px); letter-spacing: -.025em; margin: 16px 0 45px; }
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.feature-grid article { background: var(--paper); border: 1px solid rgba(49, 88, 71, .08); border-radius: 20px; min-height: 270px; padding: 36px; }
.feature-grid article > span { color: var(--brown-soft); font-family: Georgia, serif; font-size: 35px; }
.feature-grid h3 { font-size: 21px; margin: 25px 0 13px; }
.feature-grid p, .safety p, .workflow-copy > p:last-child { color: var(--muted); line-height: 1.85; }

.workflow { align-items: start; display: grid; gap: 90px; grid-template-columns: 1fr 1fr; }
.workflow-copy > p:last-child { margin: -18px 0 0; max-width: 470px; }
.workflow ol { list-style: none; margin: 0; padding: 0; }
.workflow li { align-items: center; border-bottom: 1px solid #d8cdbc; display: flex; justify-content: space-between; padding: 24px 0; }
.workflow li b { font-size: 16px; }
.workflow li span { color: var(--muted); font-size: 13px; }

.safety { background: var(--green); border-radius: 28px; color: #fff; margin-bottom: 100px; padding: 70px; }
.safety .section-kicker { color: #d7baa0; }
.safety h2 { margin-bottom: 22px; }
.safety p { color: #dbe4de; max-width: 900px; }
.legal-links { display: flex; gap: 28px; margin-top: 30px; text-decoration: underline; text-underline-offset: 4px; }

footer { border-top: 1px solid #d7ccbc; color: var(--muted); display: flex; font-size: 13px; justify-content: space-between; margin: auto; max-width: 1180px; padding: 28px; }
footer a:hover { color: var(--green); }

.legal-page { margin: auto; max-width: 880px; padding: 52px 28px 120px; }
.legal-page .legal-brand { align-items: center; display: inline-flex; font-weight: 700; gap: 10px; margin-bottom: 50px; }
.legal-page .legal-brand .brand-mark { height: 34px; width: 34px; }
.legal-page h1 { font-size: clamp(42px, 6vw, 58px); margin-bottom: 12px; }
.legal-page .updated { color: var(--brown); font-size: 13px; margin-bottom: 48px; }
.legal-page h2 { font-family: "Songti SC", serif; font-size: 23px; margin-top: 44px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.95; }
.legal-page ul { padding-left: 1.25em; }
.back { color: var(--green); font-weight: 650; }
.legal-domain { border-top: 1px solid var(--line); display: block; font-size: 13px; margin-top: 55px; padding-top: 24px; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { gap: 45px; grid-template-columns: 1fr; padding-top: 40px; }
  .signature-studio { margin: 0 auto; max-width: 520px; width: 100%; }
  .feature-grid, .workflow { grid-template-columns: 1fr; }
  .workflow { gap: 16px; }
}

@media (max-width: 560px) {
  .site-header { height: 68px; padding: 0 20px; }
  .hero { min-height: auto; padding: 42px 20px 78px; }
  h1 { font-size: 46px; }
  .lead { font-size: 16px; }
  .actions { align-items: flex-start; flex-direction: column; }
  .signature-studio { border-radius: 22px; padding: 17px; }
  .signature-sheet { height: 210px; }
  .signature-name { font-size: 65px; }
  .section { padding: 72px 20px; }
  .section h2 { font-size: 35px; }
  .feature-grid article { min-height: 0; padding: 28px; }
  .workflow li { align-items: flex-start; flex-direction: column; gap: 7px; }
  .safety { border-radius: 0; margin-bottom: 40px; padding: 55px 24px; }
  footer { flex-direction: column; gap: 8px; padding: 25px 20px; }
  .legal-page { padding: 34px 22px 90px; }
  .legal-page .legal-brand { margin-bottom: 38px; }
}
