/* Self-hosted Noto Serif, Google Fonts; SIL Open Font License. */
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-serif/noto-serif-vietnamese-1.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-serif/noto-serif-latin-ext-2.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/noto-serif/noto-serif-latin-3.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --background: #090a1c;
  --panel: #14112b;
  --ink: #eeeaff;
  --muted: #beb8d6;
  --gold: #f4da79;
  --border: #3c3158;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at top right, #211336 0, transparent 55%), var(--background);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
a {
  color: var(--gold);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
a:hover {
  color: #fff0b4;
}
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
  border-radius: 2px;
}
.site-header {
  max-width: 1120px;
  margin: auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #fff0c6;
}
.brand span {
  color: var(--gold);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
}
nav a[aria-current] {
  color: var(--gold);
}
main {
  width: min(100% - 48px, 980px);
  margin: 52px auto;
}
.intro {
  max-width: 780px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
}
h1,
h2 {
  line-height: 1.35;
  color: #fff1cc;
}
h1 {
  font-family: "Noto Serif", serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 46px);
  margin: 14px 0 18px;
}
h2 {
  font-size: 22px;
  margin: 0 0 14px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
}
.date {
  color: var(--muted);
  font-size: 13px;
}
.policy-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  background: linear-gradient(140deg, #1a1430, var(--panel));
}
section + section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
p {
  margin: 0 0 16px;
}
section p:last-child {
  margin-bottom: 0;
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
ul,
ol {
  padding-left: 24px;
}
li {
  margin: 10px 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
caption {
  text-align: left;
  color: var(--muted);
  margin-bottom: 10px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 16px;
  border: 1px solid var(--border);
}
thead {
  background: #241939;
  color: var(--gold);
}
th[scope="row"] {
  width: 24%;
  min-width: 130px;
}
.notice {
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
  background: #241b36;
  border-radius: 8px;
  margin: 24px 0;
}
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(120deg, #ffedaa, #dbb438);
  color: #201822;
  font-weight: 700;
  text-decoration: none;
}
.button:hover {
  color: #201822;
  background: #ffedaa;
}
footer {
  max-width: 980px;
  margin: 40px auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
footer p {
  margin: 0;
  flex: 1 1 200px;
}
@media (max-width: 600px) {
  main {
    width: calc(100% - 32px);
    margin: 32px auto;
  }
  .site-header {
    padding: 20px 16px;
  }
  nav {
    gap: 12px 20px;
  }
  .policy-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  th,
  td {
    padding: 12px 10px;
  }
  h2 {
    font-size: 20px;
  }
  .lead {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
