/* 镜语 LensCue — site styles
   Single stylesheet, no web fonts, no dependencies.
   Palette: ink #0E1116 · paper #F4F1EA · cue amber #FFB021 (used sparingly). */

:root {
  --ink: #0E1116;
  --ink-2: #151922;
  --ink-3: #1D222C;
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --paper-3: #DED8CA;
  --cue: #FFB021;
  --cue-deep: #8A5800;           /* amber-family text on paper (AA contrast) */
  --text: #16191F;
  --muted: #545961;              /* on paper: ~6:1 */
  --on-ink: #F4F1EA;
  --on-ink-muted: #A7A9AC;       /* on ink: ~8:1 */
  --line-ink: rgba(244, 241, 234, .13);
  --line-paper: rgba(14, 17, 22, .12);
  --red: #B3261E;
  --radius: 14px;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--cue); }
h1, h2, h3, h4 { line-height: 1.22; margin: 0; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--cue); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 17, 22, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-ink);
  color: var(--on-ink);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: .02em; flex: none; }
.brand svg { width: 26px; height: 26px; }
.brand .en { font-weight: 500; color: var(--on-ink-muted); letter-spacing: .14em; font-size: 12px; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--on-ink-muted); padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-ink); }
.nav .hide-sm { display: none; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-ink); border-radius: 999px; padding: 4px 12px !important;
  color: var(--on-ink) !important; font-size: 13px !important;
}
.lang svg { width: 14px; height: 14px; }
@media (min-width: 760px) { .nav .hide-sm { display: inline-block; } .nav { gap: 8px; } }

/* ---------- buttons / app store badge ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 9px 20px 9px 16px; border-radius: 14px;
  background: var(--on-ink); color: var(--ink); text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
}
.badge .mark { width: 28px; height: 28px; flex: none; }
.badge .l1 { display: block; font-size: 11px; letter-spacing: .06em; color: #4A4E55; line-height: 1.3; }
.badge .l2 { display: block; font-size: 17px; font-weight: 650; line-height: 1.25; }
.badge[aria-disabled="true"] { cursor: default; }
.badge.live { background: #000; color: #fff; }
.badge.live .l1 { color: #ccc; }
.link-arrow { color: inherit; font-weight: 550; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 11vw, 136px) 0; }
.sec-ink { background: var(--ink); color: var(--on-ink); }
.sec-paper2 { background: var(--paper-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--muted);
}
.sec-ink .eyebrow, .hero .eyebrow { color: var(--on-ink-muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cue); flex: none; }
.h2 { font-size: clamp(30px, 5.2vw, 52px); margin-top: 18px; max-width: 18em; }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); margin-top: 18px; max-width: 38em; }
.sec-ink .lede { color: var(--on-ink-muted); }
.q { font-weight: 300; color: var(--cue-deep); margin: 0 .04em; }
.sec-ink .q, .hero .q { color: var(--cue); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 520px at 78% 20%, rgba(255,176,33,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(120,140,170,.10), transparent 60%),
    var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
}
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 7.4vw, 76px); font-weight: 700; letter-spacing: -.02em; margin-top: 22px; line-height: 1.12; }
.hero h1 .soft { color: var(--on-ink-muted); font-weight: 600; }
.hero .sub { font-size: clamp(17px, 2.1vw, 20px); color: var(--on-ink-muted); margin-top: 22px; max-width: 30em; }
.hero .cta-row { margin-top: 34px; }
.hero .link-arrow { color: var(--on-ink); }
.facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--on-ink-muted); list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; margin-right: 10px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { width: min(330px, 78vw); }
.monitor-label {
  position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--on-ink-muted);
  display: none; white-space: nowrap;
}
.monitor-label b { color: var(--cue); font-weight: 500; }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  .monitor-label { display: block; }
}

/* ---------- phone mockup ---------- */
.phone {
  position: relative; aspect-ratio: 393 / 852; border-radius: 13.5% / 6.2%;
  background: #000; overflow: hidden;
  box-shadow: 0 0 0 9px #0A0B0D, 0 0 0 10px #34363A, 0 40px 80px -20px rgba(0,0,0,.55), 0 18px 36px -18px rgba(0,0,0,.5);
}
.phone svg { width: 100%; height: 100%; }
.phone.on-paper { box-shadow: 0 0 0 9px #0A0B0D, 0 0 0 10px #34363A, 0 40px 70px -24px rgba(14,17,22,.45); }
.cue-pulse { animation: cue 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes cue { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.drift { animation: drift 5s ease-in-out infinite; transform-box: fill-box; }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------- stat strip ---------- */
.strip { background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--line-ink); }
.strip ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.strip li { padding: 26px 0 28px; border-bottom: 1px solid var(--line-ink); }
.strip li:nth-child(odd) { border-right: 1px solid var(--line-ink); padding-right: 16px; }
.strip li:nth-child(even) { padding-left: 20px; }
.strip .big { font-size: clamp(34px, 5vw, 48px); font-weight: 650; letter-spacing: -.02em; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.strip .big sup { font-size: .45em; color: var(--cue); vertical-align: top; margin-left: 2px; }
.strip .lbl { display: block; color: var(--on-ink-muted); font-size: 14px; margin-top: 10px; }
@media (min-width: 760px) {
  .strip ul { grid-template-columns: repeat(4, 1fr); }
  .strip li { border-bottom: 0; border-right: 1px solid var(--line-ink); padding: 34px 24px 36px !important; }
  .strip li:first-child { padding-left: 0 !important; }
  .strip li:last-child { border-right: 0; }
}

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 0; margin-top: 56px; counter-reset: s; border-top: 1px solid var(--line-paper); }
.steps li { padding: 28px 0 30px; border-bottom: 1px solid var(--line-paper); display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 6px; grid-row: span 2; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); }
.steps .ill { display: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; border-left: 1px solid var(--line-paper); padding: 0 26px 8px; align-content: start; }
  .steps li:first-child { border-left: 0; padding-left: 0; }
  .steps .n { grid-row: auto; padding-top: 0; }
  .steps .ill { display: block; width: 100%; height: 112px; margin: 14px 0 22px; }
}

/* ---------- feature rows ---------- */
.feature { display: grid; gap: 44px; align-items: center; }
.feature + .feature { margin-top: clamp(88px, 12vw, 150px); }
.feature .copy h3 { font-size: clamp(26px, 3.8vw, 38px); margin-top: 16px; }
.feature .copy > p { color: var(--muted); margin-top: 16px; font-size: 17px; max-width: 32em; }
.sec-ink .feature .copy > p { color: var(--on-ink-muted); }
.feature .media { display: flex; justify-content: center; }
.feature .media .phone { width: min(300px, 74vw); }
.ticks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; opacity: .55; }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.62em + 5px); width: 4px; height: 4px; border-radius: 50%; background: var(--cue); }
.ticks b { font-weight: 650; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature.flip .media { order: -1; }
}

/* cue list (typographic examples of director cues) */
.cues { list-style: none; margin-top: 8px; border-top: 1px solid var(--line-paper); }
.cues li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-paper); }
.cues .say { font-size: 18px; font-weight: 600; }
.cues .say::before { content: "「"; color: var(--muted); font-weight: 300; }
.cues .say::after { content: "」"; color: var(--muted); font-weight: 300; }
.cues .why { grid-column: 1; color: var(--muted); font-size: 14px; }
.cues .tag { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; font-family: var(--mono); color: var(--muted); border: 1px solid var(--line-paper); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.cue-panel { width: 100%; max-width: 520px; }
.cue-panel .cap { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- tiles ---------- */
.tiles { display: grid; gap: 18px; margin-top: 56px; }
.tile { background: var(--paper); border: 1px solid var(--line-paper); border-radius: var(--radius); padding: 22px 22px 26px; display: flex; flex-direction: column; }
.tile .art { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--ink); overflow: hidden; margin-bottom: 22px; }
.tile .art svg { width: 100%; height: 100%; }
.tile h3 { font-size: 20px; }
.tile p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.pro-chip { display: inline-block; vertical-align: 2px; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 1px 7px; border-radius: 6px; background: var(--ink); color: var(--cue); }
.pro-chip.part { background: transparent; color: var(--muted); border: 1px solid var(--line-paper); font-weight: 600; }
@media (min-width: 680px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- privacy (ink) ---------- */
.privacy-grid { display: grid; gap: 48px; margin-top: 56px; }
.vows { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.vows li { padding: 22px 0; border-bottom: 1px solid var(--line-ink); display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; }
.vows svg { width: 28px; height: 28px; color: var(--cue); margin-top: 3px; }
.vows b { display: block; font-size: 18px; font-weight: 650; }
.vows span { color: var(--on-ink-muted); font-size: 15px; }
.perm { width: 100%; border-collapse: collapse; font-size: 15px; }
.perm caption { text-align: left; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); padding-bottom: 14px; font-weight: 600; }
.perm th, .perm td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-ink); }
.perm th { font-weight: 650; white-space: nowrap; }
.perm td { color: var(--on-ink-muted); }
.perm td.need { white-space: nowrap; font-size: 13px; }
.privacy-note { margin-top: 22px; font-size: 14px; color: var(--on-ink-muted); }
.privacy-note a { color: var(--on-ink); }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

/* ---------- scenes ---------- */
.scene-cats { display: grid; gap: 0; margin-top: 52px; border-top: 1px solid var(--line-paper); }
.scene-cat { padding: 20px 0 22px; border-bottom: 1px solid var(--line-paper); display: grid; gap: 10px; }
.scene-cat h3 { font-size: 17px; display: flex; align-items: baseline; gap: 10px; }
.scene-cat h3 .num { font-size: 12px; color: var(--muted); font-weight: 500; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-paper); }
@media (min-width: 900px) { .scene-cat { grid-template-columns: 220px 1fr; align-items: baseline; } }
.scene-foot { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 18px; margin-top: 56px; }
.plan { border-radius: 18px; padding: 30px 26px 32px; border: 1px solid var(--line-paper); background: var(--paper); }
.plan.pro { background: var(--ink); color: var(--on-ink); border-color: var(--ink); position: relative; overflow: hidden; }
.plan.pro::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,176,33,.22), transparent); }
.plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.plan .tagline { color: var(--muted); margin-top: 6px; }
.plan.pro .tagline { color: var(--on-ink-muted); }
.plan ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.plan li { padding-left: 24px; position: relative; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .7; }
.plan.pro li::before { border-color: var(--cue); opacity: 1; }
.plan li small { display: block; color: var(--muted); font-size: 13px; }
.plan.pro li small { color: var(--on-ink-muted); }
.buy { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-ink); display: grid; gap: 12px; position: relative; }
.buy .opt { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.buy .opt b { font-weight: 650; }
.buy .opt span { color: var(--on-ink-muted); font-size: 14px; text-align: right; }
.buy .opt .price { color: var(--on-ink); font-family: var(--mono); font-size: 15px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }
.plan.pro .fine { color: var(--on-ink-muted); }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1.15fr; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; border-top: 1px solid var(--line-paper); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .a { padding: 0 0 24px; color: var(--muted); max-width: 46em; }
.faq .a p + p { margin-top: 10px; }
.faq .a a { color: var(--text); }

/* ---------- final CTA ---------- */
.final { text-align: left; }
.final .wrap { display: grid; gap: 40px; align-items: center; }
.final .big-mark { width: clamp(120px, 22vw, 220px); }
.final h2 { font-size: clamp(32px, 5.4vw, 58px); }
.final .lede { margin-bottom: 30px; }
@media (min-width: 900px) { .final .wrap { grid-template-columns: auto 1fr; gap: 72px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--line-ink); font-size: 14px; padding: 48px 0 40px; }
.site-footer .top { display: grid; gap: 28px; }
.site-footer .brand { color: var(--on-ink); }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-ink); text-decoration: underline; }
.site-footer .bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.site-footer .tm { flex-basis: 100%; font-size: 12px; opacity: .85; }
@media (min-width: 760px) { .site-footer .top { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- document pages (privacy / terms / support) ---------- */
.doc-hero { background: var(--ink); color: var(--on-ink); padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.crumbs { font-size: 13px; color: var(--on-ink-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--on-ink); }
.doc-hero h1 { font-size: clamp(34px, 6vw, 60px); margin-top: 22px; }
.doc-hero .meta { margin-top: 16px; color: var(--on-ink-muted); font-size: 15px; }
.doc-hero .summary { margin-top: 18px; max-width: 40em; font-size: 18px; color: var(--on-ink-muted); }
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 10vw, 120px); }
.doc .wrap { display: grid; gap: 40px; }
.toc { font-size: 14px; }
.toc h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 6px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { text-decoration: none; color: var(--muted); display: inline-flex; gap: 8px; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 12px; padding-top: 2px; opacity: .8; }
.toc a:hover { color: var(--text); }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); margin: 56px 0 14px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol, .prose table, .prose dl { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--text); text-decoration-color: rgba(14,17,22,.35); }
.prose strong { font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-paper); }
.prose th { font-weight: 650; }
.prose td { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.callout { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: var(--paper-2); border-left: 3px solid var(--cue); }
.callout p + p { margin-top: 8px; }
.cfg { margin-top: 16px; padding: 18px 20px; border-radius: 12px; border: 1px dashed rgba(14,17,22,.3); display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.cfg dt { font-weight: 650; }
.cfg dd { margin: 0; color: var(--muted); }
.todo { color: var(--red); font-weight: 600; }
@media (min-width: 1000px) {
  .doc .wrap { grid-template-columns: 230px 1fr; gap: 72px; }
  .toc { position: sticky; top: 92px; align-self: start; }
}

/* support page */
.help-grid { display: grid; gap: 16px; margin-top: 20px; }
.help-card { border: 1px solid var(--line-paper); border-radius: var(--radius); padding: 20px 22px; background: var(--paper); }
.help-card h3 { margin: 0 0 6px; font-size: 18px; }
.help-card ol, .help-card ul { margin-top: 8px; }
.path { font-family: var(--mono); font-size: .92em; background: var(--paper-2); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
@media (min-width: 760px) { .help-grid { grid-template-columns: 1fr 1fr; } }

/* 404 */
.nf { min-height: 72vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--on-ink); padding: 64px 20px; }
.nf .mark { width: 120px; margin: 0 auto 32px; }
.nf h1 { font-size: clamp(28px, 5vw, 44px); }
.nf p { color: var(--on-ink-muted); margin-top: 12px; }
.nf .links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; }
.nf .links a { color: var(--on-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .toc, .skip { display: none !important; }
  .doc-hero { background: none; color: #000; }
  body { background: #fff; }
}
