:root {
  color-scheme: light;
  --field: #10281f;
  --field-2: #18382c;
  --ink: #f4f1ea;
  --muted: #c9d5ce;
  --line: rgba(244, 241, 234, 0.16);
  --paper: #f7f6f3;
  --paper-ink: #1c1b19;
  --paper-muted: #5e675f;
  --accent: #2f5d50;
  --mark: #d6e27a;
  --shadow: 0 28px 60px rgba(8, 24, 18, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.narrow { display: none; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, .btn { font: inherit; }

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: var(--field);
  color: var(--ink);
}
.brand { color: inherit; text-decoration: none; font-weight: 680; letter-spacing: -0.04em; font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.logo { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.hero {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  column-gap: 64px;
  padding: 28px 0 36px;
}
.hero-copy { position: relative; z-index: 1; }
.hero .handset {
  width: 240px;
  margin: 0 0 0 auto;
  border-color: rgba(244, 241, 234, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 680;
}
.hero .sub {
  margin: 0 0 24px;
  max-width: 28em;
  color: var(--muted);
  font-size: 16px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--ink); color: var(--field); }
.btn.primary:hover { background: #fff; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); }

.route {
  width: min(360px, 80%);
  height: 52px;
  margin-top: 28px;
  overflow: visible;
}
.route path {
  fill: none;
  stroke: var(--mark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.band {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 32px 32px 0 0;
  padding: 28px 0 8px;
}
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.chapter { padding: 48px 0 0; }
.band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.band .lead {
  margin: 0 0 20px;
  color: var(--paper-muted);
  max-width: 36em;
  font-size: 16px;
}
.handset {
  position: relative;
  width: min(300px, 78%);
  margin: 8px auto 0;
  aspect-ratio: 720 / 1560;
  border-radius: 38px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(28, 27, 25, 0.12);
  box-shadow: 0 30px 70px rgba(28, 27, 25, 0.14);
}
.handset img,
.window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.handset img.is-on,
.window img.is-on { opacity: 1; }
.window {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  aspect-ratio: 1024 / 727;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f2ee;
  border: 1px solid #e5e2db;
  box-shadow: 0 24px 60px rgba(28, 27, 25, 0.1);
}
.window img { object-fit: contain; object-position: center top; background: #f3f2ee; }
.now {
  margin: 22px auto 0;
  max-width: 36em;
  text-align: center;
  color: var(--paper-muted);
  font-size: 15px;
  min-height: 1.6em;
}
.now strong {
  color: var(--paper-ink);
  font-weight: 650;
  margin-right: 10px;
}

.download { padding-top: 56px; }
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid #e5e2db;
  border-radius: 22px;
  padding: 22px 22px 20px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card b {
  font-size: 22px;
  letter-spacing: -0.04em;
  font-weight: 680;
}
.card p { margin: 0; color: var(--paper-muted); max-width: 28em; }
.card .go,
.card-actions {
  margin-top: auto;
}
.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}
.go:hover { background: #1d3f36; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wait { color: #956400; font-size: 14px; margin-top: auto; }

.legal-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 72px;
}
.legal-entry a {
  display: block;
  text-decoration: none;
  color: var(--paper-ink);
  border-top: 1px solid #1c1b19;
  padding-top: 16px;
}
.legal-entry small { color: var(--paper-muted); display: block; margin-bottom: 8px; }
.legal-entry strong { font-size: 28px; letter-spacing: -0.04em; }

.site-foot {
  background: var(--paper);
  color: var(--paper-muted);
  padding: 0 0 28px;
  font-size: 13px;
}
.site-foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.doc-body { background: var(--paper); color: var(--paper-ink); min-height: 100dvh; }
.doc-nav { background: var(--field); color: var(--ink); }
.doc-nav .nav-links a { color: #c9d5ce; }
.doc {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.doc h1 { margin: 0 0 8px; font-size: 40px; letter-spacing: -0.04em; line-height: 1.15; }
.doc .meta { color: var(--paper-muted); font-size: 14px; margin: 0 0 22px; }
.doc .notice {
  background: #edf3ec;
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  margin: 0 0 28px;
}
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc h3 { font-size: 16px; margin: 18px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ol, .doc ul { padding-left: 1.25em; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); }
.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}
.steps figure { margin: 0; }
.steps img {
  width: min(100%, 280px);
  border-radius: 18px;
  border: 1px solid #e5e2db;
  background: #fff;
}
.steps figcaption {
  margin-top: 10px;
  max-width: 36ch;
  color: var(--paper-muted);
  font-size: 15px;
}
.steps strong {
  display: block;
  color: var(--paper-ink);
  font-size: 16px;
  margin-bottom: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .route path { animation: draw 2.2s var(--ease) 0.15s forwards; }
  .rise { animation: rise 0.8s var(--ease) both; }
  .rise-2 { animation-delay: 0.12s; }
  .rise-3 { animation-delay: 0.22s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .nav {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    align-content: center;
    gap: 6px 16px;
    padding-block: 12px;
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .nav-links { gap: 14px; }
  .narrow { display: initial; }
  .hero {
    grid-template-columns: 1fr;
    width: min(1080px, calc(100% - 32px));
    padding-top: 8px;
    row-gap: 20px;
  }
  .hero h1 { font-size: 34px; }
  .hero .handset { width: min(230px, 68%); margin: 4px auto 0; }
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .cards, .legal-entry, .steps { grid-template-columns: 1fr; }
  .chapter { padding-top: 36px; }
  .window { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .handset img, .window img { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .route path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
