:root {
  --bg-start: #0a0e1a;
  --bg-end: #1a2030;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaf0;
  --text-muted: #a8aebb;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

nav.top {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

nav.top a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

nav.top a:hover {
  color: var(--text);
}

h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

p {
  margin-bottom: 16px;
  color: var(--text);
}

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

.arabic {
  font-size: 26px;
  line-height: 1.6;
  color: var(--accent);
  margin: 12px 0 28px;
  font-weight: 500;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

.app-store {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  border-bottom: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s ease;
}

.app-store:hover {
  transform: translateY(-1px);
  border-bottom: none;
}

.app-store img {
  height: 56px;
  display: block;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 16px;
}

ul.privacy {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

ul.privacy li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text);
}

ul.privacy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

footer nav {
  display: flex;
  gap: 18px;
}

footer a {
  color: var(--text-muted);
  border-bottom: none;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-top: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label span {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form input[type="email"],
.contact-form textarea {
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-form button {
  align-self: flex-start;
  font: inherit;
  font-weight: 600;
  color: #0a0e1a;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.28);
}

.contact-form .form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 540px) {
  .wrap {
    padding: 32px 20px 64px;
  }
  h1 {
    font-size: 30px;
  }
  .lede {
    font-size: 17px;
  }
  .arabic {
    font-size: 22px;
  }
  header.brand {
    margin-bottom: 40px;
  }
  footer {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
