:root {
  --ink: #11090d; --ink-soft: #1b1117; --wine: #35121d; --wine-light: #57202d;
  --green: #102b29; --green-light: #16403a; --ivory: #f4ead9; --ivory-muted: #cdbfae;
  --gold: #cda95b; --gold-light: #f0d78e; --crimson: #b52f4b;
  --line: rgba(205,169,91,.35); --max: 1180px; --shadow: 0 22px 60px rgba(0,0,0,.38);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ivory); background: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; line-height: 1.75; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .22; background-image: radial-gradient(rgba(240,215,142,.18) .7px, transparent .7px); background-size: 6px 6px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Noto Serif SC", serif; font-weight: 600; letter-spacing: .01em; }
.ui-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 1em; color: var(--gold-light); font-family: Georgia, serif; font-size: 1em; line-height: 1; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 9px max(22px, calc((100% - var(--max)) / 2)); background: rgba(17,9,13,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 215px; color: var(--gold-light); font: 600 14px Georgia, serif; letter-spacing: .13em; }
.brand img { width: 48px; height: 58px; object-fit: cover; border: 1px solid var(--gold); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
nav a, .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; color: var(--ivory-muted); border: 1px solid transparent; background: transparent; font-size: 13px; cursor: pointer; transition: .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); border-color: var(--line); background: rgba(205,169,91,.08); }
nav .nav-cta { color: var(--ivory); background: var(--crimson); border-color: var(--gold); box-shadow: 0 7px 18px rgba(181,47,75,.28); }
nav .nav-cta:hover { color: #fff; background: #cf4661; transform: translateY(-2px); }
.menu-toggle { display: none; border-color: var(--line); color: var(--ivory); }
main { overflow: hidden; }
.hero { position: relative; min-height: 650px; display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); align-items: center; gap: 5vw; max-width: var(--max); margin: 0 auto; padding: 78px 24px 92px; }
.hero::before { content: ""; position: absolute; inset: 0 -100vw; z-index: -2; background: radial-gradient(circle at 75% 35%, rgba(87,32,45,.5), transparent 38%), linear-gradient(120deg,#11090d 5%,#241016 55%,#102b29 100%); }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -20%; z-index: -1; width: 48vw; height: 48vw; border: 1px solid rgba(205,169,91,.18); border-radius: 50%; box-shadow: 0 0 0 24px rgba(205,169,91,.04),0 0 0 48px rgba(205,169,91,.025); }
.hero-media { order: 2; position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-media::before { content: ""; position: absolute; inset: 5% 2%; border: 1px solid rgba(205,169,91,.5); transform: rotate(3deg); }
.hero-media img { position: relative; width: 100%; height: 440px; object-fit: cover; object-position: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-copy { order: 1; position: relative; z-index: 1; }
.eyebrow, .kicker { margin-bottom: 16px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.hero h1 { max-width: 610px; margin-bottom: 20px; color: var(--ivory); font-size: clamp(36px,4.8vw,64px); line-height: 1.1; }
.hero-sub { max-width: 570px; margin-bottom: 30px; color: var(--ivory-muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; overflow: hidden; border: 1px solid var(--gold); font-size: 14px; font-weight: 700; transition: .2s ease; }
.button-primary { color: #fff7e8; background: var(--crimson); box-shadow: 0 12px 26px rgba(181,47,75,.32); }
.button-primary:hover { background: #d33e5b; transform: translateY(-2px); }
.button-ghost { color: var(--gold-light); background: rgba(16,43,41,.36); }
.button-ghost:hover { color: var(--ivory); background: var(--green-light); transform: translateY(-2px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--ivory-muted); font-size: 12px; }
.hero-meta strong { display: block; margin-bottom: 2px; color: var(--gold-light); font-size: 14px; }
.section-grid, .section-dark { padding: 94px max(24px,calc((100% - var(--max))/2)); }
.section-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 70px; align-items: center; background: linear-gradient(140deg,#f1e5d2 0%,#eee1cb 100%); color: #29171c; }
.section-grid .kicker { color: var(--wine-light); }
.section-grid h2, .section-dark h2 { margin-bottom: 20px; font-size: clamp(30px,3.2vw,44px); line-height: 1.18; }
.section-grid h3, .section-dark h3 { margin: 18px 0 7px; font-size: 20px; }
.section-grid p { color: #5f4b42; }
.section-grid .lead { color: #29171c; font-size: 18px; }
.feature-figure { margin: 0; }
.feature-figure img { width: 100%; max-height: 480px; object-fit: cover; border: 1px solid rgba(83,42,35,.36); box-shadow: 14px 16px 0 rgba(87,32,45,.12); }
figcaption { margin-top: 11px; color: #745d50; font-size: 12px; }
.section-dark { background: linear-gradient(145deg,#160b10,#102b29); color: var(--ivory); }
.section-dark .section-heading { max-width: 760px; margin-bottom: 36px; }
.section-dark .section-heading > p:last-child { color: var(--ivory-muted); }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: var(--max); margin: 0 auto; }
.card-grid article, .feature-list > div { min-height: 170px; padding: 22px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.035); transition: .25s ease; }
.card-grid article:hover, .feature-list > div:hover { border-color: var(--gold-light); background: rgba(205,169,91,.08); transform: translateY(-4px); }
.card-num, .feature-list strong { color: var(--gold); font: 700 12px Georgia,serif; letter-spacing: .16em; }
.card-grid h3, .feature-list h3 { margin: 12px 0 7px; color: var(--ivory); font-size: 19px; }
.card-grid p, .feature-list p { margin: 0; color: var(--ivory-muted); font-size: 14px; }
.guide ol { margin: 0; padding-left: 24px; color: #5f4b42; }
.guide li { padding: 7px 0 7px 4px; border-bottom: 1px solid rgba(83,42,35,.16); }
.guide .feature-figure img { max-height: 520px; }
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: var(--max); margin: 0 auto; }
.screenshots { padding-top: 80px; }
.screenshots-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 18px; max-width: var(--max); margin: 0 auto; }
.screenshot-feature { min-height: 520px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #0d080b; box-shadow: var(--shadow); }
.screenshot-feature img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.screenshot-thumbs { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.screenshot-thumbs button { position: relative; min-height: 130px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: #0d080b; cursor: pointer; }
.screenshot-thumbs img { width: 100%; height: 100%; min-height: 130px; object-fit: cover; opacity: .68; transition: .2s ease; }
.screenshot-thumbs button:hover img, .screenshot-thumbs button.active img { opacity: 1; transform: scale(1.04); }
.screenshot-thumbs button.active { border-color: var(--gold-light); box-shadow: inset 0 0 0 2px var(--crimson); }
.screenshot-thumbs button::after { content: "⌕"; position: absolute; right: 8px; bottom: 6px; color: var(--gold-light); font-size: 17px; text-shadow: 0 1px 4px #000; }
.updates {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(181,47,75,.08), transparent 24%),
    linear-gradient(135deg, #f5ead8 0%, #eee0c8 100%);
}
.updates::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -190px;
  z-index: -1;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(87,32,45,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(87,32,45,.025), 0 0 0 68px rgba(87,32,45,.018);
}
.updates > div:first-child {
  position: static;
  max-width: none;
  padding: 0 0 42px;
}
.updates > div:first-child::after {
  content: "";
  display: block;
  width: 82px;
  height: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), transparent);
}
.updates h2 { margin-bottom: 24px; color: #29171c; }
.updates .lead { max-width: 820px; margin-bottom: 0; color: #684e44; font-size: 17px; line-height: 1.9; }
.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  padding-left: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 7px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(181,47,75,.55) 6%, rgba(205,169,91,.52) 88%, transparent);
}
.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 8px;
  min-width: 0;
  padding: 23px 26px;
  border: 1px solid rgba(87,32,45,.13);
  background: rgba(255,250,239,.62);
  box-shadow: 0 10px 30px rgba(71,41,30,.055);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.timeline article::before {
  content: "";
  position: absolute;
  top: 29px;
  left: -25px;
  width: 10px;
  height: 10px;
  border: 4px solid #f2e5d0;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 1px var(--crimson), 0 0 0 6px rgba(181,47,75,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.timeline article:hover {
  z-index: 1;
  transform: translateX(5px);
  border-color: rgba(181,47,75,.32);
  background: rgba(255,252,244,.92);
  box-shadow: 0 18px 42px rgba(71,41,30,.11);
}
.timeline article:hover::before {
  transform: scale(1.12);
  box-shadow: 0 0 0 1px var(--crimson), 0 0 0 8px rgba(181,47,75,.12);
}
.timeline time {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #6e2032;
  border: 1px solid rgba(181,47,75,.24);
  background: rgba(181,47,75,.065);
  font: 700 12px Georgia, serif;
  letter-spacing: .04em;
  white-space: nowrap;
}
.timeline h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #29171c;
  font-size: 19px;
  line-height: 1.45;
}
.timeline p {
  grid-column: 2;
  grid-row: 2;
  max-width: 620px;
  margin: 0;
  color: #70594d;
  font-size: 13px;
  line-height: 1.85;
}
.faq { padding-bottom: 120px; }
.faq-list { display: grid; gap: 10px; max-width: var(--max); margin: 0 auto; }
.faq-list details { border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.faq-list details[open] { background: rgba(205,169,91,.09); }
.faq-list summary { padding: 17px 20px; color: var(--ivory); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: -3px 20px 18px; color: var(--ivory-muted); font-size: 14px; }
.friend-links { padding: 52px 24px 56px; background: linear-gradient(135deg, var(--wine), var(--green)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.friend-links-inner { width: min(100%, var(--max)); margin: 0 auto; }
.friend-links h2 { margin: 0 0 22px; color: var(--ivory); font-size: 26px; line-height: 1.3; }
.friend-links-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.friend-links-list a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; color: var(--ivory); border: 1px solid rgba(205,169,91,.45); background: rgba(17,9,13,.3); font-size: 14px; font-weight: 700; line-height: 1.4; box-shadow: 0 8px 22px rgba(0,0,0,.16); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.friend-links-list a:hover, .friend-links-list a:focus-visible { color: #29171c; border-color: var(--gold-light); background: var(--gold-light); box-shadow: 0 12px 26px rgba(0,0,0,.24); transform: translateY(-2px); }
footer { padding: 52px 24px 35px; text-align: center; background: #0b070a; border-top: 1px solid var(--line); color: var(--ivory-muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font: 600 15px Georgia,serif; letter-spacing: .14em; }
.footer-brand img { width: 38px; height: 44px; object-fit: cover; border: 1px solid var(--gold); }
footer p { margin: 16px 0 19px; }
.footer-cta { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px; color: var(--gold-light); }
footer small { display: block; color: #806d63; font-size: 11px; }
.floating-cta { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; color: #fff7e8; border: 1px solid var(--gold-light); background: var(--crimson); box-shadow: 0 12px 30px rgba(0,0,0,.38); font-size: 14px; font-weight: 700; transition: .2s ease; }
.floating-cta:hover { background: #d33e5b; transform: translateY(-3px); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (max-width:980px) { .site-header { padding-inline: 18px; } .brand { min-width: auto; } nav a { padding-inline: 7px; font-size: 12px; } .hero { gap: 30px; } .card-grid, .feature-list { grid-template-columns: repeat(2,1fr); } .timeline article { grid-template-columns: 108px minmax(0,1fr); column-gap: 20px; padding: 21px 22px; } }
@media (max-width:720px) { .site-header { min-height: 68px; } .menu-toggle { display: inline-flex; } #primary-nav { position: absolute; top: 100%; right: 14px; left: 14px; display: none; align-items: stretch; padding: 10px; border: 1px solid var(--line); background: rgba(17,9,13,.98); box-shadow: var(--shadow); } #primary-nav.open { display: grid; } #primary-nav a { justify-content: flex-start; padding: 11px 12px; font-size: 14px; } #primary-nav .nav-cta { justify-content: center; } .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding-top: 55px; } .hero-media { order: 1; min-height: 300px; } .hero-media img { height: 300px; } .hero-copy { order: 2; } .hero h1 { font-size: 38px; } .hero-sub { font-size: 16px; } .section-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 68px; padding-bottom: 68px; } .section-grid h2, .section-dark h2 { font-size: 31px; } .card-grid, .feature-list { grid-template-columns: 1fr; } .screenshots-layout { grid-template-columns: 1fr; } .screenshot-feature, .screenshot-feature img { min-height: 360px; } .screenshot-thumbs { grid-template-columns: repeat(3,1fr); gap: 8px; } .screenshot-thumbs button, .screenshot-thumbs img { min-height: 84px; } .updates > div:first-child { padding-bottom: 34px; } .updates > div:first-child::after { margin-top: 24px; } .timeline { padding-left: 24px; } .timeline::before { left: 6px; } .timeline article { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 8px; padding: 20px; } .timeline article::before { top: 27px; left: -24px; } .timeline time { grid-column: 1; grid-row: 1; } .timeline h3 { grid-column: 1; grid-row: 2; margin-top: 4px; } .timeline p { grid-column: 1; grid-row: 3; } .timeline article:hover { transform: translateY(-3px); } }
@media (max-width:430px) { .brand span { display: none; } .hero h1 { font-size: 34px; } .hero-meta { gap: 12px; } .floating-cta { right: 14px; bottom: 14px; padding: 10px 13px; font-size: 13px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }

/* Unified corner radii: cards/modules 16px, buttons 8px, images 12px, labels 4px. */
img { border-radius: 12px; }
:where(.hero, .section-grid, .section-dark, .friend-links, footer, .card-grid article, .feature-list > div, .timeline article, .faq-list details, .screenshot-feature) { border-radius: 16px; }
:where(.button, nav a, .menu-toggle, .floating-cta, .footer-cta, .screenshot-thumbs button) { border-radius: 8px; }
.friend-links-list a { border-radius: 999px; }
.timeline time { border-radius: 4px; }

/* Pure CSS hover interactions — unified 0.3s transitions. */
.card-grid article, .feature-list > div, .timeline article, .faq-list details, .screenshot-feature {
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.card-grid article:hover, .feature-list > div:hover, .timeline article:hover, .faq-list details:hover, .screenshot-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 215, 142, .72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3), 0 0 24px rgba(205, 169, 91, .2);
}

.button, #primary-nav .nav-cta, .menu-toggle, .floating-cta, .footer-cta, .friend-links-list a, .screenshot-thumbs button {
  transition: transform .3s ease, filter .3s ease, color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.button:hover, #primary-nav .nav-cta:hover, .menu-toggle:hover, .floating-cta:hover, .footer-cta:hover, .friend-links-list a:hover, .screenshot-thumbs button:hover {
  transform: scale(1.05);
  filter: brightness(1.14);
}

.hero-media img, .feature-figure img, .screenshot-feature img, .screenshot-thumbs img, .brand img, .footer-brand img {
  transition: transform .3s ease, filter .3s ease;
}
.hero-media:hover img, .feature-figure:hover img, .screenshot-feature:hover img, .screenshot-thumbs button:hover img, .brand:hover img, .footer-brand:hover img {
  transform: scale(1.05);
  filter: brightness(.76) saturate(1.08);
}
.hero-media, .screenshot-feature, .screenshot-thumbs button {
  overflow: hidden;
}
.hero-media::after, .screenshot-feature::after, .screenshot-thumbs button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(53, 18, 29, .06), rgba(16, 43, 41, .48));
  opacity: 0;
  transition: opacity .3s ease;
}
.hero-media:hover::after, .screenshot-feature:hover::after, .screenshot-thumbs button:hover::before {
  opacity: 1;
}
.hero-media img, .screenshot-feature img, .screenshot-thumbs img {
  position: relative;
  z-index: 1;
}
.screenshot-thumbs button::after {
  z-index: 3;
}

#primary-nav > a:not(.nav-cta) {
  position: relative;
}
#primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 3px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: right .3s ease, left .3s ease;
}
#primary-nav > a:not(.nav-cta):hover::after,
#primary-nav > a:not(.nav-cta):focus-visible::after {
  right: 10px;
  left: 10px;
}

@media (prefers-reduced-motion: reduce) {
  :where(.card-grid article, .feature-list > div, .timeline article, .faq-list details, .screenshot-feature, .button, nav .nav-cta, .menu-toggle, .floating-cta, .footer-cta, .friend-links-list a, .screenshot-thumbs button):hover,
  :where(.hero-media, .feature-figure, .screenshot-feature, .screenshot-thumbs button, .brand, .footer-brand):hover img {
    transform: none !important;
  }
}

/* Mobile brand, menu state and centered button labels. */
.button, #primary-nav a, .menu-toggle, .floating-cta, .footer-cta, .friend-links-list a {
  justify-content: center;
  text-align: center;
}
.menu-icon::before {
  content: "☰";
  display: block;
  font-size: 18px;
  line-height: 1;
}
.menu-toggle[aria-expanded="true"] .menu-icon::before {
  content: "×";
  font-size: 25px;
  line-height: .72;
}
@media (max-width: 720px) {
  .site-header {
    gap: 12px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 86px);
    gap: 9px;
  }
  .brand img {
    flex: 0 0 auto;
  }
  .brand span {
    display: block;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .025em;
    white-space: normal;
  }
  #primary-nav a {
    justify-content: center;
  }
  .menu-toggle {
    flex: 0 0 auto;
    min-width: 72px;
  }
}
@media (max-width: 430px) {
  .brand span {
    display: block;
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  #primary-nav {
    right: 14px;
    left: 14px;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
    text-align: center;
  }
  #primary-nav a {
    position: relative;
    width: 100%;
    padding-right: 42px;
    padding-left: 42px;
    justify-content: center !important;
    text-align: center !important;
  }
  #primary-nav a > .ui-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
  }

  /* 手机端截图按原比例完整显示，避免窄屏下 cover 裁切画面。 */
  .screenshots .screenshot-feature {
    min-height: 0;
    height: auto;
  }
  .screenshots .screenshot-feature img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    background: #0d080b;
  }
  .screenshots .screenshot-thumbs img {
    object-fit: contain;
    background: #0d080b;
  }
}
