@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
/* Colours are the approved ones in design/imaru/imaru.css. */
:root { color-scheme: light dark; --screen:#FFFFFF; --hairline:#E2E5EC; --ink:#182033; --muted:#4B5468; }
@media (prefers-color-scheme: dark) {
  :root { --screen:#121419; --hairline:#363D49; --ink:#F2F4F8; --muted:#AAB3C5; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--screen); color: var(--ink);
  font: 17px/1.6 "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Thonburi", sans-serif; }
header, main, footer { max-width: 680px; margin: 0 auto; padding: 0 22px; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding-top: 28px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 600; text-decoration: none; }
.brand img { border-radius: 8px; border: 1px solid var(--hairline); }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a, .brand { min-height: 44px; display: inline-flex; align-items: center; }
a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--muted); outline-offset: 3px; border-radius: 4px; }
h1, .h1 { font-size: 30px; line-height: 1.25; margin: 34px 0 4px; }
h2 { font-size: 20px; line-height: 1.35; margin: 32px 0 6px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 15px; }
section + section { border-top: 1px solid var(--hairline); margin-top: 44px; }
footer { color: var(--muted); font-size: 15px; padding-top: 40px; padding-bottom: 40px; }
.notice { margin: 0 0 16px; padding: 2px 0 2px 14px; border-left: 3px solid var(--hairline); color: var(--muted); font-size: 15px; }
