@charset "UTF-8";

:root {
  --ink: #1e1a28;
  --paper: #f6f0e6;
  --indigo: #5b6cff;
  --rose: #e85d8e;
  --leaf: #2bb673;
  --mute: #6a6178;
  --night: #15121c;
  --line: #d9d0c2;
  --nav-shadow: 2px 2px 0 rgba(91, 108, 255, 0.35);
  --lift: 7px 9px 0 rgba(30, 26, 40, 0.12);
  --header-h: 72px;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-h);
  color: var(--ink);
  background:
    radial-gradient(700px 320px at 10% -8%, rgba(91,108,255,.12), transparent 55%),
    radial-gradient(560px 280px at 92% 4%, rgba(232,93,142,.1), transparent 50%),
    var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p, h1, h2, h3, figure, dl, dt, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.frame { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }

.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spine {
  position: fixed; z-index: 1000; top: 0; right: 0; left: 0; height: var(--header-h);
  background: rgba(246,240,230,.95); border-bottom: 2px solid var(--indigo); backdrop-filter: blur(10px);
}
.spine-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--nav-shadow); background: #fff; }
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--indigo); font-weight: 800; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: 14px; }
.menu a { font-size: 13px; font-weight: 700; }
.menu a.current, .menu a:hover { color: var(--indigo); }
.get-btn, .header-get, .mobile-get {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--indigo); color: #fff; font-weight: 800; box-shadow: var(--nav-shadow);
}
.hand { display: none; margin-left: auto; align-items: center; gap: 10px; }
.nav-switch { width: 40px; height: 40px; }
.nav-switch i { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); }

.spread { padding: 24px 0 56px; }
.book {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 2px solid var(--ink); box-shadow: var(--lift);
  border-radius: 4px 18px 18px 4px; overflow: hidden;
}
.page { padding: 36px 28px; position: relative; }
.page.left {
  background:
    repeating-linear-gradient(transparent, transparent 27px, var(--line) 28px),
    #fffdf8;
  border-right: 2px dashed var(--line);
}
.page.right { background: #f0ecf8; display: grid; place-items: center; min-height: 520px; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; color: var(--indigo); font-weight: 800; }
h1 { font-size: clamp(38px, 5vw, 54px); line-height: 1.05; }
.kicker { margin: 10px 0; font-size: 20px; color: var(--rose); font-weight: 800; }
.lead { color: var(--mute); max-width: 36em; background: rgba(255,255,255,.72); padding: 8px 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 18px 0 10px; }
.hero-actions .get-btn { height: 46px; padding: 0 22px; }
.ghost { font-weight: 800; border-bottom: 2px solid var(--leaf); }
.stamp { font-size: 12px; color: var(--mute); }

.phone {
  position: relative; z-index: 2; width: min(228px, 60vw);
  background: var(--night); border-radius: 28px; padding: 10px 8px 14px;
  box-shadow: 10px 14px 0 rgba(91,108,255,.2); animation: bob 5s ease-in-out infinite;
}
.chin { display: block; width: 60px; height: 6px; margin: 0 auto 8px; border-radius: 6px; background: #3a3450; }
.led { display: flex; justify-content: space-between; font-size: 10px; padding: 0 8px 6px; color: #ddd6f0; }
.led em { color: var(--rose); font-style: normal; font-weight: 800; }
.phone img { width: 100%; height: auto; max-height: 370px; object-fit: cover; object-position: top; border-radius: 14px; background: #000; }
.washi {
  position: absolute; z-index: 4; padding: 10px 12px; font-size: 12px;
  box-shadow: var(--lift); border: 1px dashed rgba(30,26,40,.25);
}
.washi.a { left: 12px; top: 28px; background: rgba(91,108,255,.18); transform: rotate(-4deg); }
.washi.b { right: 12px; top: 96px; background: rgba(232,93,142,.18); transform: rotate(5deg); }
.washi.b em { display: block; font-style: normal; }
.washi.c { left: 18px; bottom: 36px; background: rgba(43,182,115,.18); transform: rotate(-2deg); }
.washi.c span { display: block; letter-spacing: 0.14em; font-size: 10px; font-weight: 800; }

.cap { margin-bottom: 22px; }
.cap p { font-size: 12px; letter-spacing: 0.16em; color: var(--indigo); font-weight: 800; }
.cap h2 { font-size: 30px; }
.cap small { display: block; margin-top: 6px; color: var(--mute); }
.cap.invert p, .cap.invert h2 { color: #f3efff; }
.cap.invert small { color: #b7afd0; }

.stamps-wrap { padding: 64px 0; }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stamps article {
  min-height: 240px; padding: 22px 16px; border: 2px solid var(--ink);
  background: #fff; box-shadow: var(--lift); display: flex; flex-direction: column;
}
.stamps article:nth-child(1) { border-top: 8px solid var(--indigo); }
.stamps article:nth-child(2) { border-top: 8px solid var(--rose); transform: translateY(12px); }
.stamps article:nth-child(3) { border-top: 8px solid var(--leaf); }
.stamps article:nth-child(4) { border-top: 8px solid #f0a500; transform: translateY(12px); }
.stamps b { font-size: 11px; letter-spacing: 0.14em; }
.stamps h3 { margin: 10px 0 8px; font-size: 20px; }
.stamps p { color: var(--mute); flex: 1; font-size: 14px; }

.palette-wrap { padding: 64px 0; background: var(--night); color: #f3efff; }
.palette { background: #221c30; border-radius: 20px; padding: 20px; box-shadow: 8px 12px 0 rgba(91,108,255,.22); }
.swatches { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.swatches button {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #15121c; border-radius: 999px; color: #f3efff; font-weight: 800;
}
.swatches button i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--sw);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.swatches button.is-on { outline: 2px solid #fff; }
.palette-body { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: center; }
.rk { font-size: 12px; letter-spacing: 0.18em; color: var(--rose); }
.palette-body h3 { margin: 8px 0; font-size: 24px; }
.palette-body p { color: #b7afd0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chips li { padding: 6px 12px; background: #15121c; border-radius: 999px; font-size: 12px; font-weight: 700; }
.palette-body figure { background: #15121c; padding: 10px; border-radius: 16px; transform: rotate(-2deg); }
.palette-body img { width: 100%; height: auto; max-height: 340px; object-fit: cover; object-position: top; background: #000; border-radius: 10px; }
.palette-body figcaption { margin-top: 8px; text-align: center; font-size: 12px; letter-spacing: 0.14em; color: var(--indigo); font-weight: 800; }

.pages-wrap { padding: 64px 0; }
.pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pages figure { background: #fff; padding: 10px; border: 2px solid var(--ink); box-shadow: var(--lift); }
.pages figure:nth-child(2) { transform: translateY(-10px); }
.pages figure:nth-child(3) { transform: translateY(8px); }
.bezel { background: var(--night); padding: 8px; }
.pages img { width: 100%; height: auto; max-height: 280px; object-fit: cover; object-position: top; background: #000; }
.pages figcaption { margin-top: 8px; font-weight: 800; display: flex; gap: 8px; }
.pages b { color: var(--indigo); }

.faq { padding: 0 0 64px; }
.glossary { max-width: 860px; border-top: 2px solid var(--ink); }
.entry { border-bottom: 2px solid var(--ink); }
.entry dt button {
  width: 100%; text-align: left; padding: 14px 8px; font-weight: 800;
  display: flex; gap: 12px; align-items: center;
}
.entry dt span {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--indigo); color: #fff; border-radius: 8px; font-size: 12px;
}
.entry dd { display: none; padding: 0 8px 16px 56px; color: var(--mute); }
.entry.is-on dt span { background: var(--rose); }
.entry.is-on dd { display: block; }

.tapes { padding: 0 0 64px; background: #efe8db; }
.tape-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.tape-list article {
  padding: 14px 18px; border: 2px solid var(--ink); box-shadow: var(--lift);
  position: relative;
}
.tape-list article::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -6px; height: 12px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 8px, transparent 8px 12px),
    rgba(91,108,255,.35);
  border: 1px dashed rgba(30,26,40,.2);
}
.t1 { background: #fff; transform: rotate(-0.4deg); }
.t2 { background: #f3f0ff; transform: rotate(0.5deg); }
.t3 { background: #fff5f8; transform: rotate(-0.6deg); }
.t4 { background: #f0fff6; transform: rotate(0.4deg); }
.t5 { background: #fffaf0; transform: rotate(-0.3deg); }
.t6 { background: #fff; transform: rotate(0.6deg); }
.tape-list time { display: block; font-size: 12px; color: var(--indigo); font-weight: 800; }
.tape-list span { font-size: 12px; color: var(--mute); }

.download { padding: 64px 0; }
.case {
  position: relative; text-align: center;
  background: linear-gradient(180deg, #fff, #efe8ff);
  border: 3px solid var(--ink); border-radius: 28px; padding: 42px 24px 28px;
  box-shadow: var(--lift);
}
.zipper {
  position: absolute; left: 10%; right: 10%; top: 14px; height: 10px;
  display: flex; justify-content: space-between;
}
.zipper i { width: 14px; height: 10px; background: var(--indigo); border-radius: 2px; }
.case small { letter-spacing: 0.2em; color: var(--indigo); font-weight: 800; }
.case h2 { margin: 10px 0 8px; }
.case p { color: var(--mute); }
.case-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.case-stats li { background: #fff; padding: 8px 12px; border-radius: 999px; box-shadow: var(--nav-shadow); font-size: 13px; }
.case-stats b { color: var(--indigo); margin-right: 4px; }

.site-footer { background: var(--night); color: #f3efff; padding: 26px 0 18px; }
.footer-shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .brand small { color: var(--indigo); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer nav a { color: var(--rose); font-weight: 700; }
.copy { text-align: center; margin-top: 12px; color: #9a93ad; font-size: 13px; }

.back-top {
  position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  visibility: hidden; opacity: 0; display: grid; place-items: center;
  background: var(--indigo); box-shadow: var(--nav-shadow);
}
.back-top::before {
  content: ""; width: 12px; height: 12px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translateY(3px) rotate(45deg);
}
.back-top.is-visible { visibility: visible; opacity: 1; }

@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

@media (max-width: 980px) {
  .header-get { display: none; }
  .hand { display: flex; }
  .menu { position: fixed; top: var(--header-h); right: 0; left: 0; display: none; background: var(--paper); }
  .menu.is-open { display: block; }
  .menu ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .menu a { display: block; padding: 12px 0; }
  .book, .palette-body { display: flex; flex-direction: column; }
  .page.left { border-right: 0; border-bottom: 2px dashed var(--line); text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-actions .get-btn { width: 100%; }
  .washi { position: static; display: inline-flex; margin: 6px; transform: none; }
  .page.right { min-height: 0; }
  .stamps { grid-template-columns: 1fr 1fr; }
  .stamps article:nth-child(2), .stamps article:nth-child(4) { transform: none; }
  .pages {
    display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; padding-bottom: 10px;
  }
  .pages figure { flex: 0 0 min(72vw, 260px); scroll-snap-align: start; transform: none; }
  .entry dd { padding-left: 8px; }
  .tape-list article { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
}
