:root {
  color-scheme: dark;
  --bg: #111827;
  --panel: #1f2937;
  --panel-2: #0f172a;
  --border: #374151;
  --gold: #fbbf24;
  --text: #f8fafc;
  --muted: #cbd5e1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.9;
}
a { color: inherit; }
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, .96);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner, .container {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  color: var(--gold);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 900;
}
.home-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}
.container { padding: 42px 0 64px; }
.hero, .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(22px, 5vw, 42px);
}
.hero h1 {
  color: var(--gold);
  margin: 0 0 10px;
  font-size: clamp(2rem, 7vw, 3.4rem);
}
.lead { color: var(--muted); font-size: 1.08rem; }
.card { margin-top: 20px; }
h2, h3 { color: var(--gold); line-height: 1.4; }
ul, ol { padding-right: 24px; }
.notice {
  border-right: 4px solid var(--gold);
  background: var(--panel-2);
  padding: 14px 16px;
  border-radius: 14px;
  margin: 18px 0;
}
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
th, td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: right;
}
th { background: var(--panel-2); color: var(--gold); }
.button {
  display: inline-block;
  background: var(--gold);
  color: #111827;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 900;
}
.email {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.site-footer {
  margin-top: 32px;
  color: #94a3b8;
  text-align: center;
  font-size: .9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 10px;
}
.footer-links a { color: var(--muted); }
@media (max-width: 620px) {
  .header-inner { align-items: flex-start; }
  .container { padding-top: 24px; }
}
