/* =========================================================
   Kazumi Landing Page
   ========================================================= */
:root {
  --bg: #f7f6f0;
  --bg-soft: #eef2e3;
  --panel: rgba(255, 255, 255, 0.8);
  --line: rgba(70, 86, 62, 0.13);
  --line-strong: rgba(70, 86, 62, 0.24);
  --text: #262b24;
  --muted: #666d60;
  --muted-2: #949b8c;
  --violet: #4f7d3f;
  --cyan: #7fa8a0;
  --pink: #91c172;
  --mint: #5f9e6a;
  --lemon: #f0d491;
  --grad: linear-gradient(118deg, #4f7d3f 0%, #5f9e52 52%, #3f8f7a 100%);
  --grad-soft: linear-gradient(118deg, rgba(143, 179, 106, 0.2), rgba(127, 168, 160, 0.16));
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 30px 70px -32px rgba(67, 91, 55, 0.35);
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(143, 179, 106, 0.28); color: var(--text); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- ambient background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora-blob--a {
  width: 46vw; height: 46vw;
  top: -14vw; left: -8vw;
  background: radial-gradient(circle, #d6ebbf 0%, transparent 68%);
  opacity: 0.55;
}
.aurora-blob--b {
  width: 40vw; height: 40vw;
  top: 18vh; right: -12vw;
  background: radial-gradient(circle, #e9e6c2 0%, transparent 66%);
  opacity: 0.5;
  animation-delay: -7s;
}
.aurora-blob--c {
  width: 36vw; height: 36vw;
  bottom: -16vw; left: 24vw;
  background: radial-gradient(circle, #cfe7e0 0%, transparent 70%);
  opacity: 0.42;
  animation-delay: -13s;
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4vw, 5vh, 0) scale(1.12); }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 246, 240, 0.85);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo-wrap {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 8px 22px -8px rgba(143, 179, 106, 0.65);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-logo.is-empty { display: none; }
.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(143, 179, 106, 0.18); }
.nav-cta {
  margin-left: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(143, 179, 106, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(79, 125, 63, 0.85); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 18px 38px -16px rgba(143, 179, 106, 0.75);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -18px rgba(79, 125, 63, 0.7); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { border-color: rgba(79, 125, 63, 0.55); background: rgba(79, 125, 63, 0.08); transform: translateY(-3px); }

/* ---------- hero ---------- */
.hero { padding: 148px 0 0; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(143, 179, 106, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 18px -12px rgba(143, 179, 106, 0.6);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0 rgba(79, 125, 63, 0.55);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 125, 63, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(79, 125, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 125, 63, 0); }
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.grad-text {
  background: linear-gradient(100deg, #3f6b34 0%, #5f9e52 52%, #3f8f7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin-top: 26px;
  max-width: 540px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.meta-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px -18px rgba(70, 86, 62, 0.6);
  font-size: 14.5px;
}
.meta-label { font-size: 12.5px; color: var(--muted-2); }
.meta-chip strong { font-weight: 700; color: #3f6b34; letter-spacing: 0.02em; }
.meta-chip--ghost { color: var(--muted); font-size: 13px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points {
  margin-top: 30px;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: var(--grad);
  opacity: 0.9;
}

/* ---------- hero screenshot stack (portrait) ---------- */
.hero-visual { position: relative; }
.shot-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.shot {
  position: relative;
  width: 38%;
  flex: none;
  margin: 0;
  aspect-ratio: 9 / 19;
  cursor: pointer;
  outline: none;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.24, 1), opacity 0.4s ease, filter 0.4s ease;
  will-change: transform;
}
.shot--a { z-index: 1; margin-right: -8%; opacity: 0.88; transform: rotate(-7deg) translateY(3%) scale(0.92); }
.shot--b { z-index: 3; transform: translateY(-2%) scale(1); }
.shot--c { z-index: 1; margin-left: -8%; opacity: 0.88; transform: rotate(7deg) translateY(3%) scale(0.92); }
.shot--a:hover, .shot--a.is-active,
.shot--b:hover, .shot--b.is-active,
.shot--c:hover, .shot--c.is-active {
  z-index: 8;
  opacity: 1;
  transform: rotate(0deg) translateY(-5%) scale(1.05);
  filter: none;
}
.shot:focus-visible .shot-frame { box-shadow: 0 0 0 3px rgba(143, 179, 106, 0.55), var(--shadow); }

.shot-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 5px solid #fff;
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(143, 179, 106, 0.45), transparent 60%),
    radial-gradient(120% 80% at 90% 100%, rgba(127, 168, 160, 0.4), transparent 62%),
    linear-gradient(170deg, #f3f7ea 0%, #e9f2ec 100%);
  box-shadow: 0 26px 55px -26px rgba(67, 91, 55, 0.55), 0 0 0 1px rgba(70, 86, 62, 0.08);
}
.shot-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 9px; left: 50%;
  width: 30%; height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(38, 43, 36, 0.2);
}
.shot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(70, 86, 62, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 86, 62, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 76%);
  opacity: 0.8;
  pointer-events: none;
}
.shot-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-frame img.is-empty { display: none; }
.shot-hint {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 36px 16px;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(38, 43, 36, 0.5);
}
.shot-frame img:not(.is-empty) + .shot-hint { display: none; }
.shot figcaption {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  white-space: nowrap;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(70, 86, 62, 0.12);
  box-shadow: 0 6px 16px -10px rgba(70, 86, 62, 0.5);
}
.shot-glow {
  position: absolute;
  inset: 10% 8% 8%;
  z-index: -1;
  border-radius: 60px;
  background: var(--grad);
  filter: blur(60px);
  opacity: 0.36;
}
.shot-tip {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

@media (hover: hover) {
  .shot-stack:hover .shot:not(:hover) { opacity: 0.42; filter: saturate(0.7) brightness(0.8); }
  .shot-stack:hover .shot:hover { opacity: 1; filter: none; }
}

/* ---------- platform strip ---------- */
.hero-strip {
  margin-top: 72px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.strip-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.strip-items span { position: relative; transition: color 0.25s ease; }
.strip-items span::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--violet);
  vertical-align: middle;
}
.strip-items span:hover { color: var(--text); }

/* ---------- section base ---------- */
.section { padding: 116px 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head--left { margin-bottom: 0; }
.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4f7d3f;
}
.section-tag::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--grad);
}
.section h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 750;
}
.section-desc {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 34px 30px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px -34px rgba(70, 86, 62, 0.55);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -70px; top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 179, 106, 0.35), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 179, 106, 0.35);
  box-shadow: 0 26px 50px -30px rgba(143, 179, 106, 0.55);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  border: 1px solid rgba(143, 179, 106, 0.28);
  background: var(--grad-soft);
  color: var(--violet);
}
.feature-icon svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { font-size: 18.5px; font-weight: 650; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* ---------- rules ---------- */
.section--rules {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(143, 179, 106, 0.07), rgba(79, 125, 63, 0.04) 55%, transparent);
}
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.rules-copy h2 { margin-bottom: 6px; }
.check-list { margin: 28px 0 30px; display: grid; gap: 13px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(18, 201, 168, 0.14);
  border: 1px solid rgba(18, 201, 168, 0.45);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 7px; height: 4px;
  border-left: 1.6px solid var(--mint);
  border-bottom: 1.6px solid var(--mint);
  transform: rotate(-45deg);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #3f6b34;
  border-bottom: 1px solid rgba(63, 107, 52, 0.35);
  padding-bottom: 3px;
  transition: gap 0.25s ease, color 0.25s ease;
}
.link-arrow:hover { gap: 14px; color: #2f5a2a; }

.rules-panel { position: relative; }
.code-window {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(30, 38, 28, 0.97), rgba(17, 24, 19, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.code-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.code-bar span:first-child { background: #ff7a8a; }
.code-bar span:nth-child(2) { background: #ffd479; }
.code-bar span:nth-child(3) { background: #5ee7b0; }
.code-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #9aa892;
}
.code-body {
  padding: 22px 22px 26px;
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 12.8px;
  line-height: 1.95;
  overflow-x: auto;
  color: #c3cfbb;
}
.c-key { color: #a6d78f; }
.c-str { color: #8fd8c2; }

.rules-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.rules-stats div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 30px -26px rgba(70, 86, 62, 0.6);
}
.rules-stats strong { display: block; font-size: 21px; letter-spacing: -0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rules-stats span { font-size: 12px; color: var(--muted-2); letter-spacing: 0.04em; }

/* ---------- reviews ---------- */
.section--reviews { background: radial-gradient(60% 55% at 80% 0%, rgba(143, 179, 106, 0.09), transparent 70%); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px -34px rgba(70, 86, 62, 0.55);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.review-card:hover { transform: translateY(-5px); border-color: rgba(79, 125, 63, 0.35); box-shadow: 0 26px 50px -32px rgba(79, 125, 63, 0.5); }
.review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.avatar {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  color: #22301c;
  background: linear-gradient(140deg, #cbe3ae, #93c478);
  box-shadow: 0 8px 20px -10px rgba(79, 125, 63, 0.55);
}
.avatar--b { background: linear-gradient(140deg, #b7e3d3, #7fbca8); }
.avatar--c { background: linear-gradient(140deg, #f3d2ad, #e0a97f); }
.avatar--d { background: linear-gradient(140deg, #dbe8bd, #a9c78a); }
.review-top strong { display: block; font-size: 15px; font-weight: 650; }
.review-top small { font-size: 12px; color: var(--muted-2); letter-spacing: 0.03em; }
.review-card p { font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.stars { margin-top: 16px; font-size: 13px; letter-spacing: 0.28em; color: #e9a100; }

/* ---------- faq ---------- */
.section--faq { border-top: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 30px -28px rgba(70, 86, 62, 0.6);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.is-open {
  border-color: rgba(143, 179, 106, 0.45);
  background: #f4f8ec;
  box-shadow: 0 18px 36px -30px rgba(79, 125, 63, 0.5);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 550;
}
.faq-q i {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-q i::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.faq-q i::after { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q i::before, .faq-item.is-open .faq-q i::after { background: var(--violet); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.faq-a p {
  overflow: hidden;
  min-height: 0;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  transition: padding 0.4s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-item.is-open .faq-a p { padding-bottom: 22px; }

/* ---------- download ---------- */
.section--download { padding-bottom: 128px; }
.download-panel {
  position: relative;
  padding: 54px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(65% 110% at 10% 0%, rgba(242, 217, 138, 0.22), transparent 55%),
    radial-gradient(70% 110% at 100% 100%, rgba(127, 168, 160, 0.3), transparent 60%),
    linear-gradient(135deg, #243220 0%, #2f4629 56%, #203a36 100%);
  box-shadow: 0 44px 100px -46px rgba(79, 125, 63, 0.75);
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 85% 10%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 85% 10%, #000, transparent 70%);
  pointer-events: none;
}
.download-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.download-head h2 { max-width: 640px; color: #fff; }
.download-head .section-desc { max-width: 540px; color: rgba(255, 255, 255, 0.88); }
.download-head .section-tag { color: #fff; }
.download-head .section-tag::before { background: #fff; }
.download-badge {
  flex: none;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  text-align: right;
}
.download-badge span { display: block; font-size: 11.5px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.78); }
.download-badge strong {
  display: block;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
.download-badge small { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }

.download-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dl-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: #fff;
  background: #fff;
  box-shadow: 0 20px 36px -22px rgba(32, 45, 28, 0.5);
}
.dl-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.dl-card:hover .dl-icon {
  color: var(--violet);
  border-color: rgba(79, 125, 63, 0.28);
  background: rgba(79, 125, 63, 0.1);
}
.dl-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dl-icon svg.icon-fill { fill: currentColor; stroke: none; }
.dl-info { min-width: 0; }
.dl-info strong { display: block; font-size: 15.5px; font-weight: 650; color: #fff; transition: color 0.3s ease; }
.dl-info small { display: block; font-size: 11.8px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s ease; }
.dl-go {
  margin-left: auto;
  flex: none;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12px;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.dl-card:hover .dl-info strong { color: var(--text); }
.dl-card:hover .dl-info small { color: var(--muted); }
.dl-card:hover .dl-go { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }

.download-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 30px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.download-foot p { font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.download-note { font-size: 11.8px; color: rgba(255, 255, 255, 0.72); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f6f0 0%, #eef3e2 100%);
  padding: 66px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
  gap: 44px;
}
.footer-brand p {
  margin-top: 18px;
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted-2);
}
.footer-col h3 {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col a:hover { color: #3f6b34; transform: translateX(3px); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.footer-legal p { margin: 0; }
.footer-legal .icp {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-legal .icp:hover { color: #3f6b34; border-bottom-color: rgba(63, 107, 52, 0.4); }

/* ---------- 首屏入场（不依赖滚动，内容默认可见） ---------- */
.hero-copy, .hero-visual, .hero-strip {
  animation: rise 0.9s cubic-bezier(0.22, 0.9, 0.24, 1) both;
}
.hero-visual { animation-delay: 0.1s; }
.hero-strip { animation-delay: 0.2s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
[data-delay="1"] { transition-delay: 0.09s; }
[data-delay="2"] { transition-delay: 0.18s; }
[data-delay="3"] { transition-delay: 0.27s; }

section[id] { scroll-margin-top: 92px; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero-strip { margin-top: 58px; }
}

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 34px; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(250, 249, 243, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 16px; font-size: 15px; }
  .nav-cta { margin: 6px 0 0; padding: 13px; text-align: center; }
  .nav-toggle { display: block; }

  .hero { padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero h1 { font-size: clamp(40px, 8vw, 62px); }
  .hero-desc { max-width: 640px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero-strip { margin-top: 60px; }

  .rules-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .download-head { flex-direction: column; gap: 24px; }
  .download-badge { text-align: left; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 84px 0; }
  .section--download { padding-bottom: 92px; }
  .section-head { margin-bottom: 38px; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: clamp(36px, 9.4vw, 50px); }
  .hero-desc { font-size: 15px; margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-meta { margin-top: 22px; }
  .hero-strip { gap: 14px; padding: 20px 0; }
  .strip-items { gap: 10px 22px; font-size: 13.5px; }

  .shot-stack { padding: 4px 0; }
  .hero-visual { padding-inline: 2%; }
  .shot { width: 40%; }
  .shot--a { margin-right: -11%; transform: rotate(-5deg) translateY(2%) scale(0.94); }
  .shot--c { margin-left: -11%; transform: rotate(5deg) translateY(2%) scale(0.94); }
  .shot--b { transform: translateY(-1%) scale(1); }
  .shot-tip { margin-top: 18px; }

  .feature-grid, .review-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }
  .review-card { padding: 26px 22px; }

  .download-panel { padding: 30px 22px; border-radius: 26px; }
  .download-head h2 { font-size: 28px; }
  .dl-info small { white-space: normal; }
  .download-foot { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand-text { font-size: 18px; }
  .eyebrow { font-size: 11.5px; padding: 6px 12px; }
  .meta-chip { padding: 7px 12px; font-size: 13.5px; }
  .btn { height: 48px; padding: 0 24px; font-size: 14.5px; width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-points { font-size: 12.5px; }
  .faq-q { padding: 16px 18px; font-size: 14px; }
  .faq-a p { padding-inline: 18px; }
  .rules-stats { grid-template-columns: 1fr; }
  .rules-stats div { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; }
  .rules-stats strong { font-size: 18px; }
  .code-body { font-size: 11.5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- inline links ---------- */
.faq-a a {
  color: #3f6b34;
  border-bottom: 1px solid rgba(63, 107, 52, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.faq-a a:hover { color: #2f5a2a; border-bottom-color: rgba(47, 90, 42, 0.7); }
.download-note a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.25s ease;
}
.download-note a:hover { border-bottom-color: #fff; }

/* ---------- footer legal link ---------- */
.footer-legal .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.footer-legal .legal-links a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-legal .legal-links a:hover { color: #3f6b34; border-bottom-color: rgba(63, 107, 52, 0.4); }

/* ---------- standalone legal page ---------- */
.legal-page { padding: 148px 0 96px; }
.legal-wrap { max-width: 780px; margin-inline: auto; }
.legal-page h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 750;
}
.legal-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.legal-body { margin-top: 40px; }
.legal-body section { margin-bottom: 34px; }
.legal-body h2 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.legal-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 10px;
}
.legal-body ul { margin: 10px 0 0; display: grid; gap: 8px; }
.legal-body li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet);
}
.legal-body a { color: #3f6b34; border-bottom: 1px solid rgba(63, 107, 52, 0.35); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 14px;
  color: #3f6b34;
  border-bottom: 1px solid rgba(63, 107, 52, 0.35);
  padding-bottom: 2px;
}
@media (max-width: 720px) {
  .legal-page { padding: 118px 0 72px; }
  .legal-body h2 { font-size: 16.5px; }
  .legal-body p, .legal-body li { font-size: 14.5px; }
}

/* ---------- 404 ---------- */
.err-code {
  font-size: clamp(64px, 12vw, 108px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- legal / 404 page nav ---------- */
.legal-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  color: var(--muted);
}
.legal-nav a:not(.nav-cta) {
  transition: color 0.25s ease;
}
.legal-nav a:not(.nav-cta):hover { color: var(--text); }
@media (max-width: 720px) {
  .legal-nav { gap: 12px; }
  .legal-nav a:not(.nav-cta) { display: none; }
}

.err-wrap {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.err-title {
  margin-top: 18px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.err-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.err-actions {
  justify-content: center;
  margin-top: 30px;
}
@media (max-width: 480px) {
  .err-actions .btn { width: 100%; }
}
