:root {
  --bg: #fcfaf8;
  --ink: #212121;
  --ink-strong: #1a1a1a;
  --muted: #545454;
  --footer: #878787;
  --line: #ebe4d6;
  --hero: #ffefeb;
  --coral: #f0815e;
  --social: #f5f5f5;
  --phone: 440px;
  --side: 18px;
  --font: "Vazirmatn", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #e4dfd8;
  color: var(--ink);
  font-family: var(--font);
  display: flex;
  justify-content: center;
}

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

.phone {
  width: 100%;
  max-width: var(--phone);
  min-height: 100vh;
  background: var(--bg);
  padding: 20px var(--side) 49px;
}

.hero {
  position: relative;
  height: 149px;
  overflow: hidden;
}

.hero-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 131px;
  border-radius: 6px;
  background: var(--hero);
}

.hero-cat {
  position: absolute;
  left: 28px;
  top: 0;
  width: 156px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 131px;
  padding: 19px 20px 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.hero-title {
  align-self: flex-start;
  width: 168px;
  margin: 0 0 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
  color: var(--ink-strong);
  text-align: right;
}

.hero-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.note {
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.note-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 15px;
  border-radius: 20px;
  background: #fff;
}

.note-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
}

.note p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

.apps {
  direction: ltr;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.app-card {
  direction: rtl;
  min-height: 163px;
  padding: 23px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.app-icon img {
  width: 30px;
  height: 30px;
}

.app-title {
  margin-top: 17px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  white-space: nowrap;
}

.app-desc {
  margin-top: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

.social {
  margin-top: 20px;
  min-height: 106px;
  padding: 20px;
  border-radius: 32px;
  background: var(--social);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.social img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-top: 0;
}

.social-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.social-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.social-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.support {
  margin-top: 29px;
  height: 43px;
  border-radius: 20px;
  background: #212121;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.copyright {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--footer);
}

.hero-btn:active,
.app-card:active,
.social:active,
.support:active {
  opacity: 0.86;
}

@media (min-width: 480px) {
  body {
    padding: 28px 0;
    align-items: flex-start;
  }

  .phone {
    min-height: 1010px;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(40, 28, 20, 0.16);
    overflow: hidden;
  }
}
