:root {
  --bg: #1c1c1e;
  --bg2: #232326;
  --card: #2a2a2e;
  --line: #34343a;
  --ink: #ececf0;
  --muted: #8a8a93;
  --dim: #6c6c75;
  --accent: #4fd1a5;
  --accent-ink: #06261b;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f2f2f4;
    --bg2: #e9e9ed;
    --card: #ffffff;
    --line: #dcdce2;
    --ink: #1c1c1f;
    --muted: #6c6c75;
    --dim: #9a9aa3;
    --accent: #13a477;
    --accent-ink: #ffffff;
    color-scheme: light;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(160deg, #4a4a51, #1d1d21);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  display: grid; place-items: center;
}
.mark i { display: block; width: 46%; height: 8.5%; min-height: 2px; border-radius: 9px; background: #4fd1a5; box-shadow: 0 0 8px rgba(79,209,165,.4); }
.navlinks { display: flex; gap: 18px; font-size: 15px; }
.navlinks a { color: var(--muted); }

.hero { padding: 64px 0 40px; text-align: center; }
.hero .mark { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 28px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.hero p.lead { color: var(--muted); font-size: clamp(18px, 2.4vw, 22px); max-width: 640px; margin: 18px auto 0; }
.cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: var(--card); color: var(--ink); }
.note { color: var(--dim); font-size: 14px; margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; padding: 36px 0 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }
.card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }

section.pro { margin: 28px 0 8px; background: var(--bg2); border-radius: 22px; padding: 30px; display: grid; gap: 10px; }
section.pro h2 { font-size: 26px; letter-spacing: -0.02em; }
section.pro p { color: var(--muted); }
section.pro .price { color: var(--ink); font-weight: 600; }

.doc { max-width: 720px; padding: 30px 0 60px; }
.doc h1 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 6px; }
.doc .updated { color: var(--dim); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink); opacity: .92; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0 22px; }
.doc li + li { margin-top: 6px; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--dim); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 16px; }
footer a { color: var(--muted); }

/* v2 landing */
.hero2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 48px 0 32px; }
.hero2 h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.hero2 .kicker { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .02em; margin-bottom: 14px; }
.hero2 p.lead { color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); margin-top: 16px; max-width: 520px; }
.hero2 .cta { justify-content: flex-start; }
.phone { width: 100%; max-width: 250px; justify-self: center; border-radius: 40px; box-shadow: 0 30px 70px rgba(0,0,0,.35), 0 0 0 1px var(--line); }
.points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 15px; }
.points span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.1; }
.feature p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 460px; }
.feature .phone { max-width: 230px; }
.also { padding: 40px 0 8px; border-top: 1px solid var(--line); }
.also h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 14px; }
.also ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px; }
.also li { color: var(--muted); font-size: 16px; }
.also li b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .hero2, .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .text { order: 0; }
  .hero2 { text-align: center; }
  .hero2 p.lead { margin-left: auto; margin-right: auto; }
  .hero2 .cta, .points { justify-content: center; }
  .phone { max-width: 260px; }
}

/* v3: store-shot gallery */
.hero3 { text-align: center; padding: 56px 0 28px; }
.hero3 h1 { font-size: clamp(40px, 6.5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.hero3 .kicker { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; }
.hero3 p.lead { color: var(--muted); font-size: clamp(18px, 2.3vw, 22px); max-width: 640px; margin: 16px auto 0; }
.hero3 .points { justify-content: center; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 18px 0 40px; }
.gallery img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: block; }
@media (max-width: 900px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 18px 20px 36px; }
  .gallery img { flex: 0 0 62%; max-width: 260px; scroll-snap-align: center; }
}
