:root {
  --red: #d8030d;
  --red-dark: #b1020a;
  --ink: #241c1b;
  --muted: #6f6462;
  --faint: #8b7d7b;
  --gold: #946021;
  --line: #e7d5d0;
  --line-soft: #efe7e1;
  --paper: #fffdfb;
  --blush: #fce3df;
  --mist: #fef1ee;
  --card: #fffefc;
  --cream: #fff6f0;
  --soft: #fff0ef;
  --shadow: 0 16px 40px rgba(36, 28, 27, 0.08);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(920px 520px at 100% -8%, #ffd8d1 0%, transparent 62%),
    radial-gradient(760px 460px at -12% 18%, #ffe7df 0%, transparent 60%),
    linear-gradient(180deg, #fff7f4 0%, var(--paper) 32%, #fffaf8 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 213, 208, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--red);
  color: white !important;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid var(--red);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost {
  background: white;
  color: var(--ink) !important;
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--soft); color: var(--red) !important; border-color: #f0c8c6; }
.btn-light {
  background: white;
  color: var(--red) !important;
  border-color: white;
}
.btn-light:hover { background: var(--cream); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 54px 0 28px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.22em;
}
.hero h1 { margin: 0; }
.hero h1 img { width: min(340px, 100%); height: auto; }
.lead {
  margin: 18px 0 0;
  max-width: 38em;
  color: #3d3331;
  font-size: 18px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13px;
}

.device {
  width: min(320px, 100%);
  margin-left: auto;
  background: #2a2222;
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 28px 60px rgba(36, 28, 27, 0.16);
}
.device-screen {
  background: linear-gradient(180deg, #fce3df 0%, #fef1ee 42%, #fff9f6 100%);
  border-radius: 30px;
  padding: 16px 12px 10px;
}
.mock-top, .mock-row, .mock-task, .tabs {
  display: flex;
  align-items: center;
}
.mock-top { gap: 8px; }
.mock-top img { width: 28px; height: 28px; border-radius: 8px; }
.mock-top strong, .mock-card b, .mock-task b { display: block; font-size: 13px; line-height: 1.2; }
.mock-top span, .coin span, .mock-card em, .mock-task span { color: var(--faint); font-size: 10px; font-style: normal; }
.coin { margin-left: auto; text-align: right; }
.coin b { color: var(--red); font-size: 14px; }
.notice, .mock-card, .mock-task {
  background: white;
  border-radius: 14px;
}
.notice {
  margin-top: 12px;
  background: var(--cream);
  color: var(--gold);
  font-size: 11px;
  padding: 8px 10px;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  margin: 14px 2px 8px;
  font-size: 13px;
  font-weight: 700;
}
.mock-head span { color: var(--faint); font-weight: 400; font-size: 11px; }
.mock-card, .mock-task { padding: 12px; }
.mock-row { justify-content: space-between; gap: 8px; }
.mock-card em { display: block; margin-top: 6px; color: var(--red); font-size: 15px; font-weight: 700; }
.rounds { display: flex; gap: 6px; margin: 10px 0 8px; }
.rounds i {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #efe7e1;
}
.rounds i.on { background: var(--red); }
.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mock-foot > span:first-child {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.3;
}
.pill {
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 650;
  padding: 6px 10px;
  white-space: nowrap;
}
.task-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}
.mock-task { margin-top: 8px; gap: 8px; }
.mock-task .grow { flex: 1; min-width: 0; }
.mock-task b.pay { color: var(--red); font-size: 16px; text-align: right; }
.tabs {
  justify-content: space-around;
  padding: 10px 6px 4px;
  color: #a69d9b;
  font-size: 11px;
}
.tabs .on { color: var(--red); font-weight: 700; }
.caption {
  margin: 10px 0 0;
  text-align: right;
  color: var(--faint);
  font-size: 12px;
}

.section { padding: 34px 0; }
#download, #faq { scroll-margin-top: 88px; }
.section h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.sub {
  margin: 10px 0 0;
  max-width: 40em;
  color: var(--muted);
}

.entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.entry, .card, .step, .qa, .spec {
  background: var(--card);
  border: 1px solid rgba(231, 213, 208, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.entry { padding: 22px; }
.entry strong { display: block; font-size: 18px; }
.entry p { margin: 8px 0 0; color: var(--muted); }
.index {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.card { padding: 22px 22px 20px; }
.card h3 { margin: 12px 0 0; font-size: 18px; }
.card p { margin: 8px 0 0; color: var(--muted); }
.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--red);
}
.mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.step { padding: 20px; }
.step b {
  display: block;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.step strong { display: block; margin-top: 10px; font-size: 17px; }
.step p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.download {
  margin: 18px 0 10px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(145deg, #e3131c 0%, var(--red) 48%, #a5030c 100%);
  color: white;
}
.download h2 { font-size: 34px; }
.download .kicker, .download p { color: rgba(255, 255, 255, 0.86); }
.download .note { margin-top: 16px; font-size: 14px; }
.spec {
  background: rgba(255, 253, 251, 0.96);
  color: var(--ink);
  padding: 8px 18px;
  box-shadow: none;
}
.spec div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec div:last-child { border-bottom: 0; }
.spec dt { color: var(--faint); }
.spec dd { margin: 0; font-weight: 650; }

.faq { margin-top: 8px; }
.qa {
  padding: 0 20px;
  margin-top: 12px;
  box-shadow: none;
}
.qa summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-weight: 500;
}
.qa[open] summary::after { content: "–"; }
.qa p { margin: 0 0 16px; color: var(--muted); }

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 254, 252, 0.7);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--gold); }

.legal {
  width: min(760px, calc(100% - 40px));
  margin: 28px auto 64px;
}
.legal h1 { margin: 0 0 8px; font-size: 36px; letter-spacing: -0.03em; }
.updated { color: var(--faint); margin: 0 0 18px; }
.callout {
  background: var(--soft);
  border-radius: 16px;
  padding: 14px 16px;
  color: #3d3331;
}
.legal h2 { margin: 32px 0 8px; font-size: 20px; }
.legal p, .legal li { color: #3d3331; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--red); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero, .download, .entries, .grid, .steps { grid-template-columns: 1fr 1fr; }
  .device { margin: 0 auto; }
  .caption { text-align: center; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--width), calc(100% - 28px)); }
  .nav-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav a, .nav .btn { padding: 12px 4px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .hero, .download, .entries, .grid, .steps, .footer-inner { grid-template-columns: 1fr; display: grid; }
  .footer-inner { display: flex; flex-direction: column; }
  .section h2, .download h2, .legal h1 { font-size: 28px; }
  .hero { padding-top: 28px; }
}

@media print {
  .site-header, .site-footer, .nav-btn { display: none; }
  body { background: white; }
}
