/* SpeedPic — shared styles for the legal / support pages.
   Tokens mirror index.html (Xcode-dark graphite + system blue). */
:root{
  --bg0:#0d0f14;
  --bg1:#12151c;
  --bg2:#171b24;
  --ink:#eef1f6;
  --ink-2:rgba(238,241,246,.72);
  --ink-3:rgba(238,241,246,.48);
  --blue:#0a84ff;
  --blue-bright:#3d9bff;
  --blue-soft:rgba(10,132,255,.14);
  --line:rgba(255,255,255,.09);
  --card:rgba(255,255,255,.035);
  --card-bd:rgba(255,255,255,.10);
  --ok:#32d74b;
  --maxw:820px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg0);color:var(--ink);
  font-family:"Inter","Noto Sans JP","Noto Sans SC","Noto Sans TC",-apple-system,BlinkMacSystemFont,sans-serif;
  line-height:1.75;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}
/* Han glyph shapes differ per language, so Chinese must not fall through to
   the Japanese font above. Scoped by html[lang], which the switcher sets. */
html[lang="zh-Hans"] body,html[lang="zh"] body{font-family:"Inter","PingFang SC","Noto Sans SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif}
html[lang="zh-Hant"] body{font-family:"Inter","PingFang TC","Noto Sans TC","Microsoft JhengHei",-apple-system,BlinkMacSystemFont,sans-serif}

body.lang-zh-Hans{font-family:"Inter","Noto Sans SC",sans-serif}
body.lang-zh-Hant{font-family:"Inter","Noto Sans TC",sans-serif}
a{color:var(--blue-bright);text-decoration:none}
a:hover{text-decoration:underline}

.bg-grid{position:fixed;inset:0;z-index:-2;
  background:
    radial-gradient(900px 620px at 72% -12%, rgba(10,132,255,.10), transparent 60%),
    linear-gradient(165deg,var(--bg0),var(--bg1) 55%,var(--bg2));}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* nav — same chrome as the landing page */
nav{position:sticky;top:0;z-index:50;backdrop-filter:blur(14px);
  background:rgba(13,15,20,.62);border-bottom:1px solid var(--line)}
nav .wrap{max-width:1140px;display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;color:var(--ink)}
.brand:hover{text-decoration:none}
.brand img{width:34px;height:34px;border-radius:9px;box-shadow:0 4px 16px rgba(0,0,0,.5)}
.brand b{font-size:17px}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-links{display:flex;gap:22px}
.nav-links a{font-size:14px;color:var(--ink-2)}
.nav-links a:hover{color:var(--blue-bright);text-decoration:none}
@media(max-width:760px){.nav-links{display:none}}

.lang{display:flex;gap:2px;border:1px solid var(--line);border-radius:8px;padding:3px;background:rgba(255,255,255,.03)}
.lang button{font:inherit;font-size:11.5px;font-weight:600;color:var(--ink-3);background:none;border:0;
  padding:4px 8px;border-radius:5px;cursor:pointer;transition:.15s;white-space:nowrap}
.lang button.on{background:var(--blue-soft);color:var(--blue-bright)}
.lang button:hover{color:var(--ink)}
.lang-dd{display:none;position:relative}
.lang-dd-btn{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--ink);font:inherit;font-size:13px;font-weight:600;padding:8px 12px;border-radius:999px;cursor:pointer}
.lang-dd-ch{width:13px;height:13px;stroke:var(--ink-3);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.lang-dd[data-open="true"] .lang-dd-ch{transform:rotate(180deg)}
.lang-dd-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:172px;background:rgba(18,21,28,.96);backdrop-filter:blur(22px);border:1px solid var(--card-bd);border-radius:16px;padding:7px;box-shadow:0 20px 54px rgba(0,0,0,.55);opacity:0;transform:translateY(-8px) scale(.97);transform-origin:top right;pointer-events:none;transition:.2s;z-index:60}
.lang-dd[data-open="true"] .lang-dd-menu{opacity:1;transform:none;pointer-events:auto}
.lang-dd-opt{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:none;border:0;color:var(--ink-3);font:inherit;font-size:15px;font-weight:500;padding:11px 14px;border-radius:11px;cursor:pointer;text-align:left}
.lang-dd-opt:hover{background:rgba(255,255,255,.05);color:var(--ink)}
.lang-dd-opt[aria-selected="true"]{color:var(--blue-bright)}
.lang-dd-ck{width:16px;height:16px;flex:0 0 auto;stroke:var(--blue-bright);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.lang-dd-opt[aria-selected="true"] .lang-dd-ck{opacity:1}
@media(max-width:560px){.lang{display:none}.lang-dd{display:block}}

/* document header */
header{padding:64px 0 26px;text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:1.4px;
  text-transform:uppercase;color:var(--blue-bright);border:1px solid var(--card-bd);border-radius:999px;
  padding:7px 15px;background:var(--blue-soft)}
h1{font-size:clamp(30px,5vw,46px);line-height:1.1;font-weight:900;letter-spacing:-1.1px;margin:20px 0 0;word-break:keep-all}
/* keep-all holds CJK phrases together on wide screens, but leaves no break
   point on a phone — relax it there (the browser still applies kinsoku). */
@media(max-width:620px){h1{word-break:normal}}
.updated{margin-top:14px;font-size:13px;color:var(--ink-3)}

/* the "we collect nothing" banner */
.banner{display:flex;gap:14px;align-items:flex-start;max-width:var(--maxw);margin:34px auto 0;
  background:rgba(50,215,75,.07);border:1px solid rgba(50,215,75,.3);border-radius:16px;padding:20px 22px}
.banner svg{width:24px;height:24px;flex:none;margin-top:2px;stroke:var(--ok);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.banner b{display:block;font-size:15.5px;font-weight:800;color:var(--ink)}
.banner p{margin-top:5px;font-size:14px;color:var(--ink-2)}

/* body copy */
main{padding:14px 0 40px}
section.doc{margin-top:40px}
section.doc h2{font-size:20px;font-weight:800;letter-spacing:-.4px;padding-bottom:12px;border-bottom:1px solid var(--line)}
section.doc h3{font-size:16px;font-weight:700;margin-top:24px;color:var(--ink)}
section.doc p{margin-top:13px;font-size:15px;color:var(--ink-2)}
/* Scoped to `ul` on purpose: the flex row draws the custom dot beside the text.
   Applying it to `li` generally would also catch <ol> items (support FAQ),
   turning each into a single non-wrapping flex row that overflows and — with
   body{overflow-x:hidden} — gets silently clipped. */
section.doc ul{margin:13px 0 0 2px;list-style:none;display:flex;flex-direction:column;gap:11px}
section.doc ul > li{display:flex;gap:11px;align-items:flex-start;font-size:15px;color:var(--ink-2)}
section.doc ul > li::before{content:"";flex:0 0 auto;width:6px;height:6px;margin-top:10px;border-radius:50%;background:var(--blue-bright)}
section.doc ol{margin:13px 0 0 20px;display:block;list-style:decimal}
section.doc ol > li{display:list-item;font-size:15px;color:var(--ink-2);margin-top:9px}
section.doc ol > li::marker{color:var(--blue-bright);font-weight:700}
section.doc b{color:var(--ink);font-weight:700}

/* key-value card (data table / spec sheet) */
.kv{margin-top:18px;background:var(--card);border:1px solid var(--card-bd);border-radius:16px;overflow:hidden}
.kv-row{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid var(--line)}
/* The value is nowrap by design, so a long key + value can exceed the card on a
   narrow screen. Stack them there instead of letting the row get clipped. */
@media(max-width:480px){.kv-row{flex-direction:column;align-items:flex-start;gap:4px}}
.kv-row:last-child{border-bottom:0}
.kv-k{font-size:14.5px;color:var(--ink-2)}
.kv-v{font-size:14px;font-weight:700;color:var(--ok);white-space:nowrap}
.kv-v.neutral{color:var(--ink-3);font-weight:600}

/* contact card */
.contact{margin-top:22px;background:var(--card);border:1px solid var(--card-bd);border-radius:16px;padding:24px}
.contact .mail{font-size:19px;font-weight:800;letter-spacing:-.3px}
.contact p{margin-top:8px;font-size:14px;color:var(--ink-3)}

/* footer */
footer{border-top:1px solid var(--line);padding:44px 0 46px;text-align:center;margin-top:34px}
.foot-links{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin-bottom:16px;font-size:13.5px}
.foot-links a{color:var(--ink-2)}
.foot-links a:hover{color:var(--blue-bright);text-decoration:none}
.copy{font-size:12px;color:var(--ink-3)}
