/* Al Nur website: plain CSS, same colours as the app. */

:root {
  --bg: #121826;
  --surface: #1e293b;
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #86efac;
  --gold: #eab308;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top bar */
.topbar {
  border-bottom: 1px solid var(--border);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.topbar nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.topbar nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.topbar nav a:hover,
.topbar nav a[aria-current="page"] {
  color: var(--text);
}

/* Home */
.hero {
  text-align: center;
  padding: 56px 0 32px;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 24px;
}

.hero h1 {
  margin: 20px 0 4px;
  font-size: 34px;
}

.hero p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 17px;
}

.button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #08351f;
  font-weight: 700;
  text-decoration: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 40px;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.features strong {
  display: block;
  margin-bottom: 4px;
}

.features span {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Text pages */
main.page {
  padding: 32px 0 48px;
}

main.page h1 {
  margin: 0 0 4px;
  font-size: 30px;
}

.updated {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

main h2 {
  margin: 28px 0 6px;
  font-size: 19px;
}

main p,
main li {
  color: var(--text-secondary);
}

main strong {
  color: var(--text);
}

.note {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 20px;
  padding-bottom: 28px;
}

footer a {
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .topbar nav {
    gap: 12px;
  }
}
