:root {
  --bg: #0b0f17;
  --bg-soft: #121826;
  --card: #161d2e;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.12);
  --border: #232b3d;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #16203a 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  max-width: 760px;
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: block;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

h1, h2, h3 { line-height: 1.3; }

.doc h1 {
  font-size: 30px;
  margin-bottom: 4px;
  letter-spacing: -0.4px;
}
.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}
.doc h2 {
  font-size: 20px;
  margin-top: 38px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.doc h2:first-of-type { border-top: none; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; }
.doc ul, .doc ol { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc p { color: #ccd3df; }

.callout {
  background: var(--accent-soft);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0;
  color: #d7e2ff;
  font-size: 15px;
}

.back {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}
.contact-box .mail {
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
  word-break: break-all;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 22px 50px;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin: 40px auto 0;
}
footer a { color: var(--muted); margin: 0 8px; }

/* ---------- availability notice, used in place of a store badge ---------- */
.store-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin-top: 40px;
  text-align: center;
}
.store-cta p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.store-cta p:last-child { margin-bottom: 0; }
