/* Standalone styling for the static pages in public/ (privacy, about).
   They live outside the Vite bundle, so the palette from src/styles.css is
   repeated here instead of imported. */
:root {
  --bg: #07080a;
  --panel: rgba(16, 18, 22, 0.88);
  --line: rgba(227, 197, 114, 0.16);
  --gold: #e6c56a;
  --gold-2: #f4e2a8;
  --text: #f4ead6;
  --muted: #9b927c;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 197, 114, 0.45) transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.9;
}

body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-thumb {
  background: rgba(227, 197, 114, 0.4);
  border-radius: 99px;
}
body::-webkit-scrollbar-track { background: transparent; }

.glow {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  width: 420px;
  height: 420px;
  max-width: 80vw;
  top: -160px;
  inset-inline-start: -80px;
  background: rgba(230, 197, 106, 0.14);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.coin {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8e7b0, #b8892a);
  color: #3a2a08;
  font-weight: 700;
  font-family: Georgia, serif;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.28);
}
.brand b { font-size: 17px; font-weight: 700; }
.brand span { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }

.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--gold-2);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { border-color: var(--gold); color: var(--gold); }
.nav a[aria-current="page"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1406;
  font-weight: 600;
}

h1 {
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.35;
  margin: 26px 0 6px;
  color: var(--gold-2);
}
.updated { color: var(--muted); font-size: 12px; margin: 0 0 18px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(17px, 4vw, 20px);
  margin: 0 0 10px;
  color: var(--gold);
  line-height: 1.5;
}
h3 {
  font-size: 15px;
  margin: 16px 0 6px;
  color: var(--gold-2);
}
p { margin: 0 0 10px; }
p:last-child, ul:last-child { margin-bottom: 0; }

ul {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
li {
  position: relative;
  padding-inline-start: 16px;
}
li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

a { color: var(--gold-2); }
a:hover { color: var(--gold); }

code, .key {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.88em;
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

.note {
  border-inline-start: 3px solid var(--gold);
  background: rgba(230, 197, 106, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ddd3bd;
  font-size: 14px;
}

.contact-mail {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--gold);
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  overflow-wrap: anywhere;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 12px;
  background: rgba(230, 197, 106, 0.06);
}
.contact-mail:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.page-foot {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  gap: 6px 14px;
  flex-wrap: wrap;
  align-items: center;
}
.page-foot a { color: var(--muted); text-decoration: none; }
.page-foot a:hover { color: var(--gold); }

@media (max-width: 560px) {
  body { font-size: 14.5px; line-height: 1.85; }
  .wrap { padding: 16px 12px 36px; }
  .panel { padding: 14px; border-radius: 12px; }
  .brand span { display: none; }
  .nav a { padding: 5px 10px; font-size: 12.5px; }
}
