:root {
  --ink: #2b2b2b;
  --toner: #00a3c4;
  --pink: #f4b6c8;
  --paper: #f7f4ee;
  --red: #d42b2b;
  --muted: #6a6660;
  --nav-shadow: 2px 2px 0 #1a1a1a;
  --copy: 10px 10px 0 rgba(0, 163, 196, 0.28);
  --bar: 72px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #1e1e1e; padding-top: var(--bar);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.cp-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.cp-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.16em; font-size: 11px; font-weight: 800; color: var(--toner);
}
.cp-kicker i {
  width: 8px; height: 8px; background: var(--toner);
  animation: cp-blink 2.4s steps(2) infinite;
}
.cp-kicker.dark { color: var(--ink); }
.cp-kicker.dark i { background: var(--red); }
h1 { font-size: clamp(36px, 5.5vw, 58px); line-height: 0.95; }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 8px 0 10px; }
.cp-lead { font-size: clamp(18px, 2vw, 24px); font-weight: 700; margin: 10px 0 12px; }
.cp-sum, .cp-hint { line-height: 1.8; max-width: 38em; color: var(--muted); }
.cp-cap { margin-top: 14px; font-size: 12px; color: var(--muted); }
.cp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cp-btns a, .cp-go {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; box-shadow: var(--nav-shadow);
}
.cp-btns a { min-height: 44px; padding: 0 20px; }
.cp-btns .a { background: var(--toner); color: #fff; }
.cp-btns .b { background: var(--ink); color: #fff; }
.cp-btns .a:hover, .cp-go:hover { filter: brightness(1.06); }

.cp-bar {
  position: fixed; inset: 0 0 auto; height: var(--bar); z-index: 50;
  background: #fff; border-bottom: 3px solid var(--toner);
}
.cp-bar-in {
  width: min(1160px, calc(100% - 32px)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
}
.cp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.cp-brand small { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.cp-mark {
  width: 40px; height: 40px; object-fit: contain;
  background: #fff; box-shadow: var(--nav-shadow);
}
.cp-nav { margin-left: auto; display: flex; gap: 22px; font-weight: 700; font-size: 14px; }
.cp-nav a:hover { color: var(--toner); }
.cp-go { background: var(--red); color: #fff; padding: 8px 14px; }
.cp-menu { display: none; margin-left: auto; font-weight: 800; color: var(--red); }

.cp-hero { padding: 28px 0 48px; background: #1e1e1e; }
.cp-hero .cp-wrap { display: flex; flex-direction: column; gap: 0; align-items: center; }
.cp-sheet {
  width: min(720px, 100%);
  background: #fff; color: var(--ink);
  padding: 32px 36px 28px;
  box-shadow: var(--copy);
  position: relative;
}
.cp-edge {
  position: absolute; top: 12px; right: 16px;
  font-size: 11px; letter-spacing: 0.2em; color: var(--toner); font-weight: 800;
}
.cp-out {
  width: min(320px, 100%);
  margin-top: -12px;
  background: #fff;
  padding: 10px 10px 12px;
  box-shadow: 8px 12px 0 var(--pink);
  align-self: flex-end;
}
.cp-out span { display: block; font-size: 11px; letter-spacing: 0.16em; color: var(--red); font-weight: 800; margin-bottom: 6px; }
.cp-out img { width: 280px; height: auto; margin: 0 auto; }
.cp-out:hover { transform: translateY(4px); }

.cp-duplex { padding: 56px 0; background: var(--pink); color: var(--ink); }
.cp-duplex .cp-hint { color: #6a3d4a; }
.cp-ncr { margin-top: 22px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; }
.cp-ncr article { padding: 24px; min-height: 280px; }
.cp-ncr .pink { background: #ffd6e2; }
.cp-ncr .white { background: #fff; display: flex; flex-direction: column; align-items: center; }
.cp-ncr b { display: block; margin-bottom: 12px; letter-spacing: 0.12em; font-size: 12px; color: var(--red); }
.cp-ncr ul { padding-left: 18px; line-height: 2; }
.cp-ncr img { width: 220px; height: auto; }
.cp-ncr .white:hover { outline: 3px solid var(--toner); }

.cp-tray { padding: 56px 0; background: var(--paper); }
.cp-papers {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 16px;
  align-items: end;
}
.cp-papers figure { margin: 0; background: #fff; padding: 10px; box-shadow: 6px 6px 0 rgba(43,43,43,0.12); }
.cp-papers .wide img { width: 100%; height: 220px; object-fit: cover; }
.cp-papers figure:not(.wide) img { width: 220px; height: auto; margin: 0 auto; }
.cp-papers figcaption { padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--toner); }
.cp-papers figure:hover { box-shadow: 6px 6px 0 var(--pink); }

.cp-notes { padding: 56px 0; background: #fff; }
.cp-margin { margin-top: 22px; border-left: 4px solid var(--red); padding-left: 22px; }
.cp-margin article { padding: 12px 0 16px; border-bottom: 1px dashed #ddd; }
.cp-margin time { display: block; font-size: 12px; color: var(--red); font-weight: 800; margin-bottom: 6px; }
.cp-margin p { font-size: 14px; line-height: 1.75; }
.cp-margin article:hover { background: #fff5f5; }

.cp-faq { padding: 56px 0; background: var(--pink); }
.cp-slips { margin-top: 20px; max-width: 820px; }
.cp-slips details { background: #ffd6e2; margin-bottom: 10px; box-shadow: 5px 5px 0 #fff; }
.cp-slips summary {
  cursor: pointer; list-style: none; font-weight: 800;
  padding: 14px 16px; display: flex; gap: 12px; align-items: center;
}
.cp-slips summary::-webkit-details-marker { display: none; }
.cp-slips em { font-style: normal; background: var(--red); color: #fff; padding: 4px 8px; font-size: 11px; letter-spacing: 0.08em; }
.cp-slips p { background: #fff; margin: 0 10px 10px; padding: 14px 16px; line-height: 1.75; font-size: 14px; color: #3d3a36; }
.cp-slips details[open] { box-shadow: 5px 5px 0 var(--ink); }

.cp-stamp { padding: 48px 0; background: #fff; }
.cp-stamp-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cp-ring {
  width: 168px; height: 168px; position: relative; flex: none;
}
.cp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cp-ring .track { fill: none; stroke: #e6e0d8; stroke-width: 10; }
.cp-ring .bar {
  fill: none; stroke: var(--toner); stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 163.36;
  transition: stroke 0.3s;
}
.cp-ring.done .bar { stroke: var(--red); }
.cp-ring-lab {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.cp-ring-lab b { font-size: 28px; line-height: 1; color: var(--ink); }
.cp-ring.done .cp-ring-lab b { color: var(--red); }
.cp-ring-lab span { margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--toner); }
.cp-ring.done .cp-ring-lab span { color: var(--red); }
.cp-perfs { display: flex; gap: 0; }
.cp-perfs a {
  width: 200px; padding: 22px 18px;
  background: var(--toner); color: #fff; font-weight: 800;
  box-shadow: var(--nav-shadow);
  border-right: 3px dotted #fff;
}
.cp-perfs .alt { background: var(--ink); border-right: 0; }
.cp-perfs small { display: block; letter-spacing: 0.16em; font-size: 11px; margin-bottom: 8px; opacity: 0.85; }
.cp-perfs b { font-size: 22px; }
.cp-perfs a:hover { filter: brightness(1.08); }

.cp-end { background: var(--toner); color: #fff; padding: 26px 0; }
.cp-end-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cp-end a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cp-end small { color: #dff6fb; }

@keyframes cp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
@media (max-width: 900px) {
  .cp-nav { display: none; }
  .cp-nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--bar); left: 0; right: 0;
    background: #fff; padding: 16px 20px 20px; gap: 12px;
  }
  .cp-menu { display: block; }
  .cp-ncr, .cp-papers { grid-template-columns: 1fr; }
  .cp-out { align-self: stretch; width: auto; }
  .cp-out img { width: 220px; }
  .cp-perfs { flex-direction: column; }
  .cp-perfs a { width: 100%; border-right: 0; border-bottom: 3px dotted #fff; }
  .cp-stamp-in { justify-content: center; }
}
