/* BLOR Pay site: system fonts only, no external requests. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #17171a;
  --muted: #55555c;
  --line: #e4e2dc;
  --accent: #7a5c12;
  --notice-bg: #fff4d6;
  --notice-text: #4a3700;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1a1a1d;
    --text: #f2f1ee;
    --muted: #b4b3ad;
    --line: #2c2c31;
    --accent: #e0bf6a;
    --notice-bg: #3a2f10;
    --notice-text: #fbe7b0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  color: var(--text);
}
.skip:focus { left: 0.5rem; }

.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
nav a { color: var(--muted); }

main { padding: 3rem 0 4rem; }

h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); line-height: 1.1; margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2.5rem 0 0.75rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

.lede { font-size: 1.2rem; color: var(--muted); }

.features { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 2.5rem 0; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; margin: 0; }
.features h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.features p { margin: 0; color: var(--muted); }

.notice {
  background: var(--notice-bg);
  color: var(--notice-text);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 0 0 2rem;
  font-weight: 600;
}

.meta { color: var(--muted); font-size: 0.95rem; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

@media (max-width: 30rem) {
  main { padding-top: 2rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -999px; }
  tr { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
  td { border: 0; padding: 0.15rem 0; }
  td:first-child { font-weight: 600; }
}
