:root {
  --paper: #f3efe6;
  --sheet: #fffdf8;
  --ink: #1c211c;
  --mute: #5d675d;
  --line: #d7d0c2;
  --moss: #1f6f43;
  --moss-ink: #0d3b24;
  --leaf: #e8f4ec;
  --clay: #c45c26;
  --sky: #2457c5;
  --plum: #6b3fa0;
  --sand: #efe6d4;
  --focus: #b45309;
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(31, 111, 67, 0.08), transparent 55%),
    radial-gradient(700px 360px at 100% 8%, rgba(196, 92, 38, 0.06), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--moss);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--moss-ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--focus);
  color: #fff;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin: 0 auto;
}

.topbar {
  background: var(--moss-ink);
  color: #e8f4ec;
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.45rem 0;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-head.is-stuck {
  box-shadow: 0 8px 24px rgba(28, 33, 28, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand small {
  display: block;
  font-weight: 500;
  color: var(--mute);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.7rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
}

.menu a:hover,
.menu a[aria-current="page"] {
  background: var(--leaf);
  color: var(--moss-ink);
}

.menu .cta {
  background: var(--moss);
  color: #fff;
  font-weight: 700;
}

.menu .cta:hover,
.menu .cta[aria-current="page"] {
  background: var(--moss-ink);
  color: #fff;
}

.hero,
.page-hero {
  padding: 2.4rem 0 1.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  display: inline-block;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.7rem 0 0.9rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  font-size: 0.84rem;
}

.chip.is-on {
  background: var(--leaf);
  border-color: #b7d8c3;
  color: var(--moss-ink);
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: 1.45rem;
}

.lead {
  color: var(--mute);
  font-size: 1.04rem;
}

.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.1rem 0;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn {
  background: var(--moss);
  color: #fff;
}

.btn:hover {
  background: var(--moss-ink);
  color: #fff;
}

.btn-ghost {
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--moss);
  color: var(--moss-ink);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

.metric strong {
  display: block;
  font-size: 1.35rem;
}

.metric span {
  color: var(--mute);
  font-size: 0.82rem;
}

.shot {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(28, 33, 28, 0.06);
}

.shot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: var(--sand);
  color: var(--mute);
  font-size: 0.78rem;
}

.dots {
  display: flex;
  gap: 5px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9bfae;
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  color: var(--mute);
  font-size: 0.82rem;
}

section {
  padding: 1.5rem 0;
}

.head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.head p {
  max-width: 36ch;
  margin: 0;
  color: var(--mute);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.entry,
.plat,
.note,
.thread,
.issue,
.lane {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
}

.entry,
.card,
.plat,
.note,
.thread,
.issue,
.lane {
  text-decoration: none;
  color: inherit;
}

.entry:hover,
.card:hover,
.plat:hover {
  border-color: #b7d8c3;
}

.meta,
.idx,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--moss-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.tag.is-install {
  background: #efe3d4;
  color: #7a3b12;
}

.tag.is-import {
  background: #e4e8f7;
  color: #243b8c;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.6rem;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.checks {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.checks li + li {
  margin-top: 0.35rem;
}

.board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.person {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem 0.28rem 0.28rem;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.avatar.is-a { background: #1f6f43; }
.avatar.is-b { background: #2457c5; }
.avatar.is-c { background: #6b3fa0; }
.avatar.is-d { background: #c45c26; }
.avatar.is-e { background: #0f766e; }
.avatar.is-f { background: #9a3412; }

.issue {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.issue + .issue,
.thread + .thread {
  margin-top: 10px;
}

.table-wrap {
  overflow-x: auto;
}

.issue strong {
  display: block;
}

.issue em {
  font-style: normal;
  color: var(--mute);
  font-size: 0.82rem;
}

.faq details {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.2rem 0.95rem;
}

.faq details + details {
  margin-top: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.faq details p {
  margin-top: 0;
  color: var(--mute);
}

.crumbs {
  color: var(--mute);
  font-size: 0.88rem;
}

.cues {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cue {
  display: block;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.cue.is-live,
.cue:hover {
  border-color: var(--moss);
  background: var(--leaf);
}

.cue .n {
  display: block;
  color: var(--moss);
  font-weight: 700;
  font-size: 0.78rem;
}

.cite {
  color: var(--mute);
  font-size: 0.92rem;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  background: var(--sand);
}

footer {
  margin-top: 2rem;
  background: #161b16;
  color: #d6ddd6;
  padding: 2rem 0 1.2rem;
}

footer a {
  color: #b7d8c3;
}

footer .brand {
  color: #fff;
}

footer .brand small {
  color: #9aa89d;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 22px;
}

.foot-grid h3 {
  font-size: 0.95rem;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-grid li + li {
  margin-top: 0.35rem;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #2a332a;
  color: #9aa89d;
  font-size: 0.84rem;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 980px) {
  .hero-grid,
  .duo,
  .board,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .cues,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 6px);
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.6rem;
  }

  .menu.is-open {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .cues,
  .metrics,
  .topbar-inner,
  .legal,
  .issue {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
