/*
 * Shared by privacy.html and terms.html.
 *
 * An external file rather than a <style> block in each, because these two pages
 * are identical furniture around different words, and the failure mode of
 * duplicating it is the one you cannot see: two legal pages that quietly stop
 * matching each other and the landing page.
 *
 * `style-src 'self'` in _headers already allows it. The tokens are the same
 * ones index.html carries; they are repeated rather than shared because that
 * page has no build step to inline them from, and a second stylesheet request
 * on the landing page is a worse trade than these thirty duplicated lines.
 *
 * These pages are deliberately NOT translated. They were written without a
 * lawyer (the operator's decision, 2026-09-24), and an English version would be
 * a second unreviewed legal text saying something subtly different from the
 * first — which is worse than having none.
 */
:root{
  --bg:#fff; --bg-soft:#f7f9fc;
  --ink:#0b1220; --ink-2:#1e293b; --body:#4b5768; --muted:#8593a7;
  --line:#e4eaf1; --line-2:#d5dde8;
  --brand:#2563eb; --brand-2:#1d4ed8;
  --amber:#b45309; --amber-bg:#fffbeb; --amber-line:#fcd9a4;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0b1220; --bg-soft:#0e1626;
    --ink:#eef3f9; --ink-2:#d3dceb; --body:#a4b2c6; --muted:#72829a;
    --line:#1d2942; --line-2:#283752;
    --brand:#63a4fa; --brand-2:#93c2fd;
    --amber:#f0b44a; --amber-bg:#241c0d; --amber-line:#4b3814;
  }
}

*{box-sizing:border-box}
body{
  margin:0; background:var(--bg); color:var(--body);
  font-family:'IBM Plex Sans','IBM Plex Sans Thai',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16.5px; line-height:1.85; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:760px; margin:0 auto; padding:0 22px}
a{color:var(--brand); text-underline-offset:2px}
:focus-visible{outline:2px solid var(--brand); outline-offset:3px; border-radius:4px}

.top{border-bottom:1px solid var(--line); background:var(--bg-soft)}
.top .wrap{display:flex; align-items:center; gap:10px; padding-block:14px}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.mark{width:34px; height:34px; border-radius:10px; background:linear-gradient(145deg,var(--brand),var(--brand-2)); display:grid; place-items:center; flex:none}
.brand b{color:var(--ink); font-size:1.16rem; letter-spacing:-.02em}
.top .back{margin-inline-start:auto; font-size:.88rem; color:var(--body); text-decoration:none}
.top .back:hover{color:var(--ink)}

main{padding:44px 0 64px}
h1{color:var(--ink); font-size:clamp(1.6rem,3.4vw,2.05rem); line-height:1.28; letter-spacing:-.025em; margin:0 0 .35em}
h2{color:var(--ink); font-size:1.06rem; letter-spacing:-.01em; margin:2.1em 0 .5em}
p,li{margin:0 0 .9em}
b,strong{color:var(--ink-2)}
ul{padding-inline-start:1.3em}

.draft{
  background:var(--amber-bg); border:1px solid var(--amber-line); color:var(--amber);
  border-radius:14px; padding:15px 17px; font-size:.9rem; line-height:1.7; margin:0 0 30px;
}
.draft b{color:var(--amber)}
.upd{color:var(--muted); font-size:.85rem; margin-bottom:2.2em}

.foot{border-top:1px solid var(--line); background:var(--bg-soft); padding:26px 0 44px; font-size:.88rem; color:var(--muted)}
.foot .wrap{display:flex; flex-wrap:wrap; gap:12px 22px; align-items:center}
.foot a{color:var(--body); text-decoration:none}
.foot a:hover{color:var(--ink)}
.foot .sp{margin-inline-start:auto}
