:root {
  --accent: #2f6f4f;
  --accent-dark: #245b3f;
  --ink: #1c1c1c;
  --ink-soft: #555;
  --bg: #fbfaf6;
  --card: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: "SF Arabic Rounded", "Geeza Pro", "Amiri", serif;
  font-size: 22px;
  line-height: 1;
  padding-top: 2px;
}

.brand-text { font-size: 18px; letter-spacing: 0.2px; }

.topnav .signin {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
}
.topnav .signin:hover { background: rgba(47, 111, 79, 0.08); }

main { flex: 1; display: flex; align-items: center; justify-content: center; }

.hero {
  max-width: 640px;
  text-align: center;
  padding: 64px 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.hero .lede em { font-style: italic; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--accent-dark); }

.hero .meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 20px 0 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px solid #eee;
}
.footer .dot { opacity: 0.6; }
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
