:root {
  --paper: #eef1f4;
  --paper-2: #e2e7ed;
  --ink: #12151a;
  --ink-soft: #3a424e;
  --muted: #5c6573;
  --line: rgb(18 21 26 / 12%);
  --accent: #0f6e6a;
  --accent-ink: #f4fbfa;
  --brand-en: #0f6e6a;
  --font-display: "El Messiri", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgb(15 110 106 / 10%), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgb(18 21 26 / 6%), transparent 50%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-2) 100%);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 0;
}

a { color: inherit; }

.wrap {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem clamp(1.25rem, 4vw, 3.5rem);
}

.site-nav .mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { background: #0c5a57; }

.btn-ghost {
  background: rgb(255 255 255 / 55%);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgb(18 21 26 / 22%);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.03);
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(0, -1.8%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(238 241 244 / 18%) 0%, rgb(238 241 244 / 55%) 42%, rgb(238 241 244 / 94%) 78%, var(--paper) 100%),
    linear-gradient(90deg, rgb(18 21 26 / 28%) 0%, transparent 55%);
}

.hero-copy {
  padding: clamp(5.5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.75rem, 7vh, 4.5rem);
  max-width: 40rem;
}

.brand-lockup {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--ink);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-lockup bdi {
  display: block;
  margin-top: 0.2em;
  font-family: var(--font-body);
  font-size: 0.28em;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--brand-en);
}

.hero-line {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 16ch;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-support {
  margin: 0 0 1.85rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  max-width: 32ch;
  font-weight: 500;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: clamp(3.75rem, 9vh, 6.5rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 64rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 14ch;
}

.section .lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 40ch;
  font-weight: 500;
}

.features {
  display: grid;
  gap: 2.75rem;
  margin-top: 2.75rem;
}

@media (min-width: 860px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

.feature {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.contact {
  background:
    linear-gradient(180deg, rgb(15 110 106 / 8%), transparent 40%),
    rgb(255 255 255 / 45%);
}

.contact h2 { max-width: 18ch; }

.contact-note {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 38ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.site-foot {
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem) 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .brand-lockup,
  .hero-line,
  .hero-support,
  .hero-cta {
    animation: none;
  }
}