﻿/* ------------------------------------------------------------------
   Ayeria landing page
   字体：Ayeria Serif（Noto Serif SC 子集，SIL OFL 1.1）
   配色来源：主题 _variables.styl / _tokens.styl、搜索与代码块样式
   ------------------------------------------------------------------ */
@font-face {
  font-family: "Ayeria Serif";
  src: local("Noto Serif SC"),
       url("fonts/ayeria-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ayeria Serif";
  src: local("Noto Serif SC Bold"),
       local("Noto Serif SC"),
       url("fonts/ayeria-serif-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --paper:      #FFFFFF;
  --paper-2:    #F4F4F4;
  --panel:      #FFFFFF;
  --code-bg:    #F8F8F8;
  --ink:        #403E3E;
  --button-bg:  var(--ink);
  --ink-2:      #555555;
  --muted:      #999999;
  --hairline:   rgba(0, 0, 0, .075);
  --hairline-2: rgba(0, 0, 0, .16);
  --surface:    rgba(255, 255, 255, .97);
  --nav-bg:     rgba(255, 255, 255, .78);
  --accent:     #5AA8D8;
  --link:       #0681D0;
  --hl:         rgba(90, 168, 216, .22);
  --shadow:     0 3px 12px rgba(0, 0, 0, .06);
  --install-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-lift:0 4px 14px rgba(0, 0, 0, .08);
  --shadow-shot:0 8px 24px rgba(0, 0, 0, .10);
  --shadow-phone:0 10px 18px rgba(0, 0, 0, .12);

  --scrim-strong:rgba(255, 255, 255, .93);
  --scrim-solid: rgba(255, 255, 255, .97);
  --scrim-soft:  rgba(255, 255, 255, .72);
  --scrim-none:  rgba(255, 255, 255, 0);
  --hero-dim:    1;

  --back-bg:    #1C1F26;
  --back-ink:   #FFFFFF;
  --back-muted: rgba(255, 255, 255, .58);
  --back-line:  rgba(255, 255, 255, .14);
  --back-fill:  rgba(255, 255, 255, .06);
  --back-fill-h:rgba(255, 255, 255, .1);
  --back-ghost: rgba(255, 255, 255, .22);
  --back-accent:#7FC4E8;

  --radius:     12px;
  --radius-sm:  8px;
  --pill:       999px;

  --serif: "Ayeria Serif", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, "Times New Roman", serif;
  --sans:  "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono:  "Cascadia Code", Consolas, Monaco, "Courier New", monospace;

  --maxw: 120rem;
}

[data-theme="dark"] {
  color-scheme: dark;

  --paper:      #1C1F26;
  --paper-2:    #22262F;
  --panel:      #232833;
  --code-bg:    #242935;
  --ink:        #D0D0D0;
  --button-bg:  #FFFFFF;
  --ink-2:      #AAAAAA;
  --muted:      #AAAAAA;
  --hairline:   rgba(255, 255, 255, .09);
  --hairline-2: rgba(255, 255, 255, .2);
  --surface:    rgba(42, 47, 58, .97);
  --nav-bg:     rgba(28, 31, 38, .8);
  --accent:     #80CFFF;
  --link:       #80CFFF;
  --hl:         rgba(128, 207, 255, .2);
  --shadow:     0 6px 24px rgba(0, 0, 0, .45);
  --install-shadow: 0 4px 16px rgba(0, 0, 0, .16);
  --shadow-lift:0 12px 34px rgba(0, 0, 0, .55);
  --shadow-shot:0 30px 70px rgba(0, 0, 0, .6);
  --shadow-phone:0 40px 60px rgba(0, 0, 0, .55);

  --scrim-strong:rgba(28, 31, 38, .88);
  --scrim-solid: rgba(28, 31, 38, .92);
  --scrim-soft:  rgba(28, 31, 38, .55);
  --scrim-none:  rgba(28, 31, 38, 0);
  --hero-dim:    .95;

  --back-bg:    #FFFFFF;
  --back-ink:   #403E3E;
  --back-muted: rgba(0, 0, 0, .6);
  --back-line:  rgba(0, 0, 0, .14);
  --back-fill:  rgba(0, 0, 0, .05);
  --back-fill-h:rgba(0, 0, 0, .09);
  --back-ghost: rgba(0, 0, 0, .22);
  --back-accent:#0681D0;
}

/* ---------------------------------------------------------------- 基础 */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--hl); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 4.8rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 99;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.3rem;
}
.skip:focus { left: 1.6rem; top: 1.6rem; }

/* ---------------------------------------------------------------- 导航 */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 1.6rem 2.4rem 0;
  pointer-events: none;
}

.nav__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  width: 100%;
  max-width: 120rem;
  height: 6.4rem;
  padding-inline: 4.8rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  transition:
    max-width .55s cubic-bezier(.34, 1.15, .64, 1),
    height .4s cubic-bezier(.34, 1.15, .64, 1),
    padding .4s ease,
    border-radius .4s ease,
    background-color .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.nav.is-scrolled .nav__inner {
  max-width: 98rem;
  height: 5.2rem;
  padding-inline: 1.6rem calc(.8rem - 1px);
  border-radius: 2.6rem;
  border-color: var(--hairline);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand img { width: 2.4rem; height: 2.4rem; }

.nav__links {
  display: flex;
  gap: 2.8rem;
  font-family: var(--sans);
  font-size: 1.35rem;
  color: var(--muted);
  transition: gap .4s ease;
}
.nav__links a { transition: color .2s ease; }
.nav__links a:hover { color: var(--ink); }
.nav.is-scrolled .nav__links { gap: 2.2rem; }

.nav__actions { display: flex; align-items: center; gap: 1.1rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.icon-btn:hover { color: var(--ink); background: var(--paper-2); border-color: var(--hairline-2); }

.icon-btn .i-sun { display: none; }
[data-theme="dark"] .icon-btn .i-sun { display: block; }
[data-theme="dark"] .icon-btn .i-moon { display: none; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  height: 4.4rem;
  padding: 0 2.2rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease,
              color .2s ease, border-color .2s ease;
}
.btn svg { width: 1.4rem; height: 1.4rem; }

.btn--primary { background: var(--button-bg); border-color: var(--button-bg); color: var(--paper); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }

.btn--ghost { background: transparent; border-color: var(--hairline-2); color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }

.btn--sm { height: 3.6rem; padding: 0 1.6rem; font-size: 1.3rem; }

/* ---------------------------------------------------------------- 首屏 */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 12rem 0 8rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--paper);
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  filter: brightness(calc(var(--hero-dim) * .97)) saturate(.9);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, .6) 76%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, .6) 76%, transparent 97%);
}

.hero__blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: 62% 45%;
  filter: blur(30px) brightness(calc(var(--hero-dim) * .97));
  opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, transparent 46%, #000 82%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 46%, #000 82%, #000 100%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, var(--scrim-solid) 0%, var(--scrim-soft) 35%, var(--scrim-none) 80%),
    linear-gradient(180deg, var(--scrim-strong) 0%, var(--scrim-strong) 4%, var(--scrim-none) 20%),
    linear-gradient(0deg, var(--scrim-solid) 0%, var(--scrim-none) 24%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 5rem;
}

.hero__text { max-width: 50rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--mono);
  font-size: 1.1rem;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow i { display: block; width: 2.4rem; height: 1px; background: var(--hairline-2); }

.hero h1 {
  margin-top: 2.6rem;
  font-size: clamp(6rem, 6.6vw, 9.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero__sub {
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 2.3vw, 3.1rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .06em;
  text-wrap: balance;
}

.hero__lede {
  margin-top: 2.2rem;
  font-size: 1.6rem;
  line-height: 2;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__lede code {
  font-family: var(--mono);
  font-size: .9em;
  color: var(--ink);
}

.install {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.4rem;
  padding: .7rem .8rem .7rem 1.8rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--install-shadow);
  font-family: var(--mono);
  font-size: 1.32rem;
  letter-spacing: .01em;
}
.install__prompt { color: var(--accent); user-select: none; }
.install__cmd { color: var(--ink); }
.install button {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background-color .2s ease, color .2s ease;
}
.install button:hover { background: var(--paper-2); color: var(--ink); }
.install svg { width: 1.5rem; height: 1.5rem; }
.install .i-check { display: none; }
.install .is-done .i-check { display: block; }
.install .is-done .i-copy { display: none; }
.install .is-done { color: var(--accent); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.8rem;
}

.hero__meta {
  margin-top: 2.6rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.hero__meta span + span::before {
  content: "·";
  margin: 0 .8rem;
  color: var(--hairline-2);
}

/* 浏览器窗 */
.hero__visual { position: relative; }

.browser {
  margin: 0 0 0 auto;
  max-width: 62rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
  transform: translateZ(0);
}

.browser__chrome {
  display: flex;
  align-items: center;
  gap: .7rem;
  height: 3.8rem;
  padding: 0 1.4rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-2);
}

.browser__dot {
  width: .84rem;
  height: .84rem;
  border-radius: 50%;
  background: var(--hairline-2);
}

.browser__url {
  margin-left: 1rem;
  padding: .25rem 1.2rem;
  border-radius: var(--pill);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--muted);
}

.browser__screen { aspect-ratio: 16 / 10; overflow: hidden; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.visual-caption {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: right;
}

/* ---------------------------------------------------------------- 通用区块 */
.section {
  padding: 13rem 0 0;
  scroll-margin-top: 8rem;
}

.sec-head { display: flex; align-items: center; gap: 1.6rem; }
.sec-head i { display: block; width: 4rem; height: 1px; background: var(--hairline-2); }
.sec-head span {
  font-family: var(--mono);
  font-size: 1.1rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-title {
  margin-top: 2.2rem;
  font-size: clamp(3rem, 3.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .01em;
  text-wrap: balance;
}
.sec-lede {
  max-width: 54rem;
  margin-top: 1.6rem;
  font-size: 1.55rem;
  line-height: 2;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sec-lede code, .feature__text > p code { font-family: var(--mono); font-size: .9em; color: var(--ink); }

/* ---------------------------------------------------------------- 特性 */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 7rem;
}
.feature--flip .feature__text { order: 2; }

.feature h2 {
  font-size: clamp(2.4rem, 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  text-wrap: balance;
}
.feature__text > p {
  max-width: 34em;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 2.05;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* 截图框 */
.shot {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
}
.shot img { width: 100%; height: auto; }
[data-theme="dark"] .shot img { filter: brightness(.8); }

/* 手机 */
.phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone img {
  width: min(30rem, 72%);
  height: auto;
  filter: drop-shadow(var(--shadow-phone));
}

/* 搜索活样本 */
.search-demo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44rem;
  padding: 5rem 3rem;
}

.search-demo__ghost {
  position: absolute;
  inset: 0 -3rem;
  padding: 1.6rem 1rem;
  font-size: 1.45rem;
  line-height: 2.1;
  color: var(--ink);
  opacity: .5;
  filter: blur(.6px);
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 65%, transparent 100%);
  pointer-events: none;
}
.search-demo__ghost p + p { margin-top: 1.2rem; }

.searchcard {
  position: relative;
  width: min(46rem, 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lift);
  font-family: var(--sans);
  overflow: hidden;
}
.searchcard__bar {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.45rem;
  color: var(--ink);
}
.searchcard__bar svg { width: 1.6rem; height: 1.6rem; color: var(--muted); flex: none; }
.searchcard__q { flex: 1; }
.searchcard__q::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.5rem;
  margin-left: .15em;
  vertical-align: -.2em;
  background: var(--accent);
}
kbd {
  padding: .2rem .6rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.searchcard__list { padding: .8rem; }
.res { padding: 1.2rem 1.2rem 1.4rem; }
.res + .res { border-top: 1px solid var(--hairline); }
.res__title { font-size: 1.35rem; color: var(--ink); }
.res__snippet { margin-top: .5rem; font-size: 1.2rem; line-height: 1.85; color: var(--muted); }
.res__path { margin-top: .6rem; font-family: var(--mono); font-size: 1.05rem; color: var(--muted); opacity: .8; }
mark { background: var(--hl); color: inherit; padding: 0 .15em; border-radius: 2px; }

/* ---------------------------------------------------------------- 安装 */
.steps { margin-top: 6.4rem; display: grid; gap: 5rem; }
.step {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}
.step__no {
  padding-top: .5rem;
  font-family: var(--mono);
  font-size: 1.15rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.step h3 {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.step__body p {
  max-width: 56rem;
  margin-top: .7rem;
  font-size: 1.4rem;
  line-height: 1.95;
  color: var(--ink-2);
}
.step__body code { font-family: var(--mono); font-size: 1.26rem; }

.code {
  position: relative;
  margin-top: 1.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  overflow: auto;
}
.code .cm { color: var(--muted); }
.code pre {
  margin: 0;
  padding: 1.5rem 1.8rem;
  font-family: var(--mono);
  font-size: 1.3rem;
  line-height: 1.9;
  color: var(--ink);
}
.code__copy {
  position: absolute;
  top: .7rem;
  right: .7rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background-color .2s ease, color .2s ease;
}
.code__copy:hover { background: var(--panel); color: var(--ink); }
.code__copy svg { width: 1.4rem; height: 1.4rem; }
.code__copy .i-check { display: none; }
.code__copy.is-done .i-check { display: block; }
.code__copy.is-done .i-copy { display: none; }
.code__copy.is-done { color: var(--accent); }

/* ---------------------------------------------------------------- FAQ */
.faq { margin-top: 6rem; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: .9rem;
  height: .9rem;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p {
  max-width: 62rem;
  padding: 0 2rem 2.6rem 0;
  font-size: 1.4rem;
  line-height: 2.05;
  color: var(--ink-2);
}
.faq code {
  padding: .1em .4em;
  border-radius: 3px;
  background: var(--code-bg);
  font-family: var(--mono);
  font-size: 1.28rem;
}

/* ---------------------------------------------------------------- 封底 */
.backmatter {
  margin-top: 13rem;
  background: var(--back-bg);
  color: var(--back-ink);
}

.finale { padding: 11rem 0; text-align: center; }
.finale h2 {
  font-size: clamp(3rem, 3.6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-indent: .06em;
  line-height: 1.3;
}
.finale p {
  margin-top: 1.6rem;
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--back-muted);
}
.finale .install {
  margin-top: 3.4rem;
  background: var(--back-fill);
  color: var(--back-ink);
}
.finale .install__cmd { color: var(--back-ink); }
.finale .install__prompt { color: var(--back-accent); }
.finale .install button { color: var(--back-muted); }
.finale .install button:hover { background: var(--back-fill-h); color: var(--back-ink); }
.finale .install .is-done { color: var(--back-accent); }

.finale .cta-row { margin-top: 2.4rem; justify-content: center; }
.finale .btn--primary {
  background: var(--back-ink);
  border-color: var(--back-ink);
  color: var(--back-bg);
}
.finale .btn--ghost {
  border-color: var(--back-ghost);
  color: var(--back-ink);
}
.finale .btn--ghost:hover { background: var(--back-fill-h); }

/* 页脚 */
.footer {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--back-line);
  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--back-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 4rem;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--back-ink);
}
.footer__brand img { width: 2.2rem; height: 2.2rem; }
.footer__tagline { margin-top: 1.2rem; line-height: 1.9; }
.footer__title {
  margin: 0 0 1.2rem;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--back-muted);
}
.footer__links { display: grid; gap: .7rem; }
.footer__links a { transition: color .2s ease; }
.footer__links a:hover { color: var(--back-ink); }
.footer__col p { line-height: 1.9; }
.footer__col p + p { margin-top: .6rem; }

/* ---------------------------------------------------------------- 动效 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .7, .3, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- 响应 */
@media (max-width: 1100px) {
  .hero__inner { gap: 4rem; }
  .feature { gap: 5rem; }
}

@media (max-width: 900px) {
  .wrap { padding-inline: 3.2rem; }
  .nav { padding: 1.2rem 2rem 0; }
  .nav__inner { max-width: none; }
  .nav__links { display: none; }
  .hero { padding: 10rem 0 7rem; align-items: start; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 4.4rem; }
  .hero__text { max-width: none; }
  .hero__visual { margin-top: .6rem; }
  .visual-caption { text-align: left; }
  .hero__lede br { display: none; }

  .section { padding-top: 9rem; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 3.4rem; }
  .feature--flip .feature__text { order: 0; }
  .feature__text > p { max-width: none; }

  .step { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .steps { gap: 4rem; }
  .finale { padding: 8rem 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 3.2rem; }
  .search-demo { min-height: 42rem; padding: 4rem 2rem; }
  .search-demo__ghost { inset: 0; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 2.4rem; }
  .nav__gh { display: none; }
  .hero h1 { font-size: 6rem; }
  .hero__sub { font-size: 2.2rem; letter-spacing: .04em; }
  .hero__lede { font-size: 1.5rem; }
  .install { padding-left: 1.4rem; font-size: 1.18rem; }
  .cta-row .btn { flex: 1; min-width: 14rem; }
  .feature h2 { font-size: 2.4rem; }
  .sec-title { font-size: 3rem; }
  .phone img { width: min(26rem, 78%); }
  .finale h2 { font-size: 2.8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .search-demo { min-height: 42rem; padding: 4rem 1.6rem; }
  .searchcard__bar { padding: 1.2rem 1.4rem; }
}
