@charset "UTF-8";

:root {
  --ink: #1a1412;
  --paper: #f4ebe0;
  --cream: #fff8ef;
  --mute: #6f635a;
  --cinnabar: #b83228;
  --cinnabar-deep: #7f1f1a;
  --gold: #c9a227;
  --slate: #2a2320;
  --line: rgba(26, 20, 18, 0.12);
  --shadow-soft: 0 18px 40px rgba(26, 20, 18, 0.12);
  --shadow-float: 10px 14px 0 rgba(184, 50, 40, 0.18);
  --nav-shadow: 2px 2px 0 rgba(26, 20, 18, 0.28);
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(244, 235, 224, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
  column-gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img {
  width: 42px; height: 42px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--nav-shadow);
}
.brand-copy { display: grid; gap: 2px; line-height: 1.05; }
.brand-copy strong { font-size: 20px; letter-spacing: -0.03em; }
.brand-copy small { color: var(--mute); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.main-nav { justify-self: center; }
.main-nav ul { display: flex; gap: 22px; font-size: 14px; font-weight: 800; }
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  white-space: nowrap;
}
.main-nav a.is-active,
.main-nav a:hover { color: var(--cinnabar); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 2px;
  background: var(--cinnabar);
}
.header-download { justify-self: end; }
.header-download, .mobile-download, .btn-primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  background: var(--cinnabar);
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--nav-shadow);
  white-space: nowrap;
}
.btn-primary { min-height: 52px; min-width: 168px; font-size: 15px; }
.btn-primary:hover { background: var(--cinnabar-deep); }
.mobile-actions { display: none; align-items: center; gap: 8px; }
.menu-toggle {
  width: 42px; height: 42px;
  display: grid;
  gap: 5px;
  place-content: center;
  border: 1px solid var(--ink);
}
.menu-toggle span { display: block; width: 16px; height: 2px; background: var(--ink); }

.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(184, 50, 40, 0.16), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(201, 162, 39, 0.14), transparent 28%),
    linear-gradient(135deg, #efe2d2 0%, var(--paper) 48%, #f8f0e6 100%);
}
.hero-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(26, 20, 18, 0.025) 18px, rgba(26, 20, 18, 0.025) 19px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.eyebrow span {
  width: 28px; height: 2px;
  background: currentColor;
}
h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero-lead {
  margin: 14px 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}
.hero-description {
  margin: 0 0 22px;
  color: var(--mute);
  max-width: 520px;
  font-size: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link {
  font-weight: 800;
  color: var(--cinnabar-deep);
  border-bottom: 2px solid rgba(184, 50, 40, 0.35);
}
.meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.meta-list li {
  padding: 12px 12px 14px;
  background: rgba(255, 248, 239, 0.82);
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 rgba(26, 20, 18, 0.06);
}
.meta-list strong { display: block; font-size: 15px; }
.meta-list span { color: var(--mute); font-size: 12px; }
.page-stamp { margin: 16px 0 0; color: var(--mute); font-size: 12px; }

.hero-stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.phone-frame {
  position: relative;
  z-index: 2;
  width: 232px;
  padding: 12px 12px 16px;
  background: linear-gradient(160deg, #2f2724, #15110f);
  border-radius: 34px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-notch {
  width: 84px; height: 8px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #3d342f;
}
.phone-screen {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px 0;
  font-size: 10px;
  font-weight: 800;
  color: #5d534c;
}
.phone-screen img {
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: cover;
}
.float-card {
  position: absolute;
  z-index: 3;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  animation: float-y 4.8s ease-in-out infinite;
}
.accent-card {
  top: 18px;
  left: 0;
  display: grid;
  gap: 4px;
}
.accent-card b { color: var(--cinnabar); font-size: 18px; }
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 6px rgba(184, 50, 40, 0.15);
}
.progress-card {
  right: 0;
  bottom: 72px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation-delay: -1.4s;
}
.progress-card strong { display: block; }
.progress-card small { color: var(--mute); }
.ring {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--cream) 58%, transparent 59%),
    conic-gradient(var(--cinnabar) 0 68%, #e5d6c6 68%);
  font-size: 12px;
  font-weight: 900;
}
.mode-card {
  left: 8px;
  bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation-delay: -2.2s;
}
.switch {
  position: relative;
  width: 44px; height: 24px;
  display: inline-block;
}
.switch input { position: absolute; opacity: 0; }
.switch i {
  display: block;
  width: 100%; height: 100%;
  border-radius: 999px;
  background: #d8c8b8;
  transition: 0.2s ease;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s ease;
}
.switch input:checked + i { background: var(--cinnabar); }
.switch input:checked + i::after { transform: translateX(20px); }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section-title { margin-bottom: 28px; text-align: center; }
.section-title p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.section-title p span {
  width: 24px; height: 1px;
  background: currentColor;
}
.section-title h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.section-title small { color: var(--mute); font-size: 14px; }
.section-title.light p { color: #f0b2aa; }
.section-title.light small { color: #cbb8b1; }

.archive-section {
  padding: 72px 0;
  background:
    linear-gradient(180deg, #fff8ef 0%, #f7eee3 100%);
}
.shot-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.shot { margin: 0; }
.shot-frame {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.shot img {
  width: 100%;
  max-width: 188px;
  height: auto;
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
}
.shot figcaption {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 10px;
  font-weight: 800;
}
.shot figcaption b { color: var(--cinnabar); }
.shot-a { transform: translateY(18px); }
.shot-b { transform: translateY(-10px); }
.shot-c { transform: translateY(26px); }
.shot-d { transform: translateY(-4px); }
.shot:hover .shot-frame { transform: translateY(-4px); transition: transform 0.25s ease; }

.lab-section {
  padding: 80px 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(184, 50, 40, 0.22), transparent 30%),
    linear-gradient(180deg, #2a201c 0%, #1a1412 100%);
  color: #f6ebe3;
}
.lab-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.lab-panel {
  padding: 20px;
  background: rgba(255, 248, 239, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.lab-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.lab-panel header span {
  display: block;
  margin-bottom: 4px;
  color: #f0b2aa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.lab-panel h3 { margin: 0; font-size: 22px; }
.lab-panel output, .ghost-btn {
  color: #e0cfc5;
  font-size: 12px;
  font-weight: 800;
}
.canvas-panel { grid-row: span 2; background: linear-gradient(160deg, rgba(184, 50, 40, 0.16), rgba(255, 255, 255, 0.03)); }
.setting-row { margin-bottom: 16px; }
.setting-row > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #d9c7bd;
}
.segmented { display: flex; gap: 8px; }
.segmented button, .chip {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eadad2;
  font-weight: 800;
  font-size: 13px;
}
.segmented button.is-on,
.chip.is-on,
.segmented button:hover,
.chip:hover {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #fff;
}
.range-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.range-wrap input { width: 100%; accent-color: var(--cinnabar); }
.swatches { display: flex; gap: 8px; }
.swatches button {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.swatches button.is-on { border-color: #fff; transform: scale(1.08); }
.task-list { display: grid; gap: 10px; }
.task {
  display: grid;
  grid-template-columns: auto 1fr 64px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}
.task span { display: grid; gap: 2px; }
.task em { color: #cbb8b1; font-style: normal; font-size: 12px; }
.task i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cinnabar) var(--p), rgba(255, 255, 255, 0.12) var(--p));
}
.trail-list { display: grid; gap: 10px; }
.trail-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.trail-list time { grid-row: span 2; color: #f0b2aa; font-size: 12px; font-weight: 800; }
.trail-list span { color: #cbb8b1; font-size: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.btn-block {
  width: 100%;
  min-height: 46px;
  color: #fff;
  background: var(--cinnabar);
  font-weight: 800;
  box-shadow: var(--nav-shadow);
}

.path-section { padding: 72px 0; background: var(--cream); }
.ticket-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ticket-row li {
  position: relative;
  padding: 22px 18px 26px;
  background:
    linear-gradient(90deg, transparent 0 12px, var(--line) 12px 13px, transparent 13px),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 8px 10px 0 rgba(26, 20, 18, 0.06);
}
.ticket-row li.is-hot {
  background:
    linear-gradient(90deg, transparent 0 12px, rgba(184, 50, 40, 0.35) 12px 13px, transparent 13px),
    linear-gradient(180deg, #fff4ee, #fff);
  border-color: rgba(184, 50, 40, 0.35);
}
.ticket-row b {
  display: block;
  margin-bottom: 8px;
  color: var(--cinnabar);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.ticket-row strong { display: block; font-size: 20px; margin-bottom: 6px; }
.ticket-row em { color: var(--mute); font-style: normal; }
.punch {
  position: absolute;
  right: -8px; top: 50%;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  transform: translateY(-50%);
}

.faq-section {
  padding: 72px 0;
  background: #3a221e;
  color: #f6ebe3;
}
.faq-list { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq-item button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  padding: 0 18px;
  text-align: left;
  font-weight: 800;
  background: #4d2e28;
  border-left: 4px solid var(--cinnabar);
}
.faq-item button:hover { color: #f0b2aa; }
.faq-item > div {
  padding: 0 18px 16px;
  color: #e4d0ca;
  background: #4d2e28;
  border-left: 4px solid var(--cinnabar);
}

.reviews-section { padding: 72px 0 40px; }
.note-float {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.note-card {
  padding: 18px 16px;
  background: #fff;
  border-top: 5px solid var(--cinnabar);
  box-shadow: var(--shadow-soft);
}
.note-card.tilt { transform: rotate(-1.2deg); border-top-color: var(--gold); }
.note-card.tilt-rev { transform: rotate(1deg); border-top-color: #2f6f6a; }
.note-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 800;
}
.note-card p { margin: 0 0 12px; }
.note-card span { font-size: 13px; font-weight: 800; color: var(--mute); }

.download-section { padding: 20px 0 72px; }
.download-stamp {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 24px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(184, 50, 40, 0.08), rgba(184, 50, 40, 0.08) 12px, transparent 12px, transparent 24px),
    linear-gradient(120deg, #f3d2c8, #fff1d8);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(26, 20, 18, 0.12);
}
.stamp-mark {
  position: absolute;
  right: 28%;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  color: rgba(184, 50, 40, 0.12);
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.06em;
  pointer-events: none;
}
.download-stamp h2 { margin: 0 0 6px; position: relative; }
.download-stamp p { margin: 0; color: var(--mute); position: relative; }
.download-stamp .btn-primary { position: relative; background: var(--slate); }

.site-footer {
  padding: 34px 0 18px;
  background: #100d0c;
  color: #e8d8d3;
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 800;
}
.footer-nav a:hover { color: #f0b2aa; }
.copyright {
  width: min(1160px, calc(100% - 40px));
  margin: 14px auto 0;
  color: #8f7c76;
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 60;
  transform: translateX(-50%);
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--nav-shadow);
}
.toast[hidden] { display: none; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: var(--cinnabar);
  box-shadow: var(--nav-shadow);
  transition: opacity 0.2s ease;
}
.back-to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translateY(3px) rotate(45deg);
}
.back-to-top.is-visible { visibility: visible; opacity: 1; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-download { display: none; }
  .mobile-actions { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    justify-self: stretch;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 18px 16px; }
  .main-nav a {
    height: auto;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a.is-active::after { display: none; }
  .hero-grid { display: flex; flex-direction: column; gap: 32px; }
  .hero-copy { text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-actions, .meta-list { justify-content: center; }
  .meta-list { grid-template-columns: 1fr; }
  .hero-stage { min-height: 420px; }
  .float-card { animation: none; }
  .accent-card { left: 8px; }
  .progress-card { right: 8px; }
  .shot-stage, .lab-grid, .ticket-row, .note-float, .download-stamp, .footer-row {
    grid-template-columns: 1fr;
  }
  .canvas-panel { grid-row: auto; }
  .shot-a, .shot-b, .shot-c, .shot-d, .note-card.tilt, .note-card.tilt-rev { transform: none; }
  .btn-primary { width: 100%; }
  .stamp-mark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card, .shot:hover .shot-frame { animation: none; transition: none; }
}
