:root {
  --ground: #08202D;
  --ground-deep: #051520;
  --panel: #0E3242;
  --card: #0B2A39;
  --gold: #D4AA5F;
  --gold-light: #F0D79A;
  --teal: #4FE3D3;
  --ink: #F4ECDD;
  --muted: #A9C2C8;
  --ink-dark: #1A1406;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--teal); }
a:hover { color: #8CF0E5; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid rgba(212, 170, 95, 0.45);
  background: var(--ground-deep);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
header.site a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: Cinzel, Georgia, serif; font-weight: 800; letter-spacing: 0.06em; }
header.site a.brand img { width: 36px; height: 36px; border-radius: 8px; }
header.site nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
main { padding: 40px 0 64px; }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; line-height: 1.2; }
h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: 0.03em; }
h2 { font-size: 22px; margin: 36px 0 8px; color: var(--gold); }
h3 { font-size: 18px; margin: 24px 0 6px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.note { background: var(--card); border: 1px solid rgba(212, 170, 95, 0.55); border-radius: 14px; padding: 14px 18px; color: var(--muted); font-size: 15px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(169, 194, 200, 0.25); }
th { color: var(--gold); font-weight: 800; }
.table-box { overflow-x: auto; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border-radius: 14px; background: var(--gold); color: var(--ink-dark); text-decoration: none; font-weight: 800;
  font-family: Cinzel, Georgia, serif; letter-spacing: 0.06em; box-shadow: inset 0 0 0 2px var(--gold-light);
}
.button:hover { color: var(--ink-dark); background: #E0BB76; }
.button.quiet { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--teal); font-family: inherit; letter-spacing: 0; }
.hero { text-align: center; padding-top: 12px; }
.hero img.logo { width: min(420px, 90%); height: auto; }
.hero p.tag { font-size: 20px; color: var(--muted); margin: 8px 0 24px; }
.code {
  display: inline-block; font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: 40px; letter-spacing: 0.2em;
  padding: 10px 22px; border-radius: 14px; background: var(--card); border: 2px solid var(--gold); margin: 8px 0 16px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; text-align: left; }
.card { background: var(--card); border: 1px solid rgba(212, 170, 95, 0.45); border-radius: 16px; padding: 16px 18px; }
.card h3 { margin-top: 0; color: var(--gold); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
footer.site { border-top: 1px solid rgba(169, 194, 200, 0.2); padding: 22px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.site a { color: var(--muted); }
