:root {
  --green: #1B6B4A;
  --green-dark: #124E36;
  --gold: #C5A55A;
  --onyx: #0D1117;
  --surface: #161B22;
  --border: #232A33;
  --text: #F0F3F5;
  --muted: #9BA3AB;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--onyx);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.accent { color: var(--green); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold); }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; display: block; }
.hero-logo { width: 132px; height: 132px; border-radius: 28px; margin: 0 auto 18px; display: block; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; background: var(--green); color: #fff;
  padding: 12px 22px; border-radius: 14px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; border-radius: 12px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(27,107,74,.35), transparent),
    var(--onyx);
  padding: 96px 0 80px;
  text-align: center;
}
.ayah { font-family: 'Amiri', serif; color: var(--gold); font-size: 2rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.lede { max-width: 620px; margin: 22px auto 0; color: var(--muted); font-size: 1.15rem; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 34px 0 14px; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; text-align: center; margin-bottom: 44px; letter-spacing: -0.02em; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.section-alt .card { background: var(--onyx); }
.card:hover { border-color: var(--green); transform: translateY(-2px); }
.card .ic { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { max-width: 680px; margin: 0 auto; list-style: none; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--onyx); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step-n { flex: 0 0 38px; height: 38px; width: 38px; border-radius: 50%; background: rgba(27,107,74,.18); color: var(--green); font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--green-dark), var(--onyx)); }
.cta-band h2 { margin-bottom: 24px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; padding: 64px 24px; margin: 0 auto; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--green); }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
}
