@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #e7e0d4;
  --teal: #2f9b91;
  --rose: #c94f78;
  --gold: #b88920;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Tajawal, system-ui, sans-serif;
  line-height: 1.85;
}

a {
  color: inherit;
}

.topbar,
.footer {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 56px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}

.links a {
  text-decoration: none;
}

.hero {
  padding: 56px 0 34px;
}

.eyebrow {
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 10px;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
  margin: 20px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  padding: 22px;
}

.section {
  padding: 28px;
  margin-top: 18px;
}

h2 {
  font-size: 26px;
  line-height: 1.35;
  margin: 0 0 14px;
}

h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

p,
li {
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding-inline-start: 24px;
}

.note {
  border-inline-start: 4px solid var(--gold);
  background: #fff8e8;
}

.footer .wrap {
  padding: 26px 0;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 22px;
  }
}
