/* The same family and palette as the admin dashboard and the printed
   certificate: IBM Plex Sans Arabic, ink #3F3F3F, brand orange #F5891F.
   Served from this origin (no Google Fonts request): the page is one line,
   and nothing about it should wait on, or leak to, a third party. */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2");
}

:root {
  --ink: #3F3F3F;
  --brand: #F5891F;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, "Geeza Pro", sans-serif;
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.logo {
  width: min(260px, 70vw);
  height: auto;
}

.rule {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand);
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1.5;
}
