:root {
  color-scheme: light;
  --bg: #f7f3ea;
  --ink: #1a1a1a;
  --muted: #615e58;
  --accent: #c4512f;
  --accent-2: #2b5f4d;
  --panel: #fffaf0;
  --line: #e4dccd;
  --shadow: 0 20px 60px rgba(26, 26, 26, 0.14);
  --radius: 22px;
  --max: 1120px;
  --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-ar: "Amiri", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: radial-gradient(circle at 15% 20%, #fbf4e7 0%, #f1e6d4 45%, #efe2cc 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrapper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 56px) 80px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand span {
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-card {
  background: var(--panel);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.kicker {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 16px 0 20px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.cta {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.secondary {
  background: transparent;
  color: var(--accent);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(196, 81, 47, 0.25);
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.preview {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.preview h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.arabic {
  font-family: var(--font-ar);
  font-size: 22px;
  direction: rtl;
  text-align: right;
  color: var(--accent-2);
}

.features {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.feature h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page {
  margin-top: 60px;
  background: var(--panel);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  margin-top: 0;
}

.page h2 {
  margin-top: 32px;
}

.page p,
.page li {
  color: var(--muted);
  line-height: 1.6;
}

.page ul {
  padding-left: 18px;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    margin-top: 48px;
  }
}
