/* 修图咖 · xiutuka.com —— 暗房主题 */

:root {
  --bg: #0B0A09;
  --bg-2: #0F0D0B;
  --surface: rgba(255,255,255,.038);
  --surface-2: rgba(255,255,255,.06);
  --ink: #F3EEE5;
  --ink-2: #A9A296;
  --ink-3: #7C7568;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.055);
  --accent: #C6A06A;
  --accent-dark: #A8854F;
  --accent-soft: rgba(198,160,106,.12);
  --gold: #C6A06A;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", SimSun, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #0B0A09; padding: 10px 16px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- 玻璃导航 ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 20px 0;
  background: linear-gradient(180deg, rgba(11,10,9,.92), rgba(11,10,9,0));
}

.site-header__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  height: 60px; padding: 0 22px; border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.085);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background .3s, border-color .3s;
}
.site-header__inner:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }

.logo { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.logo__mark { width: 26px; height: 26px; display: block; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; color: var(--ink-2); }
.nav a { position: relative; padding: 4px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .link-quiet { font-size: 13.5px; color: var(--ink-2); }
.download-links { display: inline-flex; align-items: center; gap: 12px; }
.download-cta-pair { display: inline-flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font-family: inherit;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .22s, border-color .22s, color .22s, transform .2s, box-shadow .25s;
}
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: var(--ink); color: #0B0A09; }
.btn-primary:hover { background: #fff; color: #0B0A09; box-shadow: 0 14px 30px -14px rgba(243,238,229,.4); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.18); color: #DED8CD; }
.btn-ghost:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.05); color: var(--ink); }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }
.btn-on-dark { background: var(--ink); color: #0B0A09; }
.btn-on-dark:hover { background: #fff; color: #0B0A09; }

/* ---------- 字体 ---------- */

h1, h2, h3, h4 { margin: 0 0 14px; font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.12; }
h3 { font-size: 18px; letter-spacing: -.015em; }
h4 { font-size: 15px; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 16px; color: var(--ink-2); text-wrap: pretty; }
p.lead { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .18em; color: var(--accent);
  margin-bottom: 20px; font-weight: 500;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }

.section { padding: 124px 0; position: relative; }
.section--tight { padding: 76px 0; }
.section--line { border-top: 1px solid var(--line-2); }
.section--dark { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { font-size: 16.5px; }

/* ---------- 首屏 ---------- */

.hero { padding: 92px 0 40px; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -160px; width: 1100px; height: 720px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(198,160,106,.13), rgba(198,160,106,0) 70%);
}
.hero__grid { position: relative; display: block; }
.hero h1 { margin: 0 auto; max-width: 16em; }
.hero h1 .gold { color: var(--accent); }
.hero p.lead { max-width: 40em; margin: 26px auto 0; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 18px; }
.hero__meta {
  font-size: 12.5px; color: var(--ink-3);
  display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: center; align-items: center;
  letter-spacing: .04em;
}
.hero__more { color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.hero__more:hover { color: var(--accent); border-color: var(--accent); }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; letter-spacing: .16em; color: var(--accent);
  border: 1px solid rgba(198,160,106,.3); border-radius: 999px; padding: 7px 16px;
  margin-bottom: 30px;
}
.hero__badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: block; }

/* ---------- 产品截图 ---------- */

.mock {
  position: relative; margin: 64px auto 0; max-width: 1080px;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  background: #14120F; overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.95);
}
.mock::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 34%);
}
.mock img { display: block; width: 100%; height: auto; }
.mock__par { display: block; }

/* ---------- 跑马灯 ---------- */

.marquee {
  overflow: hidden; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  padding: 18px 0; background: rgba(255,255,255,.02); margin-top: 84px;
}
.marquee__track { display: flex; width: max-content; animation: scrollX 42s linear infinite; }
.marquee__track span {
  font-size: 12.5px; letter-spacing: .16em; color: var(--ink-3);
  white-space: nowrap; padding: 0 30px; position: relative;
}
.marquee__track span::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 3px; height: 3px;
  border-radius: 50%; background: var(--accent); transform: translateY(-50%);
}

/* ---------- 作品带 ---------- */

.workstrip { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.workstrip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-2); }
.workstrip figure { margin: 0; position: relative; overflow: hidden; background: #14120F; }
.workstrip img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  filter: saturate(.92) contrast(1.04) brightness(.94);
  transition: transform .8s cubic-bezier(.2,.65,.3,1), filter .6s ease;
}
.workstrip figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,10,9,.25) 0%, rgba(11,10,9,0) 30%, rgba(11,10,9,.55) 100%);
}
.workstrip figure:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.06) brightness(1); }
.workstrip__note {
  text-align: center; font-size: 11.5px; letter-spacing: .14em; color: var(--ink-3);
  margin: 0; padding: 16px 20px; background: var(--bg);
}

/* ---------- 引导带 ---------- */

.quote-band { position: relative; padding: 150px 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.quote-band--photo { background: #0A0908; }
.quote-band--photo::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("img/work-band.jpg");
  background-size: cover; background-position: center 55%;
  opacity: .78; filter: saturate(.9) brightness(.95);
}
.quote-band--photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 90% at 50% 46%, rgba(11,10,9,.30), rgba(11,10,9,.82) 84%),
    linear-gradient(180deg, #0B0A09 0%, rgba(11,10,9,.04) 10%, rgba(11,10,9,.04) 90%, #0B0A09 100%);
}
.quote { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.quote .eyebrow { justify-content: center; }
.quote .eyebrow::before { display: none; }
.quote h2 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.22; margin-bottom: 20px; }
.quote p { font-size: 16px; line-height: 1.9; color: #B9B2A6; margin: 0; }

/* ---------- 网格与卡片 ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(260px 200px at 50% 0%, rgba(198,160,106,.14), rgba(198,160,106,0) 70%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(198,160,106,.28); background: rgba(255,255,255,.055); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.8; margin-bottom: 0; }
.card__k { font-size: 11px; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; font-weight: 500; }
.card__delta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 13px; line-height: 1.7; }
.card__delta .was { display: block; color: var(--ink-3); }
.card__delta .now { display: block; color: var(--accent); margin-top: 3px; }

.pain { border-top: 1px solid var(--line); padding-top: 22px; }
.pain h3 { font-size: 17px; margin-bottom: 8px; }
.pain p { font-size: 14.5px; margin: 0; }

/* ---------- 步骤 ---------- */

.steps { counter-reset: s; display: grid; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.step:last-child { border-bottom: 1px solid var(--line-2); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: Consolas, monospace; font-size: 11.5px; color: var(--accent);
  border: 1px solid rgba(198,160,106,.4); border-radius: 999px;
  width: 36px; height: 24px; display: grid; place-items: center; margin-top: 3px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.8; }

.flow { display: grid; grid-template-columns: .84fr 1.16fr; gap: 72px; align-items: start; }
.flow__aside { position: sticky; top: 118px; }

/* ---------- 表格 ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14.5px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { font-size: 11.5px; color: var(--ink-3); font-weight: 500; letter-spacing: .12em; background: rgba(255,255,255,.03); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--ink); font-weight: 500; }
.yes { color: #8FBF9A; }
.no { color: #B4705F; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0;
  font-size: 16px; font-weight: 500; position: relative; color: var(--ink);
  transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  font-size: 20px; color: var(--ink-3); font-weight: 400; line-height: 1; transition: color .3s;
}
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq .faq__body { padding: 0 50px 24px 0; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.faq .faq__body p:last-child { margin-bottom: 0; }
.faq .faq__body a { color: var(--accent); border-bottom: 1px solid rgba(198,160,106,.4); }

/* ---------- 文章 ---------- */

.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 56px; font-size: clamp(24px, 2.6vw, 34px); }
.article h3 { margin-top: 38px; }
.article .card h3, .article .card h4 { margin-top: 0; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 20px; color: var(--ink-2); }
.article li { margin-bottom: 10px; }
.article li strong { color: var(--ink); }
.article a { color: var(--accent); border-bottom: 1px solid rgba(198,160,106,.35); }

.page-head { padding: 72px 0 8px; max-width: 836px; margin: 0 auto; }
.page-head h1 { font-size: clamp(30px, 3.4vw, 46px); }

.breadcrumb { font-size: 12.5px; color: #8E8779; margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; letter-spacing: .04em; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--line); }

.callout {
  border-left: 1px solid var(--accent); background: rgba(198,160,106,.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; margin: 30px 0;
}
.callout p { margin: 0; font-size: 15px; color: #D5CDC0; }
.callout strong { color: var(--accent); }

.related { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 64px; }
.related h2 { font-size: 16px; margin-bottom: 16px; color: var(--ink-2); font-weight: 500; letter-spacing: .04em; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.related a { color: var(--ink-2); font-size: 14.5px; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.related a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 图文 ---------- */

.figure { margin: 38px 0; }
.figure img {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.figure figcaption { font-size: 12px; color: var(--ink-3); margin-top: 14px; line-height: 1.7; letter-spacing: .02em; }
.figure--wide { margin-left: -110px; margin-right: -110px; }
.figure:hover img { border-color: rgba(255,255,255,.2); }

.split { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; margin: 34px 0; }
.split__img img { width: 100%; height: auto; display: block; }
.feature-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.feature-split .figure { margin: 0; }

.card__list { list-style: none; padding: 0; margin: 0; }
.card__list li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; line-height: 1.8; }
.card__list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.card__list strong { color: var(--ink); }

/* ---------- CTA ---------- */

.cta-band { text-align: center; background: var(--bg-2); border-top: 1px solid var(--line-2); }
.cta-band h2 { color: var(--ink); margin-bottom: 14px; }
.cta-band p { max-width: 34em; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 12px; color: var(--ink-3); margin-top: 22px; letter-spacing: .06em; }

/* ---------- 页脚 ---------- */

.site-footer { border-top: 1px solid var(--line-2); padding: 68px 0 44px; font-size: 13.5px; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 36px; margin-bottom: 44px; }
.footer-grid h4 { font-size: 11.5px; color: var(--ink); margin-bottom: 16px; letter-spacing: .14em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-3); transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { font-size: 13px; line-height: 1.8; max-width: 26em; margin-top: 14px; }
.footer-mark {
  margin: 44px 0 26px; font-size: clamp(64px, 13.5vw, 164px); line-height: .84;
  font-weight: 600; letter-spacing: -.05em; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.13); user-select: none;
}
.footer-bottom {
  border-top: 1px solid var(--line-2); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .04em;
}
.footer-bottom a { color: var(--ink-3); }

/* ---------- 动效 ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes maskUp { from { clip-path: inset(0 0 26% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scrollX { to { transform: translateX(-50%); } }
@keyframes glowPulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes heroPar { from { transform: translateY(0); } to { transform: translateY(-46px); } }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60; display: none;
  width: 100%; height: 1.5px; background: linear-gradient(90deg, rgba(198,160,106,0), var(--accent));
  transform-origin: 0 50%;
}

.nowrap { white-space: nowrap; }
.br-lg { display: inline; }

@media (prefers-reduced-motion: no-preference) {
  .scroll-progress { display: block; animation: growBar linear both; animation-timeline: scroll(root block); }

  .hero__badge, .hero h1, .hero p.lead, .hero__actions, .hero__meta { animation: rise .9s cubic-bezier(.2,.65,.3,1) both; }
  .hero h1 { animation-delay: .08s; }
  .hero p.lead { animation-delay: .16s; }
  .hero__actions { animation-delay: .24s; }
  .hero__meta { animation-delay: .32s; }
  .hero .mock { animation: rise 1.1s cubic-bezier(.2,.65,.3,1) .3s both; }
  .hero .mock img { animation: floatY 8s ease-in-out 1.4s infinite; }
  .hero::before { animation: glowPulse 9s ease-in-out infinite; }
  .hero__badge i { animation: blink 2.6s ease-in-out infinite; }

  @supports (animation-timeline: view()) {
    .section-head, .card, .figure, .step, .table-wrap, .feature-split > *, .split > *, .quote, .related, .faq, .pain, .workstrip figure {
      animation: revealUp linear both; animation-timeline: view(); animation-range: entry 5% entry 100%;
    }
    .figure img, .workstrip img {
      animation: maskUp linear both; animation-timeline: view(); animation-range: entry 10% entry 85%;
    }
    .flow .step { animation-range: entry 20% entry 100%; }
  }

  @supports (animation-timeline: scroll()) {
    .hero .mock__par { animation: heroPar linear both; animation-timeline: scroll(root block); animation-range: 0 900px; }
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .hero { padding: 64px 0 24px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; gap: 34px; }
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow__aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .section { padding: 88px 0; }
  .figure--wide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: 10px 12px 0; }
  .site-header__inner { height: 54px; padding: 0 16px; gap: 12px; }
  .header-cta .link-quiet { display: none; }
  .header-cta .btn { height: 36px; padding: 0 16px; font-size: 13px; }
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__img { max-width: 280px; }
  .workstrip__grid { grid-template-columns: 1fr; }
  .workstrip img { aspect-ratio: 4 / 5; }
  .quote-band { padding: 92px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .table-wrap { border-radius: var(--radius-sm); }
  .mock { margin-top: 40px; border-radius: 10px; }
  .br-lg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .card:hover, .btn:hover, .btn:active, .workstrip figure:hover img { transform: none; }
  .scroll-progress { display: block; transform: scaleX(1); }
}

/* ---------- 账号页 ---------- */

.auth { position: relative; padding: 72px 0 120px; overflow: hidden; }
.auth::before {
  content: ""; position: absolute; left: 50%; top: -220px; width: 1200px; height: 800px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(46% 46% at 50% 50%, rgba(198,160,106,.15), rgba(198,160,106,0) 70%);
}
.auth__grid { position: relative; display: grid; grid-template-columns: minmax(0, .98fr) minmax(420px, .82fr); gap: clamp(64px, 8vw, 116px); align-items: center; }
.auth__aside h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.18; margin-bottom: 24px; }
.auth__aside p.lead { font-size: 17px; line-height: 1.9; max-width: 27em; }
.auth__points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 17px; }
.auth__points li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.auth__points li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.auth__photo { margin: 34px 0 0; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.auth__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 56%; display: block;
  filter: saturate(.9) brightness(.92); }
.auth__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,0) 40%, rgba(11,10,9,.6)); }

.auth__card {
  position: relative; border-radius: 20px; padding: 38px 36px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.95);
  backdrop-filter: blur(8px);
}
.auth__card > input { position: absolute; opacity: 0; pointer-events: none; }
.auth__tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); margin-bottom: 26px; }
.auth__tabs label {
  flex: 1; text-align: center; font-size: 14px; color: var(--ink-2); padding: 9px 0;
  border-radius: 999px; cursor: pointer; transition: background .25s, color .25s;
}
.auth__tabs label:hover { color: var(--ink); }
#tab-login:checked ~ .auth__tabs label[for="tab-login"],
#tab-reg:checked ~ .auth__tabs label[for="tab-reg"] { background: var(--ink); color: #0B0A09; font-weight: 500; }

.auth__field { margin-bottom: 19px; }
.auth__field label { display: block; font-size: 13px; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 9px; }
.auth__input {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  color: var(--ink); font-size: 16px; font-family: inherit; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.auth__input::placeholder { color: #6E695E; }
.auth__input:focus {
  border-color: rgba(198,160,106,.6); background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(198,160,106,.12);
}
.auth__row { display: grid; grid-template-columns: 1fr 116px; gap: 12px; }
.auth__code {
  height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: var(--ink-2); font-family: inherit; font-size: 13px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.auth__code:hover { background: rgba(255,255,255,.1); color: var(--ink); border-color: rgba(255,255,255,.24); }
.auth__submit { width: 100%; height: 52px; margin-top: 10px; border-radius: 999px; font-size: 16px; }
.auth__hint { margin: 19px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-3); text-align: center; letter-spacing: .02em; }
.auth__hint a { color: var(--accent); }
.auth__agree { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin: 6px 0 18px; line-height: 1.7; }
.auth__agree input { margin-top: 3px; accent-color: #C6A06A; }
.auth__agree a { color: var(--ink-2); border-bottom: 1px solid var(--line); }

.auth__form--reg { display: none; }
#tab-reg:checked ~ .auth__form--login { display: none; }
#tab-reg:checked ~ .auth__form--reg { display: block; animation: rise .5s cubic-bezier(.2,.65,.3,1) both; }

.auth__toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: rgba(20,18,15,.96); border: 1px solid rgba(198,160,106,.4);
  color: var(--ink); font-size: 13px; padding: 12px 20px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 80;
}
.auth__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 统一账号页补充 ---------- */

.auth__aside h1 em { color: var(--accent); font-style: normal; }
.auth__card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.auth__card-head .eyebrow { margin-bottom: 10px; }
.auth__card-head .auth__title { margin-bottom: 8px; }
.auth__card-head .auth__sub { margin-bottom: 0; }
.auth__security {
  display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  color: var(--accent); background: rgba(198,160,106,.1); border: 1px solid rgba(198,160,106,.28);
}
.auth__tabs--buttons { margin-bottom: 27px; }
.auth__tabs--buttons button {
  flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; transition: background .25s, color .25s;
}
.auth__tabs--buttons button:hover { color: var(--ink); }
.auth__tabs--buttons button.active { background: var(--ink); color: #0B0A09; font-weight: 600; }
.auth__mode-fields[hidden], #inviteHint[hidden], #done[hidden], #form[hidden] { display: none !important; }
.auth__row--captcha { grid-template-columns: minmax(0, 1fr) 146px; }
.auth__captcha { padding: 0; overflow: hidden; background: rgba(255,255,255,.92); }
.auth__captcha svg { display: block; width: 100%; height: 100%; }
.auth__invite { margin: 2px 0 14px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 12px 0; }
.auth__invite summary { color: var(--ink-2); font-size: 13.5px; cursor: pointer; list-style: none; }
.auth__invite summary::-webkit-details-marker { display: none; }
.auth__invite summary::before { content: "+"; display: inline-block; width: 18px; color: var(--accent); }
.auth__invite[open] summary::before { content: "−"; }
.auth__invite .auth__field { margin: 14px 0 2px; }
.auth__hint--left { text-align: left; margin: 0 0 16px; }
.auth__message { display: none; margin: 16px 0 0; border-radius: 10px; padding: 11px 13px; font-size: 13px; line-height: 1.7; }
.auth__message:not(:empty) { display: block; }
.auth__message--error { color: #FFD6CA; background: rgba(176,72,50,.18); border: 1px solid rgba(231,145,120,.28); }
.auth__message--success, .auth__message--info { color: #F1DFC1; background: rgba(198,160,106,.11); border: 1px solid rgba(198,160,106,.26); }
.auth__done { text-align: center; padding-top: 6px; }
.auth__done-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  color: #0B0A09; background: var(--accent); font-size: 23px; font-weight: 700;
}
.auth__done .auth__submit { display: flex; align-items: center; justify-content: center; margin: 18px 0 0; }
.auth__back-link { display: inline-block; margin-top: 16px; color: var(--ink-2); font-size: 12px; }
.auth__contact {
  display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.auth__contact img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }
.auth__contact strong, .auth__contact span { display: block; }
.auth__contact strong { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.auth__contact span { font-size: 13px; line-height: 1.65; color: var(--ink-3); }
.auth__legal-footer { max-width: 1060px; margin: 0 auto; }

@media (max-width: 640px) {
  .auth { padding: 28px 0 70px; }
  .auth__card { padding: 26px 20px 24px; border-radius: 16px; }
  .auth__row--captcha { grid-template-columns: 1fr 124px; gap: 9px; }
  .auth__contact img { width: 68px; height: 68px; }
  .auth__aside p.lead { font-size: 16px; }
  .auth__points { gap: 14px; }
}

/* ---------- 下载页 ---------- */

.dl { position: relative; padding: 64px 0 0; overflow: hidden; }
.dl::before {
  content: ""; position: absolute; left: 50%; top: -180px; width: 1100px; height: 760px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(46% 46% at 50% 50%, rgba(198,160,106,.16), rgba(198,160,106,0) 70%);
}
.dl__hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.dl h1 { font-size: clamp(34px, 4.2vw, 58px); }
.dl__meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 0; }
.dl__chip {
  font-size: 12px; color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; letter-spacing: .04em;
}
.dl__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.dl__file {
  margin-top: 18px; font-size: 12px; color: var(--ink-3); letter-spacing: .04em;
}
.dl__file code { font-family: Consolas, monospace; color: var(--ink-2); font-size: 11.5px; }

.dl__card {
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  background: #14120F; box-shadow: 0 50px 100px -50px rgba(0,0,0,.95);
}
.dl__card img { width: 100%; display: block; }

.dl__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl__step { position: relative; padding: 26px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.dl__step i {
  font-style: normal; font-family: Consolas, monospace; font-size: 11.5px; color: var(--accent);
  letter-spacing: .1em;
}
.dl__step h3 { margin: 12px 0 8px; font-size: 16.5px; }
.dl__step p { font-size: 14px; margin: 0; }

@media (max-width: 960px) {
  .auth__grid, .dl__hero { grid-template-columns: 1fr; gap: 40px; }
  .auth__card { order: -1; }
  .auth__aside { padding-top: 10px; }
  .auth__aside .auth__photo { max-width: 640px; }
  .dl__steps { grid-template-columns: 1fr; }
  .auth { padding: 36px 0 80px; }
  .auth__card { padding: 26px 22px 24px; }
}

.auth__title { font-size: 24px; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.auth__sub { font-size: 15px; color: var(--ink-3); margin: 0 0 27px; line-height: 1.8; }
.auth__back { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.auth__back a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.auth__back a:hover { color: var(--accent); border-color: var(--accent); }

.footer-contact { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.footer-contact img { width: 112px; height: 112px; object-fit: contain; border-radius: 12px; background: #fff; padding: 5px; }
.footer-contact h4 { margin: 0 0 6px; }
.footer-contact p { margin: 0; font-size: 12px; color: var(--ink-3); }
.contact-qr { display: inline-flex; flex: 0 0 auto; padding: 0; border: 0; background: none; line-height: 0; color: inherit; text-decoration: none; border-radius: 12px; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.contact-qr:hover, .contact-qr:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.24); outline: none; }
.contact-qr--compact { border-radius: 10px; }
.contact-qr-dialog { width: min(90vw, 520px); padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #171a1d; color: #f5f1e9; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.contact-qr-dialog::backdrop { background: rgba(8,10,12,.76); backdrop-filter: blur(5px); }
.contact-qr-dialog img { display: block; width: 100%; max-width: 460px; margin: 20px auto 0; border-radius: 15px; background: #fff; }
.contact-qr-dialog p { margin: 13px 0 0; color: rgba(245,241,233,.72); font-size: 13px; text-align: center; }
.contact-qr-close { display: grid; width: 34px; height: 34px; margin-left: auto; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.06); color: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .footer-contact { align-items: flex-start; } .footer-contact img { width: 96px; height: 96px; } }
