:root {
  --fb-accent: #047857;
  --fb-accent-soft: #8dc7a1;
  --fb-bg: #f1f5f9;
  --fb-ink: #0f172a;
  --fb-muted: #64748b;
  --fb-card: #ffffff;
  --fb-radius: 1.25rem;
  --fb-max: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--fb-bg);
  color: var(--fb-ink);
  line-height: 1.65;
}
[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
a { color: var(--fb-accent); text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fb-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header {
  background: var(--fb-card);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: var(--fb-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; color: var(--fb-ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-inline-start: auto; }
.nav a { color: var(--fb-muted); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--fb-accent); }
.lang-switch { display: flex; gap: 0.35rem; flex-wrap: wrap; font-size: 0.8rem; }
.lang-switch a { padding: 0.2rem 0.45rem; border-radius: 999px; background: #e2e8f0; color: #334155; text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--fb-accent); color: #fff; }
main { max-width: var(--fb-max); margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
}
@media (min-width: 768px) {
  .hero { grid-template-columns: 1.2fr 1fr; }
}
.hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.15; margin: 0 0 0.75rem; }
.hero p { color: var(--fb-muted); font-size: 1.05rem; margin: 0 0 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, #064e3b, var(--fb-accent)); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--fb-card);
  border: 1px solid #e2e8f0;
  border-radius: var(--fb-radius);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--fb-muted); font-size: 0.95rem; }
.section-title { font-size: 1.45rem; margin: 2rem 0 1rem; }
.site-footer {
  border-top: 1px solid #e2e8f0;
  background: #fff;
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}
.site-footer__inner { max-width: var(--fb-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.site-footer a { color: var(--fb-muted); font-weight: 600; text-decoration: none; }
.help-search { margin: 0 0 1.25rem; }
.help-search input {
  width: 100%;
  max-width: 32rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}
.help-list { list-style: none; padding: 0; margin: 0; }
.help-list li { margin: 0 0 0.65rem; }
.help-list a { font-weight: 700; }
.article-meta { color: var(--fb-muted); font-size: 0.9rem; }
.prose h2 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose ol { padding-inline-start: 1.25rem; }
.screenshot {
  width: 100%;
  max-width: 420px;
  border-radius: var(--fb-radius);
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
