:root {
  color-scheme: light;
  --paper: #fff9f1;
  --ink: #241e1b;
  --muted: #64534a;
  --orange: #a53521;
  --line: #e8d8c9;
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #245eaa; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 24px;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { font-size: 1.25rem; font-weight: 900; letter-spacing: -.04em; }
.brand span, .site-header nav, .site-footer { font-size: .875rem; color: var(--muted); }
.brand span { margin-left: .5rem; letter-spacing: 0; font-weight: 600; }
.site-header nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(26px, 6vw, 86px);
  padding-block: clamp(44px, 7vw, 96px) 72px;
}
.eyebrow { margin: 0 0 16px; color: var(--orange); font-weight: 800; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.1rem, 5.85vw, 5.3rem);
  line-height: 1.04;
  letter-spacing: -.095em;
  margin-bottom: 25px;
}
h1 span { color: var(--orange); white-space: nowrap; }
.intro { color: var(--muted); line-height: 1.8; max-width: 23em; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 48px;
  padding: .68em 1em;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--orange); color: white; }
.primary:hover { background: #872816; }
.secondary { background: #fffaf4; border-color: #d6c2ad; }
.secondary:hover { background: #ffefdc; }
.stage {
  position: relative;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.1;
  background: radial-gradient(ellipse at 65% 28%, #ffedbb, transparent 68%), #ffd9ac;
  border-radius: 30px;
  border: 1px solid #edc6a1;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#a65932 1px, transparent 1px);
  background-size: 19px 19px;
  opacity: .18;
}
.sheet {
  position: absolute;
  top: 16%;
  left: 10%;
  width: 63%;
  padding: 7% 8% 10%;
  transform: rotate(-9deg);
  border-radius: 16px;
  background: #fffdf7;
  box-shadow: 0 14px 36px #8f4a302b;
}
.sheet-label { font-size: clamp(.75rem, 1.3vw, 1rem); color: var(--orange); font-weight: 800; }
.sheet strong { display: block; margin-top: .4em; font-size: clamp(1.55rem, 4vw, 3rem); letter-spacing: -.06em; }
.wave { display: flex; gap: 4px; align-items: center; height: 26px; margin-top: 12px; }
.wave i { width: 4px; height: 70%; border-radius: 4px; background: #ca684c; animation: pulse 1.4s ease-in-out 3 alternate; }
.wave i:nth-child(2n) { height: 40%; animation-delay: .17s; }
.wave i:nth-child(3n) { height: 100%; animation-delay: .32s; }
.dodo {
  position: absolute;
  inset: auto -3% 3% auto;
  width: 69%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px #96572834);
  animation: bob 3.6s ease-in-out 2;
}
.spark { position: absolute; color: #9b4727; font-size: clamp(1rem, 4vw, 2.8rem); }
.spark-one { top: 13%; right: 12%; }
.spark-two { bottom: 26%; left: 11%; }
.practice-note {
  position: absolute;
  bottom: 7%;
  left: 7%;
  padding: .6em .8em;
  transform: rotate(-4deg);
  border-radius: .5em;
  background: #fff8d8;
  font-size: clamp(.7rem, 1.4vw, 1rem);
  font-weight: 700;
}
.hero-copy, .stage { animation: arrive .65s ease-out both; }
.stage { animation-delay: .12s; }
@keyframes arrive { from { opacity: 0; translate: 0 16px; } }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes pulse { to { scale: 1 .44; } }
.flow { padding-block: 37px 64px; border-top: 1px solid var(--line); }
h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 3.3vw, 2.35rem); letter-spacing: -.055em; }
h3 { margin-bottom: 9px; font-size: 1.17rem; }
.flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.flow li { padding: 22px; border-radius: 15px; background: #ffe5d7; }
.flow li:nth-child(2) { background: #e1edff; }
.flow li:nth-child(3) { background: #e1f1e7; }
.flow p, .panel p { line-height: 1.7; color: var(--muted); }
.flow p { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 44px; }
  .stage { max-height: 460px; width: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .site-header, .site-footer { padding-block: 18px; }
  .flow ol { grid-template-columns: minmax(0, 1fr); }
  .flow { padding-bottom: 40px; }
  .stage { border-radius: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.scenarios {
  padding-block: clamp(30px, 5vw, 56px) clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.scenario-heading { max-width: 43rem; margin-bottom: 24px; }
.scenario-heading h2 { margin-bottom: 10px; }
.scenario-heading p { color: var(--muted); line-height: 1.7; }
.scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scenario-list li {
  --card: #fff0dc;
  --accent: #963d27;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--card));
  border-top: 4px solid color-mix(in srgb, var(--accent) 68%, var(--card));
  border-radius: 16px;
  background: var(--card);
  transition: translate .25s ease, box-shadow .25s ease;
}
.scenario-list li:nth-child(3n + 2) { --card: #e9f1ff; --accent: #2f5294; }
.scenario-list li:nth-child(3n + 3) { --card: #e7f4e9; --accent: #306448; }
.scenario-list li p { margin-bottom: 0; color: var(--muted); line-height: 1.72; }
.scenario-list li .scenario-example {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 750;
}
@keyframes shimmer { 50% { opacity: .45; scale: 1.16; rotate: 12deg; } }
@keyframes paper-settle { from { opacity: .65; translate: -10px 18px; rotate: -5deg; } }
@keyframes card-reveal { from { opacity: .55; translate: 0 18px; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .sheet { animation: paper-settle .85s .16s ease-out both; }
  .spark { animation: shimmer 2.3s ease-in-out 2; }
  .spark-two { animation-delay: .28s; }
  .practice-note { animation: paper-settle .72s .38s ease-out both; }
  @supports (animation-timeline: view()) {
    .scenario-list li, .faq-intro, .community > img {
      animation: card-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .scenario-list li:hover { translate: 0 -4px; box-shadow: 0 12px 22px #6c41141a; }
}
@media (max-width: 850px) {
  .scenario-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .scenario-list { grid-template-columns: minmax(0, 1fr); }
}

.practice-flow { align-items: stretch; }
.practice-flow li { display: flex; flex-direction: column; }
.step-media {
  display: block;
  width: 270px;
  max-width: 100%;
  margin: 18px auto 0;
  border: 1px solid #ddcdbc;
  border-radius: 14px;
  overflow: hidden;
  background: #fff9f1;
}
.step-media img { display: block; width: 100%; max-width: 100%; height: auto; }
.scenario-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 17px;
}
.faq, .community {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  padding-block: clamp(32px, 5vw, 70px);
}
.faq-intro img, .community > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}
.faq-intro h2 { margin-top: 15px; margin-bottom: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  gap: 16px;
  padding-block: 10px;
  list-style: none;
  cursor: pointer;
  font-weight: 780;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--orange); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:focus-visible { outline: 3px solid #245eaa; outline-offset: 2px; }
.faq-list p, .community p { color: var(--muted); line-height: 1.75; }
.faq-list p { margin-bottom: 16px; overflow-wrap: anywhere; }
.community { align-items: center; }
.community h2 { margin-bottom: 10px; }
@media (max-width: 700px) {
  .faq, .community { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .faq-intro h2 { grid-row: 1; margin: 0; }
  .faq-intro img, .community > img { width: 300px; }
  .faq-list { min-width: 0; }
  .faq-list summary { gap: 10px; padding-inline: 12px; }
  .faq-list p { margin-inline: 12px; }
}
@media (max-width: 560px) {
  .flow li, .scenario-list li { padding: 16px; }
  .step-media { width: 216px; }
  .scenario-art { width: 340px; margin-inline: auto; }
  .faq-intro img, .community > img { width: 244px; }
}
