@font-face {
  font-family: "SweetSansProBold";
  src: url("../fonts/sweetsansprobold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

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

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: #111111;
  font-family: "SweetSansProBold", Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

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

p {
  margin: 0;
}

/* =========================
   DESKTOP
   ========================= */
.page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #ffffff;
}

.hero {
  width: min(620px, calc(100vw - 48px));
  min-height: min(620px, calc(100vh - 48px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero__logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center; /* وسط نسبت به عرض همان بلوک متن */
  margin-bottom: 210px;
}

.hero__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  flex: 0 0 auto;
}

.hero__line {
  width: 100%;
  text-align: left;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0;
  color: #111111;
}

.hero__line--first {
  margin-bottom: 30px;
}

.hero__line--second {
  margin-bottom: 3px;
}

.hero__line--third {
  display: block;
}

.hero__telegram {
  color: #111111;
}

.hero__telegram:hover {
  opacity: 0.72;
}

.hero__telegram:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 768px) {
  .page {
    padding: 20px;
  }

  .hero {
    width: min(92vw, 620px);
    min-height: auto;
  }

  .hero__logo-wrap {
    margin-bottom: 80px;
  }

  .hero__logo {
    width: 20px;
    height: 20px;
  }

  .hero__line {
    font-size: 10px;
    line-height: 1.35;
  }

  .hero__line--first {
    margin-bottom: 30px;
  }

  .hero__line--second {
    margin-bottom: 3px;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 480px) {
  .page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .hero {
    width: 85%;
    min-height: auto;
    display: block;
  }

  .hero__content {
    width: 100%;
  }

  .hero__logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 96px;
  }

  .hero__logo {
    width: 44px;
    height: 44px;
  }

  .hero__line {
    width: 100%;
    font-size: 10px;
    line-height: 1.4;
    text-align: left;
    word-break: break-word;
  }

  .hero__line--first {
    margin-bottom: 30px;
  }

  .hero__line--second {
    margin-bottom: 3px;
  }

  .hero__line--third {
    display: block;
  }
}
/* =========================
   MOBILE LANDSCAPE
   ========================= */
@media (max-width: 900px) and (orientation: landscape) {
  .page {
    min-height: 100dvh;
    padding: 12px 280px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    width: min(100%, 760px);
    min-height: auto;
  }

  .hero__content {
    width: 100%;
  }

  .hero__logo-wrap {
    margin-bottom: 120px;
  }

  .hero__logo {
    width: 42px;
    height: 42px;
  }

  .hero__line {
    font-size: 10px;
    line-height: 1.3;
  }

  .hero__line--first {
    margin-bottom: 30px;
  }

  .hero__line--second {
    margin-bottom: 3px;
  }
}
