/* The other pages (guides, support, privacy, terms, 404) in the home page's look, for reading: the home page's fixed
   nav, one column of text about 34 Chinese characters or 70 Latin ones wide, the home page's footer. Black, the icon's
   lime, system type. Dark only. Nothing loads from another host and nothing here waits on JavaScript or motion: every
   page is complete as it arrives. The tokens are site.css's, copied (no file imports another). */
:root {
  --bg: #000; --card: #111210; --card-2: #191a17; --line: rgb(255 255 255 / .08);
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b;
  --lime: #d1f068; --lime-deep: #b6dc3f;
  --grad: linear-gradient(96deg, #f0ffb0 0%, #d1f068 38%, #7fe6a0 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav: 52px; --wrap: min(1120px, 100vw - 44px);
  --read: #cfcfd4; /* running text: softer than --ink for long reading, 13:1 on black */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 20px); background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; } /* a short page keeps its footer at the bottom */
a { color: inherit; } img, svg { display: block; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- nav (the home page's) */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav); background: rgb(0 0 0 / .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav__in { width: var(--wrap); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.nav__logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.nav__logo img { border-radius: 7px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; color: var(--ink-2); }
.nav__links a { text-decoration: none; padding: 6px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 15px; border-radius: 15px; background: var(--lime); color: #0b0c0a; font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.pill:hover { background: #e2ff7d; transform: scale(1.04); } .pill:active { transform: scale(.97); }
@media (max-width: 759px) { .nav__links { display: none; } .pill { margin-left: auto; } }

/* ---------------------------------------------------------------- the reading column */
.doc { flex: 1 0 auto; width: min(640px, 100vw - 44px); margin: 0 auto; padding: calc(var(--nav) + clamp(48px, 8vw, 104px)) 0 clamp(80px, 10vw, 128px);
  font-size: 18px; line-height: 1.75; color: var(--read); overflow-wrap: break-word; }
.doc .eyebrow { margin: 0 0 12px; font-size: clamp(15px, 1.5vw, 17px); font-weight: 600; line-height: 1.4; color: var(--lime); }
.doc h1 { margin: 0 0 20px; color: var(--ink); font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; word-break: keep-all; }
.doc .lead { margin: 0; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.55; font-weight: 500; color: var(--ink-2); }
.doc .meta { margin: 0 0 6px; font-size: 15px; color: var(--ink-2); }
.doc h2 { margin: clamp(48px, 6vw, 64px) 0 14px; color: var(--ink); font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; word-break: keep-all; }
.doc h3 { margin: 32px 0 6px; color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.45; text-wrap: balance; }
.doc p { margin: 12px 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc em { font-style: normal; color: var(--ink-2); }
.doc a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.doc a:hover { text-decoration-thickness: 2px; }
.doc .go { margin-top: 28px; font-size: 19px; } .doc .go a { font-weight: 600; text-decoration: none; } .doc .go a::after { content: " ›"; }
.doc mark { background: #4a3f12; color: #ffe58a; border-radius: 4px; padding: 0 .2em; }
.doc ul { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.doc ul > li { position: relative; padding-left: 24px; }
.doc ul > li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
/* numbered steps: a large lime numeral on a card, as the home page's tiles */
.doc ol { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.doc ol > li { counter-increment: step; position: relative; min-height: 76px; padding: 20px 22px 20px 78px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #161714, #0c0d0b); }
.doc ol > li::before { content: counter(step); position: absolute; left: 24px; top: 14px; color: var(--lime); font-size: 40px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (max-width: 519px) { .doc ol > li { padding: 16px 18px 16px 58px; } .doc ol > li::before { left: 18px; top: 12px; font-size: 32px; } }
.doc figure { margin: 24px 0; } .doc figure img { width: min(100%, 320px); height: auto; border-radius: 20px; border: 1px solid var(--line); }
/* the legal pages' contents, as a card */
.contents { margin: 32px 0 8px; padding: 20px 24px 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #161714, #0c0d0b); }
.contents p { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--lime); }
.contents ul { margin: 0; gap: 2px; font-size: 16px; line-height: 1.5; }
.contents ul > li { padding: 0; } .contents ul > li::before { content: none; }
.contents a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.contents a:hover { color: var(--ink); }
/* Apple's official badge, never redrawn: as on the home page */
.doc .appstore { margin: clamp(40px, 5vw, 56px) 0 0; }
.appstore a { display: inline-flex; border: 1px solid #a6a6a6; border-radius: 9px; background: #000; line-height: 0; transition: transform .25s var(--ease); }
.appstore img { height: 48px; width: auto; margin: -1px; } .appstore a:hover { transform: translateY(-2px) scale(1.03); }
.appstore .button { display: inline-block; padding: 12px 22px; border: 0; border-radius: 24px; background: var(--lime); color: #0b0c0a; font-weight: 600; line-height: 1.2; text-decoration: none; }

/* ---------------------------------------------------------------- the footer (the home page's) */
.end { border-top: 1px solid var(--line); background: radial-gradient(90% 60% at 50% 0%, rgb(209 240 104 / .13), transparent 70%); }
.end__links { width: var(--wrap); margin: 0 auto; padding: 36px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; font-size: 14px; }
.end__links h3 { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); font-weight: 600; } .end__links a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; } .end__links a:hover { color: var(--ink); }
.end__legal { width: var(--wrap); margin: 0 auto; padding: 18px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 519px) { .end__links { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
