:root {
  color-scheme: light;
  --ink: #4b3c36;
  --muted: #806f67;
  --paper: #fffaf0;
  --paper-deep: #f6ead8;
  --cream: #f8efe2;
  --coral: #d77a68;
  --coral-dark: #a94f45;
  --sage: #8da390;
  --line: rgba(112, 80, 62, 0.17);
  --shadow: 0 22px 60px rgba(89, 63, 49, 0.16);
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--cream); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(215, 122, 104, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 80%, rgba(141, 163, 144, 0.15), transparent 30rem),
    repeating-linear-gradient(0deg, rgba(94, 71, 55, 0.025) 0, rgba(94, 71, 55, 0.025) 1px, transparent 1px, transparent 4px),
    var(--cream);
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.68; }

.shell {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
  padding: 40px 0;
}

.shell-centered { min-height: 100vh; display: grid; place-items: center; }

.paper-card {
  position: relative;
  width: 100%;
  padding: clamp(30px, 7vw, 60px);
  border: 1px solid rgba(126, 95, 73, 0.18);
  border-radius: 28px 13px 25px 16px;
  background:
    linear-gradient(95deg, rgba(255,255,255,.45), transparent 35%),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, var(--line) 32px),
    var(--paper);
  box-shadow: var(--shadow);
}

.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 104px;
  height: 32px;
  transform: translateX(-50%) rotate(-2deg);
  opacity: 0.75;
  clip-path: polygon(5% 4%, 98% 0, 94% 96%, 0 100%);
}
.tape-coral { background: #e8a897; }
.tape-sage { background: #b6c8b5; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
}

h1 { margin: 0; font-family: Georgia, "STKaiti", "KaiTi", serif; font-size: clamp(2.15rem, 9vw, 4rem); line-height: 1.08; }
.slogan, .intro { margin: 14px 0 30px; color: var(--muted); line-height: 1.8; }

.form-stack { display: grid; gap: 19px; }
.form-stack label { display: grid; gap: 8px; font-weight: 700; }
.form-stack label > span { font-size: 0.92rem; }

input, textarea {
  width: 100%;
  border: 1px solid rgba(111, 78, 61, 0.24);
  border-radius: 13px;
  outline: 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  padding: 14px 15px;
  transition: border-color 160ms, box-shadow 160ms;
}
textarea { resize: vertical; line-height: 1.7; }
input:focus, textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(215, 122, 104, 0.13); }

.primary-button, .secondary-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
}
.primary-button { background: var(--coral); color: #fff; box-shadow: 0 9px 22px rgba(169, 79, 69, 0.23); }
.primary-button:hover { background: var(--coral-dark); }
.secondary-button { display: block; margin: 28px auto 0; background: #e4eadf; color: #4e6252; }

.form-message { min-height: 1.5em; margin: 0; color: var(--muted); line-height: 1.5; }
.form-message[data-type="error"] { color: #a73e37; }
.signature { margin: 32px 0 0; color: var(--muted); text-align: center; font-family: Georgia, "STKaiti", "KaiTi", serif; font-style: italic; }
.draft-note { margin: -7px 0 0; color: var(--muted); font-size: 0.78rem; }

.question-note {
  position: relative;
  margin: 0 0 28px;
  padding: 20px 22px 20px 36px;
  border-left: 4px solid var(--sage);
  background: rgba(226, 235, 223, 0.65);
  transform: rotate(-0.45deg);
}
.question-note p { margin: 0; font-family: Georgia, "STKaiti", "KaiTi", serif; font-size: 1.22rem; line-height: 1.7; }
.question-mark { position: absolute; top: 4px; left: 9px; color: var(--sage); font: 2.4rem Georgia, serif; }

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 34px 0 18px;
}
.site-header h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
.text-button { border: 0; border-bottom: 1px dashed var(--muted); background: transparent; color: var(--muted); padding: 8px 0 4px; }

.timeline-shell { width: min(100% - 32px, 760px); margin-inline: auto; padding: 12px 0 56px; }
.timeline-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 34px; color: var(--muted); }
.timeline-intro p { margin: 0; font-family: Georgia, "STKaiti", "KaiTi", serif; font-size: 1.12rem; }
.section-title { margin: 0 0 10px; font: 1.65rem Georgia, "STKaiti", "KaiTi", serif; }
.timeline-list { position: relative; display: grid; gap: 24px; padding: 15px 0 0 27px; }
.timeline-list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 8px; width: 2px; background: linear-gradient(var(--coral), var(--sage)); opacity: 0.55; }
.timeline-card { position: relative; padding: 24px; border: 1px solid rgba(112,80,62,.15); border-radius: 10px 24px 13px 21px; background: var(--paper); box-shadow: 0 12px 34px rgba(89,63,49,.10); }
.timeline-dot { position: absolute; left: -26px; top: 28px; width: 14px; height: 14px; border: 3px solid var(--cream); border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px rgba(215,122,104,.3); }
.event-date { color: var(--coral-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.event-title { margin: 7px 0 10px; font: 1.55rem Georgia, "STKaiti", "KaiTi", serif; }
.event-body, .answer-text { margin: 0; color: var(--muted); line-height: 1.75; }
.origin-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 19px; }
.answer-note { padding: 16px; border-radius: 12px 18px 10px 15px; background: rgba(232, 219, 196, 0.46); }
.answer-note:nth-child(even) { background: rgba(218, 230, 216, 0.58); transform: rotate(.4deg); }
.answer-name { margin: 0 0 5px; }
.answer-date { margin: 0 0 8px; color: var(--coral-dark); font-size: .86rem; font-weight: 800; }

[hidden] { display: none !important; }

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 720px); padding: 26px 0; }
  .paper-card { padding: 36px 23px 30px; border-radius: 22px 10px 20px 13px; }
  .site-header, .timeline-shell { width: min(100% - 24px, 760px); }
  .site-header { padding-top: 25px; }
  .text-button { font-size: .82rem; }
  .timeline-list { padding-left: 23px; }
  .timeline-dot { left: -22px; }
  .timeline-card { padding: 20px 18px; }
  .origin-answers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

