:root {
  --bg: #070b18;
  --navy: #12183a;
  --paper: #f4f1ff;
  --muted: #b7b3d4;
  --line: rgba(196, 188, 255, 0.2);
  --accent: #8b7cff;
  --glow: rgba(139, 124, 255, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, var(--glow), transparent 62%),
    radial-gradient(ellipse 40% 36% at 0% 100%, rgba(56, 42, 120, 0.55), transparent 70%),
    var(--bg);
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
  line-height: 1.9;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.top,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(920px, calc(100% - 2.5rem));
  margin-inline: auto;
  color: var(--muted);
  font-family: "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: 0.95rem;
}

.top {
  padding-top: 1.35rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(139, 124, 255, 0.15);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(920px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 2.5rem 0 2rem;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 1.5rem;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-family: "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

h1 {
  margin: 0.4rem 0 0;
  max-width: 12ch;
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 1.25;
}

.lede {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

footer {
  padding: 1rem 0 1.35rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .top,
  footer,
  main {
    width: min(920px, calc(100% - 1.5rem));
  }

  main {
    padding-inline-start: 1rem;
  }

  h1 {
    max-width: none;
  }
}
