@font-face {
  font-family: IRANYekan;
  font-weight: 400;
  src: url("fonts/IRANYekanWebRegular.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekan;
  font-weight: 500;
  src: url("fonts/IRANYekanWebMedium.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekan;
  font-weight: 700;
  src: url("fonts/IRANYekanWebBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekan;
  font-weight: 900;
  src: url("fonts/IRANYekanWebBlack.woff2") format("woff2");
}

:root {
  --blue: #1d4ed8;
  font-family: IRANYekan, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

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

body, h1, h2, p { margin: 0; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) and (max-width: 767px) {
  .container { max-width: 640px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container { max-width: 768px; }
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-block: 4rem;
  text-align: center;
}

.wordmark {
  display: block;
  width: 15rem;
  max-width: 100%;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

h1 {
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
}

.announcement {
  margin-bottom: 5rem;
  color: #d1d5db;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 2.25rem;
}

.description {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  line-height: 2rem;
  overflow-wrap: anywhere;
}

.email {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #eaeaea;
  padding-block: 2rem;
  text-align: center;
}

footer a { display: flex; align-items: center; gap: .375rem; }
footer img { width: 1.5rem; height: 1.5rem; }

@media (min-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
  }

  main {
    flex: 1 0 auto;
    min-height: 0;
    padding-block: clamp(1.5rem, 5vh, 4rem);
  }

  .announcement { margin-bottom: clamp(2.5rem, 10vh, 5rem); }

  footer { padding-block: clamp(1rem, 3.5vh, 2rem); }
}
