/* Base Typography and Theme */
:root {
  --bg: #0f0f12;
  --surface: #16161a;
  --text: #e6e6e6;
  --muted: #a9a9b3;
  --accent: #6cc644; /* subtle green accent */
  --card: #1b1b20;
  --border: #2a2a31;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-link.active {
  color: var(--text);
  background: var(--card);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 10px;
}

/* Sections */
.hero {
  padding: 32px 0 16px;
}

.hero h1 {
  margin: 8px 0 8px;
}

.hero p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 12px 0 24px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.card-body {
  padding: 16px;
}

.card-title {
  margin: 0 0 8px;
}

.about {
  border-top: 1px solid var(--border);
  padding: 24px 0 48px;
}

.about h3 {
  margin: 0 0 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 0;
  color: var(--muted);
}

/* Utilities */
a { color: var(--accent); }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* RTL helpers for Hebrew blocks */
.rtl {
  direction: rtl;
  text-align: right;
}

.pill {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}


