:root {
  color-scheme: light;
  --ink: #191919;
  --muted: #6b6b6b;
  --blue: #2383e2;
  --blue-soft: #e8f3fc;
  --line: #ececec;
  --paper: #ffffff;
  --app: #f3f5f8;
  --serif: "Noto Serif SC", Newsreader, "Songti SC", serif;
  --sans: "Noto Sans SC", Inter, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --wrap: 1160px;
  --metal: linear-gradient(165deg, #f7f7f8 0%, #d5d6d8 16%, #a7a8ab 42%, #ececee 68%, #8f9094 100%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
::selection { background: #d6e8fa; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff;
  padding: 8px 12px; z-index: 40;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}
.bar, .footer-inner { display: flex; align-items: center; gap: 28px; }
.bar { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand-name {
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  padding-left: 12px; border-left: 1px solid var(--line); line-height: 1;
}
.menu { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 22px; }
.nav a, .site-footer nav a { text-decoration: none; font-size: 14px; color: #37352f; }
.nav a:hover, .site-footer nav a:hover { color: var(--blue); }
.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line); background: #fff;
  height: 36px; padding: 0 12px; border-radius: 8px; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border: 0; border-radius: 8px;
  text-decoration: none; font-weight: 500; cursor: pointer; background: transparent;
  transition: background 160ms ease, transform 120ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1b74d4; }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #d9ebfa; }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}

.eyebrow { color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.lede { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 28em; }
.lede.tight { margin-top: 14px; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.nudge {
  display: flex; align-items: center; gap: 8px;
  margin-top: 22px; color: var(--muted); font-size: 13px;
}
.nudge i {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); animation: bob 1.25s ease-in-out infinite;
}
@keyframes bob {
  50% { transform: translateY(5px) rotate(45deg); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes peek {
  from { opacity: 0; transform: rotate(14deg) translate(28px, 24px); }
  to { opacity: 1; transform: rotate(7deg); }
}

.story { position: relative; height: 460vh; }
.story-stops {
  position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none;
}
.story-stops div { flex: 1; }
.story-sticky {
  position: sticky; top: 64px; height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
}
.story-sticky > .wrap { flex: 0 1 auto; width: min(var(--wrap), calc(100% - 48px)); max-width: var(--wrap); }
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 28px; align-items: center;
}
.count { margin: 0 0 18px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: 0.08em; }
.count b { color: var(--ink); font-weight: 600; }
.story-steps { display: grid; }
.story-step { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
.story-step.is-on { opacity: 1; pointer-events: auto; }
.story-step h1, .story-step h2 { font-size: clamp(40px, 4.2vw, 60px); max-width: 11em; }
.story-step p:last-child { max-width: 26em; }
.story.boot .count,
.story.boot .story-step.is-on > * { animation: rise 0.85s cubic-bezier(.16, .84, .24, 1) both; }
.story.boot .story-step.is-on > *:nth-child(2) { animation-delay: 0.08s; }
.story.boot .story-step.is-on > *:nth-child(3) { animation-delay: 0.16s; }
.story.boot .story-step.is-on > *:nth-child(4) { animation-delay: 0.26s; }
.story.boot .story-step.is-on > *:nth-child(5) { animation-delay: 0.34s; }
.story.boot .stage-panel { animation: rise 0.9s both; }
.story.boot .portrait { animation: rise 1s 0.12s both; }

.stage {
  position: relative; height: min(620px, calc(100vh - 180px));
  display: flex; align-items: flex-end; justify-content: center;
  overflow: visible;
}
.stage-panel { display: none; }
.collage {
  position: relative; z-index: 1;
  width: 280px; height: 100%;
  transform-origin: center center;
  transform: translateY(-2vh) scale(1.08);
}
.collage:has(.has-real) {
  width: min(280px, calc(min(620px, 100vh - 180px) * 23 / 48));
  height: auto;
  aspect-ratio: 23 / 48;
  align-self: center;
}
.collage:has(.has-real) .float-ink { display: none; }
.float-layer, .float-call { pointer-events: none; will-change: transform; }
.float-layer {
  position: absolute; border-radius: 28px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(25, 25, 25, 0.1);
}
.float-burst {
  z-index: 0; width: 118%; height: 88%; left: -8%; top: 0;
  transform: translate(24%, -6%);
  background:
    conic-gradient(from 210deg at 70% 38%,
      #1b2744 0 10%, #ff7a45 10% 16%, #1b2744 16% 26%,
      #6aa7ff 26% 34%, #1b2744 34% 46%, #ff5f9a 46% 54%,
      #1b2744 54% 66%, #f0c14a 66% 72%, #1b2744 72% 100%);
}
.float-burst::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.7px, transparent 0.8px);
  background-size: 4px 4px; opacity: 0.45;
}
.float-sheet {
  z-index: 1; width: 84%; height: 70%; left: 8%; top: 2%;
  transform: translate(-35%, 10%);
  background: #e4ec9a; color: #243018;
  padding: 22px 16px; display: flex; flex-direction: column; gap: 10px;
}
.float-sheet p { margin: 0; font-size: 13px; font-weight: 600; }
.float-sheet span {
  display: block; background: rgba(255, 255, 255, 0.72);
  border-radius: 10px; padding: 10px 12px; font-size: 13px;
}
.float-ink {
  z-index: 0; width: 78%; height: 46%; left: 8%; top: auto; bottom: 0;
  transform: translate(-18%, 22%);
  background-color: #171717;
  background-image:
    radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.55) 0 3px, transparent 3.5px),
    radial-gradient(circle at 38% 58%, rgba(255, 255, 255, 0.35) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 22%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 64%, rgba(255, 255, 255, 0.4) 0 7px, transparent 8px),
    radial-gradient(circle at 28% 82%, rgba(255, 255, 255, 0.22) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 36%, rgba(255, 255, 255, 0.3) 0 3px, transparent 4px);
}
.float-call {
  position: absolute; z-index: 4; right: -22%; bottom: 16%; width: 196px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(12%);
}
.float-call div {
  background: #fff; border-radius: 12px; padding: 8px 10px;
  border: 1px solid rgba(25, 25, 25, 0.06);
  box-shadow: 0 12px 28px rgba(25, 25, 25, 0.12);
}
.float-call b { display: block; font-size: 11px; font-weight: 600; }
.float-call span { display: block; margin-top: 2px; font-size: 11px; line-height: 1.35; color: var(--muted); }
.ask-pill {
  position: absolute; z-index: 5; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: #fff; box-shadow: 0 8px 22px rgba(25, 25, 25, 0.12);
  font-size: 12px; white-space: nowrap;
}
.ask-pill i {
  width: 3px; height: 12px; border-radius: 2px; background: var(--blue, #2383e2);
  transform-origin: center; animation: bar 0.9s ease-in-out infinite;
}
.ask-pill i:nth-child(2) { animation-delay: 0.12s; }
.ask-pill i:nth-child(3) { animation-delay: 0.24s; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.portrait:has(.has-real) .ask-pill { display: none; }
.portrait {
  position: relative; z-index: 3;
  width: 100%; height: 100%;
  background: var(--app);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(25, 25, 25, 0.12);
  transform-origin: center bottom;
}
.shot {
  position: absolute; inset: 0; background: var(--app); opacity: 0;
  border-radius: 28px; overflow: hidden;
}
.shot.is-on { opacity: 1; }
.mp {
  height: 100%; display: flex; flex-direction: column; gap: 8px;
  padding: 16px 12px 14px; background: var(--app); color: var(--ink);
}
.mp-nav {
  display: grid; grid-template-columns: 52px 1fr 62px; align-items: center; height: 28px; flex: none;
}
.mp-nav b { grid-column: 2; text-align: center; font-size: 15px; font-weight: 600; }
.wxcap {
  grid-column: 3; justify-self: end; width: 58px; height: 22px; border-radius: 11px;
  border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.86);
  background-image:
    radial-gradient(circle at 16px 50%, #111 1.1px, transparent 1.3px),
    radial-gradient(circle at 21px 50%, #111 1.1px, transparent 1.3px),
    radial-gradient(circle at 26px 50%, #111 1.1px, transparent 1.3px),
    linear-gradient(#111, #111) 38px 50% / 1px 10px no-repeat;
}
.meter { display: flex; align-items: center; gap: 8px; color: #8d8d8d; font-size: 11px; flex: none; }
.meter b { flex: 1; height: 4px; border-radius: 4px; background: #e4e7eb; overflow: hidden; }
.meter i { display: block; width: 50%; height: 100%; background: var(--blue); border-radius: 4px; }
.bubble {
  margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 14px;
  font-size: 13px; line-height: 1.45; background: #fff; flex: none;
}
.bubble.ai { align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.chips span {
  font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #e6e6e6;
}
.chips .on { background: var(--blue); color: #fff; border-color: transparent; }
.card {
  background: #fff; border-radius: 14px; padding: 12px 12px 2px; flex: none;
  box-shadow: 0 8px 20px rgba(25, 25, 25, 0.04);
}
.card-kicker { font-size: 15px; font-weight: 600; }
.card-note { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.row {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 11px 0; border-top: 1px solid #f1f1f1; font-size: 13px;
}
.row div { display: flex; flex-direction: column; gap: 2px; }
.row strong { font-weight: 600; }
.row span { color: #8d8d8d; font-size: 11px; }
.row em { font-style: normal; color: var(--blue); font-weight: 600; font-size: 13px; }
.empty-acts { display: flex; gap: 8px; padding: 12px 0; }
.empty-acts span { font-size: 12px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 6px 10px; }
.composer {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  height: 36px; padding: 0 12px; border-radius: 18px; background: #fff; color: #a3a3a3; font-size: 12px; flex: none;
}
.composer i {
  width: 18px; height: 18px; border-radius: 50%; background: var(--blue);
  clip-path: polygon(30% 20%, 78% 50%, 30% 80%);
}
.tabbar {
  display: grid; grid-template-columns: 1fr 1fr; height: 42px; margin: auto -12px -8px;
  background: #fff; border-top: 1px solid #eee; font-size: 11px; color: #8a8a8a; flex: none;
}
.composer + .tabbar { margin-top: 8px; }
.tabbar span { display: grid; place-items: center; }
.tabbar .on { color: var(--blue); font-weight: 600; }
.realshot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; z-index: 2; }
.shot.has-real,
.portrait:has(.shot.has-real),
.portrait.has-real {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.shot.has-real .mp,
.portrait.has-real > .slot { display: none; }
.slot { margin: 0; color: #8d8d8d; font-size: 13px; position: absolute; inset: 0; display: grid; place-items: center; }

.block { padding: 96px 0; }
.block h2 { font-size: clamp(40px, 4.6vw, 60px); max-width: 12em; }
.film {
  margin-top: 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: start;
}
.film figure { margin: 0; }
.film .portrait { width: 100%; height: auto; aspect-ratio: 23 / 48; }
.film figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.js .film figure { opacity: 0; transform: translateY(28px); }
.js .film.is-in figure { opacity: 1; transform: none; transition: opacity 600ms ease, transform 600ms ease; }
.js .film.is-in figure:nth-child(2) { transition-delay: 70ms; }
.js .film.is-in figure:nth-child(3) { transition-delay: 140ms; }
.js .film.is-in figure:nth-child(4) { transition-delay: 210ms; }
.js .film.is-in figure:nth-child(5) { transition-delay: 280ms; }

.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 18px 28px 18px 0; font-size: 17px; font-weight: 600; cursor: pointer; position: relative;
}
.faq-item button::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}
.faq-item.is-open button::after { transform: translateY(-30%) rotate(225deg); }
.faq-panel { display: none; padding: 0 36px 18px 0; color: var(--muted); }
.faq-item.is-open .faq-panel { display: block; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 600ms ease, transform 600ms ease; }

.close { padding: 8px 0 88px; }
.close-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; align-items: center;
  padding: 56px; border-radius: 28px; background: var(--blue-soft);
}
.close h2 { font-size: clamp(28px, 2.8vw, 40px); max-width: none; white-space: nowrap; }
.close p:last-of-type { margin-top: 14px; color: #3d5166; font-size: 17px; }
.qr {
  width: 168px; height: 168px; margin-left: auto; background: #fff; color: var(--ink);
  display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 20px;
}
.qr .slot { color: #8d8d8d; position: static; }
.qr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.qr.has-real .slot { display: none; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 980px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .bar { height: auto; min-height: 64px; flex-wrap: wrap; padding: 12px 0; }
  .nav-toggle { display: inline-flex; }
  .menu { display: none; width: 100%; padding: 8px 0 12px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .menu.is-open { display: flex; }
  .nav { flex-direction: column; gap: 12px; }
  .story { height: 420vh; }
  .story-sticky { align-items: flex-start; padding-top: 8px; overflow: hidden; }
  .story-grid, .faq-layout, .close-inner { grid-template-columns: 1fr; gap: 20px; }
  .story-step h1, .story-step h2, .block h2, .close h2 { font-size: 34px; }
  .stage { height: 392px; min-height: 0; }
  .collage,
  .collage:has(.has-real) {
    width: min(188px, 52vw);
    height: auto;
    aspect-ratio: 23 / 48;
    transform: none;
  }
  .float-layer, .float-call, .ask-pill { display: none; }
  .film {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  }
  .film figure { scroll-snap-align: start; }
  .close-inner { padding: 28px 20px; }
  .qr { margin: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nudge i, .story.boot .count, .story.boot .story-step.is-on > *,
  .story.boot .stage-panel, .story.boot .portrait,
  .js .film figure, .js .reveal, .ask-pill i { animation: none; opacity: 1; transform: none; }
  .collage, .float-layer, .float-call { animation: none; }
  .story { height: auto; }
  .story-stops { display: none; }
  .story-sticky { position: static; height: auto; display: block; padding: 32px 0 8px; }
  .story-steps { display: flex; flex-direction: column; gap: 36px; }
  .story-step { position: relative; opacity: 1; pointer-events: auto; }
  .shot { display: none; }
  .shot.is-on { display: block; position: relative; opacity: 1; min-height: 100%; }
}
