* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: #1f2937;
  background: #f8fafc;
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: Tahoma, "Noto Sans Arabic", "Vazirmatn", sans-serif;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

nav a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 48px 0;
}

h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 12px;
}

h2 {
  font-size: 28px;
  margin-top: 40px;
}

.subtitle {
  font-size: 20px;
  color: #4b5563;
  margin-bottom: 24px;
}

main {
  padding: 40px 20px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}

.card h3 {
  margin-top: 0;
}

.card a {
  color: #2563eb;
  font-weight: 600;
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px 20px;
  color: #6b7280;
  background: #ffffff;
}

.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 16px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }

  .subtitle {
    font-size: 18px;
  }
}