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

html,
body {
  height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #faf6f2;
  color: #3a2318;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.is-visible {
  opacity: 1;
}

body.is-leaving {
  opacity: 0;
}

.welcome {
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 14vh 28px 36px;
  position: relative;
  overflow: hidden;
}

.welcome__center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.welcome__block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.welcome__avatar {
  width: min(72vw, 280px);
  height: auto;
  object-fit: contain;
  display: block;
}

.welcome__content {
  text-align: center;
  width: 100%;
}

.welcome__title {
  font-size: clamp(2.4rem, 9vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #3a2318;
  margin-bottom: 12px;
}

.welcome__subtitle {
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: #5c4033;
  max-width: 300px;
  margin: 0 auto;
}

.welcome__button {
  display: block;
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: 16px;
  background-color: #f05a00;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.welcome__button:hover {
  background-color: #d95200;
}

.welcome__button:active {
  transform: scale(0.98);
}

.welcome__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 0;
}

.welcome__waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Intro page */
.intro {
  min-height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 36px;
  position: relative;
  overflow: hidden;
}

.intro__center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  transform: translateY(-3vh);
}

.intro__block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.intro__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  background-color: #f05a00;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: clamp(1.6rem, 6.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #3a2318;
  white-space: nowrap;
}

.intro__logo {
  height: clamp(28px, 7vw, 36px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.intro__description {
  text-align: center;
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  line-height: 1.55;
  color: #5c4033;
  max-width: 320px;
}

.intro__description strong {
  color: #f05a00;
  font-weight: 700;
}

.intro__features {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 8px 0;
}

.intro__feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.intro__feature-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intro__feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.intro__feature-icon--entrega {
  width: 58px;
  height: 58px;
}

.intro__feature p {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #5c4033;
  font-weight: 500;
}

.intro__feature-divider {
  width: 1px;
  align-self: stretch;
  background-color: rgba(240, 90, 0, 0.25);
  margin: 0 4px;
  flex-shrink: 0;
}

.intro__button {
  display: block;
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: 16px;
  background-color: #f05a00;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.intro__button:hover {
  background-color: #d95200;
}

.intro__button:active {
  transform: scale(0.98);
}

.intro__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 0;
}

.intro__waves svg {
  width: 100%;
  height: 100%;
  display: block;
}
