/* The home page. Always the app's own navy, not the legal pages' light-or-dark:
   it is the brand's front door, and the screenshot beside it is dark. The
   colours are the app's (mobile/src/theme/colors.ts). */
:root {
  --bg: #0a1440;
  --surface: #14225c;
  --text: #ffffff;
  --muted: #a8b8e6;
  --link: #7fa8f5;
  --gold: #fcce31;
  --rule: #26377a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #1b2c72 0%, var(--bg) 60%) fixed;
  background-color: var(--bg);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Noto Sans Arabic',
    sans-serif;
}

main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 3rem 1rem 3rem;
}

.hero {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  max-width: 32rem;
}

.app-icon {
  border-radius: 22px;
  display: block;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin: 0;
}

.tagline {
  font-size: 1.35rem;
  color: var(--gold);
  margin: 0.4rem 0 1rem;
}

.soon {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 600;
}

.screenshot {
  width: 270px;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

h2 {
  font-size: 1.3rem;
  margin: 3rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
}

.steps {
  padding-inline-start: 1.25rem;
}

.steps li {
  margin: 0.5rem 0;
}

.arabic p {
  font-size: 1.05rem;
}

a {
  color: var(--link);
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.maker {
  font-size: 0.8rem;
}

@media (max-width: 44rem) {
  main {
    padding-top: 2rem;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .screenshot {
    align-self: center;
    width: 220px;
  }

  h1 {
    font-size: 2.25rem;
  }
}
