:root {
  --bg: #060b08;
  --bg-2: #0a120d;
  --surface: #0e1812;
  --surface-2: #122019;
  --line: #1e2d23;
  --line-2: #2b4033;
  --text: #eef5ef;
  --muted: #9aada0;
  --faint: #6d8376;
  --lime: #9be31b;
  --lime-2: #c4ff5a;
  --green: #00e040;
  --lime-soft: rgba(155, 227, 27, 0.12);
  --wrap: 1180px;
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 560px at 78% -12%, rgba(155, 227, 27, 0.11), transparent 60%),
    radial-gradient(760px 460px at 6% 2%, rgba(0, 160, 80, 0.09), transparent 65%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, .btn { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.lime { color: var(--lime); }
.center { text-align: center; }
.mobile { display: none; }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 11, 8, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 72px;
}
.brand img { width: 148px; height: auto; }
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.nav a { position: relative; padding: 4px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.beta-chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--lime);
  border: 1px solid rgba(155, 227, 27, 0.38);
  background: var(--lime-soft);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.header-link {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
}
.header-link:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 120px;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: 0;
  background: url("/assets/hero-bg.jpg") center / cover no-repeat;
  filter: blur(9px) saturate(0.9) brightness(0.9);
  opacity: 0.72;
  transform: scale(1.04);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-glow {
  position: absolute;
  width: 900px;
  height: 520px;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(155, 227, 27, 0.22), transparent 72%);
  filter: blur(20px);
}
.hero-app {
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: min(1080px, 92vw);
  transform: translateX(-50%) perspective(1400px) rotateX(3deg);
  background: #0a1410;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.5;
  filter: blur(0.8px) saturate(0.95);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.ha-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #2c4033; display: block; }
.ha-btn { margin-left: auto; font-size: 10px; color: #12200a; background: var(--lime); border-radius: 4px; padding: 3px 8px; font-weight: 800; }
.ha-body { display: grid; grid-template-columns: 250px 1fr; min-height: 420px; }
.ha-side { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ha-label { font-size: 10px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; }
.ha-song { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 9px; }
.ha-song i { width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #2f6b4f, #83c93d); display: grid; place-items: center; color: #071009; font-style: normal; font-weight: 900; }
.ha-song b { display: block; font-size: 11px; }
.ha-song em { display: block; font-size: 9px; color: var(--faint); font-style: normal; }
.ha-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.ha-thumbs i { aspect-ratio: 16 / 10; border-radius: 5px; background: linear-gradient(135deg, #143d2a, #2e6b4a); }
.ha-thumbs i:nth-child(2) { background: linear-gradient(135deg, #1b3550, #2d6c85); }
.ha-thumbs i:nth-child(3) { background: linear-gradient(135deg, #3a1c10, #a45c2c); }
.ha-thumbs i:nth-child(4) { background: linear-gradient(135deg, #2b0f45, #5d2b8a); }
.ha-stage { display: flex; flex-direction: column; min-width: 0; }
.ha-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background:
    radial-gradient(600px 300px at 50% 20%, rgba(155, 227, 27, 0.12), transparent 70%),
    linear-gradient(160deg, #0c1a12, #071009);
}
.ha-lyric { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.ha-lyric.past { opacity: 0.28; }
.ha-lyric.now { color: var(--lime); text-shadow: 0 0 22px rgba(155, 227, 27, 0.35); }
.ha-lyric.next { opacity: 0.45; }
.ha-play {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
}
.ha-timeline { border-top: 1px solid var(--line); padding: 12px 16px 16px; }
.ha-ruler { display: flex; justify-content: space-between; font-size: 9px; color: var(--faint); margin-bottom: 8px; }
.ha-track { height: 34px; display: flex; gap: 3px; position: relative; }
.ha-track i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #1d3a29, #142a1e); border: 1px solid #24452f; }
.ha-track i:nth-child(2) { background: linear-gradient(180deg, #23425e, #172c40); border-color: #2b4c6b; }
.ha-track i:nth-child(3) { background: linear-gradient(180deg, #4a3a17, #2d2410); border-color: #5c4a1f; }
.ha-track b { position: absolute; left: 42%; top: -4px; bottom: -4px; width: 2px; background: var(--lime); box-shadow: 0 0 10px rgba(155, 227, 27, 0.6); }
.ha-track.thin { height: 12px; margin-top: 10px; }
.ha-track.thin i { background: linear-gradient(90deg, #1c3a29 0 20%, #2b4c6b 20% 55%, #1c3a29 55% 100%); }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 50% 42%, rgba(6, 11, 8, 0.42), rgba(6, 11, 8, 0.72) 80%),
    linear-gradient(180deg, rgba(6, 11, 8, 0.5) 0%, rgba(6, 11, 8, 0.26) 42%, rgba(6, 11, 8, 0.38) 70%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-title {
  font-size: clamp(3.2rem, 8.2vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 auto;
}
.hero-title span { display: block; }
.hero-title .lime { text-shadow: 0 0 60px rgba(155, 227, 27, 0.28); }
.hero-sub {
  margin-top: 26px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-desc {
  margin: 16px auto 0;
  max-width: 44em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}
.btn.primary { background: var(--lime); color: #0b1407; }
.btn.primary:hover { background: var(--lime-2); transform: translateY(-2px); }
.btn.ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn.disabled { border-color: var(--line); color: var(--faint); background: var(--surface); cursor: default; }
.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }

/* ---------- stats ---------- */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--lime);
  line-height: 1.1;
}
.stat span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
section[id] { scroll-margin-top: 88px; }
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 52px; }
.section-head h2, .display {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.03;
}
.section-head p { color: var(--muted); margin-top: 16px; }
.about { text-align: center; }
.about-inner { max-width: 980px; }
.about .display { margin-top: 4px; }
.about-lede {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}
.about-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.about-cols h3 { font-size: 17px; letter-spacing: -0.01em; }
.about-cols p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}
.split.reverse .copy { order: 2; }
.split.reverse .visual { order: 1; }
.copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
.copy > p { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.95; max-width: 34em; }
.checks { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.checks li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-weight: 900;
}
.counters {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.counters b {
  display: block;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1;
}
.counters span { display: block; margin-top: 8px; font-size: 11px; color: var(--faint); line-height: 1.5; }

/* ---------- visuals ---------- */
.visual { min-width: 0; }
.viz-window {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}
.viz-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.viz-pill {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid rgba(155, 227, 27, 0.28);
  border-radius: 999px;
  padding: 2px 8px;
}

/* lyric visual */
.lyric-stage {
  padding: 46px 28px 34px;
  text-align: center;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(155, 227, 27, 0.1), transparent 70%),
    linear-gradient(160deg, #0d1b13, #071009);
}
.line {
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 14px 0;
}
.line.past { opacity: 0.26; }
.line.next { opacity: 0.42; }
.line.current { position: relative; display: inline-block; text-align: left; color: rgba(255, 255, 255, 0.22); }
.line.current .base { color: inherit; }
.line.current .fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--lime);
  text-shadow: 0 0 24px rgba(155, 227, 27, 0.3);
}
.word-track {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 28px 28px;
}
.word-track i {
  height: 6px;
  border-radius: 2px;
  background: #24372a;
  display: block;
}
.word-track i.on { background: var(--lime); box-shadow: 0 0 10px rgba(155, 227, 27, 0.4); }

/* library visual */
.lib-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 14px 0; }
.lib-chips span {
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}
.lib-chips span.on { color: var(--lime); border-color: rgba(155, 227, 27, 0.38); background: var(--lime-soft); }
.lib-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 12px 14px;
}
.tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, #143d2a, #2e6b4a);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65));
}
.tile span { position: absolute; left: 8px; bottom: 6px; z-index: 2; font-size: 9px; color: #eafff0; letter-spacing: 0.06em; }
.t-city { background: linear-gradient(135deg, #0b2340, #1e5d7a); }
.t-nature { background: linear-gradient(135deg, #143a25, #4f7c3a); }
.t-neon { background: linear-gradient(135deg, #2b0f45, #7b2cbf); }
.t-sunset { background: linear-gradient(135deg, #3a1c10, #c26a2b); }
.t-forest { background: linear-gradient(135deg, #0d1f16, #2f6b4f); }
.t-night { background: linear-gradient(135deg, #0a1a33, #22557a); }
.lib-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--faint);
}
.lib-foot b { color: var(--lime); font-weight: 700; }

/* export visual */
.export-body { padding: 20px 20px 24px; }
.export-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.export-row b { color: var(--text); font-weight: 600; }
.export-progress {
  height: 8px;
  margin-top: 20px;
  border-radius: 999px;
  background: #1b2b20;
  overflow: hidden;
}
.export-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); }
.export-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 10px;
  color: var(--faint);
}
.export-path {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- use cases ---------- */
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.use-card {
  position: relative;
  padding: 28px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.use-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.use-no {
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.1em;
}
.use-card h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.02em; }
.use-card p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.use-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ---------- workflow ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  counter-reset: step;
}
.steps li { border-top: 2px solid var(--line-2); padding-top: 22px; }
.step-no {
  display: block;
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 34px;
  font-weight: 500;
  color: var(--lime);
  line-height: 1;
}
.steps h3 { margin-top: 16px; font-size: 19px; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* ---------- download ---------- */
.download-panel {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 48px;
  background:
    radial-gradient(420px 220px at 88% 0%, rgba(155, 227, 27, 0.12), transparent 70%),
    linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.download-mark img {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(155, 227, 27, 0.18);
}
.download-copy { min-width: 0; }
.download-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.download-copy > p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 42em; }
.download-actions { margin-top: 22px; }
.req {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
}
.req li { display: flex; align-items: center; gap: 8px; }
.req li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  position: relative;
  font-size: 15px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 30px 20px 0; color: var(--muted); font-size: 13px; line-height: 1.95; }

/* ---------- footer ---------- */
.site-footer {
  background: #040806;
  border-top: 1px solid var(--line);
}
.footer-cta { padding: 80px 0 62px; }
.footer-cta h2 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}
.footer-cta > p:last-child { margin-top: 18px; color: var(--muted); font-size: 14px; }
.footer-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
.footer-bar nav { display: flex; gap: 18px; }
.footer-bar nav a:hover { color: var(--text); }
.footer-bar .copyright { margin-left: auto; }
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a:hover { color: var(--text); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 112px; }

/* ---------- legal ---------- */
.legal { max-width: 800px; padding: 64px 0 96px; }
.legal .back { font-size: 12px; color: var(--faint); }
.legal .back:hover { color: var(--lime); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 18px; font-weight: 900; letter-spacing: -0.04em; }
.legal .updated { margin-top: 8px; font-size: 12px; color: var(--faint); }
.legal h2 { font-size: 16px; margin-top: 34px; font-weight: 700; }
.legal p, .legal li { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li { margin-top: 6px; }
.legal .note-box {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--lime);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  border-radius: 0 6px 6px 0;
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.24s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.3s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: 700px; padding: 84px 0 100px; }
  .hero-app { width: 1080px; opacity: 0.32; bottom: -120px; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split.reverse .copy { order: 1; }
  .split.reverse .visual { order: 2; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .use-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .download-panel { flex-direction: column; align-items: flex-start; gap: 26px; padding: 36px; }
  .footer-bar .copyright { margin-left: 0; width: 100%; }
}

@media (max-width: 700px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .header-inner { height: 64px; gap: 14px; }
  .brand img { width: 124px; }
  .nav { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-link { display: none; }
  .hero { min-height: 620px; padding: 72px 0 86px; }
  .hero-title { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .hero-app { opacity: 0.22; width: 980px; bottom: -80px; }
  .hero-sub { margin-top: 20px; font-size: 17px; }
  .hero-desc { font-size: 13px; line-height: 1.8; }
  .hero-desc br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-meta { gap: 8px 14px; font-size: 10px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .mobile { display: block; }
  .about-cols { grid-template-columns: 1fr; gap: 26px; margin-top: 34px; }
  .counters { gap: 22px 30px; }
  .counters b { font-size: 28px; }
  .lib-mock-grid { gap: 5px; }
  .download-panel { padding: 28px 22px; }
  .download-mark img { width: 84px; height: 84px; border-radius: 18px; }
  .footer-cta { padding: 60px 0 44px; }
  .footer-bar, .footer-inner { gap: 14px 20px; }
  .footer-bar nav, .footer-inner nav { flex-wrap: wrap; gap: 6px 16px; }
  .footer-bar nav a, .footer-inner nav a { padding: 12px 0; }
}
