:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --text: #1f1a12;
  --muted: #6b6254;
  --border: #ece4d3;
  --gold: #c8962b;
  --gold-strong: #a87612;
  --gold-soft: #fff4dc;
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12100c;
    --surface: #1c1913;
    --text: #f3eee4;
    --muted: #b0a690;
    --border: #2f2a20;
    --gold: #e0b04a;
    --gold-strong: #f0c25e;
    --gold-soft: #2a2316;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--gold-strong); }
img { max-width: 100%; display: block; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

/* Header / footer */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-strong); }
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.site-footer a { color: var(--muted); }

/* Landing */
.hero { padding: 56px 0 32px; text-align: center; }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 20px; box-shadow: 0 12px 32px rgba(168, 118, 18, .25); }
.hero h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.2; margin: 0 0 12px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; background: var(--text); color: var(--bg); min-width: 190px; justify-content: center; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn small { display: block; font-size: 11px; font-weight: 400; opacity: .8; line-height: 1.1; }
.btn span { text-align: left; line-height: 1.2; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 40px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .emoji { font-size: 26px; margin-bottom: 8px; }
.notice { background: var(--gold-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; }

/* Documents */
.doc { padding: 36px 0 8px; }
.doc h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.25; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.lang-switch { display: inline-flex; gap: 8px; font-size: 14px; margin-bottom: 18px; }
.lang-switch a { padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--border); margin: 48px 0 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--gold-soft); }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }
