@font-face {
  font-family: "Vazirmatn";
  src: url("./assets/fonts/vazirmatn-arabic-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("./assets/fonts/vazirmatn-arabic-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #111827;
  --link: #ff6a00;
  --link-hover: #e55f00;
  --focus-ring: #ff6a00;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  display: grid;
  place-items: center;
  background: #ffffff;
  padding: clamp(1.5rem, 6vw, 4rem);
}

.layout {
  width: min(100%, 31rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 1.7rem);
  text-align: center;
}

.logo {
  width: clamp(6.5rem, 18vw, 8.5rem);
  height: auto;
}

.message {
  margin: 0;
  max-width: 28rem;
  line-height: 1.9;
  font-size: clamp(0.9rem, 1.9vw, 1.02rem);
}

.link {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  color: var(--link-hover);
  text-decoration: none;
}

.link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
