/* Easy EV legal pages — same look as the app (easyev-app/src/theme.ts +
   design-system/assets/easyev.tokens.json). Self-hosted (no CDN): this is
   the privacy policy page, a third-party font request here would itself
   need disclosing. Font: IBM Plex Sans Thai (OFL — /assets/fonts/OFL.txt). */
@font-face{font-family:'IBM Plex Sans Thai';font-weight:400;font-display:swap;
  src:url('/assets/fonts/IBMPlexSansThai_400Regular.ttf') format('truetype')}
@font-face{font-family:'IBM Plex Sans Thai';font-weight:700;font-display:swap;
  src:url('/assets/fonts/IBMPlexSansThai_700Bold.ttf') format('truetype')}

:root{
  --bg:#24244A;        /* theme.ts bg — NOT token navy #2c2c6d */
  --surface:#372f8c;   /* purpleDeep */
  --ink:#ffffff;
  --ink-dim:#b9b7e6;
  --accent:#dffe27;    /* lime — as text only on the dark bg */
  --line:rgba(185,183,230,.22);
}
*{box-sizing:border-box;margin:0}
body{
  background:var(--bg);color:var(--ink);
  font-family:'IBM Plex Sans Thai','Sarabun','Noto Sans Thai','Thonburi',-apple-system,'Segoe UI',sans-serif;
  font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased;
}
main{max-width:720px;margin:0 auto;padding:32px 20px 72px}

header.doc{margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px}
.brand .mark{width:40px;height:auto;color:var(--accent);flex:none}
.brand .wordmark{height:13px;width:auto;color:var(--ink)}
.by{margin:12px 0 22px;font-size:14px;color:var(--ink-dim)}
.by strong{color:var(--ink)}
h1{font-size:28px;font-weight:700;line-height:1.3;margin-bottom:6px}
.meta{font-size:14px;color:var(--ink-dim)}

h2{font-size:20px;font-weight:700;margin:34px 0 8px}
p,li{color:var(--ink)}
ul,ol{padding-left:24px;margin:6px 0 10px}
li{margin:6px 0}
li::marker{color:var(--ink-dim)}
strong{color:var(--ink);font-weight:700}
.note{background:var(--surface);border-left:4px solid var(--accent);
  border-radius:14px;padding:14px 18px;margin:16px 0;font-size:16px}
a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;
  overflow-wrap:anywhere}
a:hover{text-decoration-thickness:2px}

footer{margin-top:48px;padding-top:20px;border-top:1px solid var(--line);
  font-size:14px;color:var(--ink-dim);line-height:1.7}
footer .co{color:var(--ink);font-weight:700}
footer nav{margin-top:12px;display:flex;gap:6px 18px;flex-wrap:wrap}

/* Printed copies (e.g. attached to a signed company document): paper-white,
   dark ink. The inline SVG logo follows via currentColor. */
@media print{
  :root{--bg:#fff;--surface:#fff;--ink:#1c1b3a;--ink-dim:#4b4b7a;--accent:#1c1b3a;--line:#ccc}
  body{font-size:12pt}
  main{max-width:none;padding:0}
  .note{border:1px solid #ccc;border-left:4px solid #1c1b3a}
  .brand .mark{color:#2c2c6d}
  a{text-decoration:none}
}
