:root {
  color-scheme: dark;
  --bg: #111311;
  --fg: #eeeee8;
  --muted: #969d91;
  --line: #30362d;
  --accent: #d5e7b2;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.sun {
  width: 29px;
  height: 29px;
  stroke: var(--accent);
  stroke-width: 1.4;
}
.brand > span {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 500;
}
.brand small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 1px;
  padding-left: 13px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
}
.quiet-link {
  color: #b5bbaf;
}
.quiet-link:hover {
  color: var(--fg);
}
.nav-download {
  padding: 11px 16px;
  border: 1px solid #5a6352;
  border-radius: 6px;
}
.nav-download span {
  padding-left: 12px;
  color: var(--accent);
}
.nav-download:hover {
  background: #d5e7b20c;
}
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 73px;
  padding-bottom: 46px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 400;
}
.eyebrow > span {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
h1 {
  display: grid;
  font-size: clamp(40px, 4.2vw, 62px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.3;
  margin: 0;
}
/* 两组标题占同一网格位置，尺寸由完整内容预留，渐变时不推动下方截图。 */
.headline-copy {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms ease;
}
.headline-copy.active {
  opacity: 1;
}
.headline-line {
  display: block;
  white-space: nowrap;
}
.headline-line:last-child {
  color: #aeb8a2;
}
.hero-action {
  padding-bottom: 4px;
  min-width: 300px;
}
.hero-action > p:first-child {
  color: #adb4a7;
  font-size: 13px;
  line-height: 1.95;
  margin: 0 0 22px;
}
.download-button {
  background: var(--accent);
  color: #1a2513;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 13px;
  padding: 15px 21px;
  border-radius: 6px;
  line-height: 1.3;
  transition:
    background 0.15s,
    transform 0.15s;
}
.download-button > span {
  margin-left: 23px;
  font-size: 17px;
  font-weight: 400;
}
.download-button > svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.4;
}
.download-button:hover {
  background: #e3f0c9;
  transform: translateY(-1px);
}
.compatibility {
  color: #858e7e;
  font-size: 10px;
  margin: 12px 0 0;
  line-height: 1.6;
}
.compatibility [data-version] {
  margin-left: 5px;
}
.screenshot-frame {
  border: 1px solid #3b4334;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1e18;
  box-shadow: 0 24px 80px #0003;
}
.frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 37px;
  padding: 0 15px;
  color: #939b8b;
  font-size: 10px;
}
.window-dots {
  display: flex;
  gap: 5px;
  min-width: 80px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4b5145;
}
.local-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}
.local-note > span {
  width: 4px;
  height: 4px;
  background: #a4b78e;
  border-radius: 50%;
}
.screenshot-stage {
  position: relative;
  touch-action: pan-y;
  aspect-ratio: 1146/700;
  background: #141518;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.screenshot-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  color: #848d7c;
  font-size: 10px;
  line-height: 1.7;
}
.caption-counter {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: 2px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #f1f4eb;
  background: #10150ee6;
  border: 1px solid #b9c6aa66;
  border-radius: 7px;
  box-shadow: 0 3px 14px #0004;
}
.carousel-arrow.previous {
  left: 12px;
}
.carousel-arrow.next {
  right: 12px;
}
.carousel-arrow svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
}
.carousel-arrow:hover {
  background: #35422d;
  border-color: var(--accent);
}
.carousel-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
}
.carousel-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 20px;
  color: var(--muted);
  font-size: 12px;
}
.carousel-tab.active {
  color: var(--accent);
  border-color: #657457;
  background: #d5e7b209;
}
.carousel-tab:hover {
  color: var(--fg);
}
.carousel-dot {
  width: 5px;
  height: 5px;
  background: #606a56;
  border-radius: 50%;
}
.carousel-tab.active .carousel-dot {
  background: var(--accent);
}
.carousel-playback {
  margin-left: auto;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 15px;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  gap: 0 32px;
  margin-top: 45px;
}
/* 共享编号、标题、两段描述的行高，窄屏换行后各列仍逐项对齐。 */
.feature-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  min-width: 0;
  text-align: left;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 22px 0 0;
}
.feature-card.active {
  border-color: var(--accent);
}
.feature-card.active .card-kicker {
  color: var(--accent);
}
.card-kicker {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.feature-card .card-title {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  margin: 22px 0 12px;
}
.feature-card .card-description {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.95;
  margin: 0;
}
.carousel-navigation .caption-counter {
  color: var(--muted);
  font-size: 11px;
}
.feature-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding-block: 64px;
  margin-top: 68px;
  border-top: 1px solid var(--line);
}
.story-copy h2 {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.9px;
  margin: 0 0 20px;
}
.story-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.95;
  color: #a6b09b;
}
.feature-points {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  color: #b8c2ad;
  font-size: 12px;
}
.feature-points li {
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}
.feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: #9eb18b;
  border-radius: 50%;
}
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--accent);
  font-size: 12px;
  padding-block: 8px;
}
.story-link:hover {
  color: #eef8da;
}
.story-visual {
  margin: 0;
  min-width: 0;
}
.story-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #3b4334;
  border-radius: 8px;
  background: #141518;
}
.review-visual {
  justify-self: end;
  width: min(100%, 460px);
}
.story-visual figcaption {
  font-size: 10px;
  color: #858e7e;
  line-height: 1.7;
  margin-top: 13px;
}
.selection-story {
  grid-template-columns: 1.25fr 0.9fr;
  gap: 64px;
  margin-top: 12px;
}
.github-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  color: #a2aa9b;
}
.github-icon svg {
  width: 18px;
  height: 18px;
}
/* 常见问题区域：保持全站极简暗黑基调，同时让核心兼容与功能问答可折叠浏览与索引。 */
.faq {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
  padding-top: 68px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.faq-header h2 {
  font-size: 32px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin: 0;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.faq-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg);
}
.faq-item:hover h3,
.faq-item[open] h3 {
  color: var(--accent);
}
.faq-icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.4px;
  background: var(--muted);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--accent);
}
.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
}
.faq-item p {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.95;
  color: #a6b09b;
}
.faq-item code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #1a1e18;
  color: var(--fg);
}
.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inline-link:hover {
  color: #eef8da;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 63px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.closing .eyebrow {
  margin-bottom: 15px;
}
.closing h2 {
  font-size: 34px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 0;
}
.closing > div:last-child {
  text-align: right;
}
.mobile-break {
  display: none;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 29px;
  color: #838d7c;
  font-size: 10px;
}
.site-footer nav {
  display: flex;
  gap: 21px;
  align-items: center;
}
.site-footer button {
  padding: 0;
  font-size: 10px;
  color: #a2aa9b;
}
.site-footer button:hover {
  color: var(--accent);
}
dialog {
  background: #1c2119;
  color: var(--fg);
  border: 1px solid #49523f;
  border-radius: 12px;
  max-width: min(480px, calc(100vw - 36px));
  padding: 36px;
  box-shadow: 0 24px 120px #0009;
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(6px);
}
dialog h2 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 20px;
}
#release-notes h3 {
  margin: 0 0 14px;
  font-size: 17px;
}
#release-notes h4 {
  margin: 22px 0 8px;
  font-size: 14px;
}
#release-notes ul {
  padding-left: 20px;
}
#release-notes .release-status {
  color: var(--muted);
}
.history-page {
  width: min(720px, calc(100% - 48px));
  margin: 48px auto 80px;
}
.history-home {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--muted);
}
.history-page h1 {
  margin-bottom: 36px;
  font-size: clamp(28px, 5vw, 42px);
}
.history-page #release-notes h2 {
  margin: 0 0 20px;
  font-size: 22px;
}
.history-page #release-notes h3 {
  margin: 26px 0 10px;
  font-size: 15px;
}
.history-page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.history-page p,
.history-page li {
  color: var(--muted);
  line-height: 1.9;
}
.history-page li + li {
  margin-top: 8px;
}
dialog p,
dialog li {
  color: #abb4a2;
  font-size: 13px;
  line-height: 1.9;
}
dialog ol {
  padding-left: 20px;
}
dialog li {
  margin: 10px 0;
}
dialog .eyebrow {
  font-size: 10px;
  color: #9aaa8b;
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 25px;
  width: 28px;
  height: 28px;
  color: #a5b096;
}
.text-button {
  font-size: 12px;
  display: block;
  margin-top: 22px;
  padding: 0;
  color: var(--accent);
}
.contact-dialog {
  text-align: center;
}
.contact-dialog .eyebrow {
  justify-content: center;
}
.contact-dialog img {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto 20px;
  border-radius: 6px;
}
.contact-dialog p:last-child {
  font-size: 12px;
  margin-bottom: 0;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1240px, calc(100% - 144px));
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    height: 80px;
  }
  .brand small {
    display: none;
  }
  .hero {
    padding-top: 48px;
    gap: 24px;
  }
  h1 {
    font-size: 41px;
    letter-spacing: -1px;
  }
  .hero-action {
    min-width: 270px;
  }
  .hero-action > p:first-child {
    font-size: 12px;
  }
  .feature-story,
  .selection-story {
    gap: 35px;
  }
  .story-copy h2 {
    font-size: 28px;
  }
  .story-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .feature-points {
    font-size: 11px;
  }
  .closing h2 {
    font-size: 29px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    margin-top: 52px;
  }
  .faq-header h2 {
    font-size: 28px;
  }
  .site-footer {
    align-items: flex-start;
  }
  .site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 74px;
  }
  .brand > span {
    font-size: 18px;
  }
  .sun {
    width: 25px;
    height: 25px;
  }
  .site-header nav {
    gap: 0;
  }
  .quiet-link {
    display: none;
  }
  .nav-download {
    padding: 9px 12px;
    font-size: 11px;
  }
  .hero {
    display: block;
    padding-top: 44px;
    padding-bottom: 30px;
  }
  h1 {
    font-size: clamp(28px, 7.2vw, 44px);
    line-height: 1.3;
  }
  .hero .eyebrow {
    margin-bottom: 20px;
  }
  .hero-action {
    margin-top: 25px;
    padding: 0;
  }
  .hero-action > p:first-child {
    font-size: 12px;
    margin-bottom: 21px;
  }
  .download-button {
    padding: 14px 19px;
  }
  .frame-header {
    height: 28px;
    padding: 0 9px;
    font-size: 8px;
  }
  .window-dots {
    min-width: 32px;
    gap: 4px;
  }
  .window-dots i {
    width: 4px;
    height: 4px;
  }
  .local-note {
    display: none;
  }
  .screenshot-frame {
    border-radius: 6px;
  }
  .image-caption {
    font-size: 9px;
    gap: 15px;
  }
  .carousel-navigation {
    gap: 12px;
    margin-top: 12px;
  }
  .carousel-tabs {
    gap: 4px;
  }
  .carousel-tab {
    font-size: 11px;
    gap: 6px;
    padding: 0 10px;
  }
  .carousel-tab {
    padding: 0 11px;
    min-height: 40px;
  }
  .carousel-dot {
    width: 7px;
    height: 7px;
  }
  .tab-label {
    display: none;
  }
  .carousel-navigation .caption-counter {
    margin-left: 0;
  }
  .feature-cards {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 28px;
    margin-top: 32px;
  }
  .feature-card .card-title {
    margin-top: 12px;
  }
  .feature-card {
    grid-row: auto;
    grid-template-rows: auto auto auto auto;
    padding-top: 16px;
  }
  .carousel-navigation .caption-counter {
    margin-left: auto;
    font-size: 10px;
  }
  .carousel-arrow {
    width: 30px;
    height: 38px;
  }
  .carousel-arrow.previous {
    left: 7px;
  }
  .carousel-arrow.next {
    right: 7px;
  }
  .carousel-arrow svg {
    width: 17px;
    height: 17px;
  }
  .feature-story,
  .selection-story {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-block: 36px;
    margin-top: 32px;
  }
  .story-copy {
    order: 0;
  }
  .story-visual {
    order: 1;
  }
  .story-copy h2 {
    font-size: 29px;
  }
  .story-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .review-visual {
    width: min(100%, 390px);
    margin-inline: auto;
  }
  .feature-points {
    margin: 18px 0;
    gap: 8px;
  }
  .closing {
    display: block;
    margin-top: 25px;
    padding-block: 36px;
  }
  .faq {
    gap: 24px;
    padding-top: 36px;
    margin-top: 32px;
  }
  .faq-header h2 {
    font-size: 26px;
  }
  .faq-item summary {
    padding: 18px 0;
  }
  .faq-item h3 {
    font-size: 15px;
  }
  .faq-item p {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .closing h2 {
    font-size: 29px;
  }
  .closing > div:last-child {
    text-align: left;
    margin-top: 25px;
  }
  .site-footer {
    display: block;
    padding-block: 25px;
  }
  .site-footer nav {
    justify-content: flex-start;
    gap: 18px;
    margin-top: 20px;
  }
  dialog {
    padding: 30px 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
