:root {
  --green: #2dbd68;
  --green-dark: #249a54;
  --ink: #3b2a25;
  --muted: #8e856d;
  --line: #e6f3ea;
  --bg: #f4fbf6;
  --card: #ffffff;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max: 1080px;
  --nav: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; cursor: pointer; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-inner, .wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: 15px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--bg);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-line { background: #fff; color: var(--green-dark); border-color: #b7e7c8; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.hero { padding: 36px 0 8px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
}
h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
}
.slogan {
  margin: 10px 0 0;
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 700;
}
.lead {
  margin: 16px 0 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.phone {
  width: 280px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(47, 122, 72, 0.16);
}
.phone img { width: 100%; height: auto; }

.section { padding: 48px 0; }
.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}
.section-lead { margin: 0 0 20px; color: var(--muted); }

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 122, 72, 0.1);
}
.shots figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.points strong { display: block; margin-bottom: 4px; }
.points span { color: var(--muted); font-size: 14px; }

.download-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.store {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
}
.store strong { display: block; }
.store p { margin: 4px 0 12px; color: var(--muted); font-size: 13px; }
.qr-host { position: relative; }
.actions .qr-host { display: inline-flex; }
.qr-pop {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
}
.qr-host:hover .qr-pop,
.qr-host:focus-within .qr-pop {
  opacity: 1;
  visibility: visible;
}
.qr-card {
  display: block;
  width: 168px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(47, 122, 72, 0.16);
  text-align: center;
}
.qr-card img { width: 148px; height: 148px; margin: 0 auto; }
.qr-card em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.faq { display: grid; gap: 8px; }
.faq details {
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.footer {
  padding: 12px 0 96px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner, .legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.legal { margin-top: 8px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

.legal-doc { padding: 28px 0 48px; }
.legal-card {
  max-width: 840px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px 48px;
}
.legal-card h1 { margin: 0 0 8px; font-size: 32px; }
.legal-card .updated { margin: 0 0 24px; color: var(--muted); }
.legal-card h2 { margin: 28px 0 8px; font-size: 18px; }
.legal-card p,
.legal-card li { font-size: 15px; }
.legal-card ul { margin: 8px 0 0; padding-left: 1.2em; }
@media (max-width: 700px) {
  .legal-card { padding: 24px 18px 32px; }
  .legal-card h1 { font-size: 26px; }
}

.dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  background: #3b2a25;
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { width: min(280px, 70vw); margin: 8px auto 0; }
  h1 { font-size: 36px; }
  .shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .shots li {
    flex: 0 0 68vw;
    scroll-snap-align: start;
  }
  .download-row, .points { grid-template-columns: 1fr; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .dock { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
