/* Zhifou website. System fonts, a soft impressionist palette taken from the app icon,
   light and dark appearances, no external requests. */

:root {
  --bg: #f7f5fc;
  --bg-2: #ffffff;
  --bg-3: #efecf8;
  --ink: #1d1d1f;
  --ink-2: #48464f;
  --ink-3: #6e6c78;
  --line: rgba(40, 32, 80, .10);
  --line-2: rgba(40, 32, 80, .16);
  --glass: rgba(250, 249, 255, .72);
  --card: rgba(255, 255, 255, .78);
  --peach: #f2ae9e;
  --sun: #f2bc94;
  --lilac: #c9a3d6;
  --moon: #8ca1e6;
  --accent: #5b5fc7;
  --accent-ink: #ffffff;
  --grad: linear-gradient(100deg, #e48f7c 0%, #b07cc9 48%, #6378d6 100%);
  --wash-1: rgba(247, 196, 160, .55);
  --wash-2: rgba(175, 190, 240, .55);
  --wash-3: rgba(211, 174, 223, .5);
  --shadow: 0 1px 2px rgba(30, 20, 70, .05), 0 12px 32px -8px rgba(30, 20, 70, .14);
  --shadow-lg: 0 2px 6px rgba(30, 20, 70, .06), 0 40px 80px -24px rgba(40, 30, 100, .32);
  --radius: 22px;
  --wrap: 1120px;
  --bar: 52px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
:lang(zh-Hans) { --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC"; }
:lang(zh-Hant) { --cjk: "PingFang TC", "PingFang HK", "Microsoft JhengHei", "Noto Sans CJK TC"; }
:lang(ja) { --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP"; }
:lang(ko) { --cjk: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR"; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0b1a;
    --bg-2: #15142a;
    --bg-3: #1b1a33;
    --ink: #f5f4fa;
    --ink-2: #c9c6d8;
    --ink-3: #9a97ad;
    --line: rgba(220, 215, 255, .10);
    --line-2: rgba(220, 215, 255, .18);
    --glass: rgba(14, 13, 30, .7);
    --card: rgba(30, 28, 56, .62);
    --accent: #a3adff;
    --accent-ink: #0c0b1a;
    --grad: linear-gradient(100deg, #f4b19f 0%, #d1a8e2 48%, #9fb2f2 100%);
    --wash-1: rgba(230, 150, 120, .26);
    --wash-2: rgba(110, 130, 230, .30);
    --wash-3: rgba(170, 120, 200, .26);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 24px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans); font-family: var(--sans), var(--cjk, sans-serif);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.center { text-align: center; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; text-decoration: none; }

/* ---------- Bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar);
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.bar-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; box-shadow: 0 0 0 .5px var(--line-2); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 14px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current] { color: var(--ink); font-weight: 600; }
.language { position: relative; }
.language summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13px; color: var(--ink-2); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2);
}
.language summary::-webkit-details-marker { display: none; }
.language summary:hover { color: var(--ink); }
.language .chev { width: 14px; height: 14px; transition: transform .2s; }
.language[open] .chev { transform: rotate(180deg); }
.language-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: grid; animation: pop .18s ease-out;
}
.language-list a { color: var(--ink); padding: 9px 12px; border-radius: 10px; font-size: 15px; }
.language-list a:hover { background: var(--bg-3); text-decoration: none; }
.language-list a[aria-current]::after { content: "✓"; float: right; color: var(--accent); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Type ---------- */
.display { font-size: clamp(44px, 8.4vw, 96px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0; }
.display.small { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.03em; }
.headline { font-size: clamp(32px, 5vw, 56px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0; }
.headline.small { font-size: clamp(28px, 3.6vw, 40px); }
:lang(zh-Hans) .display, :lang(zh-Hant) .display, :lang(ja) .display, :lang(ko) .display,
:lang(zh-Hans) .headline, :lang(zh-Hant) .headline, :lang(ja) .headline, :lang(ko) .headline { letter-spacing: -.01em; line-height: 1.15; }
h1, h2, h3, .display, .headline { text-wrap: balance; }
p, li { text-wrap: pretty; }
:lang(ja) { word-break: auto-phrase; line-break: strict; }
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh-Hans), :lang(zh-Hant) { line-break: strict; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink-2); margin: 20px 0 0; letter-spacing: -.005em; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); margin: 0 0 14px; }
.grad { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; border: 0;
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn.primary:hover { box-shadow: var(--shadow-lg); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--card); }
.btn .i { width: 20px; height: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 17px; }
.text-link .i { transition: transform .2s; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- Aurora wash ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; animation: drift 26s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 52vw; height: 52vw; left: -10vw; top: -16vw; background: var(--wash-1); }
.aurora span:nth-child(2) { width: 48vw; height: 48vw; right: -12vw; top: -10vw; background: var(--wash-2); animation-delay: -8s; }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; top: 10vw; background: var(--wash-3); animation-delay: -16s; }
.aurora.soft span { opacity: .55; }
@keyframes drift { to { transform: translate3d(4vw, 3vw, 0) scale(1.08); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(64px, 10vw, 120px) 0 0; text-align: center; overflow: hidden; }
.hero-inner { max-width: 900px; }
.hero-icon { display: inline-block; margin-bottom: 28px; }
.hero-icon img { width: 112px; height: 112px; border-radius: 25px; box-shadow: var(--shadow-lg); }
.hero-icon.small img { width: 80px; height: 80px; border-radius: 18px; }
.hero .lede { max-width: 680px; margin-inline: auto; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--ink-3); font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .i { color: var(--accent); width: 17px; height: 17px; }
.hero-devices { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 40px); margin-top: clamp(48px, 7vw, 88px); height: clamp(380px, 56vw, 640px); overflow: hidden; padding-top: 12px; }
.hero-devices .device { width: clamp(180px, 25vw, 300px); }
.hero-devices .side { transform: translateY(14%); opacity: .96; }
.hero-devices .center { transform: translateY(2%); z-index: 1; }

/* ---------- Device frame ---------- */
.device { margin: 0; position: relative; border-radius: 15% / 7%; padding: 2.6%; background: linear-gradient(145deg, #2b2a33, #0e0e12); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.device img { border-radius: 12.8% / 5.95%; width: 100%; background: var(--bg-3); }
@media (prefers-color-scheme: dark) { .device { background: linear-gradient(145deg, #3a3946, #17161d); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .14); } }

/* ---------- Features ---------- */
.features { padding: clamp(96px, 12vw, 160px) 0 40px; }
.feature { padding: clamp(40px, 6vw, 72px) 0; }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.028em; margin: 0 0 18px; font-weight: 700; }
:lang(zh-Hans) .feature-copy h3, :lang(zh-Hant) .feature-copy h3, :lang(ja) .feature-copy h3, :lang(ko) .feature-copy h3 { letter-spacing: -.01em; line-height: 1.2; }
.feature-copy > p:not(.eyebrow) { font-size: 19px; color: var(--ink-2); margin: 0; max-width: 520px; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, var(--wash-2), transparent), radial-gradient(closest-side at 30% 70%, var(--wash-1), transparent); filter: blur(40px); z-index: -1; }
.feature.flip .feature-media::before { background: radial-gradient(closest-side, var(--wash-3), transparent), radial-gradient(closest-side at 70% 30%, var(--wash-1), transparent); }
.feature-media .device { width: min(330px, 78%); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.ticks .i { margin-top: 3px; width: 18px; height: 18px; color: var(--accent); }

/* ---------- Tiles ---------- */
.ai, .pillars, .craft { padding: clamp(80px, 10vw, 140px) 0; }
.ai { background: linear-gradient(180deg, transparent, var(--bg-3) 30%, var(--bg-3) 70%, transparent); }
.tiles { display: grid; gap: 20px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile {
  display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.tiles.plain .tile { background: transparent; border: 0; box-shadow: none; padding: 8px 12px; text-align: center; align-items: center; }
.tile strong { font-size: 21px; letter-spacing: -.015em; }
.tile > span:last-child { color: var(--ink-2); font-size: 16px; }
.tile-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 10px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(120, 90, 200, .6); }
.tile-icon .i { width: 24px; height: 24px; }
.pillars .center { margin-top: 44px; }

/* ---------- Doc cards ---------- */
.docs { padding: 40px 0 clamp(80px, 10vw, 120px); }
.docs .headline { text-align: center; margin-bottom: 40px; }
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.doc-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.doc-card strong { font-size: 21px; letter-spacing: -.015em; }
.doc-card > span:not(.doc-card-icon) { color: var(--ink-2); font-size: 15px; flex: 1; }
.doc-card em { font-style: normal; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.doc-card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-3); color: var(--accent); }
.doc-card-icon .i { width: 22px; height: 22px; }

/* ---------- Closing ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 12vw, 150px) 0; text-align: center; border-top: 1px solid var(--line); }
.closing-inner { max-width: 760px; }

/* ---------- Document pages ---------- */
.doc-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.doc-hero .lede { max-width: 760px; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-3); margin: 0 0 20px; }
.crumb a { color: var(--ink-2); }
.crumb-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.crumb-icon .i { width: 19px; height: 19px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; color: var(--ink-3); font-size: 14px; align-items: center; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); margin-right: 4px; }

.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding: 56px 0 120px; }
.toc { position: sticky; top: calc(var(--bar) + 32px); align-self: start; max-height: calc(100vh - var(--bar) - 64px); overflow: auto; }
.toc-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 12px; }
.toc nav, .toc-mobile nav { display: grid; gap: 2px; }
.toc a, .toc-mobile a { display: flex; gap: 10px; color: var(--ink-3); font-size: 14px; line-height: 1.4; padding: 7px 10px; border-radius: 10px; }
.toc a:hover, .toc-mobile a:hover { color: var(--ink); background: var(--bg-3); text-decoration: none; }
.toc a.on { color: var(--ink); background: var(--bg-3); font-weight: 500; }
.num { font-variant-numeric: tabular-nums; color: var(--ink-3); min-width: 1.6em; }
.num.dot { text-align: center; }
.toc-mobile { display: none; }
.doc-body { max-width: 760px; }
.doc-section { padding: 36px 0; border-top: 1px solid var(--line); }
.doc-section h2, .glance h2 { display: flex; gap: 14px; align-items: baseline; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 16px; }
.doc-section h2 .num { font-size: .7em; color: var(--accent); font-weight: 600; }
.prose { color: var(--ink-2); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 12px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.prose a { word-break: break-word; }
.glance { padding: 0 0 40px; }
.glance-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.glance-grid li { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.glance-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.glance-grid p { margin: 0; font-size: 15px; color: var(--ink-2); }
.glance-icon { width: 26px; height: 26px; flex: none; color: var(--accent); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; z-index: 40;
  background: var(--glass); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .i { width: 20px; height: 20px; }

/* ---------- Support ---------- */
.support-main { padding: 56px 0 120px; display: grid; gap: 72px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: 24px 32px; padding: clamp(28px, 4vw, 44px); border-radius: 28px;
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.contact-who { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; grid-row: span 2; }
.contact-who div { display: grid; }
.contact-who span:not(.monogram) { color: var(--ink-3); font-size: 14px; }
.monogram { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 24px; color: #fff; background: var(--grad); letter-spacing: .02em; }
.contact-copy h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 12px; }
.contact-copy p { color: var(--ink-2); margin: 0 0 10px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn { min-height: 46px; font-size: 16px; }
.faq h2, .related h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 24px; }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa .prose { padding: 0 22px 8px; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: var(--ink-3); transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
.qa[open] .plus::after { transform: rotate(0); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-3); padding: 56px 0 40px; font-size: 13px; color: var(--ink-3); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin: 12px 0 0; max-width: 280px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links p { margin: 0 0 4px; color: var(--ink); font-weight: 600; }
.foot-links a { color: var(--ink-3); }
.foot-links a:hover { color: var(--ink); }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.foot-note p { margin: 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tiles.four { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .toc { display: none; }
  .toc-mobile { display: block; position: sticky; top: var(--bar); z-index: 30; margin: 0 -22px 12px; padding: 0 22px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
  .toc-mobile summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile .toc-title { margin: 0; }
  .toc-current { flex: 1; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .toc-mobile .chev { width: 16px; height: 16px; transition: transform .2s; }
  .toc-mobile[open] .chev { transform: rotate(180deg); }
  .toc-mobile nav { padding-bottom: 12px; max-height: 60vh; overflow: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .language { margin-left: auto; }
  .feature-grid { grid-template-columns: 1fr; text-align: center; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy > p:not(.eyebrow) { margin-inline: auto; }
  .ticks { justify-items: center; }
  .ticks li { text-align: left; }
  .feature-media .device { width: min(280px, 72%); }
  .tiles.three, .doc-cards, .glance-grid { grid-template-columns: 1fr; }
  .hero-devices .side { display: none; }
  .hero-devices { height: clamp(360px, 108vw, 520px); }
  .hero-devices .device { width: min(250px, 66vw); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-who { grid-row: auto; flex-direction: row; text-align: left; }
  .contact-actions .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .tiles.four { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .language summary span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .bar, .toc, .toc-mobile, .to-top, .progress, .aurora, .foot { display: none !important; }
  .doc { display: block; padding: 0; }
  body { background: #fff; color: #000; }
}
