:root {
  --ink: #2b2620;
  --ink-soft: #4f463b;
  --muted: #766c5e;
  --paper: #fbf8f1;
  --paper-2: #f4ede0;
  --card: #fffdf8;
  --line: #e6ddcd;
  --gold: #b7791f;
  --gold-2: #d69e4f;
  --brown: #3f2f22;
  --brown-2: #5d4430;
  --white: #fffaf1;
  --shadow: 0 22px 70px -34px rgba(52, 37, 24, .45);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -5%, rgba(183, 121, 31, .10), transparent 38%),
    radial-gradient(circle at 100% 10%, rgba(146, 103, 64, .08), transparent 35%),
    linear-gradient(180deg, #fcfaf4 0%, var(--paper) 45%, var(--paper-2) 100%);
  font: 16px/1.75 "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(183, 121, 31, .55); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 99;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 241, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 221, 205, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px -8px rgba(183, 121, 31, .7); }
.brand b { display: block; font-size: 17px; letter-spacing: .02em; line-height: 1.25; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.nav a:hover { color: var(--gold); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--muted); }
.nav .lang:hover { border-color: var(--gold); text-decoration: none; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 54px; align-items: center; padding: 74px 0 58px; }
.hero > * { min-width: 0; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 {
  margin: 0 0 22px; color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  font-size: clamp(42px, 5.2vw, 67px); line-height: 1.18; letter-spacing: -.035em; font-weight: 700;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .lead { margin: 0 0 28px; max-width: 35em; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 19px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff;
  font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid transparent;
  box-shadow: 0 12px 28px -16px rgba(183, 121, 31, .9);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 16px 32px -16px rgba(183, 121, 31, .95); }
.btn.secondary { background: rgba(255, 253, 248, .66); color: var(--ink); border-color: var(--line); box-shadow: none; font-weight: 600; }
.btn.secondary:hover { border-color: var(--gold); background: var(--card); }
.btn.is-disabled { background: #e9e0d1; color: #8d806e; box-shadow: none; cursor: not-allowed; }
.btn.is-disabled:hover { transform: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .8; }

.hero-visual { position: relative; min-width: 0; max-width: 100%; }
.window {
  overflow: hidden; border: 1px solid rgba(230, 221, 205, .95); border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}
.window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; background: #f3ebde; border-bottom: 1px solid var(--line); }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8cbb9; }
.window-bar i:nth-child(1) { background: #d98f7a; }
.window-bar i:nth-child(2) { background: #ddbb75; }
.window-bar i:nth-child(3) { background: #9fb58c; }
.window-bar span { margin-left: 8px; color: #958775; font-size: 10px; letter-spacing: .04em; }
.window img { width: 100%; height: auto; display: block; }
.visual-note {
  position: absolute; right: -14px; bottom: -24px; max-width: 245px;
  padding: 13px 15px; border-radius: 13px; background: rgba(255, 253, 248, .95);
  border: 1px solid var(--line); box-shadow: 0 14px 36px -22px rgba(52, 37, 24, .55);
  color: var(--muted); font-size: 11px; line-height: 1.6;
}
.visual-note b { display: block; color: var(--ink); font-size: 12px; margin-bottom: 2px; }

/* trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .42); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0; }
.trust-item { display: flex; align-items: flex-start; gap: 10px; }
.trust-item .dot { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #f0e3cd; color: var(--gold); font-size: 13px; }
.trust-item b { display: block; font-size: 13px; line-height: 1.4; }
.trust-item span { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* sections */
.section { padding: 78px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head .kicker { margin: 0 0 10px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-head h2 { margin: 0 0 12px; font-family: "Noto Serif SC", "Songti SC", Georgia, serif; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
  padding: 22px 21px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 253, 248, .68); transition: border-color .18s ease, transform .18s ease;
}
.feature:hover { border-color: #cdbb9f; transform: translateY(-2px); }
.feature .icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 9px; background: #f1e5d1; color: var(--gold); font-size: 16px; font-weight: 700; }
.feature h3 { margin: 0 0 6px; font-size: 15px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature code { font-size: 11px; color: var(--ink-soft); background: #f2eadc; padding: 2px 5px; border-radius: 4px; }

/* screens */
.screens-section { background: rgba(255, 253, 248, .40); border-top: 1px solid rgba(230, 221, 205, .7); border-bottom: 1px solid rgba(230, 221, 205, .7); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--card); box-shadow: 0 10px 28px -24px rgba(52, 37, 24, .5); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 10px 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.shot figcaption b { color: var(--ink-soft); font-weight: 600; }

/* local */
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.local-item h3 { margin: 0 0 8px; font-size: 16px; }
.local-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.local-item .num { color: var(--gold); font-family: Georgia, serif; font-size: 13px; letter-spacing: .12em; }

/* download */
.download-section { padding: 76px 0; background: linear-gradient(135deg, #35271c, #4c3827 58%, #3b2b1f); color: var(--white); }
.download-section .section-head h2 { color: var(--white); }
.download-section .section-head p { color: #d8c8b2; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download-card { padding: 24px; border: 1px solid rgba(255, 250, 241, .18); border-radius: 16px; background: rgba(255, 250, 241, .07); }
.download-card h3 { margin: 0 0 6px; color: var(--white); font-size: 18px; }
.download-card p { margin: 0 0 16px; color: #d8c8b2; font-size: 13px; line-height: 1.7; }
.download-card .btn { width: 100%; }
.download-card .btn.secondary { background: rgba(255, 250, 241, .08); color: var(--white); border-color: rgba(255, 250, 241, .26); }
.download-card .btn.secondary:hover { background: rgba(255, 250, 241, .14); }
.download-card .small { margin: 12px 0 0; color: #bda88d; font-size: 11px; }
.download-card .note { margin: 12px 0 0; padding: 10px 11px; border-left: 2px solid #c18a3d; background: rgba(0, 0, 0, .12); color: #e0c9a8; font-size: 11px; line-height: 1.65; }
.download-card details { margin-top: 12px; color: #d8c8b2; font-size: 12px; }
.download-card summary { cursor: pointer; color: #e7d7c0; }
.download-card p code { display: inline; padding: 1px 4px; border-radius: 4px; background: rgba(255, 250, 241, .12); color: #f0dec2; font-size: 11px; }
.download-card details code { display: block; overflow-wrap: anywhere; margin-top: 8px; padding: 8px; border-radius: 6px; background: rgba(0, 0, 0, .22); color: #f0dec2; font-size: 10px; line-height: 1.6; }
.download-card a { color: #f0c47c; }
.store-status { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: #f0c47c; font-size: 11px; letter-spacing: .06em; }
.store-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d9a24d; box-shadow: 0 0 0 3px rgba(217, 162, 77, .16); }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); padding: 17px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 400; font-size: 18px; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
details.faq a { font-size: 13px; }

/* footer */
.site-footer { padding: 34px 0 42px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-brand b { display: block; font-size: 13px; }
.footer-brand span { display: block; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { margin: 22px 0 0; color: #9a8d7c; font-size: 10px; }

/* responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; }
  .hero-visual { max-width: 680px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-wrap: wrap; }
  .nav { gap: 8px 16px; flex-wrap: wrap; justify-content: flex-end; }
  .nav a { font-size: 13px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 30px, 1180px); }
  .hero h1 { font-size: 42px; }
  .feature-grid, .gallery, .local-grid, .download-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .visual-note { position: static; margin: 10px 0 0; max-width: none; }
  .window { transform: none; }
  .section { padding: 56px 0; }
  .download-section { padding: 56px 0; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
