:root {
  --canvas: #fcfbf9;
  --title: #232529;
  --body: #545e6d;
  --pattern-stroke: rgba(205, 218, 223, 0.24);
  --font-ui: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--canvas);
  color: var(--title);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

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

.page {
  background-color: var(--canvas);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.page::before {
  background-image: url("/assets/pattern.svg?v=3");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 218px 209px;
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.page-desktop {
  direction: ltr;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.content-block {
  display: flex;
  flex-direction: column;
}

.content-block-desktop {
  align-items: flex-end;
  direction: rtl;
  display: flex;
  position: absolute;
  right: clamp(132px, 17.708vw, 340px);
  top: 50%;
  transform: translateY(-30%);
  width: min(36vw, 690px);
  z-index: 2;
}

.brand-mark-desktop {
  height: 64px;
  position: absolute;
  right: 0;
  top: -98px;
  width: 184.726px;
}

.copy {
  text-align: right;
}

.copy h1,
.copy p {
  margin: 0;
}

.copy-desktop {
  width: 100%;
}

.copy-desktop h1 {
  color: var(--title);
  font-size: clamp(48px, 3.333vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.copy-desktop p {
  color: var(--body);
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.3333333333;
  margin-top: 12px;
  margin-left: auto;
  width: min(548px, 92%);
}

.union {
  pointer-events: none;
  position: absolute;
  user-select: none;
  z-index: 1;
}

.union-desktop {
  bottom: min(-24.33vw, -253px);
  left: max(-14.69vw, -282px);
  height: auto;
  width: min(62.5vw, 1200px);
}

.page-mobile {
  display: none;
}

@media (max-width: 900px) {
  .page-desktop {
    display: none;
  }

  .page-mobile {
    display: block;
  }

  .page-mobile::before {
    background-image: url("/assets/pattern-mobile.svg?v=3");
  }

  .content-block-mobile {
    align-items: center;
    margin: 0 auto;
    max-width: 382px;
    min-height: 100vh;
    min-height: 100svh;
    padding: 160px 24px 292px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
  }

  .brand-mark-mobile {
    height: 64px;
    width: 184.726px;
  }

  .copy-mobile {
    margin-top: 40px;
    text-align: center;
    width: 100%;
  }

  .copy-mobile h1 {
    color: var(--title);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .copy-mobile p {
    color: var(--body);
    font-size: 18px;
    line-height: 1.4444444444;
    margin-top: 12px;
  }

  .union-mobile {
    bottom: -184px;
    left: -39.53vw;
    height: auto;
    width: min(133.95vw, 576px);
  }
}
