:root {
  --forest: #10251f;
  --forest-2: #18352d;
  --moss: #2b7060;
  --moss-soft: #3d8a76;
  --paper: #f3f2ec;
  --panel: #fbfaf6;
  --line: #e4e3dc;
  --muted: #748078;
  --ink: #17221e;
  --orange: #e9843c;
  --orange-deep: #c96a28;
  --cream: #ffe5ce;
  --shadow: 0 18px 40px rgba(16, 37, 31, 0.1);
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 8px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 7vw;
  color: #edf4f0;
  background: rgba(16, 37, 31, 0.94);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img, .brand svg { width: 40px; height: 40px; border-radius: 13px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .08em; line-height: 1.05; }
.brand-sub { margin-top: 4px; color: #8eaaa0; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  padding: 8px 12px;
  color: #aec1ba;
  text-decoration: none;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: #21483d; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 7vw 64px;
  color: #edf4f0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(233,132,60,.18), transparent 55%),
    linear-gradient(180deg, #10251f 0%, #18352d 58%, #1d3f36 100%);
}
.kicker {
  display: inline-block;
  color: #f3c49a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.kicker-ink { color: var(--orange-deep); }
.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.12;
  letter-spacing: .04em;
}
.hero h1 br { display: block; }
.hero .lead {
  max-width: 40rem;
  color: #c5d6cf;
  font-size: 18px;
}
.hero .lead-2 {
  max-width: 40rem;
  margin: 10px 0 0;
  color: #a9c0b8;
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}
.btn-primary { color: #fff; background: var(--orange); box-shadow: 0 10px 24px rgba(201,106,40,.28); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { color: #e9f4ec; border: 1px solid rgba(255,255,255,.16); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-quiet {
  color: #285e51;
  background: transparent;
  border: 1px solid #cfe2db;
}
.btn-quiet:hover { background: #e5f0ec; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: #8eaaa0;
  font-size: 13px;
}
.meta-row strong { color: #e9f4ec; font-weight: 650; }
.hero-wide {
  display: block;
  padding-bottom: 56px;
}
.hero-copy { max-width: 44rem; }
.hero-wide .hero-actions { margin-bottom: 12px; }
.app-shot {
  margin: 18px 0 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.app-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: #fbfaf6;
  border: 1px solid rgba(16, 37, 31, .08);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(8, 18, 14, .28);
}
.app-shot--hero img {
  max-height: min(620px, 64vh);
  border-color: rgba(255,255,255,.12);
}
.app-shot--dialog {
  width: auto;
  max-width: min(380px, 100%);
}
.app-shot--map {
  width: auto;
  max-width: min(560px, 100%);
}
.app-shot--panel {
  width: auto;
  max-width: min(860px, 100%);
}
.hero-wide .app-shot {
  margin-top: 36px;
}
.shot-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  align-items: flex-start;
  max-width: 100%;
  min-width: 0;
}
.shot-pair .app-shot { margin: 0; flex: 0 1 auto; }

.stage {
  position: relative;
  min-height: 340px;
  padding: 22px;
  background: #fbfaf6;
  color: var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #748078;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.stage-title { color: var(--forest); letter-spacing: 0; font-size: 15px; }
.spec {
  display: grid;
  grid-template-rows: 54px 1fr 52px;
  gap: 10px;
  height: 250px;
}
.wave, .spec-body, .timeline {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
}
.wave i {
  flex: 1;
  height: var(--h, 30%);
  background: #2b7060;
  opacity: .55;
  border-radius: 2px;
}
.spec-body {
  position: relative;
  background:
    repeating-linear-gradient(180deg, rgba(16,37,31,.05) 0 1px, transparent 1px 14px),
    linear-gradient(#10251f, #244c40);
}
.spec-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(233,164,105,.55) 18px 20px, transparent 20px 46px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(185,230,196,.35) 31px 33px, transparent 33px 70px);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
}
.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 2px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(233,132,60,.8);
}
.timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  font-size: 12px;
  color: #456d61;
}
.chip {
  padding: 4px 8px;
  background: #e0eee9;
  border-radius: 999px;
  font-weight: 700;
}
.chip.warn { background: #ffeadb; color: #86623e; }

.section { padding: 72px 7vw; }
.section h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: .03em; }
.section .intro { max-width: 42rem; color: var(--muted); }
.section.tint { background: #ecebe4; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.grid.two { grid-template-columns: 1fr 1fr; }
.plain-list {
  max-width: 42rem;
  margin: 18px 0 0;
  padding-left: 1.15em;
  color: #31433c;
}
.plain-list li { margin: 0 0 8px; }
.closing-line {
  max-width: 42rem;
  margin: 22px 0 0;
  color: #2e4a41;
  font-size: 17px;
  line-height: 1.7;
}
.feature-stack {
  display: block;
  margin-top: 18px;
  max-width: 56rem;
  min-width: 0;
  width: 100%;
}
.feature-stack article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  max-width: 100%;
}
.feature-stack article:last-child { border-bottom: 0; }
.feature-stack h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.feature-stack p {
  margin: 0;
  color: #456d61;
  line-height: 1.7;
}
.steps {
  max-width: 42rem;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
  margin: 0 0 18px;
  align-items: start;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffe5ce;
  background: #2c5c4e;
  border-radius: 11px;
  font-weight: 700;
}
.steps strong, .steps span { grid-column: 2; }
.steps strong { font-size: 17px; }
.steps span { margin-top: 4px; color: #456d61; line-height: 1.6; }
.closing {
  padding: 80px 7vw;
  color: #edf4f0;
  background: linear-gradient(180deg, #18352d, #10251f);
}
.closing h2 {
  max-width: 18em;
  margin: 10px 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: .03em;
}
.closing p { max-width: 38rem; color: #c5d6cf; font-size: 17px; line-height: 1.7; }
.closing .sign { margin-top: 22px; color: #f3c49a; font-weight: 650; }
.card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(22, 39, 32, 0.04);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.pillar {
  padding: 26px 24px 28px;
}
.pillar p { margin: 0; color: #456d61; font-size: 15px; line-height: 1.65; }
.pillar h3 { font-size: 22px; letter-spacing: .02em; }
.icon-pill {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: #ffe5ce;
  background: #2c5c4e;
  border-radius: 12px;
}

.download-panel, .prose {
  max-width: 860px;
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.dl-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.dl-hero.platform {
  flex-direction: column;
  gap: 8px;
}
.dl-hero h1 { margin: 6px 0 10px; font-size: 36px; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 18px 0 0;
  font-size: 14px;
}
.stat-grid dt { color: var(--muted); }
.stat-grid dd { margin: 2px 0 0; font-weight: 700; }
.hash {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 12px;
  background: #efeee8;
  border-radius: 10px;
  overflow: auto;
}
.hash code { font-size: 12px; word-break: break-all; }
.copy {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 10px;
  color: #285e51;
  background: #e5f0ec;
  border: 1px solid #cfe2db;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 650;
}
.changelog { margin-top: 28px; padding: 0; }
.changelog li { margin: 0 0 8px; }

.prose h1 { font-size: 36px; }
.prose h2 { margin-top: 28px; font-size: 22px; }
.prose p, .prose li { color: #31433c; }
.note {
  padding: 14px 16px;
  background: #fff0e4;
  border-left: 3px solid var(--orange);
  border-radius: 8px;
}

.site-footer {
  padding: 28px 7vw 36px;
  color: #a9bcb5;
  background: var(--forest);
}
.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: baseline;
}
.site-footer a { color: #e9f4ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer small { color: #7f9890; }

.shot {
  margin: 18px 0 0;
}
.shot-hero { margin: 0; }
.shot-frame {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 18px;
  color: #5d7269;
  background:
    linear-gradient(180deg, rgba(251,250,246,.55), rgba(243,242,236,.92)),
    repeating-linear-gradient(135deg, rgba(16,37,31,.035) 0 12px, transparent 12px 24px);
  border: 1px dashed #b7c4bd;
  border-radius: 18px;
}
.shot-hero .shot-frame {
  min-height: 0;
  padding: 0;
  background: #fbfaf6;
  border-style: solid;
  border-color: rgba(255,255,255,.18);
}
.shot-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  color: #86623e;
  background: #ffeadb;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.shot-copy {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
  padding: 28px 16px;
}
.shot-copy strong, .shot-copy em { display: block; }
.shot-copy strong { margin: 8px 0 6px; color: var(--forest); font-size: 16px; }
.shot-copy em { max-width: 28em; color: var(--muted); font-style: normal; font-size: 13px; line-height: 1.55; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.not-found { min-height: 50vh; padding: 12vh 7vw; }

@media (max-width: 900px) {
  .hero, .grid, .grid.two, .dl-hero, .platform-grid, .shot-pair { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; padding: 12px 5vw; }
  .hero, .section, .closing { padding-left: 5vw; padding-right: 5vw; }
}
