:root {
  --paper: #f4ecde;
  --paper-deep: #eadcc7;
  --ink: #29231c;
  --muted: #746858;
  --vermillion: #d6532d;
  --vermillion-dark: #a83b21;
  --bamboo: #415b49;
  --gold: #e6a63b;
  --line: rgba(41, 35, 28, .16);
  --soft-radius: 18px;
  --shadow: 0 24px 70px rgba(104, 65, 30, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.paper-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .24; z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
.nav {
  width: min(1280px, calc(100% - 48px)); height: 82px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); position: relative; z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; }
.brand-seal {
  width: 34px; height: 34px; display: grid; place-items: center; color: #fff;
  background: var(--vermillion); border-radius: 9px 9px 11px 8px;
  font-family: "STKaiti", "KaiTi", serif; font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav nav a { color: var(--muted); transition: color .2s ease; }
.nav nav a:hover { color: var(--vermillion); }
.language {
  border: 1px solid var(--line); background: rgba(255,255,255,.28);
  border-radius: 999px; padding: 7px 13px; cursor: pointer; color: var(--ink);
}
.hero {
  width: min(1280px, calc(100% - 48px)); min-height: min(680px, calc(100dvh - 82px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px;
  min-width: 0;
}
.hero-copy { padding: 48px 0 56px 4vw; position: relative; z-index: 2; }
.eyebrow {
  color: var(--vermillion); font-size: 12px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px;
}
h1, h2 {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700; letter-spacing: -.04em; line-height: 1.08; margin: 0;
}
h1 { font-size: clamp(64px, 7vw, 108px); }
h2 { font-size: clamp(42px, 5.2vw, 76px); }
.hero-copy h1 { max-width: 720px; font-size: clamp(54px, 6vw, 84px); text-wrap: balance; }
.lead { max-width: 610px; font-size: 17px; color: var(--muted); margin: 22px 0 18px; text-wrap: pretty; }
.hero-facts {
  width: fit-content; display: flex; align-items: center; gap: 12px; margin: 0 0 24px;
  padding: 10px 14px; border-left: 3px solid var(--vermillion);
  background: rgba(255,255,255,.24); color: var(--ink); font-size: 13px; font-weight: 650;
}
.hero-facts b { color: var(--vermillion); }
.hero-actions { display: flex; gap: 18px; align-items: center; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0 26px; font-weight: 700;
}
.button:active, .strike-button:active, .small-download:active { transform: translateY(1px); }
.primary { color: #fff; background: var(--vermillion); box-shadow: 0 12px 30px rgba(180,67,34,.22); }
.primary:hover { background: var(--vermillion-dark); }
.text-button { border-bottom: 1px solid var(--ink); border-radius: 0; padding-inline: 2px; min-height: 38px; }
.microcopy { font-size: 12px; color: var(--muted); margin-top: 18px; }
.desktop-stage {
  min-height: 540px; position: relative; display: grid; place-items: center;
  isolation: isolate; margin-right: -4vw; min-width: 0;
}
.sun-disc {
  position: absolute; width: min(480px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: #e5b54b; opacity: .84; z-index: -2; right: 5%; top: 7%;
}
.desktop-stage::before {
  content: ""; position: absolute; width: 112%; height: 63%; right: -12%; bottom: 5%;
  background: var(--bamboo); border-radius: 48% 0 0 48%; z-index: -3;
  transform: rotate(-5deg);
}
.counter-demo {
  width: 260px; height: 300px; position: relative; transform: scale(1.18);
}
.counter-demo strong {
  position: absolute; width: 100%; top: 8px; text-align: center; color: #ef8a25;
  font: 800 30px/1 "Avenir Next", sans-serif;
}
#demo-plus {
  position: absolute; opacity: 0; width: 100%; top: 65px; text-align: center;
  color: #ef8a25; font-size: 24px; font-weight: 800;
}
.demo-pet { position: absolute; width: 225px; left: 15px; bottom: 18px; }
.demo-mallet {
  position: absolute; width: 235px; left: 92px; top: 107px;
  transform-origin: 90% 50%; transform: rotate(2deg); z-index: 2;
}
.counter-demo.striking .demo-mallet { animation: strike .28s ease-out; }
.counter-demo.striking #demo-plus { animation: meritPlus .5s ease-out; }
@keyframes strike { 45% { transform: rotate(9deg); } }
@keyframes meritPlus { 0% { opacity: 0; transform: translateY(10px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.strike-button {
  position: absolute; bottom: 40px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(244,236,222,.92); color: var(--ink); border-radius: 999px;
  padding: 11px 20px; cursor: pointer; box-shadow: var(--shadow);
}
.vertical-note {
  position: absolute; right: 3%; top: 22%; color: rgba(255,255,255,.72);
  writing-mode: vertical-rl; letter-spacing: .28em; font-size: 12px;
}
.promise-strip {
  border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr);
  width: min(1280px, calc(100% - 48px)); margin: 0 auto;
}
.promise-strip div { padding: 25px; display: flex; gap: 14px; justify-content: center; border-right: 1px solid var(--line); }
.promise-strip div:last-child { border-right: 0; }
.promise-strip b { color: var(--vermillion); font-size: 11px; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 140px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading p:last-child { color: var(--muted); margin: 0 0 8px; max-width: 470px; }
.character-rail { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.character-card {
  grid-column: span 4; min-height: 390px; border: 1px solid var(--line);
  border-radius: var(--soft-radius); padding: 24px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.22);
}
.character-card.large { grid-column: span 5; }
.character-card.free-pack { grid-column: span 7; background: var(--bamboo); color: #fff; }
.character-card img { height: 245px; width: 100%; object-fit: contain; transition: transform .35s ease; }
.character-card:hover img { transform: translateY(-6px) rotate(-1deg); }
.character-card h3 { margin: 8px 0 2px; font-size: 22px; }
.character-card p { margin: 0; color: var(--muted); }
.free-pack p { color: rgba(255,255,255,.7); }
.tag {
  position: absolute; top: 18px; left: 18px; z-index: 2; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 10px; font-size: 11px; background: rgba(244,236,222,.8);
}
.tag.accent { background: var(--gold); color: var(--ink); border-color: transparent; }
.small-download {
  position: absolute; right: 22px; bottom: 24px; border-radius: 999px; padding: 9px 16px;
  background: var(--vermillion); color: #fff; font-size: 13px; font-weight: 800;
}
.privacy {
  width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - 1180px)/2));
  display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center;
  background: var(--ink); color: var(--paper);
}
.privacy-diagram { min-height: 360px; display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.flow-item {
  width: 132px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 8px;
}
.flow-item span { color: var(--gold); font-size: 36px; }
.flow-item b { font-size: 12px; }
.flow-item.active { background: var(--vermillion); border-color: var(--vermillion); }
.flow-item.active span { color: #fff; }
.privacy-diagram i { color: rgba(255,255,255,.3); font-style: normal; }
.no-cloud {
  position: absolute; bottom: 5px; border-bottom: 1px solid var(--vermillion);
  color: rgba(255,255,255,.68); font-size: 13px; letter-spacing: .12em;
}
.privacy-copy p:not(.eyebrow) { color: rgba(255,255,255,.62); max-width: 580px; margin: 30px 0; }
.privacy-copy a { color: var(--gold); border-bottom: 1px solid currentColor; }
.download { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.download-intro p:last-child { color: var(--muted); max-width: 470px; }
.download-options { border-top: 1px solid var(--line); }
.download-row {
  display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 20px; align-items: center;
  padding: 28px 4px; border-bottom: 1px solid var(--line); transition: padding .2s ease, color .2s ease;
}
.download-row:hover { padding-left: 12px; color: var(--vermillion); }
.platform { font-size: 25px; font-weight: 800; }
.download-row b { font-size: 13px; }
.install-note {
  grid-column: 2; border-left: 3px solid var(--vermillion); padding: 4px 0 4px 20px;
}
.install-note p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
footer {
  width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr auto;
  align-items: center; gap: 30px; color: var(--muted); font-size: 13px;
}
footer > div:last-child { display: flex; gap: 20px; }
.footer-brand { color: var(--ink); }
.legal-page { min-height: 100vh; padding: 72px 24px; }
.legal-shell { width: min(760px, 100%); margin: 0 auto; }
.legal-shell .brand { margin-bottom: 64px; }
.legal-shell h1 { font-size: clamp(48px, 7vw, 76px); }
.legal-shell h2 { margin-top: 44px; font-size: 28px; }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-shell a { color: var(--vermillion); border-bottom: 1px solid currentColor; }
.legal-shell .back { display: inline-flex; margin-top: 42px; }
.legal-footer { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 820px) {
  .nav { width: min(100% - 28px, 1280px); }
  .nav nav a { display: none; }
  .hero { width: min(100% - 28px, 1280px); grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 70px 0 10px; }
  h1 { font-size: clamp(58px, 18vw, 78px); }
  .hero-copy h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero-facts { align-items: flex-start; font-size: 12px; }
  .desktop-stage { min-height: 520px; margin-right: -14px; }
  .promise-strip { width: 100%; grid-template-columns: repeat(2,1fr); }
  .promise-strip div:nth-child(2) { border-right: 0; }
  .promise-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { width: min(100% - 28px, 1180px); padding: 90px 0; }
  .section-heading, .privacy, .download { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .character-card, .character-card.large, .character-card.free-pack { grid-column: 1 / -1; }
  .privacy { width: 100%; padding-inline: 20px; gap: 30px; }
  .privacy-diagram { transform: scale(.8); margin-inline: -45px; }
  .download { gap: 42px; }
  .install-note { grid-column: 1; }
  .download-row { grid-template-columns: 1fr auto; }
  .download-row span:nth-child(2) { display: none; }
  footer { width: min(100% - 28px, 1280px); grid-template-columns: 1fr; }
}
