@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm_plex_sans_bold.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm_plex_sans_arabic_bold.ttf") format("truetype");
}

:root {
  --canvas: #ebe6dc;
  --ink: #232a27;
  --ink-muted: #5e6562;
  --brand: #0e6763;
  --mint: #e2eeea;
  --card: #ffffff;
  --page-padding: clamp(24px, 6.6667vw, 96px);
  color-scheme: light;
  font-family: "IBM Plex Sans", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

html:lang(ar) {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

html:lang(ar) [lang="en"] {
  font-family: "IBM Plex Sans", sans-serif;
}

html:lang(en) [lang="ar"] {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

h1, h2, h3, p, figure, ul {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 5px;
  border-radius: 8px;
}

.container {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.skip-link {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 24px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 16px;
  color: var(--card);
  background: var(--brand);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
  padding-block: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 700;
  line-height: 46px;
}

.brand img, .language-link img {
  display: block;
  flex: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 12px;
  font-size: 17px;
  line-height: 28px;
  text-decoration: none;
}

.main-nav a:hover, .footer-inner a:hover {
  text-decoration: underline;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 48px;
  padding-block: 4px;
  color: var(--brand);
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
}

.language-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 12px;
  border: 1px solid var(--brand);
  border-radius: 100px;
}

.language-link:hover .language-control {
  background: var(--mint);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 568fr) minmax(0, 624fr);
  align-items: center;
  gap: 56px;
  padding-block: 48px 64px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
}

h1 {
  width: 100%;
  font-size: clamp(42px, 4.5833vw, 66px);
  font-weight: 700;
  line-height: 1.18182;
}

h1 span, .qada-copy h2 span {
  display: block;
}

.hero-description, .qada-description {
  max-width: 530px;
  font-size: 23px;
  line-height: 37px;
}

.hero-description, .hero-note {
  color: var(--ink-muted);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 224px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 16px;
  color: var(--card);
  background: var(--brand);
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
  text-decoration: none;
}

.primary-link:hover {
  background: #0a4f4c;
}

.hero-note {
  font-size: 15px;
  line-height: 26px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.download-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: none;
  opacity: 1;
}

.download-button img {
  display: block;
  width: auto;
  height: 48px;
}

.download-button-google-play {
  padding: 0;
}

.download-button-google-play img {
  height: 70.59px;
}

.download-button:disabled {
  cursor: default;
}

.download-note {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 22px;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

.showcase {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 692.756px;
  overflow: hidden;
  scroll-margin-block-start: 24px;
}

.showcase-field {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 70px;
  display: grid;
  justify-content: center;
}

.showcase-field img {
  display: block;
  max-width: none;
}

.preview-stack {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.phone {
  flex: none;
  width: 294px;
  padding: 7px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--ink);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
}

figcaption {
  max-width: 100%;
  padding-inline: 4px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

.values {
  background: var(--card);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-block: 30px;
  color: var(--brand);
  list-style: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
}

.qada-section {
  color: var(--card);
  background: var(--brand);
  scroll-margin-block-start: 0;
}

.qada-inner {
  display: grid;
  grid-template-columns: minmax(0, 624fr) minmax(0, 568fr);
  align-items: center;
  gap: 56px;
  padding-block: 64px;
}

.qada-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-width: 0;
}

.qada-label {
  font-size: 18px;
  line-height: 30px;
}

.qada-copy h2 {
  width: 100%;
  font-size: clamp(35px, 3.75vw, 54px);
  font-weight: 700;
  line-height: 1.24075;
}

.qada-showcase {
  grid-column: 1;
  grid-row: 1;
  height: 779.721px;
}

.qada-showcase .showcase-field {
  inset-block-start: 72.86px;
}

.qada-showcase .phone {
  width: 334px;
}

.qada-showcase figcaption {
  color: var(--card);
}

.how-inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-block: 72px;
}

.how-inner h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 58px;
}

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

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 36px;
}

.step p {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 30px;
}

.site-footer {
  color: var(--brand);
  background: var(--mint);
  border-block-start: 1px solid var(--brand);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding-block: 40px 32px;
}

.footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.75;
}

.footer-inner .footer-brand {
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.footer-description {
  max-width: 330px;
  margin-block-start: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline-start: 32px;
  border-inline-start: 1px solid #b5cec5;
}

.footer-contact a {
  max-width: 100%;
  gap: 10px;
}

.footer-contact bdi {
  overflow-wrap: anywhere;
}

.footer-icon {
  flex: none;
  width: 22px;
  height: 22px;
}

.footer-copyright {
  padding-block: 18px;
  border-block-start: 1px solid #b5cec5;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.error-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.error-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding-block: 72px;
}

.error-content h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.5;
}

.error-content p {
  font-size: 22px;
  line-height: 36px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 1000px) and (min-width: 801px) {
  .header-inner, .hero-inner, .qada-inner {
    gap: 32px;
  }

  .main-nav {
    gap: 8px;
  }

  .hero-description, .qada-description {
    font-size: 20px;
    line-height: 33px;
  }
}

@media (max-width: 800px) {
  :root {
    --page-padding: 24px;
  }

  .header-inner {
    min-height: 92px;
    padding-block: 20px;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding-block: 30px 48px;
  }

  .hero-copy {
    width: 100%;
    max-width: 568px;
    gap: 22px;
  }

  .download-button {
    min-height: 60px;
    padding: 10px;
  }

  .download-button img {
    height: 40px;
  }

  .download-button-google-play {
    padding: 0;
  }

  .download-button-google-play img {
    height: 58.825px;
  }

  h1 {
    font-size: 42px;
    line-height: 50px;
  }

  .hero-description, .qada-description {
    max-width: none;
    font-size: 18px;
    line-height: 30px;
  }

  .showcase {
    max-width: 624px;
    height: 603.532px;
  }

  .showcase-field {
    inset-block-start: 116px;
  }

  .preview-stack {
    inset-block-start: 0;
  }

  .phone, .qada-showcase .phone {
    width: 264px;
  }

  .values-list {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 28px;
    text-align: center;
    font-size: 19px;
    line-height: 30px;
  }

  .qada-inner {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding-block: 52px;
  }

  .qada-copy {
    width: 100%;
    max-width: 568px;
    gap: 20px;
  }

  .qada-copy h2 {
    font-size: 35px;
    line-height: 44px;
  }

  .qada-showcase {
    height: 627.532px;
  }

  .qada-showcase .preview-stack {
    inset-block-start: 18px;
  }

  .qada-showcase .showcase-field {
    inset-block-start: 125.77px;
  }

  .how-inner {
    gap: 28px;
    padding-block: 58px 56px;
  }

  .how-inner h2 {
    font-size: 30px;
    line-height: 44px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px 24px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 4px 20px;
  }

  .footer-contact {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

@media (max-width: 374px) {
  h1 {
    font-size: 35px;
    line-height: 45px;
  }

  .qada-copy h2 {
    font-size: 30px;
    line-height: 42px;
  }

  .brand {
    font-size: 27px;
  }

  .header-inner {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
