:root {
  color-scheme: dark;
  --bg: #0c0c0b;
  --ink: #ece8e1;
  --mute: #8a857c;
  --line: #2a2926;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100dvh;
  max-width: 28rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wordmark {
  margin: 0;
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.arabic {
  margin: 0.35rem 0 0;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--mute);
  line-height: 1.3;
}

.lead {
  margin: 2.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ink);
}

.offer {
  margin: 1rem 0 0;
  font-size: 1rem;
  color: var(--mute);
}

.note {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--mute);
}

.contact {
  margin: 1.5rem 0 0;
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.08em;
}

.contact a:hover,
.contact a:focus-visible {
  border-bottom-color: var(--ink);
  outline: none;
}

@media (max-width: 40rem) {
  body {
    font-size: 17px;
  }

  main {
    padding: 3.25rem 1.25rem 2.5rem;
    justify-content: flex-start;
  }

  .wordmark {
    font-size: 2.35rem;
  }
}
