/* ==========================================================================
   TintLens — tintlens.app
   设计方向 1b：暗色玻璃拟态 + 流动光谱背景 + 左侧镜片轨演示。
   零依赖、零构建：一份 CSS 管三个页面。
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

:root {
  --bg:            #0b0c10;
  --line:          rgba(255, 255, 255, .09);
  --line-strong:   rgba(255, 255, 255, .17);
  --fg:            #edeef2;
  --fg-dim:        #9ea3b0;
  --fg-faint:      #6b7080;

  /* 品牌光谱：和 brand/appicon.svg 的 #spectrum 同一组停靠点 */
  --amber:  #f59e0b;
  --pink:   #e0398a;
  --violet: #7c3aed;

  --glass:      rgba(20, 22, 28, .5);
  --glass-card: rgba(255, 255, 255, .035);

  --maxw: 1200px;
  --radius: 16px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   背景：缓慢流动的光谱 + 中心透光的暗角
   -------------------------------------------------------------------------- */
.aurora {
  position: fixed; inset: -25vh -25vw; z-index: 0; pointer-events: none;
  filter: blur(110px) saturate(125%); opacity: .3;
}
.aurora i {
  position: absolute; border-radius: 50%; display: block;
  mix-blend-mode: screen; animation: drift 46s linear infinite;
}
.aurora i:nth-child(1) { inset: 4% 40% 40% 8%;  background: conic-gradient(from 0deg,   var(--amber), var(--pink), var(--violet), #2dd4bf, var(--amber)); }
.aurora i:nth-child(2) { inset: 22% 6% 18% 46%; background: conic-gradient(from 140deg, var(--violet), #2563eb, #2dd4bf, #56d364, var(--violet)); animation-duration: 62s; animation-direction: reverse; }
.aurora i:nth-child(3) { inset: 44% 30% 2% 26%; background: conic-gradient(from 260deg, var(--pink), #ff8a4c, #f0b429, var(--pink)); animation-duration: 78s; opacity: .8; }
@keyframes drift { to { transform: rotate(360deg); } }

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(102% 78% at 50% 32%, transparent 6%, rgba(11, 12, 16, .84) 58%, var(--bg) 92%),
    linear-gradient(180deg, rgba(11, 12, 16, .6), transparent 22%);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i { animation: none; }
  * { transition-duration: .01ms !important; }
}

.page { position: relative; z-index: 2; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* --------------------------------------------------------------------------
   通用元件
   -------------------------------------------------------------------------- */
a { color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 11px;
  font-family: inherit; font-size: 13.5px; font-weight: 550; letter-spacing: -.1px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .09)); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--fg-dim); box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .05); color: var(--fg); }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; border-radius: 13px; }

.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 29px; padding: 6px 14px 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  font-size: 12.5px; line-height: 1.35; color: var(--fg-dim); text-align: left;
}
.eyebrow b { color: var(--fg); font-weight: 550; }
.dotline { display: inline-flex; gap: 3px; }
.dotline i { width: 7px; height: 7px; border-radius: 50%; display: block; }

.spectrum-text {
  background: linear-gradient(96deg, var(--amber), var(--pink) 46%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section { padding: 104px 0 0; }
.section-head { max-width: 660px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-label {
  font-size: 11.5px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--fg-faint); font-weight: 700;
}
h2.section-title {
  margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1;
  letter-spacing: -1.4px; font-weight: 600;
}
.section-sub { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--fg-dim); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 14px; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  height: 64px; margin-top: 14px; padding: 0 14px 0 15px;
  border: 1px solid var(--line); border-radius: 17px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 20px 50px -30px #000;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-weight: 600; letter-spacing: -.3px; font-size: 16.5px; text-decoration: none;
}
.nav-links { display: flex; gap: 25px; margin-left: 10px; font-size: 14px; }
.nav-links a { color: var(--fg-dim); text-decoration: none; transition: color .16s ease; }
.nav-links a:hover { color: var(--fg); }
.nav-spacer { flex: 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 62px 0 0; text-align: center; }
/*
  H1 的两段渐变刻意做成「两个并列的 span」，而不是「h1 自己带渐变 + 里面套一个
  span 再带渐变」—— 嵌套的 background-clip: text 在 WebKit 上不可靠，外层那层
  text-clip 会连着子元素的背景一起裁掉。并列就没有这个问题。

  另外 line-height 必须留够：background-clip: text 是把背景裁在元素盒子里的，
  盒子比字体的 ascent+descent 矮的话，y / g 这类字母的降部就没有背景可裁，
  看起来像被切掉一截。1.14 加上 padding-bottom 是给降部留的余量
  （inline 元素的 padding 不参与行高计算，不会把版面撑开）。
*/
.hero h1 {
  margin: 22px 0 0; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.14;
  letter-spacing: -2.4px; font-weight: 600;
  text-wrap: balance;
  color: #fff;
}
.hero h1 .ink, .hero h1 .lens { padding-bottom: .08em; }

/* 不支持 background-clip: text 的浏览器保持纯白，不至于 color: transparent 之后整行消失 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .ink, .hero h1 .lens {
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero h1 .ink { background-image: linear-gradient(180deg, #fff 30%, #a8adbd 100%); }
  /* 「your lens.」走品牌光谱：暖 → 粉 → 紫 → 蓝，和图标里那道扫掠同一个走向 */
  .hero h1 .lens { background-image: linear-gradient(96deg, #fbbf24, #f472b6 40%, #a78bfa 72%, #38bdf8); }
}
.hero .brandline {
  margin: 20px auto 0; max-width: 640px;
  font-size: clamp(18px, 2vw, 22px); line-height: 1.45; letter-spacing: -.5px;
  color: #fff; font-weight: 500;
}
.hero .lede {
  margin: 14px auto 0; max-width: 610px;
  font-size: 16.5px; line-height: 1.65; color: var(--fg-dim);
}
.hero .cta {
  margin-top: 28px; display: flex; gap: 12px; justify-content: center;
  align-items: center; flex-wrap: wrap;
}
.hero .cta .note { font-size: 13px; color: var(--fg-dim); }

/* --------------------------------------------------------------------------
   演示台：左侧镜片轨 + 右侧 Safari 窗
   -------------------------------------------------------------------------- */
.stage {
  margin: 46px auto 0; display: flex; align-items: stretch; gap: 18px;
  max-width: 1010px; text-align: left;
}

.rail {
  flex: 0 0 auto; width: 58px; padding: 9px 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(18, 20, 26, .55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 40px 90px -50px #000;
}
.rail .sep { width: 22px; height: 1px; background: var(--line-strong); margin: 3px 0 4px; flex: 0 0 auto; }

.lensbtn {
  position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2);
  transition: box-shadow .16s ease, transform .16s ease;
}
.lensbtn:hover { transform: scale(1.14); }
.lensbtn[data-on] { box-shadow: 0 0 0 2px rgba(18, 20, 26, .9), 0 0 0 3.5px #fff, 0 0 18px -2px var(--glow); }
.lensbtn i { position: absolute; left: 6px; right: 6px; top: 11px; height: 2.5px; border-radius: 2px; background: var(--glow); display: block; }

.offbtn {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  border: 1.6px solid rgba(255, 255, 255, .4); background: transparent; cursor: pointer;
  display: grid; place-items: center; padding: 0; position: relative; transition: .16s;
}
.offbtn:hover { border-color: #fff; }
.offbtn[data-on] { background: #fff; border-color: #fff; }
.offbtn svg { width: 13px; height: 13px; stroke: rgba(255, 255, 255, .75); }
.offbtn[data-on] svg { stroke: var(--bg); }

/* 悬停向左弹出的名字 */
.tip::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 11px); top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 4px 9px; border-radius: 7px; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(14, 15, 19, .94); border: 1px solid var(--line-strong);
  opacity: 0; pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}
.tip:hover::after, .tip:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---- Safari 窗口：窗框跟着页面配色一起染 ---- */
.win {
  flex: 1; min-width: 0; border-radius: 13px; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--c-edge);
  box-shadow: 0 60px 120px -55px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .05);
  transition: border-color .4s ease;
}
.toolbar {
  flex: 0 0 auto; height: 46px; display: flex; align-items: center; gap: 11px;
  padding: 0 13px; background: var(--c-toolbar); transition: background .4s ease;
}
.traffic { display: flex; gap: 7px; flex: 0 0 auto; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.tb-ico { flex: 0 0 auto; opacity: .75; display: grid; place-items: center; }
.tb-ico svg { display: block; stroke: var(--c-icon); transition: stroke .4s ease; }
.urlbar {
  flex: 1; max-width: 330px; margin: 0 auto; height: 27px; border-radius: 8px;
  background: var(--c-url); border: 1px solid var(--c-urlline);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--c-text);
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.urlbar .chip {
  width: 11px; height: 11px; border-radius: 50%; background: var(--p-accent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); transition: background .4s ease;
}
.lenstool {
  flex: 0 0 auto; width: 27px; height: 27px; border-radius: 7px; cursor: pointer; padding: 0;
  border: 1px solid transparent; background: transparent; display: grid; place-items: center;
  transition: background .3s ease, border-color .3s ease;
}
.lenstool[data-on] { background: var(--c-url); border-color: var(--c-urlline); }
.lenstool svg { stroke: var(--c-accent-icon); transition: stroke .4s ease; }

.tabbar {
  flex: 0 0 auto; height: 34px; display: flex; align-items: flex-end; gap: 2px;
  padding: 0 8px; background: var(--c-tabbar); transition: background .4s ease;
}
.tab {
  height: 27px; padding: 0 14px; border-radius: 7px 7px 0 0;
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--c-muted); max-width: 210px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .4s ease, color .4s ease;
}
.tab.on { background: var(--c-tabactive); color: var(--c-text); font-weight: 550; }
.tab .fav { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; background: var(--p-accent); opacity: .9; transition: background .4s ease; }
.tab .fav.grey { background: var(--c-muted); }

/* ---- 窗口里的网页（自造的示例文章页，不使用任何真实站点） ---- */
.doc { flex: 1 1 auto; min-height: 452px; overflow: hidden; background: var(--p-bg); transition: background .4s ease; }
.doc-site {
  height: 44px; display: flex; align-items: center; gap: 22px; padding: 0 26px;
  border-bottom: 1px solid var(--p-border); transition: border-color .4s ease;
}
.doc-logo { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--p-text); letter-spacing: -.2px; transition: color .4s ease; }
.doc-logo s { width: 15px; height: 15px; border-radius: 4px; background: var(--p-accent); display: block; transition: background .4s ease; }
.doc-nav { display: flex; gap: 17px; font-size: 12px; color: var(--p-muted); transition: color .4s ease; }
.doc-cta {
  margin-left: auto; font-size: 11.5px; font-weight: 650; padding: 5px 12px; border-radius: 7px;
  background: var(--p-accent); color: var(--p-bg); transition: background .4s ease, color .4s ease;
}
.doc-art { padding: 24px 26px 0; display: grid; grid-template-columns: 1fr 202px; gap: 26px; }
.doc-kicker { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--p-accent); font-weight: 700; transition: color .4s ease; }
.doc-art h3 { margin: 9px 0 0; font-size: 25px; line-height: 1.14; letter-spacing: -.7px; color: var(--p-text); font-weight: 650; transition: color .4s ease; }
.doc-byline { margin-top: 9px; font-size: 11.5px; color: var(--p-muted); display: flex; align-items: center; gap: 8px; transition: color .4s ease; }
.doc-byline s { width: 3px; height: 3px; border-radius: 50%; background: var(--p-muted); display: block; }
.doc-art p { margin: 13px 0 0; font-size: 13px; line-height: 1.78; color: var(--p-muted); transition: color .4s ease; }
.doc-art p strong { color: var(--p-text); font-weight: 600; transition: color .4s ease; }
.doc-art a {
  color: var(--p-link); text-decoration: none; border-bottom: 1px solid;
  border-color: color-mix(in srgb, var(--p-link) 38%, transparent); transition: color .4s ease;
}
.doc-art code {
  font-family: var(--mono); font-size: 11.5px; padding: 1.5px 5px; border-radius: 4px;
  color: var(--p-text); background: var(--p-surface); border: 1px solid var(--p-border);
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.doc-quote {
  margin: 16px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--p-accent);
  font-size: 13.5px; line-height: 1.6; color: var(--p-text); font-style: italic;
  transition: border-color .4s ease, color .4s ease;
}
.doc-aside { padding-top: 4px; }
.doc-figure {
  height: 96px; border-radius: 9px; border: 1px solid var(--p-border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--p-accent) 55%, transparent), transparent 62%),
    var(--p-surface);
  display: grid; place-items: center;
  transition: background .4s ease, border-color .4s ease;
}
.doc-figure span { font-size: 10.5px; color: var(--p-muted); transition: color .4s ease; }
.doc-callout {
  margin-top: 13px; padding: 12px 13px; border-radius: 9px;
  background: var(--p-surface); border: 1px solid var(--p-border);
  transition: background .4s ease, border-color .4s ease;
}
.doc-callout b { display: block; font-size: 12px; color: var(--p-text); font-weight: 650; transition: color .4s ease; }
.doc-callout span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.6; color: var(--p-muted); transition: color .4s ease; }
.doc-tags { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.doc-tags i {
  font-style: normal; font-size: 10.5px; padding: 3.5px 9px; border-radius: 999px;
  color: var(--p-link); background: var(--p-surface); border: 1px solid var(--p-border);
  transition: color .4s ease, background .4s ease, border-color .4s ease;
}

.readout {
  margin: 16px auto 0; display: flex; justify-content: center; align-items: center;
  gap: 11px; font-size: 12.5px; color: var(--fg-dim); flex-wrap: wrap;
}
.readout .nm { color: #fff; font-weight: 650; }
.readout b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.readout .sep { color: rgba(255, 255, 255, .22); }
.readout .ok { width: 7px; height: 7px; border-radius: 50%; background: #34d399; display: block; }
.stage-hint { text-align: center; color: var(--fg-faint); font-size: 12px; margin-top: 8px; }

/* --------------------------------------------------------------------------
   主题画廊
   -------------------------------------------------------------------------- */
.gallery {
  margin-top: 44px; display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.gcard {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--g-bg);
}
.gcard .gbar {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 11px;
  background: var(--g-chrome);
}
.gcard .gbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--g-border); display: block; }
.gcard .gbar span { margin-left: 6px; font-size: 10.5px; font-weight: 650; color: var(--g-text); }
.gcard .gbody { padding: 16px 18px 18px; }
.gcard .gk { font-size: 9.5px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--g-accent); font-weight: 700; }
.gcard .gt { margin-top: 7px; font-size: 15px; letter-spacing: -.35px; color: var(--g-text); font-weight: 620; }
.gcard .gp { margin-top: 7px; font-size: 11.5px; line-height: 1.7; color: var(--g-muted); }
.gcard .gp a { color: var(--g-link); text-decoration: none; }
.gcard .grow { margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.gcard .gbtn { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--g-accent); color: var(--g-bg); }
.gcard .gpill { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; color: var(--g-muted); border: 1px solid var(--g-border); }

/* --------------------------------------------------------------------------
   功能网格
   -------------------------------------------------------------------------- */
.features { margin-top: 44px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.feature {
  padding: 22px 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass-card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.feature .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
}
.feature h3 { margin: 15px 0 0; font-size: 16.5px; letter-spacing: -.35px; font-weight: 600; }
.feature p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--fg-dim); }

/* --------------------------------------------------------------------------
   可读性对照
   -------------------------------------------------------------------------- */
.readable { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rpanel { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.rpanel .rhead {
  display: flex; align-items: center; gap: 9px; padding: 13px 18px;
  border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600;
}
.rpanel .rhead .badge {
  margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.rpanel .rbody { padding: 22px 20px 24px; }
.rpanel .rbody h4 { margin: 0; font-size: 17px; letter-spacing: -.4px; font-weight: 620; }
.rpanel .rbody p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.75; }
.rpanel .rbody a { text-decoration: none; border-bottom: 1px solid currentColor; }

.rpanel.bad { background: #16121c; }
.rpanel.bad .rhead { color: #b98b8b; }
.rpanel.bad .rhead .badge { background: rgba(248, 113, 113, .16); color: #fca5a5; }
.rpanel.bad .rbody h4 { color: #6f6478; }
.rpanel.bad .rbody p { color: #4a4453; }
.rpanel.bad .rbody a { color: #574c6b; }

.rpanel.good { background: #16112b; }
.rpanel.good .rhead { color: #b6afd8; }
.rpanel.good .rhead .badge { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
.rpanel.good .rbody h4 { color: #e0dcf5; }
.rpanel.good .rbody p { color: #a09ac0; }
.rpanel.good .rbody a { color: #c4b5fd; }

/* --------------------------------------------------------------------------
   定价 / 隐私
   -------------------------------------------------------------------------- */
.pricecard {
  margin: 44px auto 0; max-width: 620px; padding: 36px 34px 34px; text-align: center;
  border-radius: 22px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(124, 58, 237, .18), transparent 62%),
    rgba(255, 255, 255, .04);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.pricecard h3 { margin: 0; font-size: 26px; letter-spacing: -.9px; font-weight: 600; }
.pricecard p { margin: 12px auto 0; max-width: 440px; font-size: 15px; line-height: 1.65; color: var(--fg-dim); }
.pricecard .badges { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pricecard .small { margin-top: 18px; font-size: 12.5px; color: var(--fg-faint); }
.storebadge {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px;
  border-radius: 12px; border: 1px solid var(--line-strong); text-decoration: none;
  background: rgba(255, 255, 255, .06); color: #fff;
  transition: background .18s ease;
}
.storebadge:hover { background: rgba(255, 255, 255, .11); }
.storebadge .t { text-align: left; line-height: 1.15; }
.storebadge .t small { display: block; font-size: 10px; color: var(--fg-dim); letter-spacing: .3px; }
.storebadge .t span { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.3px; }

.privacy-quote {
  margin: 40px auto 0; max-width: 720px; padding: 32px 34px;
  border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
}
.privacy-quote p { margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: var(--fg); }
.privacy-quote p:last-child { margin-bottom: 0; color: var(--fg-dim); }
.privacy-points { margin: 24px auto 0; max-width: 720px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ppoint {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  font-size: 13px; color: var(--fg-dim); display: flex; align-items: center; gap: 9px;
}
.ppoint s { width: 6px; height: 6px; border-radius: 50%; background: #34d399; display: block; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { margin: 40px auto 0; max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 20px 4px;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-size: 16px; font-weight: 550; letter-spacing: -.3px;
  display: flex; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: 0 0 auto;
  width: 10px; height: 10px; border-right: 1.6px solid var(--fg-faint); border-bottom: 1.6px solid var(--fg-faint);
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--fg-dim); max-width: 68ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 42px 0 56px; }
.footer .inner { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.footer .sig { max-width: 320px; }
.footer .sig .line { margin-top: 12px; font-size: 13.5px; color: var(--fg-dim); line-height: 1.6; }
.footer .cols { margin-left: auto; display: flex; gap: 56px; flex-wrap: wrap; }
.footer .col h4 { margin: 0 0 12px; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fg-faint); font-weight: 700; }
.footer .col a { display: block; font-size: 13.5px; color: var(--fg-dim); text-decoration: none; margin-bottom: 9px; }
.footer .col a:hover { color: var(--fg); }
.footer .base {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-faint);
}
.footer .base .r { margin-left: auto; }

/* --------------------------------------------------------------------------
   法务页（privacy / terms）
   -------------------------------------------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 0 0; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -1.6px; font-weight: 600; margin: 0; }
.legal .updated { margin-top: 12px; font-size: 13px; color: var(--fg-faint); }
.legal h2 { margin: 44px 0 0; font-size: 19px; letter-spacing: -.5px; font-weight: 620; }
.legal h3 { margin: 28px 0 0; font-size: 15.5px; letter-spacing: -.3px; font-weight: 600; color: var(--fg); }
.legal p, .legal li { font-size: 15px; line-height: 1.78; color: var(--fg-dim); }
.legal p { margin: 14px 0 0; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #c4b5fd; text-decoration: none; border-bottom: 1px solid rgba(196, 181, 253, .4); }
.legal .callout {
  margin: 24px 0 0; padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
}
.legal .callout p { margin: 0 0 10px; color: var(--fg); }
.legal .callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .gallery, .features { grid-template-columns: repeat(2, 1fr); }
  .privacy-points { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 76px 0 0; }
  .stage { flex-direction: column-reverse; align-items: stretch; }
  .rail { width: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 10px; gap: 8px; }
  .rail .sep { width: 1px; height: 22px; margin: 0 3px; }
  .tip::after { display: none; }
  .doc-art { grid-template-columns: 1fr; }
  .doc-aside { display: none; }
  .doc { min-height: 0; }
  .readable { grid-template-columns: 1fr; }
  .footer .cols { margin-left: 0; gap: 34px; }
}
@media (max-width: 640px) {
  .gallery, .features { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 0; }
  .hero .lede { font-size: 15px; }
  .hero .cta { flex-direction: column; }
  .hero .cta .btn { width: 100%; max-width: 320px; }
  .doc-site { padding: 0 16px; gap: 14px; }
  .doc-nav { display: none; }
  .doc-art { padding: 18px 16px 0; }
  /* 窄屏下 Safari 工具栏只留红绿灯、TintLens 按钮和地址栏 */
  .toolbar { gap: 8px; padding: 0 10px; }
  .toolbar .tb-ico { display: none; }
  .urlbar { max-width: none; }
  .tab { padding: 0 10px; font-size: 11px; }
  .footer .cols { gap: 26px; }
  .footer .base .r { margin-left: 0; }
}
