:root {
  color-scheme: light;
  --ink: #292337;
  --purple: #5833c1;
  --muted: #5b546b;
  --paper: #fcfbff;
  --line: #e2ddec;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c64e00; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 3; padding: 12px; background: white; }
.skip:focus { top: 12px; }
.top, nav, .brand, .actions, .card-heading, .search-name, footer { display: flex; align-items: center; }
.top { min-height: 84px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { gap: 10px; font-size: 1.55rem; font-weight: 800; }
.brand img, .search-name img, .card-heading img { border-radius: 26%; }
nav { gap: 28px; font-size: .94rem; }
nav a, footer a { padding-block: 8px; }
nav a:hover, footer a:hover, .quiet:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 5px; }
.language { border-left: 1px solid var(--line); padding-left: 22px; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.platform { color: var(--purple); font-size: .95rem; font-weight: 750; }
h1 { margin: 20px 0; font-size: clamp(3.2rem, 5vw, 4.75rem); line-height: 1.15; letter-spacing: -.065em; }
h1 em { color: var(--purple); font-style: normal; }
.intro, .columns p, .find p { color: var(--muted); line-height: 1.8; }
.intro { max-width: 28em; font-size: 1.125rem; }
.actions { gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 21px; border-radius: 12px; font-weight: 700; }
.primary { background: var(--ink); color: white; box-shadow: 0 3px 0 #d1c9df; }
.primary:hover { background: var(--purple); }
.quiet { padding-inline: 4px; border-radius: 0; color: var(--purple); }

.stage { padding: 54px clamp(25px, 4vw, 70px); isolation: isolate; border-radius: 28px; background-color: #7354d8; background-image: radial-gradient(#b9a7f6 1px, transparent 1.5px); background-size: 17px 17px; }
.deck { position: relative; }
.deck::before, .deck::after { content: ""; position: absolute; inset: 0; border: 2px solid #332453; border-radius: 20px; }
.deck::before { z-index: -2; background: #d3ed74; transform: rotate(-7deg) translate(-2px, 3px); }
.deck::after { z-index: -1; background: #cdb9ff; transform: rotate(5deg) translate(3px, 3px); }
.card { position: relative; min-width: 0; padding: 25px 28px; border: 2px solid #332453; border-radius: 20px; background: #fffcf6; box-shadow: 3px 5px 0 #443271; }
.card-heading { gap: 9px; border-bottom: 1px dashed #c6becf; padding-bottom: 14px; font-weight: 650; font-size: .94rem; color: var(--muted); }
.sample { padding-top: 22px; }
.type { font-size: .9rem; font-weight: 750; color: var(--purple); }
.sample h2 { margin: 9px 0 18px; min-height: 3.9em; font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.4; letter-spacing: -.03em; }
.sample summary, .next { min-height: 44px; padding: 9px 14px; border-radius: 10px; font-size: .95rem; font-weight: 700; line-height: 1.5; }
.sample summary { display: inline-flex; align-items: center; background: #5431b3; color: white; }
.sample summary:hover { background: #41268c; }
.sample summary::-webkit-details-marker { display: none; }
.sample .opened, .sample details[open] .closed { display: none; }
.sample details[open] .opened { display: inline; }
.sample details p { margin-top: 12px; color: #4e3a72; line-height: 1.5; }
.next { position: absolute; right: 28px; bottom: 25px; background: transparent; border: 1px solid #bcafcf; }
.card:has(details[open]) .next { position: static; margin-top: 12px; }
.next:hover, .copy:hover { background: #f1eaff; }
.modes { padding-block: 56px; border-block: 1px solid var(--line); background: #f3effa; }
.section-title { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.24; letter-spacing: -.045em; }
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); margin-top: 32px; }
.columns article + article { border-left: 1px solid #dad1e6; padding-left: clamp(20px, 3vw, 43px); }
.mode-icon { object-fit: contain; }
.columns h3 { margin: 12px 0 8px; font-size: 1.32rem; }
.find { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 72px; }
.find > div:first-child { max-width: 680px; }
.find p { margin-top: 14px; }
.search-box { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; flex-shrink: 0; padding: 18px; background: white; border: 1px solid #dad1e6; border-radius: 18px; }
.search-name { gap: 10px; }
.search-name strong { font-size: 1.35rem; user-select: all; }
.copy { padding: 10px 14px; min-height: 44px; border: 1px solid #ccbee6; border-radius: 10px; background: #faf7ff; color: var(--purple); font-weight: 650; }
.copy-feedback { color: var(--muted); }
.copy-feedback:empty { display: none; }
footer { border-top: 1px solid var(--line); justify-content: space-between; padding-block: 18px; color: var(--muted); font-size: .94rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 20px; }
  h1 { font-size: clamp(2.7rem, 5.6vw, 3.35rem); }
  .stage { padding: 38px 25px; }
  .card { padding: 20px; }
  .next { right: 20px; bottom: 20px; }
  .find { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (max-width: 680px) {
  .top { min-height: 66px; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 34px; height: 34px; }
  nav { gap: 14px; font-size: .875rem; }
  .language { padding-left: 14px; }
  .how-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px; }
  h1 { margin-block: 12px; font-size: clamp(2.75rem, 9.2vw, 3.6rem); }
  .intro { font-size: 1rem; }
  .actions { gap: 14px; margin-top: 18px; }
  .stage { padding: 34px clamp(22px, 7.5vw, 48px); border-radius: 20px; }
  .card { padding: 17px; }
  .next { right: 17px; bottom: 17px; }
  .sample { padding-top: 16px; }
  .card-heading { padding-bottom: 10px; }
  .sample h2 { min-height: 0; }
  .modes, .find { padding-block: 38px; }
  .columns { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .columns article { display: grid; grid-template-columns: 36px auto; gap: 6px 10px; align-items: center; }
  .columns article + article { border-left: 0; border-top: 1px solid #dad1e6; padding: 17px 0 0; }
  .columns img { width: 36px; height: 36px; }
  .columns h3 { margin: 0; }
  .columns p { grid-column: 1 / -1; }
  .search-box { gap: 12px; padding: 12px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .stage { padding-inline: 18px; }
  .sample summary, .next { font-size: .875rem; padding-inline: 9px; }
}
