:root { color-scheme: light; --ink: #253b32; --muted: #6e7a72; --green: #24644b; --mint: #e5eddf; --orange: #dc744c; --line: #dfE4d9; }
* { box-sizing: border-box; }
body { margin: 0; background: #f6f5ee; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }
.site-header { max-width: 1320px; margin: auto; padding: 28px 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -1px; }
.brand-icon { background: var(--green); color: #faf8ef; border-radius: 12px 12px 12px 3px; width: 35px; height: 35px; font: 46px/1 Georgia, serif; text-align: center; padding-top: 2px; }
.brand-en { margin-left: 11px; font-size: 9px; letter-spacing: 1.8px; color: var(--muted); font-weight: 500; }
.prototype-label { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.prototype-label > span, .live-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #7d9b6b; }
.layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; max-width: 1190px; margin: 54px auto 60px; padding: 0 28px; align-items: start; }
.intro { padding-top: 48px; }
.eyebrow { font-size: 9px; font-weight: 650; letter-spacing: 2px; color: var(--muted); }
h1 { margin: 23px 0 25px; font-size: clamp(36px, 4.2vw, 53px); line-height: 1.42; letter-spacing: -2px; font-weight: 750; }
.highlight { position: relative; white-space: nowrap; z-index: 0; }
.highlight::after { content: ""; position: absolute; left: 0; right: 4px; height: 14px; bottom: 3px; background: #d7e5ba; transform: rotate(-2deg); z-index: -1; }
.intro-description { font-size: 15px; line-height: 1.95; color: var(--muted); }
.intro-tags { display: flex; gap: 9px; margin-top: 23px; }
.intro-tags span { padding: 8px 12px; font-size: 11px; border: 1px solid #d7dece; border-radius: 24px; color: #587052; }
.flow { margin-top: 43px; }
.section-kicker { font-size: 11px; color: var(--muted); margin-bottom: 17px; }
.flow > div { display: flex; gap: 14px; align-items: center; margin: 14px 0; }
.flow > div > span { font-family: Georgia, serif; font-size: 13px; color: var(--orange); }
.flow p:not(.section-kicker) { margin: 0; font-size: 13px; }
.handwritten { color: #6e8266; font-family: "Kaiti SC", "STKaiti", serif; font-size: 21px; margin-top: 35px; transform: rotate(-4deg); display: flex; align-items: center; gap: 25px; }
.handwritten span { font: 45px Georgia, serif; }
.demo-note { margin-top: 31px; color: #7c847a; font-size: 10px; line-height: 1.9; }
.workshop { background: #fffef9; border: 1px solid #e0e4d9; border-radius: 23px; padding: 23px 30px 25px; box-shadow: 0 16px 50px #314e2e09, 0 3px 7px #314e2e04; }
.card-topline { display: flex; justify-content: space-between; align-items: center; font-size: 9px; color: var(--muted); padding-bottom: 19px; border-bottom: 1px solid var(--line); letter-spacing: .5px; }
.card-topline > span:first-child { display: flex; align-items: center; gap: 6px; }
.card-topline > span:last-child { font-family: monospace; }
.card-heading { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 24px; }
.card-heading .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin: 0 0 10px; }
h2 { font-size: 27px; letter-spacing: -1px; margin: 0; font-weight: 700; }
.speech-art { font: 75px/.9 Georgia, serif; color: var(--orange); background: #faeae0; width: 60px; height: 58px; border-radius: 19px 19px 4px 19px; text-align: center; padding-top: 12px; transform: rotate(8deg); }
.field-label { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.field-label > span { color: #92978b; font-size: 9px; font-weight: 400; }
.input-wrap { position: relative; }
textarea { resize: vertical; width: 100%; min-height: 112px; max-height: 220px; background: #f6f6ef; border: 1px solid #e4e6dc; border-radius: 11px; padding: 15px 15px 28px; font-size: 14px; line-height: 1.7; color: var(--ink); }
textarea:focus { outline: 2px solid #8aa98a; outline-offset: 1px; }
.character-count { position: absolute; bottom: 12px; right: 13px; font-size: 9px; color: #93998d; pointer-events: none; }
.examples { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 26px; }
.examples > span { font-size: 9px; color: var(--muted); margin-right: 2px; }
.examples button { background: transparent; border: 1px solid #e4e6dc; color: #737e6e; padding: 6px 8px; border-radius: 6px; font-size: 10px; }
.examples button:hover { background: #edf0e5; color: var(--green); }
.tone-field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.tone-field legend { font-size: 12px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.tone-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tone-option { position: relative; cursor: pointer; }
.tone-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tone-option > span { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 13px 3px 12px; border-radius: 10px; border: 1px solid #e3e6dc; transition: background .15s; }
.tone-option b { font-size: 21px; font-weight: 400; line-height: 1.2; color: #7a8974; }
.tone-option strong { font-size: 12px; font-weight: 550; }
.tone-option small { font-size: 8px; color: #7c8776; white-space: nowrap; }
.tone-option input:checked + span { background: #edf2e7; border-color: #77956b; box-shadow: inset 0 0 0 .5px #77956b; }
.tone-option input:checked + span b { color: var(--green); }
.generate-button { display: flex; justify-content: space-between; align-items: center; width: 100%; background: var(--green); color: #fffef6; border: 0; border-radius: 10px; padding: 16px 20px; font-size: 14px; font-weight: 550; transition: background .15s, transform .15s; }
.generate-button:hover { background: #194e39; transform: translateY(-1px); }
.generate-button > span:last-child { font-size: 20px; font-weight: 400; }
.local-label { text-align: center; color: #93998b; font-size: 9px; margin: 11px 0 0; }
.result { margin-top: 23px; padding-top: 21px; border-top: 1px dashed #d8dfcf; }
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
h3 { font-size: 13px; margin: 0; font-weight: 600; }
.result-header > span { background: #eaf0e1; color: #59754c; padding: 5px 8px; border-radius: 5px; font-size: 9px; }
.reply-paper { background: #ecf0e4; border-radius: 12px; padding: 12px 21px 15px; }
.quote-mark { font: 47px/.9 Georgia, serif; color: #7b9568; display: block; height: 31px; }
.reply-paper > p { font-size: 17px; line-height: 1.8; margin: 8px 0 24px; font-weight: 500; overflow-wrap: anywhere; }
.paper-footer { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 1px; color: #78886d; }
.result-tip { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 13px 0; }
.result-actions { display: flex; gap: 7px; }
.result-actions button { flex: 1; background: transparent; border: 1px solid #dbe1d2; padding: 10px 4px; color: #476640; border-radius: 7px; font-size: 11px; }
.result-actions button:hover { background: #eff3e9; }
.result-actions button:last-child { background: #eef2e5; }
.result-disclaimer { font-size: 9px; color: #93998b; line-height: 1.8; margin-bottom: 0; }
.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 21px 48px; max-width: 1320px; margin: auto; color: #93988c; font-size: 10px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 10px; background: var(--ink); color: white; font-size: 12px; transition: opacity .2s, transform .2s; z-index: 10; max-width: calc(100% - 32px); text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1450px) { .layout { margin-top: 76px; } }
@media (max-width: 1000px) { .layout { gap: 35px; } .workshop { padding: 22px; } h1 { font-size: 39px; } .brand-en { display: none; } }
@media (max-width: 760px) {
  .site-header { padding: 18px 20px; } .brand { font-size: 20px; } .brand-icon { width: 31px; height: 31px; font-size: 40px; } .prototype-label { font-size: 8px; gap: 5px; }
  .layout { display: block; margin: 27px auto 32px; padding: 0 16px; max-width: 540px; }
  .intro { padding: 0 8px; } .intro > .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  h1 { font-size: 35px; margin: 17px 0 13px; line-height: 1.38; letter-spacing: -1.5px; } h1 br { display: none; } .highlight { display: inline-block; }
  .intro-description { font-size: 12px; margin-bottom: 17px; } .intro-description br { display: none; }
  .intro-tags, .flow, .handwritten { display: none; } .demo-note { font-size: 9px; margin: 0 0 22px; } .demo-note br { display: none; }
  .workshop { padding: 20px; border-radius: 18px; } .card-heading { padding: 21px 0; } h2 { font-size: 26px; }
  .site-footer { padding: 18px 20px; gap: 15px; font-size: 8px; line-height: 1.8; } .site-footer span:last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
