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

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('./assets/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif;
  font-synthesis: none;
  color: #131416;
  background: #eeeeee;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  background: #eeeeee;
}

.shell {
  width: min(100% - 64px, 1160px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: #eeeeee;
  background: #131416;
}

.skip-link:focus-visible {
  transform: none;
  outline: 3px solid #3f7bd0;
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  border-block-end: 1px solid rgba(19, 20, 22, 0.12);
}

.logo {
  display: block;
  width: 90px;
  height: 56px;
  object-fit: contain;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 14px;
  border: 1px solid rgba(19, 20, 22, 0.22);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  min-height: 620px;
  padding-block: 64px 84px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 26ch;
  margin: 26px 0 0;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.8;
}

.notice {
  max-width: 36ch;
  margin: 44px 0 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid #3f7bd0;
  color: #4d4e52;
  font-size: 15px;
  line-height: 1.9;
}

.art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}

.art::before {
  position: absolute;
  z-index: -2;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 44%, #dce7f4 0, #e7ebef 42%, transparent 70%);
  content: '';
}

.art-orbit {
  position: absolute;
  z-index: -1;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(63, 123, 208, 0.16);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(0.78);
}

.glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  width: 59%;
  aspect-ratio: 2 / 3;
  padding: 28px;
  overflow: hidden;
  transform: rotate(-9deg);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.26));
  box-shadow:
    22px 30px 55px rgba(19, 20, 22, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.glass-card::before {
  position: absolute;
  inset-block-start: 11%;
  inset-inline-start: -30%;
  width: 120%;
  height: 65%;
  transform: rotate(-31deg);
  border-radius: 50%;
  background: linear-gradient(
    125deg,
    transparent 8%,
    rgba(101, 149, 217, 0.28) 50%,
    transparent 86%
  );
  content: '';
}

.glass-line,
.glass-dot {
  position: relative;
  z-index: 1;
  display: block;
  background: rgba(19, 20, 22, 0.22);
}

.glass-line {
  width: 60%;
  height: 6px;
  border-radius: 999px;
}

.glass-line-short {
  width: 39%;
  opacity: 0.55;
}

.glass-dot {
  width: 28px;
  height: 28px;
  margin-block-end: 4px;
  border: 1px solid rgba(63, 123, 208, 0.32);
  border-radius: 50%;
  background: rgba(101, 149, 217, 0.36);
}

.site-footer {
  color: #68696d;
  font-size: 13px;
}

.site-footer .shell {
  padding-block: 22px 26px;
  border-block-start: 1px solid rgba(19, 20, 22, 0.12);
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 48px, 620px);
  }

  .header-inner {
    min-height: 90px;
  }

  .logo {
    width: 80px;
    height: 50px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding-block: 70px 62px;
  }

  .art {
    width: min(78vw, 300px);
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 82px;
  }

  .logo {
    width: 72px;
    height: 45px;
  }

  .status {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero {
    padding-block: 66px 42px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .lead {
    margin-block-start: 20px;
    font-size: 20px;
  }

  .notice {
    margin-block-start: 30px;
    font-size: 14px;
  }

  .art {
    width: min(72vw, 245px);
    margin-block-start: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
