/* Lookremake 官网共用样式（落地页 + 隐私政策 + 条款 + 支持页）
   设计 token 取自 design/miralia-ui.pen 全局 token（pen-audit 2026-09-23 §9）：
   黑底 + 灰阶分层（卡片不描边）+ 白底主 CTA + 非橙 accent。
   ⚠️ 本文件不得出现 fair-use 上限数字（见 website/README.md「数字门禁」），字重用 normal / 500 / 600 / 700。 */
:root {
  color-scheme: dark;
  --bg: #0A0A0B;
  --surface: #141416;
  --surface-2: #1C1C1F;
  --surface-3: #26262A;
  --text: #F5F5F7;
  --text-2: #BDBDC6;
  --text-3: #8E8E98;
  --accent: #E0A9B8;
  --accent-pressed: #C98A9C;
  --accent-ink: #F0CCD6;
  --cta-bg: #FFFFFF;
  --cta-ink: #111113;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; }
a:active { color: var(--accent-pressed); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--text); font-weight: 600; }

.skip-link {
  position: absolute; left: var(--gutter); top: -60px;
  background: var(--cta-bg); color: var(--cta-ink);
  padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600; z-index: 200;
}
.skip-link:focus { top: 12px; text-decoration: none; color: var(--cta-ink); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 11, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.2px;
  color: var(--text);
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; display: block; }
.site-nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.site-nav a { color: var(--text-2); font-size: 14px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.lang-switch { display: inline-flex; gap: 4px; padding: 3px; background: var(--surface); border-radius: 999px; }
.lang-switch a {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px; color: var(--text-3);
}
.lang-switch a:hover { color: var(--text); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--surface-3); color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: 0.1px;
  text-decoration: none; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--cta-bg); color: var(--cta-ink); }
.btn-primary:hover { color: var(--cta-ink); background: #EDEDF0; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: var(--surface-3); }
.btn .store-glyph { font-size: 18px; line-height: 1; }

/* ---------- 落地页 ---------- */
.hero { padding: 72px 0 56px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(224, 169, 184, 0.16), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgba(240, 204, 214, 0.07), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; color: var(--accent-ink);
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px; font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -1px; font-weight: 700;
}
.lead { margin: 0 0 28px; color: var(--text-2); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { margin: 18px 0 0; color: var(--text-3); font-size: 13px; }

.showcase { display: grid; gap: 14px; }
.panel { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 22px; }
.panel-title { margin: 0 0 12px; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--surface-2);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.swatch { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.sw-warm { background: linear-gradient(135deg, #8A4B2A, #C98A52); }
.sw-cool { background: linear-gradient(135deg, #2E2A2F, #6E6A76); }
.sw-silver { background: linear-gradient(135deg, #9EA1A8, #E4E5E9); }
.sw-highlights { background: linear-gradient(135deg, #5A3B26 45%, #E3C08B 55%); }
.sw-trendy { background: linear-gradient(135deg, #B9799A, #7E8FD1); }
.sw-shade { background: linear-gradient(180deg, #2A2320 40%, #B98C63); }
.report-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.report-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface-2); border-radius: var(--radius-sm); }
.report-rows .k { color: var(--text-3); font-size: 14px; }
.report-rows .v { color: var(--text); font-weight: 600; font-size: 14px; text-align: right; }
.panel figcaption { margin-top: 12px; color: var(--text-3); font-size: 12px; }

.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
.section h2 {
  margin: 0 0 12px; font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.5px; font-weight: 700;
}
.section-intro { margin: 0 0 32px; color: var(--text-2); font-size: 18px; max-width: 40em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.section-alt .card { background: var(--surface-2); }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  background: rgba(224, 169, 184, 0.16); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
}
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 24px; color: var(--text-2); }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%;
  background: var(--cta-bg); color: var(--cta-ink); font-weight: 700;
}
.section-alt .steps li { background: var(--surface-2); }
.steps strong { display: block; margin-bottom: 4px; }
.checklist { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text-2); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.download { text-align: center; }
.download .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- 法律 / 支持页 ---------- */
.doc { padding: 48px 0 72px; }
.doc h1 {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.5px; font-weight: 700;
}
.doc .meta { margin: 0 0 28px; color: var(--text-3); font-size: 14px; }
.doc h2 { margin: 44px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; scroll-margin-top: 90px; }
.doc h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 600; scroll-margin-top: 90px; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { overflow-wrap: anywhere; }
.callout { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 28px; }
.callout p:last-child { margin-bottom: 0; }
.callout-accent { background: rgba(224, 169, 184, 0.1); }
.toc { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 8px; }
.toc p { margin: 0 0 8px; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 28px; }
.toc li { margin-bottom: 4px; font-size: 14px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: var(--radius-sm); background: var(--surface); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; }
.doc th { color: var(--text); font-weight: 600; background: var(--surface-2); }
.doc td { color: var(--text-2); }
.doc tr + tr td { box-shadow: inset 0 1px 0 var(--surface-3); }
.provider-group { margin: 18px 0 8px; color: var(--text); font-weight: 600; }
.clause { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 18px; }
.clause p:last-child { margin-bottom: 0; }
.steps-doc { counter-reset: s; list-style: none; padding-left: 0; }
.steps-doc li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 14px; }
.steps-doc li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-3); color: var(--text); font-size: 13px; font-weight: 700;
}

/* ---------- 页脚 ---------- */
.site-footer { padding: 36px 0 48px; background: var(--bg); box-shadow: inset 0 1px 0 var(--surface-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { margin: 0; color: var(--text-3); font-size: 13px; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 52px 0; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .site-header { position: static; }
  .site-header .wrap { min-height: 56px; row-gap: 8px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 6px 12px; }
  .btn { width: 100%; }
  .doc { padding: 32px 0 56px; }
  .toc ol { columns: 1; }
}
